url
stringlengths 55
59
| repository_url
stringclasses 1
value | labels_url
stringlengths 69
73
| comments_url
stringlengths 64
68
| events_url
stringlengths 62
66
| html_url
stringlengths 44
49
| id
int64 338k
1.06B
| node_id
stringlengths 18
32
| number
int64 1
44.6k
| title
stringlengths 1
590
| user
dict | labels
listlengths 0
9
| state
stringclasses 2
values | locked
bool 2
classes | assignee
dict | assignees
listlengths 0
5
| milestone
dict | comments
int64 0
477
| created_at
timestamp[us, tz=UTC] | updated_at
timestamp[us, tz=UTC] | closed_at
timestamp[us, tz=UTC] | author_association
stringclasses 3
values | active_lock_reason
stringclasses 4
values | body
stringlengths 0
251k
⌀ | reactions
dict | timeline_url
stringlengths 64
68
| performed_via_github_app
float64 | draft
float64 0
1
⌀ | pull_request
dict |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/pandas-dev/pandas/issues/4001 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4001/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4001/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4001/events | https://github.com/pandas-dev/pandas/issues/4001 | 15,892,998 | MDU6SXNzdWUxNTg5Mjk5OA== | 4,001 | clean up data.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 3 | 2013-06-23T04:14:42Z | 2013-06-28T23:06:17Z | 2013-06-28T23:06:17Z | MEMBER | null | - [x] remove `isinstance(x, str)` checks
- [x] handle urls with context managers
- [x] get rid of `Exception` and use appropriate exception types
- [x] pep8
- [x] remove redundant parens in conditionals
- [x] remove `\` style line joins
- [x] `range` -> `xrange`
- [x] functions should not exit after a warning with `None` they should raise an exception
- [x] turn all the str `+` style concats into format strings
- [x] remove redundant calls to `str`
- [x] remove exception handlers with no exception type
- [x] replace calls to `__setattr__` and `__getattribute__` with `setattr` and `getattr`
- [x] code coverage at 99%
This should remove the connection reset by peer testing error and I thought I would perform a little housekeeping while I was at it.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4001/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4001/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4002 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4002/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4002/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4002/events | https://github.com/pandas-dev/pandas/pull/4002 | 15,893,393 | MDExOlB1bGxSZXF1ZXN0NjQ4OTk3OQ== | 4,002 | CLN: clean up data.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 18 | 2013-06-23T05:20:26Z | 2014-06-27T11:41:37Z | 2013-06-28T23:06:17Z | MEMBER | null | closes #4001
closes #3982
closes #4028
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4002/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4002/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4002.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4002",
"merged_at": "2013-06-28T23:06:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4002.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4002"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4003 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4003/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4003/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4003/events | https://github.com/pandas-dev/pandas/issues/4003 | 15,896,818 | MDU6SXNzdWUxNTg5NjgxOA== | 4,003 | Pandas crosstab margins double counting if values specifies a different field than rows/cols | {
"avatar_url": "https://avatars.githubusercontent.com/u/1464072?v=4",
"events_url": "https://api.github.com/users/brandonkane/events{/privacy}",
"followers_url": "https://api.github.com/users/brandonkane/followers",
"following_url": "https://api.github.com/users/brandonkane/following{/other_user}",
"gists_url": "https://api.github.com/users/brandonkane/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/brandonkane",
"id": 1464072,
"login": "brandonkane",
"node_id": "MDQ6VXNlcjE0NjQwNzI=",
"organizations_url": "https://api.github.com/users/brandonkane/orgs",
"received_events_url": "https://api.github.com/users/brandonkane/received_events",
"repos_url": "https://api.github.com/users/brandonkane/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/brandonkane/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/brandonkane/subscriptions",
"type": "User",
"url": "https://api.github.com/users/brandonkane"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "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": "2016-12-24T22:50:46Z",
"closed_issues": 107,
"created_at": "2016-11-12T15:44:46Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.1",
"due_on": "2016-12-24T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/45",
"id": 2131068,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/45/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzMTA2OA==",
"number": 45,
"open_issues": 0,
"state": "closed",
"title": "0.19.2",
"updated_at": "2017-01-29T09:53:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/45"
} | 8 | 2013-06-23T13:09:33Z | 2016-12-10T21:35:41Z | 2016-12-10T21:35:41Z | NONE | null | See http://stackoverflow.com/questions/17236852/pandas-crosstab-double-counting-when-using-two-aggregate-functions for discussion.
To reproduce:
Create a test dataframe:
``` python
df = DataFrame({'A': ['one', 'one', 'two', 'three'] * 6, 'B': ['A', 'B', 'C'] * 8, 'C' : ['foo', 'foo', 'foo', 'bar', 'bar', 'bar'] * 4, 'D': np.random.randn(24), 'E': np.random.randn(24)})
```
Crosstab gives the expected results:
``` python
crosstab(rows=[df['A'],df['B']], cols=[df['C']], margins=True)
C bar foo All
A B
one A 2 2 4
B 2 2 4
C 2 2 4
three A 2 0 2
B 0 2 2
C 2 0 2
two A 0 2 2
B 2 0 2
C 0 2 2
All 12 12 24
```
However, if you try to get mean and count in the same crosstab, specifying values for the mean, the crosstab will double count the elements when calculating the margin total:
``` python
crosstab(rows=[df['A'],df['B']], cols=[df['C']], margins=True, aggfunc=[np.size, np.mean], values=df['D'])
size mean
C bar foo All bar foo All
A B
one A 2 2 4 0.245998 0.076366 0.161182
B 2 2 4 -0.739757 0.137780 -0.300988
C 2 2 4 -1.555759 -1.446554 -1.501157
three A 2 NaN 2 1.216109 NaN 1.216109
B NaN 2 2 NaN 0.255482 0.255482
C 2 NaN 2 0.732448 NaN 0.732448
two A NaN 2 2 NaN -0.273747 -0.273747
B 2 NaN 2 -0.001649 NaN -0.001649
C NaN 2 2 NaN 0.685422 0.685422
All 24 24 24 -0.017102 -0.094208 -0.055655
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4003/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4003/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4004 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4004/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4004/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4004/events | https://github.com/pandas-dev/pandas/pull/4004 | 15,899,575 | MDExOlB1bGxSZXF1ZXN0NjQ5MjIyMg== | 4,004 | Fix rename for MultiIndex columns DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/115261?v=4",
"events_url": "https://api.github.com/users/ogiaquino/events{/privacy}",
"followers_url": "https://api.github.com/users/ogiaquino/followers",
"following_url": "https://api.github.com/users/ogiaquino/following{/other_user}",
"gists_url": "https://api.github.com/users/ogiaquino/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ogiaquino",
"id": 115261,
"login": "ogiaquino",
"node_id": "MDQ6VXNlcjExNTI2MQ==",
"organizations_url": "https://api.github.com/users/ogiaquino/orgs",
"received_events_url": "https://api.github.com/users/ogiaquino/received_events",
"repos_url": "https://api.github.com/users/ogiaquino/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ogiaquino/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ogiaquino/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ogiaquino"
} | [] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 9 | 2013-06-23T17:26:13Z | 2014-06-25T21:40:36Z | 2013-06-24T09:57:50Z | CONTRIBUTOR | null | DataFrame rename doesn't rename a MultiIndex column and it flattens the columns. Closes https://github.com/pydata/pandas/issues/3165 which is a fix for index but not columns.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4004/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4004/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4004.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4004",
"merged_at": "2013-06-24T09:57:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4004.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4004"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4005 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4005/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4005/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4005/events | https://github.com/pandas-dev/pandas/issues/4005 | 15,904,051 | MDU6SXNzdWUxNTkwNDA1MQ== | 4,005 | Can't assign NaT to datetime series with iloc | {
"avatar_url": "https://avatars.githubusercontent.com/u/2701643?v=4",
"events_url": "https://api.github.com/users/miketkelly/events{/privacy}",
"followers_url": "https://api.github.com/users/miketkelly/followers",
"following_url": "https://api.github.com/users/miketkelly/following{/other_user}",
"gists_url": "https://api.github.com/users/miketkelly/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/miketkelly",
"id": 2701643,
"login": "miketkelly",
"node_id": "MDQ6VXNlcjI3MDE2NDM=",
"organizations_url": "https://api.github.com/users/miketkelly/orgs",
"received_events_url": "https://api.github.com/users/miketkelly/received_events",
"repos_url": "https://api.github.com/users/miketkelly/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/miketkelly/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/miketkelly/subscriptions",
"type": "User",
"url": "https://api.github.com/users/miketkelly"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 2 | 2013-06-23T23:21:51Z | 2013-09-22T17:12:48Z | 2013-09-22T17:12:48Z | CONTRIBUTOR | null | ```
>>> s = pd.Series(pd.date_range('2000-1-1', '2000-1-2'))
>>> s
0 2000-01-01 00:00:00
1 2000-01-02 00:00:00
```
This works:
```
>>> s[0] = pd.NaT
>>> s
0 NaT
1 2000-01-02 00:00:00
```
This works:
```
>>> s.iloc[0] = pd.NaT.value
>>> s
0 NaT
1 2000-01-02 00:00:00
dtype: datetime64[ns]
```
This doens't:
```
>>> s.iloc[0] = pd.NaT
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pandas/core/indexing.py", line 88, in __setitem__
self._setitem_with_indexer(indexer, value)
File "pandas/core/indexing.py", line 185, in _setitem_with_indexer
values[indexer] = value
ValueError: Invalid date (-1,-1,-1) when converting to NumPy datetime
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4005/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4005/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4006 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4006/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4006/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4006/events | https://github.com/pandas-dev/pandas/issues/4006 | 15,904,144 | MDU6SXNzdWUxNTkwNDE0NA== | 4,006 | BUG: Series.min() fails for string series containing None | {
"avatar_url": "https://avatars.githubusercontent.com/u/2701643?v=4",
"events_url": "https://api.github.com/users/miketkelly/events{/privacy}",
"followers_url": "https://api.github.com/users/miketkelly/followers",
"following_url": "https://api.github.com/users/miketkelly/following{/other_user}",
"gists_url": "https://api.github.com/users/miketkelly/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/miketkelly",
"id": 2701643,
"login": "miketkelly",
"node_id": "MDQ6VXNlcjI3MDE2NDM=",
"organizations_url": "https://api.github.com/users/miketkelly/orgs",
"received_events_url": "https://api.github.com/users/miketkelly/received_events",
"repos_url": "https://api.github.com/users/miketkelly/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/miketkelly/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/miketkelly/subscriptions",
"type": "User",
"url": "https://api.github.com/users/miketkelly"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
] | 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"
} | 4 | 2013-06-23T23:27:32Z | 2014-02-18T18:54:28Z | 2014-02-18T18:54:28Z | CONTRIBUTOR | null | ```
>>> s = pd.Series([None, 'a', 'b'])
>>> s
0 None
1 a
2 b
dtype: object
>>> s.min()
inf
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4006/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4006/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4007 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4007/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4007/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4007/events | https://github.com/pandas-dev/pandas/pull/4007 | 15,904,363 | MDExOlB1bGxSZXF1ZXN0NjQ5Mzk1MQ== | 4,007 | Basic JSON normalization/flattening | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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"
} | 18 | 2013-06-23T23:45:57Z | 2014-06-15T09:36:14Z | 2013-10-03T21:00:21Z | MEMBER | null | closes #1067.
This isn't a fast function but has quite a bit of functionality. Take a look at the unit tests. Comments on the API welcome and this could use a few iterations. Various ad hoc things like concatenating "key paths" to metadata
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4007/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4007/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4007.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4007",
"merged_at": "2013-10-03T21:00:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4007.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4007"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4008 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4008/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4008/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4008/events | https://github.com/pandas-dev/pandas/issues/4008 | 15,905,346 | MDU6SXNzdWUxNTkwNTM0Ng== | 4,008 | CParser raises ZeroDivisionError on empty file | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [] | closed | false | null | [] | null | 4 | 2013-06-24T01:18:39Z | 2013-06-24T13:38:29Z | 2013-06-24T01:29:39Z | CONTRIBUTOR | null | Just updated to pydata/pandas@master and now have a failing test:
``` python
======================================================================
ERROR: test_raise_on_no_columns (pandas.io.tests.test_parsers.TestCParserLowMemory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/.../pandas/pandas/io/tests/test_parsers.py", line 2337, in test_raise_on_no_columns
self.assertRaises(ValueError, self.read_csv, StringIO(data))
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py", line 471, in assertRaises
callableObj(*args, **kwargs)
File "/.../pandas/pandas/io/tests/test_parsers.py", line 2026, in read_csv
return read_csv(*args, **kwds)
File "/.../pandas/pandas/io/parsers.py", line 396, in parser_f
return _read(filepath_or_buffer, kwds)
File "/.../pandas/pandas/io/parsers.py", line 194, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "/.../pandas/pandas/io/parsers.py", line 475, in __init__
self._make_engine(self.engine)
File "/.../pandas/pandas/io/parsers.py", line 582, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "/.../pandas/pandas/io/parsers.py", line 953, in __init__
self._reader = _parser.TextReader(src, **kwds)
File "parser.pyx", line 480, in pandas.parser.TextReader.__cinit__ (pandas/parser.c:4508)
ZeroDivisionError: integer division or modulo by zero
----------------------------------------------------------------------
```
ff5797959ef5d78682d6e85d97356407f9d63de6 creates the problem (though I'm not sure if that test existed before that commit). Thoughts on what's going on?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4008/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4008/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4009 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4009/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4009/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4009/events | https://github.com/pandas-dev/pandas/pull/4009 | 15,905,844 | MDExOlB1bGxSZXF1ZXN0NjQ5NDU2Mg== | 4,009 | TST: Change test_html to use stored data + mark other | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 39 | 2013-06-24T01:52:30Z | 2014-06-18T13:38:53Z | 2013-07-03T12:50:07Z | CONTRIBUTOR | null | Changed double decorated tests previously `network` and `slow` so they actually get run + stored usda_data such that the tests don't fail on network access.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4009/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4009/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4009.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4009",
"merged_at": "2013-07-03T12:50:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4009.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4009"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4010 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4010/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4010/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4010/events | https://github.com/pandas-dev/pandas/pull/4010 | 15,912,607 | MDExOlB1bGxSZXF1ZXN0NjQ5Nzc0NA== | 4,010 | CLN: Added *.dta to the .gitignore. Fixed typo in comment. Removed import. | {
"avatar_url": "https://avatars.githubusercontent.com/u/652285?v=4",
"events_url": "https://api.github.com/users/snth/events{/privacy}",
"followers_url": "https://api.github.com/users/snth/followers",
"following_url": "https://api.github.com/users/snth/following{/other_user}",
"gists_url": "https://api.github.com/users/snth/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/snth",
"id": 652285,
"login": "snth",
"node_id": "MDQ6VXNlcjY1MjI4NQ==",
"organizations_url": "https://api.github.com/users/snth/orgs",
"received_events_url": "https://api.github.com/users/snth/received_events",
"repos_url": "https://api.github.com/users/snth/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/snth/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/snth/subscriptions",
"type": "User",
"url": "https://api.github.com/users/snth"
} | [] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 5 | 2013-06-24T08:05:56Z | 2014-06-21T02:48:33Z | 2013-06-26T11:07:32Z | CONTRIBUTOR | null | CLN: Removed import after flake8 said it wasn't needed.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4010/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4010/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4010.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4010",
"merged_at": "2013-06-26T11:07:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4010.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4010"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4011 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4011/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4011/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4011/events | https://github.com/pandas-dev/pandas/issues/4011 | 15,924,803 | MDU6SXNzdWUxNTkyNDgwMw== | 4,011 | import error "pandas/hashtable.so: Symbol not found: _get_c_string" | {
"avatar_url": "https://avatars.githubusercontent.com/u/918142?v=4",
"events_url": "https://api.github.com/users/ehogan/events{/privacy}",
"followers_url": "https://api.github.com/users/ehogan/followers",
"following_url": "https://api.github.com/users/ehogan/following{/other_user}",
"gists_url": "https://api.github.com/users/ehogan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ehogan",
"id": 918142,
"login": "ehogan",
"node_id": "MDQ6VXNlcjkxODE0Mg==",
"organizations_url": "https://api.github.com/users/ehogan/orgs",
"received_events_url": "https://api.github.com/users/ehogan/received_events",
"repos_url": "https://api.github.com/users/ehogan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ehogan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ehogan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ehogan"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | null | 22 | 2013-06-24T13:35:31Z | 2013-06-24T15:55:52Z | 2013-06-24T15:55:17Z | NONE | null | I apparently successfully installed pandas using pip (there were a large number of warnings generated), but when I import pandas I get:
dlopen(/Ureka/1.0beta5/Ureka/variants/scipy2013/lib/python2.7/site-packages/pandas/hashtable.so, 2): Symbol not found: _get_c_string
Referenced from: /Ureka/1.0beta5/Ureka/variants/scipy2013/lib/python2.7/site-packages/pandas/hashtable.so
Expected in: flat namespace
in /Ureka/1.0beta5/Ureka/variants/scipy2013/lib/python2.7/site-packages/pandas/hashtable.so
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Ureka/1.0beta5/Ureka/variants/scipy2013/lib/python2.7/site-packages/pandas/__init__.py", line 6, in <module>
from . import hashtable, tslib, lib
ImportError: dlopen(/Ureka/1.0beta5/Ureka/variants/scipy2013/lib/python2.7/site-packages/pandas/hashtable.so, 2): Symbol not found: _get_c_string
Referenced from: /Ureka/1.0beta5/Ureka/variants/scipy2013/lib/python2.7/site-packages/pandas/hashtable.so
Expected in: flat namespace
in /Ureka/1.0beta5/Ureka/variants/scipy2013/lib/python2.7/site-packages/pandas/hashtable.so
I'm using Mac OSX 10.8.4 with the latest version of Xcode (Version 4.6.3 (4H1503)), Python 2.7.3 and numpy 1.6.2.
Please let me know if there's any more information I can provide.
Many thanks,
Emma :)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4011/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4011/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4012 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4012/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4012/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4012/events | https://github.com/pandas-dev/pandas/issues/4012 | 15,934,519 | MDU6SXNzdWUxNTkzNDUxOQ== | 4,012 | DataFrame to_record() with string, datetime column broken in 0.11 release | {
"avatar_url": "https://avatars.githubusercontent.com/u/4462724?v=4",
"events_url": "https://api.github.com/users/amanhanda/events{/privacy}",
"followers_url": "https://api.github.com/users/amanhanda/followers",
"following_url": "https://api.github.com/users/amanhanda/following{/other_user}",
"gists_url": "https://api.github.com/users/amanhanda/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/amanhanda",
"id": 4462724,
"login": "amanhanda",
"node_id": "MDQ6VXNlcjQ0NjI3MjQ=",
"organizations_url": "https://api.github.com/users/amanhanda/orgs",
"received_events_url": "https://api.github.com/users/amanhanda/received_events",
"repos_url": "https://api.github.com/users/amanhanda/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/amanhanda/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amanhanda/subscriptions",
"type": "User",
"url": "https://api.github.com/users/amanhanda"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 12 | 2013-06-24T16:41:40Z | 2014-02-18T02:26:41Z | 2014-02-18T02:26:41Z | NONE | null | Issue valid ONLY for numpy < 1.7, need to astype to object the datetime64[ns] first, then to_records
To recreate:
``` python
import pandas as pd
import datetime
current = datetime.datetime.combine(datetime.date.today(), datetime.time())
date_list = [('test{0}'.format(i), current + datetime.timedelta(days=i)) for i in xrange(5)]
# convert this to pandas df
df1 = pd.DataFrame(date_list, columns=['id', 'day1'])
print "Data Frame"
print df1
dfr = df1.to_records(index=False)
print dfr
for r in dfr:
print r[1], type(r[1])
Output with 0.10.1 (Good)
Data Frame
id day1
0 test0 2013-06-24 00:00:00
1 test1 2013-06-25 00:00:00
2 test2 2013-06-26 00:00:00
3 test3 2013-06-27 00:00:00
4 test4 2013-06-28 00:00:00
[('test0', datetime.datetime(2013, 6, 24, 0, 0))
('test1', datetime.datetime(2013, 6, 25, 0, 0))
('test2', datetime.datetime(2013, 6, 26, 0, 0))
('test3', datetime.datetime(2013, 6, 27, 0, 0))
('test4', datetime.datetime(2013, 6, 28, 0, 0))]
2013-06-24 00:00:00 <type 'datetime.datetime'>
2013-06-25 00:00:00 <type 'datetime.datetime'>
2013-06-26 00:00:00 <type 'datetime.datetime'>
2013-06-27 00:00:00 <type 'datetime.datetime'>
2013-06-28 00:00:00 <type 'datetime.datetime'>
```
Output with 0.11 (Bad)
``` python
Data Frame
id day1
0 test0 2013-06-24 00:00:00
1 test1 2013-06-25 00:00:00
2 test2 2013-06-26 00:00:00
3 test3 2013-06-27 00:00:00
4 test4 2013-06-28 00:00:00
[('test0', datetime.datetime(1970, 1, 16, 128, 0))
('test1', datetime.datetime(1970, 1, 16, 152, 0))
('test2', datetime.datetime(1970, 1, 16, 176, 0))
('test3', datetime.datetime(1970, 1, 16, 200, 0))
('test4', datetime.datetime(1970, 1, 16, 224, 0))]
1970-01-16 128:00:00 <type 'numpy.datetime64'>
1970-01-16 152:00:00 <type 'numpy.datetime64'>
1970-01-16 176:00:00 <type 'numpy.datetime64'>
1970-01-16 200:00:00 <type 'numpy.datetime64'>
1970-01-16 224:00:00 <type 'numpy.datetime64'>
```
1. Notice the datetime value. This is just not a display issue. The object has the incorrect value.
2. 0.10.1 use to return datetime.datetime type, while 0.11 returns numpy.datetime64.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4012/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4012/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4013 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4013/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4013/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4013/events | https://github.com/pandas-dev/pandas/issues/4013 | 15,936,374 | MDU6SXNzdWUxNTkzNjM3NA== | 4,013 | df.groupby.agg() removes name of column MultiIndex at level 0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/101264?v=4",
"events_url": "https://api.github.com/users/floux/events{/privacy}",
"followers_url": "https://api.github.com/users/floux/followers",
"following_url": "https://api.github.com/users/floux/following{/other_user}",
"gists_url": "https://api.github.com/users/floux/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/floux",
"id": 101264,
"login": "floux",
"node_id": "MDQ6VXNlcjEwMTI2NA==",
"organizations_url": "https://api.github.com/users/floux/orgs",
"received_events_url": "https://api.github.com/users/floux/received_events",
"repos_url": "https://api.github.com/users/floux/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/floux/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/floux/subscriptions",
"type": "User",
"url": "https://api.github.com/users/floux"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 2 | 2013-06-24T17:22:36Z | 2016-10-12T23:03:55Z | 2014-03-28T23:31:24Z | NONE | null | When applying different functions to columns with a MultiIndex by supplying a mapping to groupby.agg(), the top-level name of the columns get lost.
I believe this is a bug, because the names of the columns are unchanged (the total number of columns might be smaller, if not all columns are in the mapping, though).
In the example here I am using groupby.agg(), even though technically speaking I want to do a transformation. However, groupby.agg() seems to be the only apply-like method that allows the usage of a mapping for different functions per column. What would be the recommended way?
``` python
In [2]: df = pd.DataFrame({
...: 'exp' : ['A']*6 + ['B']*6,
...: 'obj' : [1,1,1,2,2,2]*2,
...: 'rep' : [1,2,3] * 4,
...: 'var1' : range(12),
...: 'var2' : range(12,24),
...: 'var3' : range(24,36),
...: })
In [3]: df = df.set_index(['exp', 'obj', 'rep'])
In [4]: df = df.sort_index()
In [5]: df.columns.name = 'vars'
In [6]: print('before unstack: ', df.columns.names)
('before unstack: ', ['vars'])
In [7]: df = df.unstack('rep')
In [8]: print('after unstack: ', df.columns.names)
('after unstack: ', ['vars', 'rep'])
In [9]: funcs = {
...: 'var1' : lambda x: x - x.median(),
...: 'var2' : lambda y: y - y.mean(),
...: 'var3' : lambda y: y - y.sum(),
...: }
In [10]: df1 = df.groupby(level=0).agg(funcs)
In [11]: print('after groupby.agg: ', df1.columns.names)
('after groupby.agg: ', [None, 'rep'])
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4013/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4013/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4014 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4014/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4014/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4014/events | https://github.com/pandas-dev/pandas/issues/4014 | 15,937,152 | MDU6SXNzdWUxNTkzNzE1Mg== | 4,014 | df.groupby() does not allow to use name of index at level 0 when not using a MultiIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/101264?v=4",
"events_url": "https://api.github.com/users/floux/events{/privacy}",
"followers_url": "https://api.github.com/users/floux/followers",
"following_url": "https://api.github.com/users/floux/following{/other_user}",
"gists_url": "https://api.github.com/users/floux/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/floux",
"id": 101264,
"login": "floux",
"node_id": "MDQ6VXNlcjEwMTI2NA==",
"organizations_url": "https://api.github.com/users/floux/orgs",
"received_events_url": "https://api.github.com/users/floux/received_events",
"repos_url": "https://api.github.com/users/floux/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/floux/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/floux/subscriptions",
"type": "User",
"url": "https://api.github.com/users/floux"
} | [] | closed | false | null | [] | null | 2 | 2013-06-24T17:38:53Z | 2019-11-26T14:09:18Z | 2013-06-24T22:08:25Z | NONE | null | ``` python
In [24]: df = pd.DataFrame({
....: 'exp' : ['A']*3 + ['B']*3,
....: 'var1' : range(6),
....: })
In [25]: df = df.set_index(['exp'])
In [26]: df.index.names
Out[27]: ['exp']
In [28]: df
Out[28]:
var1
exp
A 0
A 1
A 2
B 3
B 4
B 5
In [29]: try:
....: df.groupby(level='exp').size()
....: except ValueError as e:
....: print('index can not be accessed by name')
....: print(e)
....:
index can not be accessed by name
level > 0 only valid with MultiIndex
# at this point I would argue that the level 'exp' is level 0,
# and therefore this should work.
In [29]: df1 = df.groupby(level=0).size()
In [30]: df1
Out[30]:
exp
A 3
B 3
dtype: int64
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4014/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4014/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4015 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4015/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4015/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4015/events | https://github.com/pandas-dev/pandas/pull/4015 | 15,945,155 | MDExOlB1bGxSZXF1ZXN0NjUxNDA3Mw== | 4,015 | FIX groupby name without multiindex GH4014 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4",
"events_url": "https://api.github.com/users/hayd/events{/privacy}",
"followers_url": "https://api.github.com/users/hayd/followers",
"following_url": "https://api.github.com/users/hayd/following{/other_user}",
"gists_url": "https://api.github.com/users/hayd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hayd",
"id": 1931852,
"login": "hayd",
"node_id": "MDQ6VXNlcjE5MzE4NTI=",
"organizations_url": "https://api.github.com/users/hayd/orgs",
"received_events_url": "https://api.github.com/users/hayd/received_events",
"repos_url": "https://api.github.com/users/hayd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hayd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hayd"
} | [] | closed | false | null | [] | null | 2 | 2013-06-24T20:15:42Z | 2014-07-16T08:15:48Z | 2013-06-24T22:08:25Z | CONTRIBUTOR | null | Fixes #4014.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4015/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4015/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4015.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4015",
"merged_at": "2013-06-24T22:08:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4015.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4015"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4016 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4016/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4016/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4016/events | https://github.com/pandas-dev/pandas/issues/4016 | 15,950,739 | MDU6SXNzdWUxNTk1MDczOQ== | 4,016 | Pandas.ix[:, "2002"] returns a DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/610115?v=4",
"events_url": "https://api.github.com/users/dalejung/events{/privacy}",
"followers_url": "https://api.github.com/users/dalejung/followers",
"following_url": "https://api.github.com/users/dalejung/following{/other_user}",
"gists_url": "https://api.github.com/users/dalejung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dalejung",
"id": 610115,
"login": "dalejung",
"node_id": "MDQ6VXNlcjYxMDExNQ==",
"organizations_url": "https://api.github.com/users/dalejung/orgs",
"received_events_url": "https://api.github.com/users/dalejung/received_events",
"repos_url": "https://api.github.com/users/dalejung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dalejung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dalejung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dalejung"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 6 | 2013-06-24T22:18:22Z | 2013-08-07T20:20:41Z | 2013-08-07T20:20:41Z | CONTRIBUTOR | null | ``` python
import pandas as pd
import numpy as np
ind = pd.date_range(start="2000", freq="D", periods=1000)
df = pd.DataFrame(np.random.randn(len(ind), 5), index=ind, columns=list('ABCDE'))
panel = pd.Panel({'frame_'+c:df for c in list('ABC')})
test1 = panel.ix[:, "2002"]
test1.ndim # 3
type(test1) # pandas.core.frame.DataFrame
test2 = panel.ix[:, "2002":"2002-12-31"]
test2.ndim # 3
type(test2) # pandas.core.panel.Panel
print pd.__version__
#0.11.1.dev-d7fe745
```
When trying to grab all the data for year 2002, I get back a DataFrame. If I use a range for the major axis, then it returns a Panel.
http://nbviewer.ipython.org/5853887
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4016/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4016/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4017 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4017/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4017/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4017/events | https://github.com/pandas-dev/pandas/issues/4017 | 15,952,249 | MDU6SXNzdWUxNTk1MjI0OQ== | 4,017 | Odd behavior from df.iloc | {
"avatar_url": "https://avatars.githubusercontent.com/u/2153614?v=4",
"events_url": "https://api.github.com/users/rhstanton/events{/privacy}",
"followers_url": "https://api.github.com/users/rhstanton/followers",
"following_url": "https://api.github.com/users/rhstanton/following{/other_user}",
"gists_url": "https://api.github.com/users/rhstanton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhstanton",
"id": 2153614,
"login": "rhstanton",
"node_id": "MDQ6VXNlcjIxNTM2MTQ=",
"organizations_url": "https://api.github.com/users/rhstanton/orgs",
"received_events_url": "https://api.github.com/users/rhstanton/received_events",
"repos_url": "https://api.github.com/users/rhstanton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhstanton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhstanton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhstanton"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 1 | 2013-06-24T23:00:55Z | 2013-06-28T13:18:24Z | 2013-06-26T18:15:38Z | CONTRIBUTOR | null | I encountered some strange behavior from df.iloc today (today's master). Here's an example. First, create a 300,000 element df with ascending integer index and then select 3000 rows from it:
from pandas import *
import numpy as np
df = DataFrame({'A' : [0.1] \* 300000, 'B' : [1] \* 300000})
idx = array(range(3000)) \* 99
%timeit df.A.iloc[idx]
> 1000 loops, best of 3: 256 µs per loop
This seems quite reasonable. Now do the same thing, but this time with a df whose index is not ascending:
df2 = DataFrame({'A' : [0.1] \* 100000, 'B' : [1] \* 100000})
df2 = concat([df, 2_df, 3_df])
%timeit df2.A.iloc[idx]
After waiting several _minutes_, I get the output:
---
AssertionError Traceback (most recent call last)
<ipython-input-47-8f3d2b974bc2> in <module>()
1 df2 = DataFrame({'A' : [0.1] \* 100000, 'B' : [1] \* 100000})
2 df2 = concat([df, 2_df, 3_df])
----> 3 get_ipython().magic(u'timeit df2.A.iloc[idx]')
/RHS/packages/anaconda/ipython/IPython/core/interactiveshell.pyc in magic(self, arg_s)
2180 magic_name, _, magic_arg_s = arg_s.partition(' ')
2181 magic_name = magic_name.lstrip(prefilter.ESC_MAGIC)
-> 2182 return self.run_line_magic(magic_name, magic_arg_s)
2183
2184 #-------------------------------------------------------------------------
/RHS/packages/anaconda/ipython/IPython/core/interactiveshell.pyc in run_line_magic(self, magic_name, line)
2101 kwargs['local_ns'] = sys._getframe(stack_depth).f_locals
2102 with self.builtin_trap:
-> 2103 result = fn(_args,_*kwargs)
2104 return result
2105
/RHS/packages/anaconda/ipython/IPython/core/magics/execution.pyc in timeit(self, line, cell)
/RHS/packages/anaconda/ipython/IPython/core/magic.pyc in <lambda>(f, _a, *_k)
190 # but it's overkill for just that one bit of state.
191 def magic_deco(arg):
--> 192 call = lambda f, _a, *_k: f(_a, *_k)
193
194 if callable(arg):
/RHS/packages/anaconda/ipython/IPython/core/magics/execution.pyc in timeit(self, line, cell)
885 number = 1
886 for i in range(1, 10):
--> 887 if timer.timeit(number) >= 0.2:
888 break
889 number *= 10
/Users/stanton/anaconda/lib/python2.7/timeit.pyc in timeit(self, number)
193 gc.disable()
194 try:
--> 195 timing = self.inner(it, self.timer)
196 finally:
197 if gcold:
<magic-timeit> in inner(_it, _timer)
/RHS/packages/anaconda/pandas/pandas/core/indexing.pyc in **getitem**(self, key)
686 return self._getitem_tuple(key)
687 else:
--> 688 return self._getitem_axis(key, axis=0)
689
690 def _getitem_axis(self, key, axis=0):
/RHS/packages/anaconda/pandas/pandas/core/indexing.pyc in _getitem_axis(self, key, axis)
838 raise ValueError("Cannot index by location index with a non-integer key")
839
--> 840 return self._get_loc(key,axis=axis)
841
842 def _convert_to_indexer(self, obj, axis=0):
/RHS/packages/anaconda/pandas/pandas/core/indexing.pyc in _get_loc(self, key, axis)
62
63 def _get_loc(self, key, axis=0):
---> 64 return self.obj._ixs(key, axis=axis)
65
66 def _slice(self, obj, axis=0, raise_on_error=False):
/RHS/packages/anaconda/pandas/pandas/core/series.pyc in _ixs(self, i, axis)
599 label = self.index[i]
600 if isinstance(label, Index):
--> 601 return self.reindex(label)
602 else:
603 return _index.get_value_at(self, i)
/RHS/packages/anaconda/pandas/pandas/core/series.pyc in reindex(self, index, method, level, fill_value, limit, copy)
2660 level=level, limit=limit)
2661 new_values = com.take_1d(self.values, indexer, fill_value=fill_value)
-> 2662 return Series(new_values, index=new_index, name=self.name)
2663
2664 def reindex_axis(self, labels, axis=0, **kwargs):
/RHS/packages/anaconda/pandas/pandas/core/series.pyc in **new**(cls, data, index, dtype, name, copy)
487 else:
488 subarr = subarr.view(Series)
--> 489 subarr.index = index
490 subarr.name = name
491
/RHS/packages/anaconda/pandas/pandas/lib.so in pandas.lib.SeriesIndex.**set** (pandas/lib.c:29483)()
AssertionError: Index length did not match values
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4017/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4017/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4018 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4018/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4018/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4018/events | https://github.com/pandas-dev/pandas/pull/4018 | 15,955,258 | MDExOlB1bGxSZXF1ZXN0NjUxOTQ5OA== | 4,018 | BUG: GH4017, efficiently support non-unique indicies with iloc | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 12 | 2013-06-25T00:14:19Z | 2014-06-12T13:14:25Z | 2013-06-26T18:15:38Z | CONTRIBUTOR | null | closes #4017
This was a bug because the iloc was dealing with a non-unique index (and was
reindexing which is not correct in this situation, instead can effectively
take)
```
In [1]: df= DataFrame({'A' : [0.1] * 300000, 'B' : [1] * 300000})
In [2]: idx = np.array(range(3000)) * 99
In [3]: expected = df.iloc[idx]
In [4]: df2 = DataFrame({'A' : [0.1] * 100000, 'B' : [1] * 100000})
In [5]: df2 = pd.concat([df2, 2*df2, 3*df2])
In [6]: %timeit df2.iloc[idx]
1000 loops, best of 3: 221 us per loop
In [7]: %timeit df2.loc[idx]
10 loops, best of 3: 25.6 ms per loop
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4018/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4018/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4018.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4018",
"merged_at": "2013-06-26T18:15:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4018.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4018"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4019 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4019/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4019/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4019/events | https://github.com/pandas-dev/pandas/issues/4019 | 15,958,645 | MDU6SXNzdWUxNTk1ODY0NQ== | 4,019 | BUG(?): Stack dropna being ignored | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [] | closed | false | null | [] | null | 6 | 2013-06-25T02:40:34Z | 2013-06-25T14:28:45Z | 2013-06-25T14:28:45Z | CONTRIBUTOR | null | From my answer to a SO question [here](http://stackoverflow.com/a/17288205/1889400)
`stack` takes an argument `dropna`:
dropna : boolean, default True
Whether to drop rows in the resulting Frame/Series with no valid
values
It seems like that argument may be getting ignored. That or I'm confused and the docstring may need a rewrite.
Here's some code to try it on.
``` python
df = pd.DataFrame({'A': ['loc_a'] * 12 + ['loc_b'],
'B': ['group_a'] * 7 + ['group_b'] * 3 + ['group_c'] * 2 + ['group_a'],
'Date': ["2013-06-11",
"2013-07-02",
"2013-07-09",
"2013-07-30",
"2013-08-06",
"2013-09-03",
"2013-10-01",
"2013-07-09",
"2013-08-06",
"2013-09-03",
"2013-07-09",
"2013-09-03",
"2013-10-01"],
'Value': [22, 35, 14, 9, 4, 40, 18, 4, 2, 5, 1, 2, 3]})
df.Date = pd.to_datetime(df.Date)
df = df.set_index(['A', 'B', 'Date'])
In [75]: df.unstack(['A', 'B']).stack(['A', 'B'], dropna=False)
Out[75]:
Value
Date A B
2013-06-11 loc_a group_a 22
2013-07-02 loc_a group_a 35
2013-07-09 loc_a group_a 14
group_b 4
group_c 1
2013-07-30 loc_a group_a 9
2013-08-06 loc_a group_a 4
group_b 2
2013-09-03 loc_a group_a 40
group_b 5
group_c 2
2013-10-01 loc_a group_a 18
loc_b group_a 3
# Same
In [76]: df.unstack(['A', 'B']).stack(['A', 'B'], dropna=True)
Out[76]:
Value
Date A B
2013-06-11 loc_a group_a 22
2013-07-02 loc_a group_a 35
2013-07-09 loc_a group_a 14
group_b 4
group_c 1
2013-07-30 loc_a group_a 9
2013-08-06 loc_a group_a 4
group_b 2
2013-09-03 loc_a group_a 40
group_b 5
group_c 2
2013-10-01 loc_a group_a 18
loc_b group_a 3
# Zeros are where NaNs should show up with dropna=False?
In [77]: df.unstack(['A', 'B']).fillna(0).stack(['A', 'B'])
Out[77]:
Value
Date A B
2013-06-11 loc_a group_a 22
group_b 0
group_c 0
loc_b group_a 0
2013-07-02 loc_a group_a 35
group_b 0
group_c 0
loc_b group_a 0
2013-07-09 loc_a group_a 14
group_b 4
group_c 1
loc_b group_a 0
2013-07-30 loc_a group_a 9
group_b 0
group_c 0
loc_b group_a 0
2013-08-06 loc_a group_a 4
group_b 2
group_c 0
loc_b group_a 0
2013-09-03 loc_a group_a 40
group_b 5
group_c 2
loc_b group_a 0
2013-10-01 loc_a group_a 18
group_b 0
group_c 0
loc_b group_a 3
In [78]: pd.__version__
Out[78]: '0.11.1.dev-3406a54'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4019/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4019/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4020 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4020/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4020/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4020/events | https://github.com/pandas-dev/pandas/issues/4020 | 15,958,901 | MDU6SXNzdWUxNTk1ODkwMQ== | 4,020 | API: decide what to return from plotting functions | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "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"
},
{
"color": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 25 | 2013-06-25T02:53:55Z | 2021-04-11T02:10:32Z | null | MEMBER | null | most plotting functions return an `Artist` instance whereas a few return something else. for example, `boxplot` returns a `dict` and `scatter` returns a `tuple`. they should at least return a `matplotlib.artist.Artist` subclass (usually either a `Figure` or `Axes`) or an array of `Artist`s.
this has been brought up before but it would be nice to make a decision here.
[mailing list thread](https://groups.google.com/d/topic/pystatsmodels/biNlCvJPNNY/discussion) and #3474.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4020/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4020/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4021 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4021/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4021/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4021/events | https://github.com/pandas-dev/pandas/pull/4021 | 15,959,851 | MDExOlB1bGxSZXF1ZXN0NjUyMTgwNA== | 4,021 | BUG: allow series to use gcf-style figures | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 9 | 2013-06-25T03:36:39Z | 2014-07-16T08:15:54Z | 2013-06-28T15:18:57Z | MEMBER | null | cc @fonnesbeck
here's the original issue: https://github.com/pydata/pandas/commit/51cc9d9d21554701f70ef24392bd78a3da189335#commitcomment-3494266
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4021/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4021/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4021.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4021",
"merged_at": "2013-06-28T15:18:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4021.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4021"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4022 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4022/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4022/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4022/events | https://github.com/pandas-dev/pandas/pull/4022 | 15,960,160 | MDExOlB1bGxSZXF1ZXN0NjUyMTk2Mg== | 4,022 | CLN: move tox_prll.sh to tox.sh | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "2013-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 | 2013-06-25T03:52:50Z | 2013-07-25T03:52:47Z | 2013-06-26T00:01:04Z | MEMBER | null | We should only be using the parallel version of 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/4022/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4022/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4022.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4022",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4022.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4022"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4023 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4023/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4023/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4023/events | https://github.com/pandas-dev/pandas/issues/4023 | 15,960,481 | MDU6SXNzdWUxNTk2MDQ4MQ== | 4,023 | rename multiindex bug in DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/3384337?v=4",
"events_url": "https://api.github.com/users/joeb1415/events{/privacy}",
"followers_url": "https://api.github.com/users/joeb1415/followers",
"following_url": "https://api.github.com/users/joeb1415/following{/other_user}",
"gists_url": "https://api.github.com/users/joeb1415/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/joeb1415",
"id": 3384337,
"login": "joeb1415",
"node_id": "MDQ6VXNlcjMzODQzMzc=",
"organizations_url": "https://api.github.com/users/joeb1415/orgs",
"received_events_url": "https://api.github.com/users/joeb1415/received_events",
"repos_url": "https://api.github.com/users/joeb1415/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/joeb1415/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joeb1415/subscriptions",
"type": "User",
"url": "https://api.github.com/users/joeb1415"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "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"
} | 6 | 2013-06-25T04:11:12Z | 2016-10-12T23:03:56Z | 2014-09-08T13:47:55Z | NONE | null | related / same as #4160
```
from datetime import datetime, time
from pandas import date_range, Series, DataFrame
time_ind = date_range(datetime(2013, 1, 1), datetime(2013, 1, 10), freq='1min')
s = Series(1, index=time_ind)
s_g = s.groupby([lambda x: x.hour, lambda x: x.minute]).sum()
s_g = s_g.rename(lambda (h, m): time(h, m, 0))
df = DataFrame(1, index=time_ind, columns=['a', 'b'])
df_g = df.groupby([lambda x: x.hour, lambda x: x.minute]).sum()
df_g = df_g.rename(lambda (h, m): time(h, m, 0))
```
Works fine on Series, but throws error on DataFrame:
```
Traceback (most recent call last):
File "<ipython-input-25-4e51131ae70d>", line 2, in <module>
df_g = df_g.rename(lambda (h, m): time(h, m, 0))
File "C:\Python27\lib\site-packages\pandas\core\frame.py", line 3539, in rename
result._rename_index_inplace(index_f)
File "C:\Python27\lib\site-packages\pandas\core\frame.py", line 3548, in _rename_index_inplace
self._data = self._data.rename_axis(mapper, axis=1)
File "C:\Python27\lib\site-packages\pandas\core\internals.py", line 1734, in rename_axis
new_axis = MultiIndex.from_tuples([tuple(mapper(y) for y in x) for x in index], names=index.names)
File "C:\Python27\lib\site-packages\pandas\core\internals.py", line 1734, in <genexpr>
new_axis = MultiIndex.from_tuples([tuple(mapper(y) for y in x) for x in index], names=index.names)
File "<ipython-input-25-4e51131ae70d>", line 2, in <lambda>
df_g = df_g.rename(lambda (h, m): time(h, m, 0))
TypeError: 'long' object is not iterable
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4023/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4023/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4024 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4024/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4024/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4024/events | https://github.com/pandas-dev/pandas/pull/4024 | 15,961,493 | MDExOlB1bGxSZXF1ZXN0NjUyMjU4Mg== | 4,024 | BUG: Make secondary_y work properly for bar plots GH3598 | {
"avatar_url": "https://avatars.githubusercontent.com/u/91798?v=4",
"events_url": "https://api.github.com/users/danbirken/events{/privacy}",
"followers_url": "https://api.github.com/users/danbirken/followers",
"following_url": "https://api.github.com/users/danbirken/following{/other_user}",
"gists_url": "https://api.github.com/users/danbirken/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/danbirken",
"id": 91798,
"login": "danbirken",
"node_id": "MDQ6VXNlcjkxNzk4",
"organizations_url": "https://api.github.com/users/danbirken/orgs",
"received_events_url": "https://api.github.com/users/danbirken/received_events",
"repos_url": "https://api.github.com/users/danbirken/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/danbirken/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danbirken/subscriptions",
"type": "User",
"url": "https://api.github.com/users/danbirken"
} | [] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 9 | 2013-06-25T05:06:27Z | 2014-06-25T08:05:07Z | 2013-06-26T13:38:27Z | CONTRIBUTOR | null | As far as I'm aware this seems to work properly, but I'm not sure if this was done the previous way for a reason I don't understand.
Fixes: https://github.com/pydata/pandas/issues/3598
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4024/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4024/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4024.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4024",
"merged_at": "2013-06-26T13:38:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4024.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4024"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4025 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4025/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4025/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4025/events | https://github.com/pandas-dev/pandas/issues/4025 | 15,961,889 | MDU6SXNzdWUxNTk2MTg4OQ== | 4,025 | ER: Better error reporting in get_data_yahoo | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] | closed | false | null | [] | {
"closed_at": "2014-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"
} | 20 | 2013-06-25T05:27:58Z | 2014-02-14T13:20:06Z | 2014-02-14T13:20:06Z | MEMBER | null | reported by a book reader
```
When processing a long list of symbols using get_data_yahoo it is essential
that you be able to see which symbol is causing the problem. I was
importing a supposedly cleaned list of all the Russell 2000 stocks. When I
used your example (page 139), it worked. When I used my 'short list' it
worked. When I used my full list is failed: HTTP Error 404: Not Found.
The only way to find the error was to add the stocks one by one until the
error occurred. So what we need is something that kicks out a list of 'bad
symbols'. When I looked at your code it seemed that you had an attempt at
that:
in def dl_mult_symbols(symbol), i see:
try:
stocks[sym] = etc.
except:
warnings.warn('Error with sym: ' + sym + ' ...skipping'
But this is not being invoked. All I am getting is the 404 warning with no
indication of which stock in the list caused the error. I am not familiar
enough (or good enough) to read the code and make the necessary
corrections.
When I added the symbol 'ABVT' I got an error. I checked it out: ABVT was
AboveNet, Inc. which is now Zayo Group But obviously we need something
which kicks out a list of bad symbols, but keeps loading the good ones.
Below I give the traceback from trying to call ABVT.
I am making a list of errors in the book (have only found a few) which I
will be glad to provide at any point.
HTTPError Traceback (most recent call last)
<ipython-input-110-daf6874a2577> in <module>()
----> 1 web.get_data_yahoo('ABVT','1/1/2013','3/1/2013')
/Users/GJA/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/io/data.pyc
in get_data_yahoo(symbols, start, end, retry_count, pause, adjust_price,
ret_index, chunksize, **kwargs)
328 if isinstance(symbols, (str, int)):
329 sym = symbols
--> 330 hist_data = _get_hist_yahoo(sym, start=start, end=end)
331 #Or multiple symbols, (e.g., ['GOOG', 'AAPL', 'MSFT'])
332 elif isinstance(symbols, DataFrame):
/Users/GJA/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/io/data.pyc
in _get_hist_yahoo(sym, start, end, retry_count, pause, **kwargs)
160
161 for _ in range(retry_count):
--> 162 resp = urllib2.urlopen(url)
163 if resp.code == 200:
164 lines = resp.read()
/Applications/Canopy.app/appdata/canopy-1.0.0.1160.macosx-x86_64/Canopy.app/Contents/lib/python2.7/urllib2.pyc
in urlopen(url, data, timeout)
124 if _opener is None:
125 _opener = build_opener()
--> 126 return _opener.open(url, data, timeout)
127
128 def install_opener(opener):
/Applications/Canopy.app/appdata/canopy-1.0.0.1160.macosx-x86_64/Canopy.app/Contents/lib/python2.7/urllib2.pyc
in open(self, fullurl, data, timeout)
404 for processor in self.process_response.get(protocol, []):
405 meth = getattr(processor, meth_name)
--> 406 response = meth(req, response)
407
408 return response
/Applications/Canopy.app/appdata/canopy-1.0.0.1160.macosx-x86_64/Canopy.app/Contents/lib/python2.7/urllib2.pyc
in http_response(self, request, response)
517 if not (200 <= code < 300):
518 response = self.parent.error(
--> 519 'http', request, response, code, msg, hdrs)
520
521 return response
/Applications/Canopy.app/appdata/canopy-1.0.0.1160.macosx-x86_64/Canopy.app/Contents/lib/python2.7/urllib2.pyc
in error(self, proto, *args)
442 if http_err:
443 args = (dict, 'default', 'http_error_default') +
orig_args
--> 444 return self._call_chain(*args)
445
446 # XXX probably also want an abstract factory that knows when it
makes
/Applications/Canopy.app/appdata/canopy-1.0.0.1160.macosx-x86_64/Canopy.app/Contents/lib/python2.7/urllib2.pyc
in _call_chain(self, chain, kind, meth_name, *args)
376 func = getattr(handler, meth_name)
377
--> 378 result = func(*args)
379 if result is not None:
380 return result
/Applications/Canopy.app/appdata/canopy-1.0.0.1160.macosx-x86_64/Canopy.app/Contents/lib/python2.7/urllib2.pyc
in http_error_default(self, req, fp, code, msg, hdrs)
525 class HTTPDefaultErrorHandler(BaseHandler):
526 def http_error_default(self, req, fp, code, msg, hdrs):
--> 527 raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
528
529 class HTTPRedirectHandler(BaseHandler):
HTTPError: HTTP Error 404: Not Found
ref:_00D708xG6._50070UAdZw:ref
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4025/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4025/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4026 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4026/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4026/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4026/events | https://github.com/pandas-dev/pandas/issues/4026 | 15,966,993 | MDU6SXNzdWUxNTk2Njk5Mw== | 4,026 | CLN: Remove deprecated 'height' display option. | {
"avatar_url": "https://avatars.githubusercontent.com/u/98194?v=4",
"events_url": "https://api.github.com/users/garaud/events{/privacy}",
"followers_url": "https://api.github.com/users/garaud/followers",
"following_url": "https://api.github.com/users/garaud/following{/other_user}",
"gists_url": "https://api.github.com/users/garaud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/garaud",
"id": 98194,
"login": "garaud",
"node_id": "MDQ6VXNlcjk4MTk0",
"organizations_url": "https://api.github.com/users/garaud/orgs",
"received_events_url": "https://api.github.com/users/garaud/received_events",
"repos_url": "https://api.github.com/users/garaud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/garaud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/garaud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/garaud"
} | [
{
"color": "DDDDDD",
"default": false,
"description": "Administrative tasks related to the pandas project",
"id": 32933285,
"name": "Admin",
"node_id": "MDU6TGFiZWwzMjkzMzI4NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Admin"
}
] | 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 | 2013-06-25T08:41:53Z | 2013-07-28T21:05:53Z | 2013-07-28T21:05:53Z | CONTRIBUTOR | null | Hi,
I've got some Deprecation Warning messages about the 'height' display option (e.g. in `format.get_console_size()` function). See commit b036a7e316426fe4a312f8df4fb246512165812b which introduced this deprecation.
This message occurs when I display a `DataFrame` in my IPython console.
Best regards,
Damien G.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4026/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4026/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4027 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4027/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4027/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4027/events | https://github.com/pandas-dev/pandas/pull/4027 | 15,967,184 | MDExOlB1bGxSZXF1ZXN0NjUyNTU2Mg== | 4,027 | Remove deprecation warning about 'display.height' option. | {
"avatar_url": "https://avatars.githubusercontent.com/u/98194?v=4",
"events_url": "https://api.github.com/users/garaud/events{/privacy}",
"followers_url": "https://api.github.com/users/garaud/followers",
"following_url": "https://api.github.com/users/garaud/following{/other_user}",
"gists_url": "https://api.github.com/users/garaud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/garaud",
"id": 98194,
"login": "garaud",
"node_id": "MDQ6VXNlcjk4MTk0",
"organizations_url": "https://api.github.com/users/garaud/orgs",
"received_events_url": "https://api.github.com/users/garaud/received_events",
"repos_url": "https://api.github.com/users/garaud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/garaud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/garaud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/garaud"
} | [] | 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"
} | 7 | 2013-06-25T08:47:33Z | 2014-07-10T08:53:26Z | 2013-07-28T21:05:10Z | CONTRIBUTOR | null | Hi,
See the related issue at https://github.com/pydata/pandas/issues/4026
Best regards,
Damien
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4027/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4027/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4027.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4027",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4027.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4027"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4028 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4028/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4028/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4028/events | https://github.com/pandas-dev/pandas/issues/4028 | 15,974,265 | MDU6SXNzdWUxNTk3NDI2NQ== | 4,028 | TST: test_yahoo/test_options is failing (return no data) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 15 | 2013-06-25T11:54:15Z | 2013-06-28T23:06:17Z | 2013-06-28T23:06:17Z | CONTRIBUTOR | null | #3822 `test_options` is failing
cc @gliptak
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4028/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4028/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4029 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4029/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4029/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4029/events | https://github.com/pandas-dev/pandas/issues/4029 | 15,979,484 | MDU6SXNzdWUxNTk3OTQ4NA== | 4,029 | TST: test_google erroring on py2.6 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "5319e7",
"default": false,
"description": "Unit tests that occasionally fail",
"id": 76939933,
"name": "Unreliable Test",
"node_id": "MDU6TGFiZWw3NjkzOTkzMw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unreliable%20Test"
}
] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 3 | 2013-06-25T14:01:58Z | 2014-01-25T15:47:38Z | 2013-06-25T16:39:45Z | CONTRIBUTOR | null | is this random?
https://travis-ci.org/jreback/pandas/jobs/8423251
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4029/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4029/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4030 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4030/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4030/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4030/events | https://github.com/pandas-dev/pandas/pull/4030 | 15,980,069 | MDExOlB1bGxSZXF1ZXN0NjUzMjMxMg== | 4,030 | BUG: Removed import nose on top of testing.py script | {
"avatar_url": "https://avatars.githubusercontent.com/u/115261?v=4",
"events_url": "https://api.github.com/users/ogiaquino/events{/privacy}",
"followers_url": "https://api.github.com/users/ogiaquino/followers",
"following_url": "https://api.github.com/users/ogiaquino/following{/other_user}",
"gists_url": "https://api.github.com/users/ogiaquino/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ogiaquino",
"id": 115261,
"login": "ogiaquino",
"node_id": "MDQ6VXNlcjExNTI2MQ==",
"organizations_url": "https://api.github.com/users/ogiaquino/orgs",
"received_events_url": "https://api.github.com/users/ogiaquino/received_events",
"repos_url": "https://api.github.com/users/ogiaquino/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ogiaquino/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ogiaquino/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ogiaquino"
} | [] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 9 | 2013-06-25T14:12:48Z | 2014-07-16T08:15:59Z | 2013-06-26T02:12:04Z | CONTRIBUTOR | null | I'm having this error in master branch:
> > > import pandas
> > > Traceback (most recent call last):
> > > File "<stdin>", line 1, in <module>
> > > File "pandas/**init**.py", line 33, in <module>
> > > from pandas.util.testing import debug
> > > File "pandas/util/testing.py", line 17, in <module>
> > > import nose
> > > ImportError: No module named nose
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4030/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4030/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4030.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4030",
"merged_at": "2013-06-26T02:12:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4030.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4030"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4031 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4031/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4031/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4031/events | https://github.com/pandas-dev/pandas/pull/4031 | 15,993,130 | MDExOlB1bGxSZXF1ZXN0NjUzOTUzMw== | 4,031 | Add layout keyword to dataframe.hist() | {
"avatar_url": "https://avatars.githubusercontent.com/u/91798?v=4",
"events_url": "https://api.github.com/users/danbirken/events{/privacy}",
"followers_url": "https://api.github.com/users/danbirken/followers",
"following_url": "https://api.github.com/users/danbirken/following{/other_user}",
"gists_url": "https://api.github.com/users/danbirken/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/danbirken",
"id": 91798,
"login": "danbirken",
"node_id": "MDQ6VXNlcjkxNzk4",
"organizations_url": "https://api.github.com/users/danbirken/orgs",
"received_events_url": "https://api.github.com/users/danbirken/received_events",
"repos_url": "https://api.github.com/users/danbirken/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/danbirken/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danbirken/subscriptions",
"type": "User",
"url": "https://api.github.com/users/danbirken"
} | [] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 8 | 2013-06-25T18:19:52Z | 2014-06-20T04:13:38Z | 2013-06-29T14:50:54Z | CONTRIBUTOR | null | closes #4050. The current version defaults to a very sane default, but sometimes for presentation I prefer them all to be all in a row, or all in a column, or some non-balanced mix of the two. This keyword gives the flexibility for all of those options.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4031/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4031/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4031.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4031",
"merged_at": "2013-06-29T14:50:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4031.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4031"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4032 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4032/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4032/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4032/events | https://github.com/pandas-dev/pandas/issues/4032 | 16,001,219 | MDU6SXNzdWUxNjAwMTIxOQ== | 4,032 | Some items were not contained in blocks AssertionError | {
"avatar_url": "https://avatars.githubusercontent.com/u/2701643?v=4",
"events_url": "https://api.github.com/users/miketkelly/events{/privacy}",
"followers_url": "https://api.github.com/users/miketkelly/followers",
"following_url": "https://api.github.com/users/miketkelly/following{/other_user}",
"gists_url": "https://api.github.com/users/miketkelly/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/miketkelly",
"id": 2701643,
"login": "miketkelly",
"node_id": "MDQ6VXNlcjI3MDE2NDM=",
"organizations_url": "https://api.github.com/users/miketkelly/orgs",
"received_events_url": "https://api.github.com/users/miketkelly/received_events",
"repos_url": "https://api.github.com/users/miketkelly/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/miketkelly/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/miketkelly/subscriptions",
"type": "User",
"url": "https://api.github.com/users/miketkelly"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 4 | 2013-06-25T20:56:57Z | 2013-06-26T14:02:11Z | 2013-06-26T14:02:11Z | CONTRIBUTOR | null | The code below causes the DataFrame internals to get confused and throws an AssertionError on `print df.values`. The code looks contrived, but its just a simplified version of something I was trying to do. It doesn't seem to matter whether any columns are actually renamed so I simplified that also, but the rename calls do contribute to the problem.
```
import pandas as pd
df = pd.DataFrame({'a': [1, 2],
'b': [3, 4],
'c': [5, 6]})
df = df.set_index(['a', 'b'])
df = df.unstack()
df = df.rename(columns={'a': 'd'})
df = df.reset_index()
print df._data
df = df.rename(columns={})
print df._data
print df.values
```
```
BlockManager
Items: MultiIndex
[(u'a', u''), (u'c', 3), (u'c', 4)]
Axis 1: Int64Index([0, 1], dtype=int64)
FloatBlock: [(c, 3), (c, 4)], 2 x 2, dtype float64
IntBlock: [(a, )], 1 x 2, dtype int64
BlockManager
Items: MultiIndex
[(u'a', u''), (u'c', 3), (u'c', 4)]
Axis 1: Int64Index([0, 1], dtype=int64)
FloatBlock: [(a, ), (c, 3)], 2 x 2, dtype float64
IntBlock: [(a, )], 1 x 2, dtype int64
Traceback (most recent call last):
File "/home/mtk/bug.py", line 13, in <module>
print df.values
File "/Users/mtk/Source/pandas/pandas/core/frame.py", line 1779, in as_matrix
return self._data.as_matrix(columns).T
File "/Users/mtk/Source/pandas/pandas/core/internals.py", line 1513, in as_matrix
mat = self._interleave(self.items)
File "/Users/mtk/Source/pandas/pandas/core/internals.py", line 1549, in _interleave
raise AssertionError('Some items were not contained in blocks')
AssertionError: Some items were not contained in blocks
```
```
>>> pd.__version__
'0.11.1.dev-8a242d2'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4032/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4032/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4033 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4033/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4033/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4033/events | https://github.com/pandas-dev/pandas/issues/4033 | 16,006,455 | MDU6SXNzdWUxNjAwNjQ1NQ== | 4,033 | write_frame fails to replace table (io.sql) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1733237?v=4",
"events_url": "https://api.github.com/users/jhubele/events{/privacy}",
"followers_url": "https://api.github.com/users/jhubele/followers",
"following_url": "https://api.github.com/users/jhubele/following{/other_user}",
"gists_url": "https://api.github.com/users/jhubele/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jhubele",
"id": 1733237,
"login": "jhubele",
"node_id": "MDQ6VXNlcjE3MzMyMzc=",
"organizations_url": "https://api.github.com/users/jhubele/orgs",
"received_events_url": "https://api.github.com/users/jhubele/received_events",
"repos_url": "https://api.github.com/users/jhubele/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jhubele/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jhubele/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jhubele"
} | [
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] | closed | false | null | [] | null | 1 | 2013-06-25T22:54:58Z | 2013-06-29T15:54:02Z | 2013-06-29T15:54:02Z | NONE | null | For the option if_exists='replace' in write_frame the table is dropped but not re-created.
Simple error in the logic:
```
#create or drop-recreate if necessary
create = None
if exists and if_exists == 'replace':
create = "DROP TABLE %s" % name
elif not exists:
create = get_schema(frame, name, flavor)
if create is not None:
cur = con.cursor()
cur.execute(create)
cur.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/4033/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4033/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4034 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4034/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4034/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4034/events | https://github.com/pandas-dev/pandas/issues/4034 | 16,007,030 | MDU6SXNzdWUxNjAwNzAzMA== | 4,034 | write_frame fails to write NaN values (io.sql) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1733237?v=4",
"events_url": "https://api.github.com/users/jhubele/events{/privacy}",
"followers_url": "https://api.github.com/users/jhubele/followers",
"following_url": "https://api.github.com/users/jhubele/following{/other_user}",
"gists_url": "https://api.github.com/users/jhubele/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jhubele",
"id": 1733237,
"login": "jhubele",
"node_id": "MDQ6VXNlcjE3MzMyMzc=",
"organizations_url": "https://api.github.com/users/jhubele/orgs",
"received_events_url": "https://api.github.com/users/jhubele/received_events",
"repos_url": "https://api.github.com/users/jhubele/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jhubele/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jhubele/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jhubele"
} | [
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] | closed | false | null | [] | null | 1 | 2013-06-25T23:10:12Z | 2013-06-29T15:52:42Z | 2013-06-29T15:52:42Z | NONE | null | At least connections via pyodbc or ceODBC do not accept NaN values in INSERT statements.
If I replace the NaN with None it is working as expected, i.e. these are NULLs in the data base:
```
frame2 = frame.where((pd.notnull(frame)), None)
data = [tuple(x) for x in frame2.values]
cur.executemany(insert_query, data)
```
It is pretty expensive to copy the data frame. There is probably a better solution.
I have tested this only with SQL Server for which I have written a small extension to sql.py.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4034/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4034/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4035 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4035/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4035/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4035/events | https://github.com/pandas-dev/pandas/pull/4035 | 16,008,856 | MDExOlB1bGxSZXF1ZXN0NjU0ODUwOQ== | 4,035 | ENH: add rmod methods to frame and series | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 6 | 2013-06-26T00:00:34Z | 2014-07-05T03:48:10Z | 2013-06-26T14:21:01Z | MEMBER | null | 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/4035/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4035/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4035.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4035",
"merged_at": "2013-06-26T14:21:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4035.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4035"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4036 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4036/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4036/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4036/events | https://github.com/pandas-dev/pandas/issues/4036 | 16,009,461 | MDU6SXNzdWUxNjAwOTQ2MQ== | 4,036 | Partial Selection on MultiIndex: The need for empty slice support & dict indexing | {
"avatar_url": "https://avatars.githubusercontent.com/u/2701562?v=4",
"events_url": "https://api.github.com/users/dragoljub/events{/privacy}",
"followers_url": "https://api.github.com/users/dragoljub/followers",
"following_url": "https://api.github.com/users/dragoljub/following{/other_user}",
"gists_url": "https://api.github.com/users/dragoljub/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dragoljub",
"id": 2701562,
"login": "dragoljub",
"node_id": "MDQ6VXNlcjI3MDE1NjI=",
"organizations_url": "https://api.github.com/users/dragoljub/orgs",
"received_events_url": "https://api.github.com/users/dragoljub/received_events",
"repos_url": "https://api.github.com/users/dragoljub/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dragoljub/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dragoljub/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dragoljub"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 15 | 2013-06-26T00:22:06Z | 2020-12-23T01:12:39Z | null | NONE | null | related #4036, #4116
from SO with 0.14.0 multi-index slicers: http://stackoverflow.com/questions/24126542/pandas-multi-index-slices-for-level-names/24126676#24126676
Here's the example from there:
```
In [11]: midx = pd.MultiIndex.from_product([list(range(3)),['a','b','c'],pd.date_range('20130101',periods=3)],names=['numbers','letters','dates'])
In [12]: midx.names.index('letters')
Out[12]: 1
In [13]: midx.names.index('dates')
Out[13]: 2
```
Here's a complete example
```
In [18]: df = DataFrame(np.random.randn(len(midx),1),index=midx)
In [19]: df
Out[19]:
0
numbers letters dates
0 a 2013-01-01 0.261092
2013-01-02 -1.267770
2013-01-03 0.008230
b 2013-01-01 -1.515866
2013-01-02 0.351942
2013-01-03 -0.245463
c 2013-01-01 -0.253103
2013-01-02 -0.385411
2013-01-03 -1.740821
1 a 2013-01-01 -0.108325
2013-01-02 -0.212350
2013-01-03 0.021097
b 2013-01-01 -1.922214
2013-01-02 -1.769003
2013-01-03 -0.594216
c 2013-01-01 -0.419775
2013-01-02 1.511700
2013-01-03 0.994332
2 a 2013-01-01 -0.020299
2013-01-02 -0.749474
2013-01-03 -1.478558
b 2013-01-01 -1.357671
2013-01-02 0.161185
2013-01-03 -0.658246
c 2013-01-01 -0.564796
2013-01-02 -0.333106
2013-01-03 -2.814611
```
This is your dict of level names -> slices
```
In [20]: slicers = { 'numbers' : slice(0,1), 'dates' : slice('20130102','20130103') }
```
This creates an indexer that is empty (selects everything)
```
In [21]: indexer = [ slice(None) ] * len(df.index.levels)
```
Add in your slicers
```
In [22]: for n, idx in slicers.items():
indexer[df.index.names.index(n)] = idx
```
And select (this has to be a tuple, but was a list to start as we had to modify it)
```
In [23]: df.loc[tuple(indexer),:]
Out[23]:
0
numbers letters dates
0 a 2013-01-02 -1.267770
2013-01-03 0.008230
b 2013-01-02 0.351942
2013-01-03 -0.245463
c 2013-01-02 -0.385411
2013-01-03 -1.740821
1 a 2013-01-02 -0.212350
2013-01-03 0.021097
b 2013-01-02 -1.769003
2013-01-03 -0.594216
c 2013-01-02 1.511700
2013-01-03 0.994332
```
I use hierarchical indices regularly with pandas DataFrames and Series objects. It is invaluable to be able to partially select subsets of rows based on a set of arbitrary index values, and retain the index information for subsequent groupby operations etc.
I am looking for an elegant way to pass an ordered tuple (with possibly empty slices) or an arbitrary dict of {index_level_name:value,...} pairs to select rows matching the passed index:value pairs. Note: I am aware that with Boolean indexing on data columns and nested np.logical_and() statements you can construct such a Boolean select index. I'm looking for an elegant solution using indexes & levels to avoid repeatedly using df.reset_index and building Boolean arrays. Also, df.xs() does not work in every situation (see below) and does not exist for Series with MultiIndex.
To explain this lets create a DataFrame with 5 index levels:
``` python
In [1]: import numpy as np
In [2]: import pandas as pd
In [3]: print pd.__version__
0.10.0
In [4]: # Generate Test DataFrame
...: NUM_ROWS = 100000
...:
In [5]: NUM_COLS = 10
In [6]: col_names = ['A'+num for num in map(str,np.arange(NUM_COLS).tolist())]
In [7]: index_cols = col_names[:5]
In [8]: # Set DataFrame to have 5 level Hierarchical Index.
...: # The dtype does not matter try str or np.int64 same results.
...: # Sort the index!
...: df = pd.DataFrame(np.random.randint(5, size=(NUM_ROWS,NUM_COLS)), dtype=np.int64, columns=col_names)
...:
In [9]: df = df.set_index(index_cols).sort_index()
In [10]: df
Out[10]: <class 'pandas.core.frame.DataFrame'>
MultiIndex: 100000 entries, (0, 0, 0, 0, 0) to (4, 4, 4, 4, 4)
Data columns:
A5 100000 non-null values
A6 100000 non-null values
A7 100000 non-null values
A8 100000 non-null values
A9 100000 non-null values
dtypes: int64(5)
In [11]: df.index.names
Out[11]: ['A0', 'A1', 'A2', 'A3', 'A4']
```
Now index on every level and we get back the rows we want :) I love that I get back the complete index too because it may be useful later.
``` python
In [12]: df.ix[(0,1,2,3,4)]
Out[12]: A5 A6 A7 A8 A9
A0 A1 A2 A3 A4
0 1 2 3 4 1 3 1 1 3
4 4 3 4 2 4
4 0 2 3 1 3
...
4 1 1 3 4 3
4 0 1 2 4 1
```
Now if we index on the first 4 levels we get back something different, a data frame with the first 4 index levels dropped. It would be nice to have the option to keep all index levels even though they are repetitive (like above).
``` python
In [13]: df.ix[(0,1,2,3)]
Out[13]: <class 'pandas.core.frame.DataFrame'>
Int64Index: 144 entries, 0 to 4
Data columns:
A5 144 non-null values
A6 144 non-null values
A7 144 non-null values
A8 144 non-null values
A9 144 non-null values
dtypes: int64(5)
```
Now comes the tricky part. What if I only want to index on the first and last 2 index levels, and want everything from the 3rd level? Empty slicing is not supported.
``` python
In [14]: df.ix[(0,1,:,3,4)]
File "<ipython-input-14-7e44e59fa5b1>", line 1
df.ix[(0,1,:,3,4)]
^
SyntaxError: invalid syntax
In [15]: df.ix[(0,1,slice(None),3,4)]
---------------------------------------------------------------------------
IndexingError Traceback (most recent call last)
<ipython-input-15-0e4517ae7fc5> in <module>()
----> 1 df.ix[(0,1,slice(None),3,4)]
C:\Python27\lib\site-packages\pandas\core\indexing.pyc in __getitem__(self, key)
30 pass
31
---> 32 return self._getitem_tuple(key)
33 else:
34 return self._getitem_axis(key, axis=0)
C:\Python27\lib\site-packages\pandas\core\indexing.pyc in _getitem_tuple(self, tup)
212 for i, key in enumerate(tup):
213 if i >= self.obj.ndim:
--> 214 raise IndexingError('Too many indexers')
215
216 if _is_null_slice(key):
IndexingError: Too many indexers
```
df.xs can somewhat help here but its useless for MultiIndex on a series. And it drops the indexed levels leaving you unsure to what fixed index levels you have drilled to. :(
``` python
In [16]: df.xs((0,2,3),level=df.index.names[::2])
Out[16]: <class 'pandas.core.frame.DataFrame'>
MultiIndex: 805 entries, (0, 0) to (4, 4)
Data columns:
A5 805 non-null values
A6 805 non-null values
A7 805 non-null values
A8 805 non-null values
A9 805 non-null values
dtypes: int64(5)
```
Interestingly df.xs() is not consistant, because you cannot explicitly index on every level giving it the list of all level names:
``` python
In [17]: df.xs((0,1,2,3,4), level=df.index.names)
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-19-d0e373dfcd5f> in <module>()
----> 1 df.xs((0,1,2,3,4), level=df.index.names)
C:\Python27\lib\site-packages\pandas\core\frame.pyc in xs(self, key, axis, level, copy)
2233 labels = self._get_axis(axis)
2234 if level is not None:
-> 2235 loc, new_ax = labels.get_loc_level(key, level=level)
2236
2237 if not copy and not isinstance(loc, slice):
C:\Python27\lib\site-packages\pandas\core\index.pyc in get_loc_level(self, key, level)
2193
2194 result = loc if result is None else result & loc
-> 2195 return result, _drop_levels(result, level)
2196
2197 level = self._get_level_number(level)
C:\Python27\lib\site-packages\pandas\core\index.pyc in _drop_levels(indexer, levels)
2177 levels = [self._get_level_number(i) for i in levels]
2178 for i in sorted(levels, reverse=True):
-> 2179 new_index = new_index.droplevel(i)
2180 return new_index
2181
AttributeError: 'Int64Index' object has no attribute 'droplevel'
```
However df.xs without the level attribute on all index levels works as expected...
``` ptthon
In [18]: df.xs((0,1,2,3,4))
Out[18]: A5 A6 A7 A8 A9
A0 A1 A2 A3 A4
0 1 2 3 4 1 3 1 1 3
4 4 3 4 2 4
4 0 2 3 1 3
...
4 1 1 3 4 3
4 0 1 2 4 1
```
Thoughts:
One (somewhat limiting) solution could be allowing df.ix[(0,1,3,:,4)] to take an empty slice for an index level and return the data frame indexed on only the the passed index levels that are known. Today this capability does not exist, although an ordered partial list of index levels works.
The next and more general approach could be to pass a dict of df.ix[{index_level:value}] pairs and return the rows where the specified index levels equal the passed values. Unspecified levels are not filtered down and we have the option to return all index levels.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4036/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4036/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4037 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4037/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4037/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4037/events | https://github.com/pandas-dev/pandas/pull/4037 | 16,009,819 | MDExOlB1bGxSZXF1ZXN0NjU0OTAyNA== | 4,037 | WIP: add top-level eval function | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "2013-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"
} | 74 | 2013-06-26T00:34:16Z | 2014-06-12T09:31:29Z | 2013-07-08T18:16:51Z | MEMBER | null | closes #3393.
This is a ways from being mergeable but I thought I would put up the PR for people to play with and to get some other eyes on it. Tire-kick at will. A consolidated list of things to be completed to come.
# `eval` Roadmap
## Documentation
- [ ] enhancing performance section
- [x] `eval` docstring
- [ ] Warn users that this is _not_ a magic bullet
- E.g., `x = 3; y = 2; pd.eval('x // y', engine='python')` is 1000 times slower than the same operation in actual Python.
## Engines
- [x] python engine for testing (basically a restricted eval, should make sure nothing dangerous a la `eval('os.system("sudo rm -rf /")')`) is possible here
- [x] numexpr engine
- [x] pytables engine (#4155)
Should python be the default engine for small frames?
## Functions
- [x] toplevel `isexpr`
- [x] move `eval` to top-level pandas
## Error Handling
- [x] syntax error handling
- [x] name error handling
## Alignment
- Algorithm
1. flatten the tree of terms
2. resolve the variables, special casing only numpy arrays/scalars/single unary operations (probably room for more abstraction here)
3. align by joining on the indices using the current broadcasting behavior
4. update the original namespace with the newly aligned version of the underlying numpy array
5. reconstruct the final object with the aforementioned joined indices and type
- [ ] punt to `'python'` engine when a `Series` and `DataFrame` both have `DatetimeIndexes` (I would rather not do this and just enforce the to-be-deprecated index-aligning-if-both-indices-are-datetimeindex behavior)
- [ ] `PeriodIndex`es don't work (well, they won't pass my tests) because of a stack overflow bug when joining a `DatetimeIndex` and a `PeriodIndex` (that bug is slated for 0.13, but a design decision needs to be made)
- [ ] alignment for `NDFrame` (is this really necessary?)
- [x] unary alignment
- [x] binary alignment
## Scope
- [x] deal with global scoping issues (not sure if this is tested well enough...which means probably not)
- [x] allow `Expr` objects to be passed to `eval` (`Expr` will pull in the local and global variables from the calling stack frame)
## Miscellaneous
- [ ] replace current `evaluate` function
- [ ] `Expr` in `NDFrame.__getitem__` cc @jreback
- [x] reconstruct the final object to return the expected output type, e.g., `df + df2` should return a `DataFrame` if `df` and `df2` are both `DataFrame` objects.
- [x] change `Expression` to `Expr`
- [x] add `truediv` keyword to `Expr`, default to `True`
## Operators
- [x] `%`
- [x] `**`
- [x] unary ops don't play well when they are operands of binary ops
## Tests
- [ ] `DatetimeIndex` and `PeriodIndex` objects are untested because of a few join and alignment issues.
- [ ] rewrite a few tests in the python evaluator to make sure the `//` operator works as it should (it works, but there may be edge cases that I haven't though of yet)
- [ ] `//` `numexpr` only supports scalar evaluation here: variables are not allowed so this will always eval in python space (half-assed it a bit in the tests here need to fix that)
- [x] truediv keyword tests
- [x] add tests for nans
- [x] fix `**` associativity issue in testing
## Near Future
- allow `and`, `or` and `not` aliases for the operators `&`, `|` and `~`, respectively
- attribute accessing e.g., `df.A` syntax
- reductions (`sum` and `prod`)
- math ops (sin, cos, tan, sqrt, etc.)
## Far Future
- non-python indexing (or just punt to python)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4037/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4037/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4037.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4037",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4037.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4037"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4038 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4038/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4038/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4038/events | https://github.com/pandas-dev/pandas/pull/4038 | 16,011,102 | MDExOlB1bGxSZXF1ZXN0NjU0OTY0OQ== | 4,038 | CLN/DOC: update version numbers | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 10 | 2013-06-26T01:21:18Z | 2014-07-16T08:16:05Z | 2013-06-26T17:00:28Z | 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/4038/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4038/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4038.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4038",
"merged_at": "2013-06-26T17:00:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4038.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4038"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/4039 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4039/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4039/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4039/events | https://github.com/pandas-dev/pandas/pull/4039 | 16,011,127 | MDExOlB1bGxSZXF1ZXN0NjU0OTY2NQ== | 4,039 | ENH/BUG: Fix names, levels and labels handling in MultiIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] | 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"
} | 154 | 2013-06-26T01:22:53Z | 2017-07-09T02:26:19Z | 2013-08-11T20:01:02Z | CONTRIBUTOR | null | This PR covers:
Fixes: #4202, #3714, #3742 (there are might be some others, but I've blanked on them...)
Bug fixes:
- `MultiIndex` preserves names as much as possible and it's now harder to overwrite index metadata by making changes down the line.
- `set_values` no longer messes up names.
External API Changes:
- Names, levels and labels are now validated each time and 'mostly' immutable.
- names, levels and labels produce containers that are immutable (using new containers `FrozenList` and `FrozenNDArray`)
- `MultiIndex` now shallow copies levels and labels before storing them.
- Adds `astype` method to `MultiIndex` to resolve issue with `set_values` in `NDFrame`
- Direct setting of levels and labels is "deprecated" with a setter that raises a DeprecationWarning (but still functions)
- New `set_names`, `set_labels`, and `set_levels` methods allow setting of these attributes and take an `inplace=True` keyword argument to mutate in place.
- `Index` has a `rename` method that works similarly to the `set_*` methods.
- Improved exceptions on `Index` methods to be more descriptive / more specific (e.g., replacing `Exception` with `ValueError`, etc.)
- `Index.copy()` now accepts keyword arguments (`name=`,`names=`, `levels=`, `labels=`,) which return a new copy with those attributes set. It also accepts `deep`, which is there for compatibility with other `copy()` methods, but doesn't actually change what copy does (though, for MultiIndex, it makes the copy operation slower)
Internal changes:
- `MultiIndex` now uses `_set_levels`, `_get_levels`, `_set_labels`, `_get_labels` internally to handle labels and levels (and uses that directly in `__array_finalize__` and `__setstate__`, etc.)
- `MultiIndex.copy(deep=True)` will deepcopy levels, labels, and names.
- `Index` objects handle names with `_set_names` and `_get_names`.
- `Index` now inherits from `FrozenNDArray` which (mostly) blocks mutable methods (except for `view()` and `reshape()`)
- `Index` now actually copies ndarrays when copy=True is passed to constructor and dtype=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/4039/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4039/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4039.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4039",
"merged_at": "2013-08-11T20:01:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4039.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4039"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4040 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4040/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4040/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4040/events | https://github.com/pandas-dev/pandas/issues/4040 | 16,012,079 | MDU6SXNzdWUxNjAxMjA3OQ== | 4,040 | Add the sphinx versionadded directive to release.rst and vX.Y.Z.txt (whatsnew files) | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 4 | 2013-06-26T02:04:10Z | 2013-09-24T01:07:20Z | 2013-09-24T01:06:33Z | MEMBER | null | It would be nice to have the `.. versionadded:: x.y.z` where and whenever a new feature was introduced.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4040/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4040/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4041 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4041/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4041/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4041/events | https://github.com/pandas-dev/pandas/pull/4041 | 16,013,533 | MDExOlB1bGxSZXF1ZXN0NjU1MDkxNg== | 4,041 | ENH: Initial implementation of calculation of astronomical Julian Date. | {
"avatar_url": "https://avatars.githubusercontent.com/u/297142?v=4",
"events_url": "https://api.github.com/users/timcera/events{/privacy}",
"followers_url": "https://api.github.com/users/timcera/followers",
"following_url": "https://api.github.com/users/timcera/following{/other_user}",
"gists_url": "https://api.github.com/users/timcera/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/timcera",
"id": 297142,
"login": "timcera",
"node_id": "MDQ6VXNlcjI5NzE0Mg==",
"organizations_url": "https://api.github.com/users/timcera/orgs",
"received_events_url": "https://api.github.com/users/timcera/received_events",
"repos_url": "https://api.github.com/users/timcera/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/timcera/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timcera/subscriptions",
"type": "User",
"url": "https://api.github.com/users/timcera"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | {
"closed_at": "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"
} | 17 | 2013-06-26T03:17:56Z | 2014-06-27T04:35:19Z | 2014-02-26T22:25:41Z | CONTRIBUTOR | null | - Added 'to_julian_date()' to Timestamp
- Added 'to_julian_date()' to DatetimeIndex
- Added tests for both methods.
Toying with the idea of using pandas for my astronomy and tidal analysis packages and I need the astronomical Julian Date. So here is an implementation and tests. I think I put these in the right place. Really wanted to have the same function for the Timestamp and DatetimeIndex so that both would benefit from improvements, but couldn't figure out how to make that work.
Kindest regards,
Tim
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4041/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4041/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4041.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4041",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4041.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4041"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4042 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4042/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4042/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4042/events | https://github.com/pandas-dev/pandas/pull/4042 | 16,015,609 | MDExOlB1bGxSZXF1ZXN0NjU1MTkzMg== | 4,042 | Ensure accurate encoding/decoding of big and small floats | {
"avatar_url": "https://avatars.githubusercontent.com/u/3505485?v=4",
"events_url": "https://api.github.com/users/trottier/events{/privacy}",
"followers_url": "https://api.github.com/users/trottier/followers",
"following_url": "https://api.github.com/users/trottier/following{/other_user}",
"gists_url": "https://api.github.com/users/trottier/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/trottier",
"id": 3505485,
"login": "trottier",
"node_id": "MDQ6VXNlcjM1MDU0ODU=",
"organizations_url": "https://api.github.com/users/trottier/orgs",
"received_events_url": "https://api.github.com/users/trottier/received_events",
"repos_url": "https://api.github.com/users/trottier/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/trottier/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/trottier/subscriptions",
"type": "User",
"url": "https://api.github.com/users/trottier"
} | [] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 19 | 2013-06-26T05:17:01Z | 2014-06-19T16:05:37Z | 2013-07-20T01:45:17Z | NONE | null | ujson has trouble with very big, and especially very small, floats:
esnme/ultrajson#69
esnme/ultrajson#83
esnme/ultrajson#90
From: https://github.com/pydata/pandas/pull/1263#issuecomment-20024006
```
>>> import ujson
>>> ujson.dumps(1e-40)
'0.0'
>>> ujson.dumps(1e-40, double_precision=17)
'0.0'
```
I believe this makes ujson inappropriate for inclusion in pandas.
This pull requests adds tests that ujson should, but won't, completely pass. I don't feel yet sufficiently familiar with pandas' design to substitute in (e.g.) simplejson.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4042/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4042/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4042.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4042",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4042.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4042"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4043 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4043/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4043/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4043/events | https://github.com/pandas-dev/pandas/pull/4043 | 16,029,977 | MDExOlB1bGxSZXF1ZXN0NjU1OTc0Mw== | 4,043 | BUG: (GH4032) Fixed insertion issue into DataFrame, after rename | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 0 | 2013-06-26T13:01:35Z | 2014-07-16T08:16:15Z | 2013-06-26T14:02:11Z | CONTRIBUTOR | null | closes #4032
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4043/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4043/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4043.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4043",
"merged_at": "2013-06-26T14:02:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4043.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4043"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4044 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4044/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4044/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4044/events | https://github.com/pandas-dev/pandas/pull/4044 | 16,034,194 | MDExOlB1bGxSZXF1ZXN0NjU2MTM4Mw== | 4,044 | DOC: Minor correction to DataReader data_source options | {
"avatar_url": "https://avatars.githubusercontent.com/u/1631487?v=4",
"events_url": "https://api.github.com/users/woodb/events{/privacy}",
"followers_url": "https://api.github.com/users/woodb/followers",
"following_url": "https://api.github.com/users/woodb/following{/other_user}",
"gists_url": "https://api.github.com/users/woodb/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/woodb",
"id": 1631487,
"login": "woodb",
"node_id": "MDQ6VXNlcjE2MzE0ODc=",
"organizations_url": "https://api.github.com/users/woodb/orgs",
"received_events_url": "https://api.github.com/users/woodb/received_events",
"repos_url": "https://api.github.com/users/woodb/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/woodb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/woodb/subscriptions",
"type": "User",
"url": "https://api.github.com/users/woodb"
} | [] | closed | false | null | [] | null | 6 | 2013-06-26T14:05:21Z | 2014-07-19T22:27:56Z | 2013-06-29T03:31:24Z | NONE | null | Documentation for DataReader had noted that Fama/French was "ff" for data_source, rather than "famafrench".
Modified DataReader slightly to accept "ff" anyway.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4044/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4044/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4044.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4044",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4044.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4044"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4045 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4045/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4045/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4045/events | https://github.com/pandas-dev/pandas/issues/4045 | 16,034,560 | MDU6SXNzdWUxNjAzNDU2MA== | 4,045 | .loc[] with MultiIndex sometimes yields Series, other times yields DataFrames | {
"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"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] | closed | false | null | [] | {
"closed_at": 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 | 2013-06-26T14:11:59Z | 2017-05-04T13:42:24Z | 2017-05-04T13:42:23Z | CONTRIBUTOR | null | The behavior I'm experiencing is non-deterministic. DataFrames with different data but constructed at the same way behave differently.
The example from the documentation on indexing works:
``` python
df.loc[("foo", "one")]
0 1 2 3
foo one -1.465106 0.518888 0.901505 -0.250815
```
However in some occasions doing .loc with 3 or more keys gives me a Series with the index as name:
``` python
dataframe.loc[("chr1", 27106293, "Test")]
file NaN
gene NaN
reference NaN
mutated_base NaN
mutated_base_reads 0
reference_base_reads 0
other_reads 0
total_reads 0
mutated_percentage NaN
Name: (chr1, 27106293, Test), dtype: object
```
A similarly-constructed DataFrame but with different data yields instead a DataFrame.
I can't paste the affected DataFrame to this bug tracker, but I can provide it privately if need be.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4045/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4045/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4046 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4046/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4046/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4046/events | https://github.com/pandas-dev/pandas/issues/4046 | 16,045,441 | MDU6SXNzdWUxNjA0NTQ0MQ== | 4,046 | Dev versioning is broken. | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 14 | 2013-06-26T17:27:03Z | 2013-12-30T21:04:48Z | 2013-07-25T02:04:08Z | NONE | null | currently:
```
0.12.0.dev-73de5de
```
[PEP386](http://www.python.org/dev/peps/pep-0386/) details 3 version format conventions extent in the python world and this format is invalid in all of them.
In practice it's caused no problems( I know of), probably because the tooling is lenient, but one real drawback is that lexi. sorting of the version string does not properly order the revisions, which some tools rely on. Something which
```
0.12.0pre234(-73de5de)
```
would provide, where 234 is the commit count since the last release. We could add a pd.version.commit field to compensate for omitting the commit in the version string.
As always it'll break something for sombody, but being a dev-only thing we're probably entitled.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4046/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4046/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4047 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4047/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4047/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4047/events | https://github.com/pandas-dev/pandas/pull/4047 | 16,047,672 | MDExOlB1bGxSZXF1ZXN0NjU2ODYzNA== | 4,047 | TST: fix failing data.py tests FOR GOOD | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 13 | 2013-06-26T18:13:55Z | 2014-07-05T21:27:17Z | 2013-06-27T13:02:34Z | MEMBER | null | closes #4028, #3982
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4047/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4047/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4047.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4047",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4047.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4047"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4048 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4048/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4048/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4048/events | https://github.com/pandas-dev/pandas/pull/4048 | 16,048,271 | MDExOlB1bGxSZXF1ZXN0NjU2ODk3Mw== | 4,048 | TST: remove test_yahoo options test skipping | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 7 | 2013-06-26T18:26:14Z | 2014-06-30T12:16:55Z | 2013-06-26T19:17:51Z | CONTRIBUTOR | null | closes #4028
just a reversal of the warnings - seem ok 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/4048/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4048/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4048.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4048",
"merged_at": "2013-06-26T19:17:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4048.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4048"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4049 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4049/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4049/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4049/events | https://github.com/pandas-dev/pandas/issues/4049 | 16,049,742 | MDU6SXNzdWUxNjA0OTc0Mg== | 4,049 | A way to auto-adjust column widths when using pd.ExcelWriter? | {
"avatar_url": "https://avatars.githubusercontent.com/u/739280?v=4",
"events_url": "https://api.github.com/users/colindickson/events{/privacy}",
"followers_url": "https://api.github.com/users/colindickson/followers",
"following_url": "https://api.github.com/users/colindickson/following{/other_user}",
"gists_url": "https://api.github.com/users/colindickson/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/colindickson",
"id": 739280,
"login": "colindickson",
"node_id": "MDQ6VXNlcjczOTI4MA==",
"organizations_url": "https://api.github.com/users/colindickson/orgs",
"received_events_url": "https://api.github.com/users/colindickson/received_events",
"repos_url": "https://api.github.com/users/colindickson/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/colindickson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/colindickson/subscriptions",
"type": "User",
"url": "https://api.github.com/users/colindickson"
} | [
{
"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"
},
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] | closed | false | null | [] | {
"closed_at": "2014-02-03T05:17:36Z",
"closed_issues": 314,
"created_at": "2013-08-26T22:11:58Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
},
"description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.",
"due_on": "2014-02-04T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/23",
"id": 412013,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels",
"node_id": "MDk6TWlsZXN0b25lNDEyMDEz",
"number": 23,
"open_issues": 0,
"state": "closed",
"title": "0.13.1",
"updated_at": "2014-02-03T05:18:00Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23"
} | 13 | 2013-06-26T18:56:39Z | 2018-10-05T14:50:48Z | 2013-11-10T10:55:57Z | NONE | null | Reference to this StackOverflow question:
http://stackoverflow.com/questions/17326973/is-there-a-way-to-auto-adjust-excel-column-widths-with-pandas-excelwriter
It would be a nice feature to have the columns in the excel file auto-adjusted to the length of the longest entry in that column.
| {
"+1": 5,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 5,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4049/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4049/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4050 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4050/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4050/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4050/events | https://github.com/pandas-dev/pandas/issues/4050 | 16,060,939 | MDU6SXNzdWUxNjA2MDkzOQ== | 4,050 | The layout of dataframe histograms should be customizable | {
"avatar_url": "https://avatars.githubusercontent.com/u/91798?v=4",
"events_url": "https://api.github.com/users/danbirken/events{/privacy}",
"followers_url": "https://api.github.com/users/danbirken/followers",
"following_url": "https://api.github.com/users/danbirken/following{/other_user}",
"gists_url": "https://api.github.com/users/danbirken/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/danbirken",
"id": 91798,
"login": "danbirken",
"node_id": "MDQ6VXNlcjkxNzk4",
"organizations_url": "https://api.github.com/users/danbirken/orgs",
"received_events_url": "https://api.github.com/users/danbirken/received_events",
"repos_url": "https://api.github.com/users/danbirken/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/danbirken/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danbirken/subscriptions",
"type": "User",
"url": "https://api.github.com/users/danbirken"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 0 | 2013-06-26T22:54:44Z | 2013-06-29T14:50:54Z | 2013-06-29T14:50:54Z | CONTRIBUTOR | null | Right now, the layout of the subplots for a dataframe's histogram is out of the control of the user, it picks the (very sane) default of trying to balance out the rows and columns.
This is great, but sometimes I want the histograms to all be in a row, or all in a column, or some combination for better presentation.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4050/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4050/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4051 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4051/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4051/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4051/events | https://github.com/pandas-dev/pandas/pull/4051 | 16,066,892 | MDExOlB1bGxSZXF1ZXN0NjU3OTQ4Mw== | 4,051 | ENH: Use numexpr for all arithmetic operators + refactor arithmetic operations | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [] | closed | false | null | [] | {
"closed_at": "2013-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"
} | 22 | 2013-06-27T02:45:45Z | 2014-06-23T17:35:57Z | 2013-07-24T03:38:32Z | CONTRIBUTOR | null | Resolves #3765.
#### This is going to be split into two parts and then rebased on top of #3482.
Tasks:
- [x] Move arithmetic operations to separate file (e.g., `ops.py`).
- [x] Explore combining series/panel/frame operation methods.
- [x] Add rand, rxor, ror, etc...
This adds:
1. numexpr acceleration to `Series`, `Panel`, `Panel4D`, and `DataFrame` (`SparsePanel` has to opt-out b/c doesn't respond to shape)
2. Adds a test mechanism to numexpr to check that it actually is accelerated.
3. Moves all arithmetic operators to core/generic and binds them at import to reduce code duplication.
4. Makes all of `Series`, `Panel`, `Panel4D`, `DataFrame`, `SparsePanel` support the entire range of arithmetic operators [previously some were missing].
5. Cleans up core/expressions slightly
6. Test cases for all operations.
7. Improves a few test utilities to be better (error message for isnull and better error for isinstance checks in util/testing)
@cpcloud - I think this would be very easy to add into your current changes with eval. (mostly just changes `if hasattr` --> `getattr` to be cleaner).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4051/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4051/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4051.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4051",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4051.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4051"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4052 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4052/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4052/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4052/events | https://github.com/pandas-dev/pandas/issues/4052 | 16,079,879 | MDU6SXNzdWUxNjA3OTg3OQ== | 4,052 | ENH: read_sas, to_sas | {
"avatar_url": "https://avatars.githubusercontent.com/u/1175927?v=4",
"events_url": "https://api.github.com/users/benjello/events{/privacy}",
"followers_url": "https://api.github.com/users/benjello/followers",
"following_url": "https://api.github.com/users/benjello/following{/other_user}",
"gists_url": "https://api.github.com/users/benjello/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/benjello",
"id": 1175927,
"login": "benjello",
"node_id": "MDQ6VXNlcjExNzU5Mjc=",
"organizations_url": "https://api.github.com/users/benjello/orgs",
"received_events_url": "https://api.github.com/users/benjello/received_events",
"repos_url": "https://api.github.com/users/benjello/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/benjello/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/benjello/subscriptions",
"type": "User",
"url": "https://api.github.com/users/benjello"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "5319e7",
"default": false,
"description": "SAS: read_sas",
"id": 258745163,
"name": "IO SAS",
"node_id": "MDU6TGFiZWwyNTg3NDUxNjM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SAS"
}
] | closed | false | null | [] | {
"closed_at": "2016-03-12T16:19:08Z",
"closed_issues": 469,
"created_at": "2015-07-19T20:18:45Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2016-03-13T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/36",
"id": 1214851,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36/labels",
"node_id": "MDk6TWlsZXN0b25lMTIxNDg1MQ==",
"number": 36,
"open_issues": 0,
"state": "closed",
"title": "0.18.0",
"updated_at": "2016-12-06T21:34:41Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36"
} | 82 | 2013-06-27T10:39:19Z | 2016-08-25T14:26:13Z | 2016-02-20T18:40:31Z | CONTRIBUTOR | null | It would be really convenient to be able to at least import SAS tables into pandas dataframe. Is this planned ? Are they insurmountable issues ?
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/4052/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4052/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4053 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4053/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4053/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4053/events | https://github.com/pandas-dev/pandas/issues/4053 | 16,085,374 | MDU6SXNzdWUxNjA4NTM3NA== | 4,053 | Windows automated builds not updated recently? | {
"avatar_url": "https://avatars.githubusercontent.com/u/296686?v=4",
"events_url": "https://api.github.com/users/robintw/events{/privacy}",
"followers_url": "https://api.github.com/users/robintw/followers",
"following_url": "https://api.github.com/users/robintw/following{/other_user}",
"gists_url": "https://api.github.com/users/robintw/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/robintw",
"id": 296686,
"login": "robintw",
"node_id": "MDQ6VXNlcjI5NjY4Ng==",
"organizations_url": "https://api.github.com/users/robintw/orgs",
"received_events_url": "https://api.github.com/users/robintw/received_events",
"repos_url": "https://api.github.com/users/robintw/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/robintw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/robintw/subscriptions",
"type": "User",
"url": "https://api.github.com/users/robintw"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 6 | 2013-06-27T13:02:01Z | 2013-07-05T18:10:49Z | 2013-07-05T18:10:49Z | CONTRIBUTOR | null | Hi,
I could really do with using some of the new features in 0.12-dev on my Windows machine, but the Windows builds linked from the homepage (at http://pandas.pydata.org/pandas-build/dev/) don't seem to have been updated since April.
Are these still being built but put elsewhere? Or is there a problem with the automated build process?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4053/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4053/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4054 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4054/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4054/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4054/events | https://github.com/pandas-dev/pandas/pull/4054 | 16,085,423 | MDExOlB1bGxSZXF1ZXN0NjU4ODM1Ng== | 4,054 | TST/BUG: fix failing data.py tests for good | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 8 | 2013-06-27T13:03:15Z | 2014-06-13T01:01:55Z | 2013-06-28T14:21:53Z | MEMBER | null | closes #4028, #3982. for good.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4054/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4054/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4054.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4054",
"merged_at": "2013-06-28T14:21:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4054.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4054"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4055 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4055/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4055/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4055/events | https://github.com/pandas-dev/pandas/issues/4055 | 16,086,641 | MDU6SXNzdWUxNjA4NjY0MQ== | 4,055 | Printing large DataFrame changes spacing for all subsequent output in ipython qtconsole | {
"avatar_url": "https://avatars.githubusercontent.com/u/296686?v=4",
"events_url": "https://api.github.com/users/robintw/events{/privacy}",
"followers_url": "https://api.github.com/users/robintw/followers",
"following_url": "https://api.github.com/users/robintw/following{/other_user}",
"gists_url": "https://api.github.com/users/robintw/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/robintw",
"id": 296686,
"login": "robintw",
"node_id": "MDQ6VXNlcjI5NjY4Ng==",
"organizations_url": "https://api.github.com/users/robintw/orgs",
"received_events_url": "https://api.github.com/users/robintw/received_events",
"repos_url": "https://api.github.com/users/robintw/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/robintw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/robintw/subscriptions",
"type": "User",
"url": "https://api.github.com/users/robintw"
} | [] | closed | false | null | [] | null | 2 | 2013-06-27T13:25:56Z | 2013-07-21T17:27:09Z | 2013-07-21T17:27:09Z | CONTRIBUTOR | null | Printing a large data (ie. one that is printed summarised rather than in full) in `ipython qtconsole` then produces excessive spacing for the rest of the session. This appears to be a regression: there was no problem in 0.11.0.dev-3790f16, but the problem occurs in 0.11.0. It is hard to show this in a plaintext bug report, so I've saved the output from IPython as HTML files. The HTML file showing the problem is available at https://www.dropbox.com/s/9gyh9uq8qff6bnp/printing_problem.html, and the HTML showing how it was before is at https://www.dropbox.com/s/6c032uqejivg574/printing_noproblem.html
The main problem is that after printing the dataframe, all other commands are printed with excessive spacing. I just used the %hist command as a simple example, but all other printing commands (eg. printing a numpy array) also give excessive spacing - which makes numpy arrays even harder to read! There are a few other issues too: the title of the dataframe printout has < and > rather than < and > as in the previous version.
I suspect this is a problem introduced by the addition of the ability of pandas to produce tables for use in the IPython notebook, but I don't know my way around the pandas code well enough to find where the problem 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/4055/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4055/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4056 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4056/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4056/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4056/events | https://github.com/pandas-dev/pandas/issues/4056 | 16,088,017 | MDU6SXNzdWUxNjA4ODAxNw== | 4,056 | ENH: support periodindex min/max | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
] | 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 | 2013-06-27T13:48:50Z | 2014-02-18T01:35:30Z | 2014-02-18T01:35:30Z | CONTRIBUTOR | null | related #5202
You can do it but its akward
```
In [142]: pd.period_range('2011-07','2012-05',freq='M').values.min()
Out[142]: 498
In [143]: pd.period_range('2011-07','2012-05',freq='M').values.max()
Out[143]: 508
In [146]: pd.period_range(pd.Period(ordinal=498,freq='M'),pd.Period(ordinal=508,freq='M'),freq='M')
Out[146]:
<class 'pandas.tseries.period.PeriodIndex'>
freq: M
[2011-07, ..., 2012-05]
length: 11
```
This fails
```
In [150]: pd.period_range('2011-07','2012-05',freq='M').min()
AttributeError: 'PeriodIndex' object has no attribute 'freq'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4056/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4056/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4057 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4057/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4057/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4057/events | https://github.com/pandas-dev/pandas/pull/4057 | 16,088,233 | MDExOlB1bGxSZXF1ZXN0NjU4OTU4Nw== | 4,057 | PERF: perf regressions on insertion of columns into frame (from GH4032) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 2 | 2013-06-27T13:53:22Z | 2014-07-16T08:16:26Z | 2013-06-27T15:09:46Z | CONTRIBUTOR | null | inserting columns at the end was extremely slow
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4057/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4057/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4057.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4057",
"merged_at": "2013-06-27T15:09:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4057.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4057"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4058 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4058/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4058/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4058/events | https://github.com/pandas-dev/pandas/issues/4058 | 16,091,167 | MDU6SXNzdWUxNjA5MTE2Nw== | 4,058 | BUG: panel construction with duplicate index raises | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 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 | 2013-06-27T14:36:19Z | 2016-09-30T12:35:16Z | 2016-09-29T22:32:47Z | CONTRIBUTOR | null | It is not clear if this should raise on construction or not
http://stackoverflow.com/questions/17338148/pandas-duplicate-datetimeindex-entries-lead-to-odd-exception?noredirect=1#comment25166923_17338148
```
In [3]: from collections import OrderedDict
In [4]: import datetime as dt
In [5]: a = [1371215933513120, 1371215933513121, 1371215933513122, 1371215933513122]
In [6]: b = [1,2,3,4]
In [7]: df = pd.DataFrame({'a':a, 'b':b, 'c':[dt.datetime.fromtimestamp(t/1000000.) for t in a]})
In [8]: df.index=pd.DatetimeIndex(df['c'])
In [9]: d = OrderedDict()
In [10]: d['x'] = df
In [11]: p = pd.Panel(d)
In [12]: for y in p.major_axis:
....: print y
....: print p.major_xs(y)
....:
2013-06-14 09:18:53.513120
x
a 1371215933513120
b 1
c 2013-06-14 09:18:53.513120
2013-06-14 09:18:53.513121
x
a 1371215933513121
b 2
c 2013-06-14 09:18:53.513121
2013-06-14 09:18:53.513122
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4058/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4058/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4059 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4059/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4059/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4059/events | https://github.com/pandas-dev/pandas/issues/4059 | 16,097,994 | MDU6SXNzdWUxNjA5Nzk5NA== | 4,059 | API for splitting pandas 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": "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"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 5 | 2013-06-27T16:02:49Z | 2021-04-11T02:12:32Z | null | MEMBER | null | http://stackoverflow.com/questions/17315737/split-a-large-pandas-dataframe
related #414
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4059/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4059/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4060 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4060/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4060/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4060/events | https://github.com/pandas-dev/pandas/issues/4060 | 16,102,603 | MDU6SXNzdWUxNjEwMjYwMw== | 4,060 | Add duplicated method to Index classes | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] | closed | false | null | [] | {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 1 | 2013-06-27T17:10:53Z | 2014-08-15T12:54:51Z | 2014-08-15T12:54:51Z | MEMBER | null | related #4551
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4060/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4060/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4061 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4061/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4061/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4061/events | https://github.com/pandas-dev/pandas/issues/4061 | 16,103,179 | MDU6SXNzdWUxNjEwMzE3OQ== | 4,061 | Better long-to-wide reshaping (inverse of melt-type operation) | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.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"
} | 3 | 2013-06-27T17:17:58Z | 2016-10-01T15:52:15Z | 2016-10-01T15:44:52Z | MEMBER | null | http://stackoverflow.com/questions/17333644/pandas-dataframe-transforming-frame-using-unique-values-of-a-column
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4061/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4061/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4062 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4062/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4062/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4062/events | https://github.com/pandas-dev/pandas/issues/4062 | 16,109,360 | MDU6SXNzdWUxNjEwOTM2MA== | 4,062 | tox invocation is broken for python >= 3.2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 0 | 2013-06-27T19:22:28Z | 2013-06-28T19:47:40Z | 2013-06-28T19:47:40Z | MEMBER | null | invocation error due to pickle import. this happens after recreating the cache
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4062/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4062/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4063 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4063/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4063/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4063/events | https://github.com/pandas-dev/pandas/pull/4063 | 16,110,867 | MDExOlB1bGxSZXF1ZXN0NjU5OTcwMQ== | 4,063 | TST/BUG: fix 2to3 import rewrite of import pickle | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 5 | 2013-06-27T19:53:37Z | 2014-06-16T02:42:59Z | 2013-06-28T19:47:40Z | MEMBER | null | In pandas.io.pickle the following statement will not allow python to import
anything due to the following rewrite by 2to3
import pickle -> from . import pickle
This makes the import try to import itself ad infinitum and thus fails.
closes #4062
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4063/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4063/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4063.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4063",
"merged_at": "2013-06-28T19:47:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4063.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4063"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4064 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4064/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4064/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4064/events | https://github.com/pandas-dev/pandas/issues/4064 | 16,122,966 | MDU6SXNzdWUxNjEyMjk2Ng== | 4,064 | DOC: Add example in cookbook for Matplotlib annotations in time series plots | {
"avatar_url": "https://avatars.githubusercontent.com/u/60985?v=4",
"events_url": "https://api.github.com/users/nipunbatra/events{/privacy}",
"followers_url": "https://api.github.com/users/nipunbatra/followers",
"following_url": "https://api.github.com/users/nipunbatra/following{/other_user}",
"gists_url": "https://api.github.com/users/nipunbatra/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nipunbatra",
"id": 60985,
"login": "nipunbatra",
"node_id": "MDQ6VXNlcjYwOTg1",
"organizations_url": "https://api.github.com/users/nipunbatra/orgs",
"received_events_url": "https://api.github.com/users/nipunbatra/received_events",
"repos_url": "https://api.github.com/users/nipunbatra/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nipunbatra/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nipunbatra/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nipunbatra"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 3 | 2013-06-28T01:19:25Z | 2013-07-10T13:22:03Z | 2013-07-10T13:21:55Z | CONTRIBUTOR | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4064/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4064/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/4065 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4065/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4065/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4065/events | https://github.com/pandas-dev/pandas/issues/4065 | 16,123,776 | MDU6SXNzdWUxNjEyMzc3Ng== | 4,065 | Timestamp() is wrong if np.datetime64 < 1678-01-01 | {
"avatar_url": "https://avatars.githubusercontent.com/u/297142?v=4",
"events_url": "https://api.github.com/users/timcera/events{/privacy}",
"followers_url": "https://api.github.com/users/timcera/followers",
"following_url": "https://api.github.com/users/timcera/following{/other_user}",
"gists_url": "https://api.github.com/users/timcera/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/timcera",
"id": 297142,
"login": "timcera",
"node_id": "MDQ6VXNlcjI5NzE0Mg==",
"organizations_url": "https://api.github.com/users/timcera/orgs",
"received_events_url": "https://api.github.com/users/timcera/received_events",
"repos_url": "https://api.github.com/users/timcera/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/timcera/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timcera/subscriptions",
"type": "User",
"url": "https://api.github.com/users/timcera"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 23 | 2013-06-28T01:56:07Z | 2013-10-07T23:01:29Z | 2013-10-07T23:00:26Z | CONTRIBUTOR | null | The following should work, but since it doesn't should raise an error...
In [116]: pd.Timestamp(np.datetime64('1677-01-01'),'D')
Out[116]: Timestamp('2261-07-22 23:34:33.709551616', tz=None)
In [117]: pd.Timestamp(np.datetime64('1678-01-01'),'D')
Out[117]: Timestamp('1678-01-01 00:00:00', tz=None)
In [121]: pd.**version**
Out[121]: '0.11.1.dev-06cd915'
In [125]: sys.version
Out[125]: '3.3.2 (default, May 21 2013, 15:40:45) \n[GCC 4.8.0 20130502 (prerelease)]'
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4065/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4065/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4066 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4066/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4066/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4066/events | https://github.com/pandas-dev/pandas/issues/4066 | 16,124,035 | MDU6SXNzdWUxNjEyNDAzNQ== | 4,066 | BUG: When using np.datetime64 should have date ranges according to frequency | {
"avatar_url": "https://avatars.githubusercontent.com/u/297142?v=4",
"events_url": "https://api.github.com/users/timcera/events{/privacy}",
"followers_url": "https://api.github.com/users/timcera/followers",
"following_url": "https://api.github.com/users/timcera/following{/other_user}",
"gists_url": "https://api.github.com/users/timcera/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/timcera",
"id": 297142,
"login": "timcera",
"node_id": "MDQ6VXNlcjI5NzE0Mg==",
"organizations_url": "https://api.github.com/users/timcera/orgs",
"received_events_url": "https://api.github.com/users/timcera/received_events",
"repos_url": "https://api.github.com/users/timcera/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/timcera/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timcera/subscriptions",
"type": "User",
"url": "https://api.github.com/users/timcera"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 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"
} | 12 | 2013-06-28T02:09:14Z | 2019-07-23T23:08:31Z | 2019-07-23T23:08:31Z | CONTRIBUTOR | null | A daily frequency np.datetime64 should have a range of [2.5e16 BC, 2.5e16 AD]. Instead it follows the range for nanosecond [ 1678 AD, 2262 AD].
Ranges taken from http://docs.scipy.org/doc/numpy/reference/arrays.datetime.html
In [126]: pd.Timestamp(np.datetime64('1677-01-01'),'D')
Out[126]: Timestamp('2261-07-22 23:34:33.709551616', tz=None)
In [127]: pd.Timestamp(np.datetime64('1678-01-01'),'D')
Out[127]: Timestamp('1678-01-01 00:00:00', tz=None)
In [128]: pd.Timestamp(np.datetime64('2262-01-01'),'D')
Out[128]: Timestamp('2262-01-01 00:00:00', tz=None)
In [129]: pd.Timestamp(np.datetime64('2263-01-01'),'D')
Out[129]: Timestamp('1678-06-12 00:25:26.290448384', tz=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/4066/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4066/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4067 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4067/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4067/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4067/events | https://github.com/pandas-dev/pandas/issues/4067 | 16,124,925 | MDU6SXNzdWUxNjEyNDkyNQ== | 4,067 | Assign column values to non-unique DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/3384337?v=4",
"events_url": "https://api.github.com/users/joeb1415/events{/privacy}",
"followers_url": "https://api.github.com/users/joeb1415/followers",
"following_url": "https://api.github.com/users/joeb1415/following{/other_user}",
"gists_url": "https://api.github.com/users/joeb1415/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/joeb1415",
"id": 3384337,
"login": "joeb1415",
"node_id": "MDQ6VXNlcjMzODQzMzc=",
"organizations_url": "https://api.github.com/users/joeb1415/orgs",
"received_events_url": "https://api.github.com/users/joeb1415/received_events",
"repos_url": "https://api.github.com/users/joeb1415/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/joeb1415/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joeb1415/subscriptions",
"type": "User",
"url": "https://api.github.com/users/joeb1415"
} | [] | closed | false | null | [] | null | 2 | 2013-06-28T02:51:55Z | 2013-06-28T13:04:00Z | 2013-06-28T13:04:00Z | NONE | null | Related: https://github.com/pydata/pandas/issues/2862
```
In [1]: from pandas import DataFrame
In [2]: df = DataFrame([[1,2],[3,4]], index=[0,0], columns=[0,0])
In [3]: df
Out[3]:
0 0
0 1 2
0 3 4
In [4]: df.index=[0,1]
In [5]: df
Out[5]:
0 0
0 1 2
1 3 4
In [6]: df.columns=[0,1]
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
<ipython-input-6-538dde7e36b8> in <module>()
----> 1 df.columns=[0,1]
C:\Python27\lib\site-packages\pandas\core\frame.pyc in __setattr__(self, name, value)
2016 existing = getattr(self, name)
2017 if isinstance(existing, Index):
-> 2018 super(DataFrame, self).__setattr__(name, value)
2019 elif name in self.columns:
2020 self[name] = value
C:\Python27\lib\site-packages\pandas\lib.pyd in pandas.lib.AxisProperty.__set__ (pandas\lib.c:28444)()
C:\Python27\lib\site-packages\pandas\core\generic.pyc in _set_axis(self, axis, labels)
557
558 def _set_axis(self, axis, labels):
--> 559 self._data.set_axis(axis, labels)
560 self._clear_item_cache()
561
C:\Python27\lib\site-packages\pandas\core\internals.pyc in set_axis(self, axis, value)
920 if axis == 0:
921 for block in self.blocks:
--> 922 block.set_ref_items(self.items, maybe_rename=True)
923
924 # make items read only for now
C:\Python27\lib\site-packages\pandas\core\internals.pyc in set_ref_items(self, ref_items, maybe_rename)
72 raise AssertionError('block ref_items must be an Index')
73 if maybe_rename:
---> 74 self.items = ref_items.take(self.ref_locs)
75 self.ref_items = ref_items
76
C:\Python27\lib\site-packages\pandas\core\internals.pyc in ref_locs(self)
57 def ref_locs(self):
58 if self._ref_locs is None:
---> 59 indexer = self.ref_items.get_indexer(self.items)
60 indexer = com._ensure_platform_int(indexer)
61 if (indexer == -1).any():
C:\Python27\lib\site-packages\pandas\core\index.pyc in get_indexer(self, target, method, limit)
847
848 if not self.is_unique:
--> 849 raise Exception('Reindexing only valid with uniquely valued Index '
850 'objects')
851
Exception: Reindexing only valid with uniquely valued Index objects
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4067/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4067/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4068 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4068/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4068/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4068/events | https://github.com/pandas-dev/pandas/pull/4068 | 16,128,672 | MDExOlB1bGxSZXF1ZXN0NjYwOTQxOQ== | 4,068 | DOC: read_frame doc enhancement | {
"avatar_url": "https://avatars.githubusercontent.com/u/1251601?v=4",
"events_url": "https://api.github.com/users/simomo/events{/privacy}",
"followers_url": "https://api.github.com/users/simomo/followers",
"following_url": "https://api.github.com/users/simomo/following{/other_user}",
"gists_url": "https://api.github.com/users/simomo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simomo",
"id": 1251601,
"login": "simomo",
"node_id": "MDQ6VXNlcjEyNTE2MDE=",
"organizations_url": "https://api.github.com/users/simomo/orgs",
"received_events_url": "https://api.github.com/users/simomo/received_events",
"repos_url": "https://api.github.com/users/simomo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simomo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simomo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simomo"
} | [] | closed | false | null | [] | null | 5 | 2013-06-28T06:20:26Z | 2014-07-16T08:16:30Z | 2013-07-10T14:50:21Z | NONE | null | - added doc for parameter 'coerce_float' in io.sql.read_frame
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4068/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4068/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4068.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4068",
"merged_at": "2013-07-10T14:50:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4068.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4068"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4069 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4069/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4069/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4069/events | https://github.com/pandas-dev/pandas/issues/4069 | 16,139,509 | MDU6SXNzdWUxNjEzOTUwOQ== | 4,069 | BUG: Possible BMonthEnd() | {
"avatar_url": "https://avatars.githubusercontent.com/u/1656188?v=4",
"events_url": "https://api.github.com/users/BMeridian/events{/privacy}",
"followers_url": "https://api.github.com/users/BMeridian/followers",
"following_url": "https://api.github.com/users/BMeridian/following{/other_user}",
"gists_url": "https://api.github.com/users/BMeridian/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/BMeridian",
"id": 1656188,
"login": "BMeridian",
"node_id": "MDQ6VXNlcjE2NTYxODg=",
"organizations_url": "https://api.github.com/users/BMeridian/orgs",
"received_events_url": "https://api.github.com/users/BMeridian/received_events",
"repos_url": "https://api.github.com/users/BMeridian/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/BMeridian/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/BMeridian/subscriptions",
"type": "User",
"url": "https://api.github.com/users/BMeridian"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 1 | 2013-06-28T12:28:50Z | 2014-03-30T15:23:19Z | 2014-03-30T15:23:19Z | NONE | null | ``` python
>>> import datetime as dt
>>> from pandas.tseries.offsets import *
>>> d = dt.datetime(2013, 6, 27, 8, 10)
>>> d + BMonthEnd()
datetime.datetime(2013, 6, 28, 0, 0) # correct!!!
>>> d = dt.datetime(2013, 6, 28, 8, 10)
>>> d + BMonthEnd()
datetime.datetime(2013, 7, 31, 0, 0) ## should 6/28 not 7/31...day not over
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4069/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4069/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4070 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4070/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4070/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4070/events | https://github.com/pandas-dev/pandas/pull/4070 | 16,141,160 | MDExOlB1bGxSZXF1ZXN0NjYxNTk3OA== | 4,070 | PERF: optimize iloc for unique case | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | null | 0 | 2013-06-28T13:18:24Z | 2014-07-01T20:48:51Z | 2013-06-28T15:35:50Z | CONTRIBUTOR | null | related #4017, #4018
optimize the iloc case (which should be the same for unique and non-unique indicies)
```
In [1]: df = DataFrame({'A' : [0.1] * 30000000, 'B' : [1] * 30000000})
In [6]: idx = np.array(range(30000)) * 99
In [7]: df2 = DataFrame({'A' : [0.1] * 10000000, 'B' : [1] * 10000000})
In [8]: df2 = concat([df2, df2, df2])
In [9]: %timeit df.iloc[idx]
1000 loops, best of 3: 1.49 ms per loop
In [10]: %timeit df2.iloc[idx]
1000 loops, best of 3: 1.41 ms per loop
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4070/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4070/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4070.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4070",
"merged_at": "2013-06-28T15:35:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4070.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4070"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4071 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4071/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4071/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4071/events | https://github.com/pandas-dev/pandas/issues/4071 | 16,142,893 | MDU6SXNzdWUxNjE0Mjg5Mw== | 4,071 | BUG: AssertionError using mask on a dataframe with shape (1, n) | {
"avatar_url": "https://avatars.githubusercontent.com/u/490118?v=4",
"events_url": "https://api.github.com/users/LionelR/events{/privacy}",
"followers_url": "https://api.github.com/users/LionelR/followers",
"following_url": "https://api.github.com/users/LionelR/following{/other_user}",
"gists_url": "https://api.github.com/users/LionelR/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/LionelR",
"id": 490118,
"login": "LionelR",
"node_id": "MDQ6VXNlcjQ5MDExOA==",
"organizations_url": "https://api.github.com/users/LionelR/orgs",
"received_events_url": "https://api.github.com/users/LionelR/received_events",
"repos_url": "https://api.github.com/users/LionelR/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/LionelR/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LionelR/subscriptions",
"type": "User",
"url": "https://api.github.com/users/LionelR"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 6 | 2013-06-28T14:02:03Z | 2016-10-12T23:03:56Z | 2013-06-28T18:41:48Z | NONE | null | Using a DataFrame of bools to mask some values in another dataframe works great:
``` python
In [84]: pd.DataFrame([[1,2],[3,4]]).mask(pd.DataFrame([[True,False],[False, True]]))
Out[84]:
0 1
0 NaN 2
1 3 NaN
```
but not if we try on a dataframe with a single index:
``` python
In [85]: pd.DataFrame([[1,2],]).mask(pd.DataFrame([[True,False],]))
AssertionError: Number of Block dimensions (1) must equal number of axes (2)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4071/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4071/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4072 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4072/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4072/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4072/events | https://github.com/pandas-dev/pandas/issues/4072 | 16,143,444 | MDU6SXNzdWUxNjE0MzQ0NA== | 4,072 | df.mask and df.where should allow non array sequences | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [] | closed | false | null | [] | null | 5 | 2013-06-28T14:15:04Z | 2013-06-28T14:50:48Z | 2013-06-28T14:49:27Z | MEMBER | null | convert them to ndarrays. pr arriving soon
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4072/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4072/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4073 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4073/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4073/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4073/events | https://github.com/pandas-dev/pandas/pull/4073 | 16,145,270 | MDExOlB1bGxSZXF1ZXN0NjYxODIyMw== | 4,073 | BUG: fix 1xN mask on 1xN frame | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 0 | 2013-06-28T14:54:32Z | 2014-07-02T22:48:55Z | 2013-06-28T18:41:48Z | MEMBER | null | closes #4071.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4073/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4073/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4073.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4073",
"merged_at": "2013-06-28T18:41:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4073.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4073"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4074 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4074/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4074/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4074/events | https://github.com/pandas-dev/pandas/issues/4074 | 16,145,727 | MDU6SXNzdWUxNjE0NTcyNw== | 4,074 | Append pd.Series in HDF5 files | {
"avatar_url": "https://avatars.githubusercontent.com/u/1324881?v=4",
"events_url": "https://api.github.com/users/vfilimonov/events{/privacy}",
"followers_url": "https://api.github.com/users/vfilimonov/followers",
"following_url": "https://api.github.com/users/vfilimonov/following{/other_user}",
"gists_url": "https://api.github.com/users/vfilimonov/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vfilimonov",
"id": 1324881,
"login": "vfilimonov",
"node_id": "MDQ6VXNlcjEzMjQ4ODE=",
"organizations_url": "https://api.github.com/users/vfilimonov/orgs",
"received_events_url": "https://api.github.com/users/vfilimonov/received_events",
"repos_url": "https://api.github.com/users/vfilimonov/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vfilimonov/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vfilimonov/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vfilimonov"
} | [] | closed | false | null | [] | null | 2 | 2013-06-28T15:04:21Z | 2013-06-28T15:35:27Z | 2013-06-28T15:35:27Z | CONTRIBUTOR | null | I tried to google to see if it supposed to be implemented or not, but did not find anything.
The `append` function does not work for `pd.Series` object. For instance, the following code:
```
ss = pd.Series([1,2,3,4,5])
h5store = pd.HDFStore('tmpstore.h5')
h5store.append('ss',ss)
h5store.close()
```
fails with the error:
```
TypeError: cannot properly create the storer for: [group->ss,value-><class 'pandas.core.series.Series'>]
```
However storing the series like this:
```
store['ss']=ss
```
or appending DataFrames works well.
My version of pandas: 0.11.0, pytables: 3.0.0
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4074/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4074/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4075 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4075/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4075/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4075/events | https://github.com/pandas-dev/pandas/pull/4075 | 16,148,782 | MDExOlB1bGxSZXF1ZXN0NjYyMDE4Mg== | 4,075 | PERF: optimize insert_columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | null | 0 | 2013-06-28T16:05:24Z | 2014-07-16T08:16:36Z | 2013-06-28T17:30:14Z | CONTRIBUTOR | null | perf regression introduced in 1585aa4976ee492f05410b70014bad74cb7414b6
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4075/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4075/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4075.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4075",
"merged_at": "2013-06-28T17:30:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4075.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4075"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4076 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4076/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4076/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4076/events | https://github.com/pandas-dev/pandas/issues/4076 | 16,153,391 | MDU6SXNzdWUxNjE1MzM5MQ== | 4,076 | Extra Bin with Pandas Resample in 0.11.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/139214?v=4",
"events_url": "https://api.github.com/users/waltaskew/events{/privacy}",
"followers_url": "https://api.github.com/users/waltaskew/followers",
"following_url": "https://api.github.com/users/waltaskew/following{/other_user}",
"gists_url": "https://api.github.com/users/waltaskew/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/waltaskew",
"id": 139214,
"login": "waltaskew",
"node_id": "MDQ6VXNlcjEzOTIxNA==",
"organizations_url": "https://api.github.com/users/waltaskew/orgs",
"received_events_url": "https://api.github.com/users/waltaskew/received_events",
"repos_url": "https://api.github.com/users/waltaskew/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/waltaskew/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/waltaskew/subscriptions",
"type": "User",
"url": "https://api.github.com/users/waltaskew"
} | [
{
"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": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
] | closed | false | null | [] | {
"closed_at": "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"
} | 10 | 2013-06-28T17:53:55Z | 2016-10-12T23:03:57Z | 2014-03-23T13:49:21Z | NONE | null | I've got a pandas data frame defined like this, using pandas 0.11.0:
```
last_4_weeks_range = pandas.date_range(
start=datetime.datetime(2001, 5, 4), periods=28)
last_4_weeks = pandas.DataFrame(
[{'REST_KEY': 1, 'DLY_TRN_QT': 80, 'DLY_SLS_AMT': 90,
'COOP_DLY_TRN_QT': 30, 'COOP_DLY_SLS_AMT': 20}] * 28 +
[{'REST_KEY': 2, 'DLY_TRN_QT': 70, 'DLY_SLS_AMT': 10,
'COOP_DLY_TRN_QT': 50, 'COOP_DLY_SLS_AMT': 20}] * 28,
index=last_4_weeks_range.append(last_4_weeks_range))
last_4_weeks.sort(inplace=True)
```
and when I go to resample it:
```
In [265]: last_4_weeks.resample('7D', how='sum')
Out[265]:
COOP_DLY_SLS_AMT COOP_DLY_TRN_QT DLY_SLS_AMT DLY_TRN_QT REST_KEY
2001-05-04 280 560 700 1050 21
2001-05-11 280 560 700 1050 21
2001-05-18 280 560 700 1050 21
2001-05-25 280 560 700 1050 21
2001-06-01 0 0 0 0 0
```
I end up with an extra empty bin I wouldn't expect to see -- 2001-06-01. I wouldn't expect that bin to be there, as my 28 days are evenly divisible into the 7 day resample I'm performing. I've tried messing around with the closed kwarg, but I can't escape that extra bin. This seems like a bug, and it messes up my mean calculations when I try to do
```
In [266]: last_4_weeks.groupby('REST_KEY').resample('7D', how='sum').mean(level=0)
Out[266]:
COOP_DLY_SLS_AMT COOP_DLY_TRN_QT DLY_SLS_AMT DLY_TRN_QT REST_KEY
REST_KEY
1 112 168 504 448 5.6
2 112 280 56 392 11.2
```
as the numbers are being divided by 5 rather than 4. (I also wouldn't expect REST_KEY to show up in the aggregation columns as it's part of the groupby, but that's really a smaller problem.)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4076/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4076/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4077 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4077/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4077/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4077/events | https://github.com/pandas-dev/pandas/pull/4077 | 16,153,487 | MDExOlB1bGxSZXF1ZXN0NjYyMjc2Nw== | 4,077 | Fix for #3970 cache invalidation 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"
} | [] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 3 | 2013-06-28T17:56:09Z | 2013-06-28T18:41:53Z | 2013-06-28T18:40:04Z | MEMBER | null | Also fixed stable sorting test failure that presents on some platforms
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4077/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4077/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4077.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4077",
"merged_at": "2013-06-28T18:40:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4077.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4077"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4078 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4078/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4078/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4078/events | https://github.com/pandas-dev/pandas/issues/4078 | 16,164,581 | MDU6SXNzdWUxNjE2NDU4MQ== | 4,078 | ER: multiindexes in no-data DataFrame constructor should yield a nan frame | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 9 | 2013-06-28T22:22:58Z | 2013-10-02T20:54:59Z | 2013-10-02T20:54:59Z | MEMBER | null | as it stands
```
In [24]: tuples = [(randint(10), randint(10)) for _ in range(10)]
In [25]: mi = MultiIndex.from_tuples(tuples)
In [26]: df = DataFrame(index=mi, columns=mi)
```
fails, whereas single level indexes work fine
```
In [27]: df = DataFrame(index=range(10), columns=range(10))
In [28]: df
Out[28]:
0 1 2 3 4 5 6 7 8 9
0 NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
1 NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
2 NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
3 NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
4 NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
5 NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
6 NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
7 NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
8 NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
9 NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4078/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4078/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4079 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4079/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4079/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4079/events | https://github.com/pandas-dev/pandas/pull/4079 | 16,167,678 | MDExOlB1bGxSZXF1ZXN0NjYzMDYxNA== | 4,079 | TST: more cleaning of yahoo/google testing | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 9 | 2013-06-29T00:04:45Z | 2013-06-29T15:52:40Z | 2013-06-29T15:10:36Z | MEMBER | null | fixes yet another bug with yahoo/google testing
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4079/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4079/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4079.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4079",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4079.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4079"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4080 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4080/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4080/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4080/events | https://github.com/pandas-dev/pandas/issues/4080 | 16,169,484 | MDU6SXNzdWUxNjE2OTQ4NA== | 4,080 | BUG: series update | {
"avatar_url": "https://avatars.githubusercontent.com/u/545720?v=4",
"events_url": "https://api.github.com/users/midfield/events{/privacy}",
"followers_url": "https://api.github.com/users/midfield/followers",
"following_url": "https://api.github.com/users/midfield/following{/other_user}",
"gists_url": "https://api.github.com/users/midfield/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/midfield",
"id": 545720,
"login": "midfield",
"node_id": "MDQ6VXNlcjU0NTcyMA==",
"organizations_url": "https://api.github.com/users/midfield/orgs",
"received_events_url": "https://api.github.com/users/midfield/received_events",
"repos_url": "https://api.github.com/users/midfield/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/midfield/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/midfield/subscriptions",
"type": "User",
"url": "https://api.github.com/users/midfield"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] | closed | false | null | [] | {
"closed_at": "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"
} | 15 | 2013-06-29T01:58:32Z | 2013-08-16T19:27:26Z | 2013-08-16T19:27:26Z | NONE | null | ``` python
import pandas as pd
df = pd.DataFrame(dict((c, [1,2,3]) for c in ['a', 'b', 'c']))
df.set_index(['a', 'b', 'c'], inplace=True)
s = pd.Series([1], index=[(2,2,2)])
df['val'] = 0
df
df['val'].update(s)
df
```
on my machine (pandas 0.11.1.dev-45d298d, linux) i get the rather unexpected output
```
val
a b c
1 1 1 0
2 2 2 4607182418800017408
3 3 3 0
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4080/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4080/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4081 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4081/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4081/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4081/events | https://github.com/pandas-dev/pandas/pull/4081 | 16,175,691 | MDExOlB1bGxSZXF1ZXN0NjYzMzc0NA== | 4,081 | BUG: GH4080, int conversion of underlying series to float needs updating in parent frame | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | 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"
} | 11 | 2013-06-29T14:47:23Z | 2014-06-28T10:42:55Z | 2013-07-25T17:20:23Z | CONTRIBUTOR | null | closes #4080
essentially a variation on #3970
here block consolidation and cache is not the issue,
rather the dtype of the series is int, and as a result of the update (directly on the series)
changes dtype to float (which is fine)
BUT the parent still has this in an Int Block
this PR essentially creates an Observer Pattern thru a weakref
that allows notification of chanes (propogated back to the BlockManager)
which can then take action if needed
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4081/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4081/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4081.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4081",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4081.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4081"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4082 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4082/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4082/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4082/events | https://github.com/pandas-dev/pandas/issues/4082 | 16,175,916 | MDU6SXNzdWUxNjE3NTkxNg== | 4,082 | DOC/WIP: doc page for the layout of the internals of pandas | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"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"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 14 | 2013-06-29T15:05:00Z | 2020-04-04T18:29:56Z | null | MEMBER | null | this would be useful for reference purposes and also so that @jreback doesn't have to fix almost every non-trivial bug that pops up :). i would be happy to start writing this (with the help of others who know these things better than i do), i think it would be an excellent way to gain a deeper understanding of the internals.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4082/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4082/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4083 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4083/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4083/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4083/events | https://github.com/pandas-dev/pandas/pull/4083 | 16,176,476 | MDExOlB1bGxSZXF1ZXN0NjYzNDAxNQ== | 4,083 | ENH: add the beginnings of an exception hierarchy specific to pandas | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 12 | 2013-06-29T15:54:47Z | 2014-06-19T18:56:21Z | 2013-08-03T04:43:36Z | 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/4083/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4083/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4083.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4083",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4083.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4083"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/4084 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4084/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4084/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4084/events | https://github.com/pandas-dev/pandas/issues/4084 | 16,176,838 | MDU6SXNzdWUxNjE3NjgzOA== | 4,084 | ENH: allowed read_csv to accept a basestring as the buffer and interpret as StringIO | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] | closed | false | null | [] | {
"closed_at": "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 | 2013-06-29T16:26:35Z | 2013-07-26T20:39:52Z | 2013-07-26T20:39:52Z | CONTRIBUTOR | null | already do this in `read_json`
first check if its a valid filename (which is safe in python)
if so, then open and process
else try to use as a `StringIO(buffer)`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4084/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4084/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4085 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4085/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4085/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4085/events | https://github.com/pandas-dev/pandas/pull/4085 | 16,177,827 | MDExOlB1bGxSZXF1ZXN0NjYzNDQ5MA== | 4,085 | ENH: really really really fix the failing data.py tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 26 | 2013-06-29T17:52:20Z | 2014-07-16T08:16:40Z | 2013-07-01T01:29:02Z | MEMBER | null | I feel like a broken record
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4085/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4085/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4085.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4085",
"merged_at": "2013-07-01T01:29:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4085.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4085"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4086 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4086/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4086/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4086/events | https://github.com/pandas-dev/pandas/pull/4086 | 16,178,433 | MDExOlB1bGxSZXF1ZXN0NjYzNDcwOA== | 4,086 | TST: test_fast.sh should not run network tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [] | closed | false | null | [] | null | 4 | 2013-06-29T18:41:19Z | 2014-06-19T10:30:49Z | 2013-07-01T01:30:27Z | 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/4086/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4086/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4086.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4086",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4086.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4086"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/4087 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4087/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4087/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4087/events | https://github.com/pandas-dev/pandas/issues/4087 | 16,180,638 | MDU6SXNzdWUxNjE4MDYzOA== | 4,087 | API: provide a better way of doing np.unique(return_inverses=True) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] | closed | false | null | [] | {
"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 | 2013-06-29T21:50:22Z | 2018-07-06T21:43:37Z | 2018-07-06T21:43:37Z | CONTRIBUTOR | null | The numpy way
```
In [183]: x
Out[183]:
one two
0 1 a
2 2 c
3 3 d
4 4 d
5 5 d
In [184]: np.unique(x['two'].values,return_inverse=True)
Out[184]: (array(['a', 'c', 'd'], dtype=object), array([0, 1, 2, 2, 2]))
```
The pandas way - maybe provide a better API to this
maybe: `uniques, indexer = Index(x['two']).get_uniques()` ??
```
In [186]: uniques = x['two'].unique()
In [187]: uniques
Out[187]: array(['a', 'c', 'd'], dtype=object)
In [188]: Index(uniques).get_indexer_non_unique(x['two'])
Out[188]: (Int64Index([0, 1, 2, 2, 2], dtype=int64), array([], dtype=int64))
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4087/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4087/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4088 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4088/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4088/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4088/events | https://github.com/pandas-dev/pandas/issues/4088 | 16,188,429 | MDU6SXNzdWUxNjE4ODQyOQ== | 4,088 | Reording a multiindex by only specifiying the order on level 0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/890156?v=4",
"events_url": "https://api.github.com/users/jankatins/events{/privacy}",
"followers_url": "https://api.github.com/users/jankatins/followers",
"following_url": "https://api.github.com/users/jankatins/following{/other_user}",
"gists_url": "https://api.github.com/users/jankatins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jankatins",
"id": 890156,
"login": "jankatins",
"node_id": "MDQ6VXNlcjg5MDE1Ng==",
"organizations_url": "https://api.github.com/users/jankatins/orgs",
"received_events_url": "https://api.github.com/users/jankatins/received_events",
"repos_url": "https://api.github.com/users/jankatins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jankatins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jankatins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jankatins"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] | closed | false | null | [] | {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 5 | 2013-06-30T14:36:02Z | 2014-12-07T00:18:23Z | 2014-12-07T00:18:23Z | CONTRIBUTOR | null | starting PR is here: https://github.com/pydata/pandas/pull/6647
By reading the docs on `Dataframe.reindex()`, I would have guessed (not sure what "broadcast" is...) that this works:
``` python
arrays = [['bar', 'bar', 'baz', 'baz', 'foo', 'foo', 'qux', 'qux'],
['one', 'two', 'one', 'two', 'one', 'two', 'one', 'two']]
tuples = zip(*arrays)
index = MultiIndex.from_tuples(tuples, names=['first', 'second'])
df = DataFrame({"a":list("abcdefgh"), "b":list("abcdefgh")}, index=index)
order = ["baz", "bar", "foo", "qux"]
df.reindex(order, level=0) # still returns the same ordering
```
It works that way on a normal index (without the level argument):
``` python
df2 = DataFrame({"a":list("ABCD")}, index=['bar', 'baz', 'foo', 'qux'])
df2.reindex(order) # new ordering
```
It also works when I pass a list of tuples:
``` python
_new_index = []
for _a in order:
for _b in df.index.levels[1]:
_new_index.append((_a, _b))
df.reindex(_new_index) # new ordering
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4088/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4088/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4089 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4089/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4089/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4089/events | https://github.com/pandas-dev/pandas/issues/4089 | 16,195,168 | MDU6SXNzdWUxNjE5NTE2OA== | 4,089 | DataFrame.hist does not honor sharex or sharey set to True | {
"avatar_url": "https://avatars.githubusercontent.com/u/81476?v=4",
"events_url": "https://api.github.com/users/fonnesbeck/events{/privacy}",
"followers_url": "https://api.github.com/users/fonnesbeck/followers",
"following_url": "https://api.github.com/users/fonnesbeck/following{/other_user}",
"gists_url": "https://api.github.com/users/fonnesbeck/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fonnesbeck",
"id": 81476,
"login": "fonnesbeck",
"node_id": "MDQ6VXNlcjgxNDc2",
"organizations_url": "https://api.github.com/users/fonnesbeck/orgs",
"received_events_url": "https://api.github.com/users/fonnesbeck/received_events",
"repos_url": "https://api.github.com/users/fonnesbeck/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fonnesbeck/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fonnesbeck/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fonnesbeck"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 13 | 2013-06-30T23:35:16Z | 2016-10-12T23:03:57Z | 2013-07-01T03:28:07Z | NONE | null | [Here is an example](http://nbviewer.ipython.org/urls/gist.github.com/fonnesbeck/5897459/raw/6181f066f245c7fb489b68f88e4b4731c77a238b/King%27s+Bay+Survey+Analysis.ipynb) of the `hist` method called as a multi-panel plot via the `by` argument, with `sharey=True` and `sharex=True`. As you can observe in the plot at the bottom of the notebook, neither the x nor the y axis is shared among the subplots.
Running 0.11.1 on Python 2.7.2 (OS X 10.8.4).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4089/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4089/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4090 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4090/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4090/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4090/events | https://github.com/pandas-dev/pandas/issues/4090 | 16,195,732 | MDU6SXNzdWUxNjE5NTczMg== | 4,090 | CLN: Refactor string special methods to common decorator + safe unicode everywhere | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 13 | 2013-07-01T00:32:33Z | 2013-07-02T01:42:28Z | 2013-07-02T01:42:28Z | CONTRIBUTOR | null | I was implementing some new objects for another PR and noticed that string methods are duplicated throughout (particularly on objects that don't inherit from each other). Wrote this up on this branch - https://github.com/jtratner/pandas/tree/refactor_string_magic_methods .
If you thing this is worthwhile, I'll split it up a little, add a bit better documentation and submit.
This is used multiple times:
``` python
def __str__(self):
"""
Return a string representation for a particular object.
Invoked by str(obj) in both py2/py3.
Yields Bytestring in Py2, Unicode String in py3.
"""
if py3compat.PY3:
return self.__unicode__()
return self.__bytes__()
def __bytes__(self):
"""
Return a string representation for a particular object.
Invoked by bytes(obj) in py3 only.
Yields a bytestring in both py2/py3.
"""
from pandas.core.config import get_option
encoding = get_option("display.encoding")
return self.__unicode__().encode(encoding, 'replace')
def __repr__(self):
"""
Return a string representation for a particular object.
Yields Bytestring in Py2, Unicode String in py3.
"""
return str(self)
```
Unicode tends to vary, but often is like this:
``` python
def __unicode__(self):
"""
Return a string representation for a particular object.
Invoked by unicode(obj) in py2 only. Yields a Unicode String in both
py2/py3.
"""
prepr = pprint_thing(self, escape_chars=('\t', '\r', '\n'), quote_strings=True)
return '%s(%s)' % (type(self).__name__, prepr)
```
Additionally, a number of objects aren't using a unicode-safe representation of themselves, so this would resolve that as well. Would this be useful to include?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4090/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4090/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4091 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4091/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4091/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4091/events | https://github.com/pandas-dev/pandas/pull/4091 | 16,196,442 | MDExOlB1bGxSZXF1ZXN0NjY0MTAxMw== | 4,091 | BUG: pass sharex and sharey in grouped_hist | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 2 | 2013-07-01T01:26:14Z | 2014-07-16T08:16:48Z | 2013-07-01T03:28:07Z | MEMBER | null | closes #4089
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4091/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4091/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4091.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4091",
"merged_at": "2013-07-01T03:28:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4091.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4091"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4092 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4092/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4092/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4092/events | https://github.com/pandas-dev/pandas/pull/4092 | 16,197,641 | MDExOlB1bGxSZXF1ZXN0NjY0MTU0MQ== | 4,092 | CLN: Refactor string special methods | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 31 | 2013-07-01T02:47:14Z | 2014-06-14T19:01:58Z | 2013-07-02T01:42:28Z | CONTRIBUTOR | null | closes #4090, #3231
- The internal `pandas` class hierarchy has changed (slightly). The
previous `PandasObject` now is called `PandasContainer` and a new
`PandasObject` has become the baseclass for `PandasContainer` as well
as `Index`, `Categorical`, `GroupBy`, `SparseList`, and
`SparseArray` (+ their base classes). Currently, `PandasObject`
provides string methods (from `StringMixin`).
- New `StringMixin` that, given a `__unicode__` method, gets python 2 and
python 3 compatible string methods (`__str__`, `__bytes__`, and
`__repr__`). Now employed in many places throughout the pandas library.
- Tried to improve safe unicode handling (e.g., where user/external input is
used in the string or repr methods of a library).
I'm hoping to use this for the new objects in the MultiIndex naming PR, so
hopefully it's okay to merge for v0.12.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4092/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4092/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4092.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4092",
"merged_at": "2013-07-02T01:42:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4092.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4092"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4093 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4093/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4093/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4093/events | https://github.com/pandas-dev/pandas/issues/4093 | 16,211,322 | MDU6SXNzdWUxNjIxMTMyMg== | 4,093 | Google Drive API | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "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": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 9 | 2013-07-01T12:17:52Z | 2014-02-14T03:48:34Z | 2014-02-14T03:48:34Z | MEMBER | null | I have some (admittedly, slightly less general than what would be need for pandas) code sitting around that reads spreadsheets from Google Drive, would it be useful to have this in io?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4093/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4093/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4094 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4094/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4094/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4094/events | https://github.com/pandas-dev/pandas/issues/4094 | 16,212,879 | MDU6SXNzdWUxNjIxMjg3OQ== | 4,094 | BUG: update should try harder to preserve dtypes | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 5 | 2013-07-01T13:00:04Z | 2020-02-07T00:15:57Z | null | CONTRIBUTOR | null | more examples in #13957
http://stackoverflow.com/questions/17398216/unwanted-type-conversion-in-pandas-dataframe-update
```
df = pd.DataFrame({'int': [1, 2], 'float': [np.nan, np.nan]})
print('Integer column:')
print(df['int'])
for _, df_sub in df.groupby('int'):
df_sub['float'] = float(df_sub['int'])
df.update(df_sub)
print('NO integer column:')
print(df['int'])
```
| {
"+1": 4,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 4,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4094/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4094/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4095 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4095/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4095/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4095/events | https://github.com/pandas-dev/pandas/issues/4095 | 16,214,431 | MDU6SXNzdWUxNjIxNDQzMQ== | 4,095 | ENH: add to cython groupby functions | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] | closed | false | null | [] | {
"closed_at": "2015-11-21T13:47:07Z",
"closed_issues": 216,
"created_at": "2015-09-10T14:30:44Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.17.0 of course!",
"due_on": "2015-11-21T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/37",
"id": 1299459,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37/labels",
"node_id": "MDk6TWlsZXN0b25lMTI5OTQ1OQ==",
"number": 37,
"open_issues": 0,
"state": "closed",
"title": "0.17.1",
"updated_at": "2016-07-21T16:02:53Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37"
} | 22 | 2013-07-01T13:38:27Z | 2016-04-22T18:42:43Z | 2015-11-16T12:38:10Z | CONTRIBUTOR | null | - [x] shift [here](http://stackoverflow.com/questions/17401197/how-to-speed-up-pandas-multilevel-dataframe-shift-by-group) and [here](http://stackoverflow.com/questions/25298659/faster-alternative-to-grouby-shift)
- [x] [cumsum](http://stackoverflow.com/questions/28453238/cumsum-in-pandas-groupby-is-slow)
- [x] [cumprod](http://stackoverflow.com/questions/32138067/quick-pandas-groupby-calculations)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4095/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4095/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4096 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4096/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4096/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4096/events | https://github.com/pandas-dev/pandas/issues/4096 | 16,226,632 | MDU6SXNzdWUxNjIyNjYzMg== | 4,096 | stochastic bug in saving dataframes with "int16" or "int32" columns to HDF5 file | {
"avatar_url": "https://avatars.githubusercontent.com/u/1324881?v=4",
"events_url": "https://api.github.com/users/vfilimonov/events{/privacy}",
"followers_url": "https://api.github.com/users/vfilimonov/followers",
"following_url": "https://api.github.com/users/vfilimonov/following{/other_user}",
"gists_url": "https://api.github.com/users/vfilimonov/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vfilimonov",
"id": 1324881,
"login": "vfilimonov",
"node_id": "MDQ6VXNlcjEzMjQ4ODE=",
"organizations_url": "https://api.github.com/users/vfilimonov/orgs",
"received_events_url": "https://api.github.com/users/vfilimonov/received_events",
"repos_url": "https://api.github.com/users/vfilimonov/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vfilimonov/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vfilimonov/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vfilimonov"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 4 | 2013-07-01T17:53:33Z | 2013-11-07T19:56:18Z | 2013-07-01T21:27:26Z | CONTRIBUTOR | null | There seems to be a strange random bug in saving dataframes with integer columns to HDF5 files. The error sounds like:
```
ValueError: invalid combinate of [values_axes] on appending data [name->values_block_1,cname->values_block_1,axis->None,pos->2,kind->integer] vs current table [name->values_block_1,cname->values_block_1,axis->None,pos->2,kind->integer]
```
and the full traceback:
```
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-13-91a60d72b1ca> in <module>()
25 print raw.dtypes
26 store = pd.HDFStore('possible_bug9.h5')
---> 27 store.append('raw', raw)
28 store.close()
/Users/v/.virtual_envs/system/lib/python2.7/site-packages/pandas/io/pytables.pyc in append(self, key, value, columns, **kwargs)
608 raise Exception("columns is not a supported keyword in append, try data_columns")
609
--> 610 self._write_to_group(key, value, table=True, append=True, **kwargs)
611
612 def append_to_multiple(self, d, value, selector, data_columns=None, axes=None, **kwargs):
/Users/v/.virtual_envs/system/lib/python2.7/site-packages/pandas/io/pytables.pyc in _write_to_group(self, key, value, index, table, append, complib, **kwargs)
869 raise ValueError('Compression not supported on non-table')
870
--> 871 s.write(obj = value, append=append, complib=complib, **kwargs)
872 if s.is_table and index:
873 s.create_index(columns = index)
/Users/v/.virtual_envs/system/lib/python2.7/site-packages/pandas/io/pytables.pyc in write(self, obj, axes, append, complib, complevel, fletcher32, min_itemsize, chunksize, expectedrows, **kwargs)
2738 # create the axes
2739 self.create_axes(axes=axes, obj=obj, validate=append,
-> 2740 min_itemsize=min_itemsize, **kwargs)
2741
2742 if not self.is_exists:
/Users/v/.virtual_envs/system/lib/python2.7/site-packages/pandas/io/pytables.pyc in create_axes(self, axes, obj, validate, nan_rep, data_columns, min_itemsize, **kwargs)
2482 # validate the axes if we have an existing table
2483 if validate:
-> 2484 self.validate(existing_table)
2485
2486 def process_axes(self, obj, columns=None):
/Users/v/.virtual_envs/system/lib/python2.7/site-packages/pandas/io/pytables.pyc in validate(self, other)
2096 oax = ov[i]
2097 if sax != oax:
-> 2098 raise ValueError("invalid combinate of [%s] on appending data [%s] vs current table [%s]" % (c,sax,oax))
2099
2100 # should never get here
ValueError: invalid combinate of [values_axes] on appending data [name->values_block_1,cname->values_block_1,axis->None,pos->2,kind->integer] vs current table [name->values_block_1,cname->values_block_1,axis->None,pos->2,kind->integer]
```
Interestingly, the error is not deterministic and depends at least on (i) set of other (non-integer) columns in dataframe and (ii) size of dataframe.
Unfortunately I was unable to narrow it down to "just-code" report, so I have to attach a piece of data and an ipython notebook. This is a minimal code in which I was able to reproduce the bug.
https://www.dropbox.com/s/myo03sbqbulzvaj/pandas_possible_bug.zip
the pandas version is 0.11.0, pytables version: 3.0.0
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4096/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4096/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4097 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4097/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4097/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4097/events | https://github.com/pandas-dev/pandas/issues/4097 | 16,229,902 | MDU6SXNzdWUxNjIyOTkwMg== | 4,097 | Possible bug with BMonthEnd() | {
"avatar_url": "https://avatars.githubusercontent.com/u/1656188?v=4",
"events_url": "https://api.github.com/users/BMeridian/events{/privacy}",
"followers_url": "https://api.github.com/users/BMeridian/followers",
"following_url": "https://api.github.com/users/BMeridian/following{/other_user}",
"gists_url": "https://api.github.com/users/BMeridian/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/BMeridian",
"id": 1656188,
"login": "BMeridian",
"node_id": "MDQ6VXNlcjE2NTYxODg=",
"organizations_url": "https://api.github.com/users/BMeridian/orgs",
"received_events_url": "https://api.github.com/users/BMeridian/received_events",
"repos_url": "https://api.github.com/users/BMeridian/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/BMeridian/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/BMeridian/subscriptions",
"type": "User",
"url": "https://api.github.com/users/BMeridian"
} | [] | closed | false | null | [] | null | 2 | 2013-07-01T19:05:14Z | 2013-07-01T20:09:48Z | 2013-07-01T20:09:08Z | NONE | null | > > > import pandas
> > > from pandas.tseries.offsets import *
> > > import datetime as dt
> > > d = dt.datetime(2013, 6, 28, 0, 0)
> > > d + BMonthEnd()
> > > datetime.datetime(2013, 7, 31, 0, 0)
> > > d = dt.datetime(2013, 6, 28, 12, 0)
> > > d + BMonthEnd()
> > > datetime.datetime(2013, 7, 31, 0, 0)
At noon on 6/28 end of business month is 23:59, not the start of the
day... Bug, I 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/4097/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4097/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4098 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4098/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4098/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4098/events | https://github.com/pandas-dev/pandas/issues/4098 | 16,230,915 | MDU6SXNzdWUxNjIzMDkxNQ== | 4,098 | BUG: tz in index not working in HDFStore with table | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 0 | 2013-07-01T19:27:05Z | 2013-07-01T20:39:08Z | 2013-07-01T20:39:08Z | CONTRIBUTOR | null | ```
In [1]: df = DataFrame(dict(A = Series(xrange(3), index=date_range('2000-1-1',periods=3,freq='H', tz='US/Eastern'))))
In [2]: df.index
Out[2]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2000-01-01 00:00:00, ..., 2000-01-01 02:00:00]
Length: 3, Freq: H, Timezone: US/Eastern
In [3]: df.to_hdf('tz.h5','df',mode='w')
In [4]: pd.read_hdf('tz.h5','df').index
Out[4]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2000-01-01 00:00:00, ..., 2000-01-01 02:00:00]
Length: 3, Freq: H, Timezone: US/Eastern
In [5]: df.to_hdf('tz.h5','df',mode='w',table=True)
In [6]: pd.read_hdf('tz.h5','df').index
Out[6]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2000-01-01 00:00:00, ..., 2000-01-01 02:00:00]
Length: 3, Freq: H, Timezone: US/Eastern
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4098/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4098/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4099 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4099/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4099/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4099/events | https://github.com/pandas-dev/pandas/pull/4099 | 16,232,698 | MDExOlB1bGxSZXF1ZXN0NjY1OTgxNQ== | 4,099 | BUG: GH4098, HDFStore not recreating a datetime index properly when has a timezone | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 0 | 2013-07-01T20:09:36Z | 2014-06-25T15:42:21Z | 2013-07-01T20:39:08Z | CONTRIBUTOR | null | closes #4098
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4099/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4099/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4099.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4099",
"merged_at": "2013-07-01T20:39:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4099.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4099"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4100 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4100/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4100/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4100/events | https://github.com/pandas-dev/pandas/pull/4100 | 16,233,893 | MDExOlB1bGxSZXF1ZXN0NjY2MDUwNA== | 4,100 | BUG: (GH 4096) block ordering is somewhat non-deterministic in HDFStore; reorder to the existing store | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 0 | 2013-07-01T20:34:46Z | 2014-07-16T08:17:10Z | 2013-07-01T21:27:26Z | CONTRIBUTOR | null | closes #4096
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4100/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4100/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4100.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4100",
"merged_at": "2013-07-01T21:27:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4100.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4100"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.