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/5201 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5201/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5201/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5201/events | https://github.com/pandas-dev/pandas/pull/5201 | 20,918,689 | MDExOlB1bGxSZXF1ZXN0OTA1MDIzNQ== | 5,201 | BUG/ENH: Index constructor with dtype now delegates | {
"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"
} | 6 | 2013-10-12T22:52:19Z | 2014-07-12T17:10:21Z | 2013-10-13T00:23:35Z | CONTRIBUTOR | null | ...to Index subclass (if possible). Simplifies the Index constructor
slightly too, which is a nice side bonus. Will even better after Index
refactor.
Fixes #5196.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5201/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5201/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5201.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5201",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/5201.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5201"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5202 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5202/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5202/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5202/events | https://github.com/pandas-dev/pandas/issues/5202 | 20,918,891 | MDU6SXNzdWUyMDkxODg5MQ== | 5,202 | ENH: Period ops NaT & timedelta ops | {
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
},
{
"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": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 4 | 2013-10-12T23:09:40Z | 2018-10-25T03:25:41Z | 2018-10-25T03:25:41Z | CONTRIBUTOR | null | see related https://github.com/pydata/pandas/issues/5200, #4551, #4056
seem that a direct subtraction of PeriodIndexes would accomplish this,
but don't seem to support those types of ops...
This is currently an intersection (with a '-'), but want to do a timedelta like op
```
In [40]: pd.PeriodIndex(start='20130101',end='20130501',freq='M').sub(
pd.PeriodIndex(start='20130201',end='20130401',freq='M'))
```
Partially supported actuallly
```
In [5]: pd.PeriodIndex(start='20130101',end='20130501',freq='M').to_series()-pd.PeriodIndex(start='20130205',end='20130405',freq='M').to_series()
Out[5]:
2013-01 NaN
2013-02 0
2013-03 0
2013-04 0
2013-05 NaN
Freq: M, dtype: float64
In [6]: pd.PeriodIndex(start='20130101',end='20130201',freq='B').to_series()-pd.Period('20130101',freq='B')
TypeError: unsupported operand type(s) for -: 'int' and 'Period'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5202/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5202/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5203 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5203/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5203/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5203/events | https://github.com/pandas-dev/pandas/issues/5203 | 20,919,296 | MDU6SXNzdWUyMDkxOTI5Ng== | 5,203 | BUG: period on weekends rolling to odd business days | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "eb6420",
"default": false,
"description": "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-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"
} | 18 | 2013-10-12T23:49:29Z | 2013-10-15T13:28:58Z | 2013-10-15T13:28:58Z | CONTRIBUTOR | null | For biz days, seems saturday is rolling to monday, but sunday to friday
looks like a bug (though it might just be ambiguous/undefined behavior).
```
In [11]: pd.Period('2013-10-4', freq='B')
Out[11]: Period('2013-10-04', 'B')
In [12]: pd.Period('2013-10-5', freq='B')
Out[12]: Period('2013-10-07', 'B')
In [13]: pd.Period('2013-10-6', freq='B')
Out[13]: Period('2013-10-04', 'B')
In [14]: pd.Period('2013-10-7', freq='B')
Out[14]: Period('2013-10-07', 'B')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5203/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5203/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5204 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5204/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5204/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5204/events | https://github.com/pandas-dev/pandas/pull/5204 | 20,923,392 | MDExOlB1bGxSZXF1ZXN0OTA1MjE5NA== | 5,204 | improved daytimes conversion performance in period.c | {
"avatar_url": "https://avatars.githubusercontent.com/u/563314?v=4",
"events_url": "https://api.github.com/users/wuan/events{/privacy}",
"followers_url": "https://api.github.com/users/wuan/followers",
"following_url": "https://api.github.com/users/wuan/following{/other_user}",
"gists_url": "https://api.github.com/users/wuan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wuan",
"id": 563314,
"login": "wuan",
"node_id": "MDQ6VXNlcjU2MzMxNA==",
"organizations_url": "https://api.github.com/users/wuan/orgs",
"received_events_url": "https://api.github.com/users/wuan/received_events",
"repos_url": "https://api.github.com/users/wuan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wuan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wuan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wuan"
} | [] | 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-10-13T08:14:17Z | 2014-01-12T07:38:07Z | 2013-10-13T23:31:31Z | CONTRIBUTOR | null | Especially when using repeated conversion with period_asfreq_arr of tslib the code introduced with #3060 was about two to three times slower than before.
This PR improves the performance issues by moving global calculations out of the 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/5204/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5204/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5204.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5204",
"merged_at": "2013-10-13T23:31:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5204.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5204"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5205 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5205/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5205/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5205/events | https://github.com/pandas-dev/pandas/pull/5205 | 20,927,851 | MDExOlB1bGxSZXF1ZXN0OTA1Mzg2OQ== | 5,205 | API: rename _prop_attributes to __finalize__ (in NDFrame) | {
"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"
} | 7 | 2013-10-13T15:06:14Z | 2014-06-15T14:41:17Z | 2013-10-15T00:58:25Z | CONTRIBUTOR | null | - rename _propogate_attributes to _metadata (in NDFrame)
- change methods which directly pass metadata to use **finalize**
These provide a simple mechanism for meta data propagation, which
can be overriden in subclasses if desired. Currently these only do non-ambiguous
propagation.
makes #60, #2485 easier
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5205/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5205/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5205.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5205",
"merged_at": "2013-10-15T00:58:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5205.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5205"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5206 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5206/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5206/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5206/events | https://github.com/pandas-dev/pandas/issues/5206 | 20,928,223 | MDU6SXNzdWUyMDkyODIyMw== | 5,206 | ENH/BUG: broadcast a lower-dim assignment if possible | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "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": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-10-13T15:36:29Z | 2013-10-13T23:12:39Z | 2013-10-13T23:12:39Z | CONTRIBUTOR | null | http://stackoverflow.com/questions/19346033/how-to-collectively-set-the-values-of-multiple-columns-for-certain-selected-rows/19346925#19346925
This does not work as we are using a rhs of a series which is not broadcast
to the assignment
```
df.loc[df['A'],['A','B']] = df['C']
```
This works, but a tad cumbersome
```
In [17]: df = DataFrame(dict(A = [1,2,0,0,0],B=[0,0,0,10,11],C=[3,4,5,6,7]))
In [18]: df
Out[18]:
A B C
0 1 0 3
1 2 0 4
2 0 0 5
3 0 10 6
4 0 11 7
In [19]: mask = df['A'] == 0
In [20]: for col in ['A','B']:
....: df.loc[mask,col] = df['C']
....:
In [21]: df
Out[21]:
A B C
0 1 0 3
1 2 0 4
2 5 5 5
3 6 6 6
4 7 7 7
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5206/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5206/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5207 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5207/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5207/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5207/events | https://github.com/pandas-dev/pandas/pull/5207 | 20,930,632 | MDExOlB1bGxSZXF1ZXN0OTA1NDk0MQ== | 5,207 | DOC: Note -> Notes (numpydoc docstring section) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [] | closed | false | null | [] | {
"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-10-13T18:23:00Z | 2014-07-13T12:48:43Z | 2013-10-14T02:13:48Z | MEMBER | null | While adding functions/methods to the docs in #5160, I noticed an error in the build output mentioning an unknown 'Note' section. This has to be 'Notes' for numpydoc.
So I searched for all occurences and adjusted them.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5207/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5207/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5207.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5207",
"merged_at": "2013-10-14T02:13:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5207.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5207"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5208 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5208/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5208/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5208/events | https://github.com/pandas-dev/pandas/pull/5208 | 20,931,216 | MDExOlB1bGxSZXF1ZXN0OTA1NTIwOQ== | 5,208 | DOC: make api docs reflect api usage (#4539) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [] | closed | false | null | [] | {
"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-10-13T19:03:15Z | 2015-04-23T21:47:53Z | 2013-10-14T06:37:31Z | MEMBER | null | Closes #4539.
This removes all use of `.. currentmodule:: pandas.some.submodule` (in favor of `.. currentmodule:: pandas`) in api.rst. Rationale is that docs should reflect the user api usage.
Only exception are `pandas.io.sql.read_frame/write_frame` and `pandas.io.stata.StataReader` methods, because they are not available in the top-level pandas namespace.
All old links will remain valid because they are still generated because I added all those in a comment at the bottom in api.rst (only not for Index, because this was only added very recently in api.rst).
The **downside** with this approach is that you now get warnings when building the docs (`document isn't included in any toctree` for these functions). I am not sure how I can prevent this while keeping the old links but not including it visually in api.rst.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5208/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5208/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5208.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5208",
"merged_at": "2013-10-14T06:37:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5208.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5208"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5209 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5209/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5209/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5209/events | https://github.com/pandas-dev/pandas/pull/5209 | 20,932,597 | MDExOlB1bGxSZXF1ZXN0OTA1NTc2NQ== | 5,209 | CLN/BUG: Better validation of levels/labels/names | {
"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"
} | 11 | 2013-10-13T20:30:51Z | 2014-07-16T08:34:45Z | 2013-10-14T01:43:01Z | CONTRIBUTOR | null | Improved validation of levels, labels and names (plus fleshed out test
cases). Fixes #4794.
Changed an assert_almost_equal to assert_series_equal to better reflect
actual return value.
Also makes set_levels, set_labels and set_names match behavior of rename to _not_ return self if inplace.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5209/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5209/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5209.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5209",
"merged_at": "2013-10-14T01:43:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5209.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5209"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5210 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5210/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5210/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5210/events | https://github.com/pandas-dev/pandas/pull/5210 | 20,935,047 | MDExOlB1bGxSZXF1ZXN0OTA1Njc0NA== | 5,210 | BUG: Bug in loc setting with multiple indexers and a rhs of a Series that needs broadcasting (GH5206) | {
"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"
} | 0 | 2013-10-13T23:12:23Z | 2014-07-16T08:34:49Z | 2013-10-13T23:12:39Z | CONTRIBUTOR | null | closes #5206
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5210/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5210/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5210.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5210",
"merged_at": "2013-10-13T23:12:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5210.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5210"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5211 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5211/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5211/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5211/events | https://github.com/pandas-dev/pandas/pull/5211 | 20,935,078 | MDExOlB1bGxSZXF1ZXN0OTA1Njc1Mw== | 5,211 | ENH: Add usecols option to python parser. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1184478?v=4",
"events_url": "https://api.github.com/users/guyrt/events{/privacy}",
"followers_url": "https://api.github.com/users/guyrt/followers",
"following_url": "https://api.github.com/users/guyrt/following{/other_user}",
"gists_url": "https://api.github.com/users/guyrt/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/guyrt",
"id": 1184478,
"login": "guyrt",
"node_id": "MDQ6VXNlcjExODQ0Nzg=",
"organizations_url": "https://api.github.com/users/guyrt/orgs",
"received_events_url": "https://api.github.com/users/guyrt/received_events",
"repos_url": "https://api.github.com/users/guyrt/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/guyrt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/guyrt/subscriptions",
"type": "User",
"url": "https://api.github.com/users/guyrt"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 8 | 2013-10-13T23:14:00Z | 2014-06-24T14:37:52Z | 2013-10-17T14:18:58Z | CONTRIBUTOR | null | Closes #4335
This ticket felt a little bit like whack-a-mole.
The key is that names can have two meanings: if it matches length of usecols then it is the name to apply to the (numeric) usecols. If it matches the length of the original columns, it is the set of column names and string values in usecols refer to 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/5211/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5211/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5211.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5211",
"merged_at": "2013-10-17T14:18:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5211.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5211"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5212 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5212/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5212/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5212/events | https://github.com/pandas-dev/pandas/issues/5212 | 20,937,086 | MDU6SXNzdWUyMDkzNzA4Ng== | 5,212 | Validate that MultiIndex labels are Int64 type when not called internally. | {
"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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "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 | {
"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"
} | [
{
"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_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"
} | 2 | 2013-10-14T01:44:30Z | 2021-04-11T03:43:45Z | 2021-04-11T03:43:44Z | CONTRIBUTOR | null | Right now you could create MI with weird types and it doesn't error out. More difficult to do effectively when MI is an ndarray subclass (because there are so many different ways to instantiate a MultiIndex). Will fix in Index refactor (just want to remember to do so).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5212/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5212/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5213 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5213/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5213/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5213/events | https://github.com/pandas-dev/pandas/issues/5213 | 20,937,158 | MDU6SXNzdWUyMDkzNzE1OA== | 5,213 | MultiIndex needs to validate that levels and labels are compatible. | {
"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 | {
"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"
} | [
{
"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_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-10-14T01:49:31Z | 2013-10-16T02:07:46Z | 2013-10-16T02:07:46Z | CONTRIBUTOR | null | Urp:
```
n [1]: import pandas as pd
In [2]: mi = pd.MultiIndex(labels = [[1.25, 0.25, 3.1], [3.2, 1.2, 4.1]], levels=[['a'], ['a', 'b', 'c']])
In [3]: mi
Out[3]:
MultiIndex(levels=[[u'a'], [u'a', u'b', u'c']],
labels=[[1, 0, 3], [3, 1, 4]])
In [4]: mi.values
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
<ipython-input-4-e9591d864c48> in <module>()
----> 1 mi.values
/Users/jtratner/projects/python/pandas/pandas/core/index.py in values(self)
2163 values = []
2164 for lev, lab in zip(self.levels, self.labels):
-> 2165 taken = com.take_1d(lev.values, lab)
2166 # Need to box timestamps, etc.
2167 if hasattr(lev, '_box_values'):
/Users/jtratner/projects/python/pandas/pandas/core/common.py in take_nd(arr, indexer, axis, out, fill_value, mask_info, allow_fill)
630 func = _get_take_nd_function(arr.ndim, arr.dtype, out.dtype,
631 axis=axis, mask_info=mask_info)
--> 632 func(arr, indexer, out, fill_value)
633 return out
634
/Users/jtratner/projects/python/pandas/pandas/algos.so in pandas.algos.take_1d_object_object (pandas/algos.c:68489)()
IndexError: Out of bounds on buffer access (axis 0)
In [5]: mi
Out[5]:
MultiIndex(levels=[[u'a'], [u'a', u'b', u'c']],
labels=[[1, 0, 3], [3, 1, 4]])
In [6]: mi.levels
Out[6]: FrozenList([[u'a'], [u'a', u'b', u'c']])
In [7]: mi.labels
Out[7]: FrozenList([[1, 0, 3], [3, 1, 4]])
```
Labels.max() needs to be <= len(levels) for each pair of levels and labels.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5213/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5213/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5214 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5214/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5214/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5214/events | https://github.com/pandas-dev/pandas/pull/5214 | 20,937,719 | MDExOlB1bGxSZXF1ZXN0OTA1NzkwNQ== | 5,214 | BUG/CLN: MI now checks level & label compatibility | {
"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"
} | 5 | 2013-10-14T02:29:10Z | 2014-06-12T18:48:21Z | 2013-10-16T02:07:46Z | CONTRIBUTOR | null | Via verify_integrity kwarg. Internals all pass False.I don't think I've missed anything / passed verify_integrity=True where
it ought not to be.
Fixes #5213.
Clearly this adds a (likely small) perf hit - but should only occur
from external MI calls that specifically call the constructor with
levels and labels (for example, doesn't occur with `from_arrays` or
`from_tuples`). For 0.14 I'll have to do it differently, but this should
work for 0.13.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5214/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5214/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5214.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5214",
"merged_at": "2013-10-16T02:07:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5214.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5214"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5215 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5215/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5215/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5215/events | https://github.com/pandas-dev/pandas/pull/5215 | 20,939,083 | MDExOlB1bGxSZXF1ZXN0OTA1ODU2Nw== | 5,215 | BUG/CLN: Clear _tuples on setting MI levels/labels | {
"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 | 1 | 2013-10-14T04:01:33Z | 2014-06-22T19:15:39Z | 2013-10-14T04:19:20Z | CONTRIBUTOR | null | Previously, setting levels and labels didn't reset `_tuple`, which meant
that it would return wrong values. (and this was ocurring in v0.12 and
earlier too).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5215/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5215/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5215.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5215",
"merged_at": "2013-10-14T04:19:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5215.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5215"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5216 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5216/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5216/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5216/events | https://github.com/pandas-dev/pandas/issues/5216 | 20,957,036 | MDU6SXNzdWUyMDk1NzAzNg== | 5,216 | BUG: AttributeError when trying to assign a value to an element of a MultiIndex DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/1426279?v=4",
"events_url": "https://api.github.com/users/glyg/events{/privacy}",
"followers_url": "https://api.github.com/users/glyg/followers",
"following_url": "https://api.github.com/users/glyg/following{/other_user}",
"gists_url": "https://api.github.com/users/glyg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/glyg",
"id": 1426279,
"login": "glyg",
"node_id": "MDQ6VXNlcjE0MjYyNzk=",
"organizations_url": "https://api.github.com/users/glyg/orgs",
"received_events_url": "https://api.github.com/users/glyg/received_events",
"repos_url": "https://api.github.com/users/glyg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/glyg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/glyg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/glyg"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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"
} | 1 | 2013-10-14T13:40:58Z | 2013-12-12T12:44:16Z | 2013-10-14T15:20:35Z | CONTRIBUTOR | null | Code snipet producing the (unexpected) ValueError (versions of pandas and numpy printed after the traceback)
``` python
import numpy as np
import pandas as pd
print('pandas : %s' % pd.__version__)
print('numpy : %s' % np.__version__)
a = np.random.rand(10, 3)
df = pd.DataFrame(a, columns=['x', 'y', 'z'])
tuples = [(i, j) for i in range(5) for j in range(2)]
index = pd.MultiIndex.from_tuples(tuples)
df.index = index
df.loc[0]['z'].iloc[0] = 1.
```
output:
``` python
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-9-8152e4c5a53b> in <module>()
8 index = pd.MultiIndex.from_tuples(tuples)
9 df.index = index
---> 10 df.loc[0]['z'].iloc[0] = 1.
/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_852_gb76b265-py2.7-linux-i686.egg/pandas/core/indexing.pyc in __setitem__(self, key, value)
92 indexer = self._convert_to_indexer(key, is_setter=True)
93
---> 94 self._setitem_with_indexer(indexer, value)
95
96 def _has_valid_type(self, k, axis):
/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_852_gb76b265-py2.7-linux-i686.egg/pandas/core/indexing.pyc in _setitem_with_indexer(self, indexer, value)
364
365 self.obj._data = self.obj._data.setitem(indexer,value)
--> 366 self.obj._maybe_update_cacher(clear=True)
367
368 def _align_series(self, indexer, ser):
/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_852_gb76b265-py2.7-linux-i686.egg/pandas/core/generic.pyc in _maybe_update_cacher(self, clear)
944 cacher = getattr(self,'_cacher',None)
945 if cacher is not None:
--> 946 cacher[1]()._maybe_cache_changed(cacher[0],self)
947 if clear:
948 self._clear_item_cache()
AttributeError: 'NoneType' object has no attribute '_maybe_cache_changed'
pandas : 0.12.0-852-gb76b265
numpy : 1.8.0.dev-d310678
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5216/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5216/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5217 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5217/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5217/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5217/events | https://github.com/pandas-dev/pandas/pull/5217 | 20,961,804 | MDExOlB1bGxSZXF1ZXN0OTA3MDI5Mw== | 5,217 | BUG: don't try to deal with a dead cache referant (GH5216) | {
"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"
} | 0 | 2013-10-14T15:04:05Z | 2014-06-28T23:03:41Z | 2013-10-14T15:20:35Z | CONTRIBUTOR | null | closes #5216
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5217/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5217/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5217.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5217",
"merged_at": "2013-10-14T15:20:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5217.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5217"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5218 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5218/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5218/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5218/events | https://github.com/pandas-dev/pandas/issues/5218 | 20,975,147 | MDU6SXNzdWUyMDk3NTE0Nw== | 5,218 | DOC: documenting cython class (eg Timestamp): "cyfunction is not a python function" | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2018-05-16T03:09:58Z",
"closed_issues": 1645,
"created_at": "2017-10-20T10:17:09Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.22",
"due_on": "2018-05-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/53",
"id": 2853937,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53/labels",
"node_id": "MDk6TWlsZXN0b25lMjg1MzkzNw==",
"number": 53,
"open_issues": 0,
"state": "closed",
"title": "0.23.0",
"updated_at": "2018-08-20T06:48:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53"
} | 8 | 2013-10-14T19:00:15Z | 2017-11-15T16:44:34Z | 2017-11-15T16:40:02Z | MEMBER | null | Follows from discussion in PR #5160.
When adding `Timestamp` in api.rst to document this class and its methods (as eg done in this commit https://github.com/jorisvandenbossche/pandas/commit/3a8a41dda11d47d337e3f916567e8af2772598c2), you get warnings when building the docs like for example:
```
WARNING: error while formatting arguments for pandas.Timestamp.to_period:
<cyfunction Timestamp.to_period at 0x00000000057616C0> is not a Python
function.
```
`Timestamp` is a python class in a cython file (so I suppose then it is a cython class). You get the warnings for all methods that are defined in this class (defined here https://github.com/pydata/pandas/blob/master/pandas/tslib.pyx#L130), but not for inherited functions of _Timestamp or datetime.
It seems that the generated docstring pages are built (so with the docstring rendered), but that Sphinx could not detect the signature.
Does somebody know how to let Sphinx handle cython classes/functions?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5218/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5218/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5219 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5219/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5219/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5219/events | https://github.com/pandas-dev/pandas/pull/5219 | 20,976,948 | MDExOlB1bGxSZXF1ZXN0OTA3ODU4NA== | 5,219 | TST/PERF: Re-write assert_almost_equal() in cython #4398 | {
"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-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"
} | 24 | 2013-10-14T19:34:42Z | 2014-06-19T14:48:35Z | 2013-10-21T21:35:44Z | CONTRIBUTOR | null | closes #4398
Add a testing.pyx cython file, and port assert_almost_equal() from
python to cython. This also fixes a few minor bugs that were in the
python version of assert_almost_equal() and adds more test cases to
test_tests.py
On my machine this brings a modest gain to the suite of "not slow" tests
(160s -> 140s), but on assert_almost_equal() heavy tests, like
test_expressions.py, it shows a large improvement (14s -> 4s).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5219/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5219/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5219.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5219",
"merged_at": "2013-10-21T21:35:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5219.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5219"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5220 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5220/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5220/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5220/events | https://github.com/pandas-dev/pandas/pull/5220 | 20,977,662 | MDExOlB1bGxSZXF1ZXN0OTA3ODk5NA== | 5,220 | fix business day calculation | {
"avatar_url": "https://avatars.githubusercontent.com/u/563314?v=4",
"events_url": "https://api.github.com/users/wuan/events{/privacy}",
"followers_url": "https://api.github.com/users/wuan/followers",
"following_url": "https://api.github.com/users/wuan/following{/other_user}",
"gists_url": "https://api.github.com/users/wuan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wuan",
"id": 563314,
"login": "wuan",
"node_id": "MDQ6VXNlcjU2MzMxNA==",
"organizations_url": "https://api.github.com/users/wuan/orgs",
"received_events_url": "https://api.github.com/users/wuan/received_events",
"repos_url": "https://api.github.com/users/wuan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wuan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wuan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wuan"
} | [] | 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-10-14T19:48:51Z | 2014-06-22T14:38:02Z | 2013-10-15T13:28:59Z | CONTRIBUTOR | null | This will fix the so far broken calculation of business day periods and the corresponding tests reported
closes #5203.
The expected behaviour found in the present tests is that the date is always rolling forward to the next business day:
```
Friday: Period('2012-3-09', freq='B') => '2012-03-09'
Saturday: Period('2012-3-10', freq='B') => '2012-03-12'
Sunday: Period('2012-3-11', freq='B') => '2012-03-12'
Monday: Period('2012-3-12', freq='B') => '2012-03-12'
```
Can anyone confirm 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/5220/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5220/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5220.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5220",
"merged_at": "2013-10-15T13:28:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5220.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5220"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5221 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5221/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5221/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5221/events | https://github.com/pandas-dev/pandas/issues/5221 | 20,977,929 | MDU6SXNzdWUyMDk3NzkyOQ== | 5,221 | DOC: use Sphinx extension directly from numpy/ipython instead of maintaining our own version | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "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-10-14T19:53:53Z | 2014-02-24T12:56:13Z | 2014-02-24T12:56:13Z | MEMBER | null | Summary: proposal to not maintain our own version of Sphinx extension in pandas repo but instead use the extensions directly from the project it maintains.
The pandas docs are using some Sphinx extensions that are not included in Sphinx itself: `numpydoc` and ipythons `ipython_directive` and `ipython_console_highlighting` (also matplotlibs `plot_directive` is imported in conf.py, but this is not included in the pandas repo).
These extension are located here: https://github.com/pydata/pandas/tree/master/doc/sphinxext.
I think that ideally pandas does not have to care about them, but just uses them by importing the extension from the respective project it lives under (numpy/ipython).
Some recent issue with the doc building also arised form outdated versions of these extensions in pandas repo (see part of the commits in PR #5160 and #4165).
The original extensions are living here:
- ipython sphinxext in ipython itself: https://github.com/ipython/ipython/tree/master/IPython/sphinxext
- numpydoc in its own repo: https://github.com/numpy/numpydoc
**Options** we could do:
- ipython extensions can just be imported from there in conf.py (because ipython is already a dependency)
- numpydoc could be added as a submodule (this is how eg numpy itself does it: https://github.com/numpy/numpy/tree/master/doc, 'sphinxext' links to numpydoc), or it can be added as a doc build dependency.
Possible **problems** with this is that the version in the pandas repo has converged from the version in numpy/ipython:
- I think for `numpydoc` this will not be a problem. Following the history it was updated 3 years ago, and then only recently for python 3 compatibility.
- For `ipython_directive` this seems more of a problem, looking at the history: https://github.com/pydata/pandas/commits/master/doc/sphinxext/ipython_directive.py there seems to be work done on this specifically for the pandas docs. If this is the case that is has converged from the ipython one, then ideally this could be contributed back to ipython (if the feature is not available there), but this will be more work to adapt.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5221/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5221/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5222 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5222/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5222/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5222/events | https://github.com/pandas-dev/pandas/pull/5222 | 20,978,600 | MDExOlB1bGxSZXF1ZXN0OTA3OTUwMg== | 5,222 | BUG: Groupby filter maintains ordering, closes #4621 | {
"avatar_url": "https://avatars.githubusercontent.com/u/2279598?v=4",
"events_url": "https://api.github.com/users/danielballan/events{/privacy}",
"followers_url": "https://api.github.com/users/danielballan/followers",
"following_url": "https://api.github.com/users/danielballan/following{/other_user}",
"gists_url": "https://api.github.com/users/danielballan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/danielballan",
"id": 2279598,
"login": "danielballan",
"node_id": "MDQ6VXNlcjIyNzk1OTg=",
"organizations_url": "https://api.github.com/users/danielballan/orgs",
"received_events_url": "https://api.github.com/users/danielballan/received_events",
"repos_url": "https://api.github.com/users/danielballan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/danielballan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danielballan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/danielballan"
} | [] | closed | false | null | [] | null | 12 | 2013-10-14T20:07:10Z | 2014-07-01T06:01:20Z | 2013-10-15T00:55:05Z | CONTRIBUTOR | null | Simply adds `np.sort`.
Includes tests for SeriesGroupBy and DataFrameGroupBy, using indexes that are sequentially increasing, sequentially decreasing, and shuffled. Also, this PR removes all ad hoc sorting involved in the original filter tests -- now no longer needed. Much better!
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5222/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5222/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5222.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5222",
"merged_at": "2013-10-15T00:55:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5222.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5222"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5223 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5223/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5223/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5223/events | https://github.com/pandas-dev/pandas/issues/5223 | 20,979,100 | MDU6SXNzdWUyMDk3OTEwMA== | 5,223 | Slicing using .loc fails when either boundary falls outside the index | {
"avatar_url": "https://avatars.githubusercontent.com/u/947540?v=4",
"events_url": "https://api.github.com/users/SleepingPills/events{/privacy}",
"followers_url": "https://api.github.com/users/SleepingPills/followers",
"following_url": "https://api.github.com/users/SleepingPills/following{/other_user}",
"gists_url": "https://api.github.com/users/SleepingPills/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SleepingPills",
"id": 947540,
"login": "SleepingPills",
"node_id": "MDQ6VXNlcjk0NzU0MA==",
"organizations_url": "https://api.github.com/users/SleepingPills/orgs",
"received_events_url": "https://api.github.com/users/SleepingPills/received_events",
"repos_url": "https://api.github.com/users/SleepingPills/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SleepingPills/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SleepingPills/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SleepingPills"
} | [] | closed | false | null | [] | null | 3 | 2013-10-14T20:17:29Z | 2013-10-15T13:15:07Z | 2013-10-15T13:15:07Z | CONTRIBUTOR | null | Using version 0.12, is throwing an exception the intended behavior?
```
>>> s = pd.Series(np.arange(10))
>>> s.loc[:15]
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-37-e6f70b3a4e46> in <module>()
----> 1 s.loc[:15]
/Users/sleepingpills/anaconda/envs/research/python.app/Contents/lib/python2.7/site-packages/pandas/core/indexing.pyc in __getitem__(self, key)
697 return self._getitem_tuple(key)
698 else:
--> 699 return self._getitem_axis(key, axis=0)
700
701 def _getitem_axis(self, key, axis=0):
/Users/sleepingpills/anaconda/envs/research/python.app/Contents/lib/python2.7/site-packages/pandas/core/indexing.pyc in _getitem_axis(self, key, axis)
773
774 if isinstance(key, slice):
--> 775 self._has_valid_type(key,axis)
776 return self._get_slice_axis(key, axis=axis)
777 elif com._is_bool_indexer(key):
/Users/sleepingpills/anaconda/envs/research/python.app/Contents/lib/python2.7/site-packages/pandas/core/indexing.pyc in _has_valid_type(self, key, axis)
744 if key.stop is not None:
745 if key.stop not in ax:
--> 746 raise KeyError("stop bound [%s] is not in the [%s]" % (key.stop,self.obj._get_axis_name(axis)))
747
748 elif com._is_bool_indexer(key):
KeyError: 'stop bound [15] is not in the [index]'
```
The .ix indexer works as expected here (and returns the items contained in the slice).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5223/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5223/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5224 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5224/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5224/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5224/events | https://github.com/pandas-dev/pandas/pull/5224 | 20,982,597 | MDExOlB1bGxSZXF1ZXN0OTA4MTg1NA== | 5,224 | Redefine match | {
"avatar_url": "https://avatars.githubusercontent.com/u/2279598?v=4",
"events_url": "https://api.github.com/users/danielballan/events{/privacy}",
"followers_url": "https://api.github.com/users/danielballan/followers",
"following_url": "https://api.github.com/users/danielballan/following{/other_user}",
"gists_url": "https://api.github.com/users/danielballan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/danielballan",
"id": 2279598,
"login": "danielballan",
"node_id": "MDQ6VXNlcjIyNzk1OTg=",
"organizations_url": "https://api.github.com/users/danielballan/orgs",
"received_events_url": "https://api.github.com/users/danielballan/received_events",
"repos_url": "https://api.github.com/users/danielballan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/danielballan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danielballan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/danielballan"
} | [] | 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"
} | 36 | 2013-10-14T21:24:20Z | 2014-07-16T08:35:09Z | 2013-10-31T02:15:28Z | CONTRIBUTOR | null | closes #5075
How does this look? If the docstring and the tests reflect our consensus, I'll take a stab at the docs. This is the gist of it:
Default behavior is unchanged, but issues a warning.
```
In [1]: Series(['aa', 'bb']).str.match('(a)(a)')
pandas/core/strings.py:333: UserWarning: This usage of match will be removed in
an upcoming version of pandas. Consider using extract instead.
UserWarning)
Out[1]:
0 (a, a)
1 []
dtype: object
```
New, more useful behavior is available through `as_indexer`.
```
In [2]: Series(['aa', 'bb']).str.match('(a)(a)', as_indexer=True)
Out[2]:
0 True
1 False
dtype: bool
```
P.S. There's a stray commit in here. Not sure why 88716e4 got lumped in....
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5224/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5224/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5224.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5224",
"merged_at": "2013-10-31T02:15:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5224.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5224"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5225 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5225/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5225/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5225/events | https://github.com/pandas-dev/pandas/issues/5225 | 20,983,448 | MDU6SXNzdWUyMDk4MzQ0OA== | 5,225 | BUG: MI needs to invalidate all of its cached properties when levels or labels are set. | {
"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 | {
"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"
} | [
{
"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_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-10-14T21:39:58Z | 2013-10-16T22:32:15Z | 2013-10-16T22:32:15Z | CONTRIBUTOR | null | Whack-a-mole! @jreback is there some kind of standardized method for resetting the `_cache` attribute? I was thinking we could add a `_reset_cache` method to `PandasObject` that resets the attribute (so we only have to change it in one or two places).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5225/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5225/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5226 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5226/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5226/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5226/events | https://github.com/pandas-dev/pandas/issues/5226 | 20,992,677 | MDU6SXNzdWUyMDk5MjY3Nw== | 5,226 | New appending behavior doesn't work on an empty DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/2279598?v=4",
"events_url": "https://api.github.com/users/danielballan/events{/privacy}",
"followers_url": "https://api.github.com/users/danielballan/followers",
"following_url": "https://api.github.com/users/danielballan/following{/other_user}",
"gists_url": "https://api.github.com/users/danielballan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/danielballan",
"id": 2279598,
"login": "danielballan",
"node_id": "MDQ6VXNlcjIyNzk1OTg=",
"organizations_url": "https://api.github.com/users/danielballan/orgs",
"received_events_url": "https://api.github.com/users/danielballan/received_events",
"repos_url": "https://api.github.com/users/danielballan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/danielballan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danielballan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/danielballan"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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"
} | 1 | 2013-10-15T01:54:31Z | 2013-10-23T14:51:25Z | 2013-10-15T13:11:40Z | CONTRIBUTOR | null | Consider this working example from the docs:
```
In [9]: df1 = DataFrame(np.arange(6).reshape(3,2),
...: columns=['A','B'])
In [10]: df1.loc[3] = [6, 7]
In [11]: df1
Out[11]:
A B
0 0 1
1 2 3
2 4 5
3 6 7
```
And now watch what happens when the DataFrame is empty:
```
In [12]: df2 = DataFrame(columns=['A','B'])
In [13]: df2.loc[3] = [6, 7]
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-13-53d84383e8d4> in <module>()
----> 1 df2.loc[3] = [6, 7]
/Users/danielallan/Documents/Repos/pandas-danielballan/pandas/core/indexing.pyc in __setitem__(self, key, value)
90 indexer = self._convert_tuple(key, is_setter=True)
91 else:
---> 92 indexer = self._convert_to_indexer(key, is_setter=True)
93
94 self._setitem_with_indexer(indexer, value)
/Users/danielallan/Documents/Repos/pandas-danielballan/pandas/core/indexing.pyc in _convert_to_indexer(self, obj, axis, is_setter)
821 if is_setter:
822 if obj >= len(self.obj) and not isinstance(labels, MultiIndex):
--> 823 raise ValueError("cannot set by positional indexing with enlargement")
824
825 return obj
ValueError: cannot set by positional indexing with enlargement
```
I haven't read the discussion that generated this new behavior of loc/ix. Perhaps there is a good reason why this can't work. But I can't think of one.
(This was prompted by [this SO question](http://stackoverflow.com/questions/19365513/how-to-add-an-extra-row-to-a-pandas-dataframe/19368360?noredirect=1#comment28705229_19368360).)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5226/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5226/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5227 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5227/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5227/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5227/events | https://github.com/pandas-dev/pandas/pull/5227 | 20,993,723 | MDExOlB1bGxSZXF1ZXN0OTA4NzkzOA== | 5,227 | BUG: allow enlargement to work with empty objects (GH5226) | {
"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"
} | 0 | 2013-10-15T02:37:32Z | 2014-06-12T20:46:55Z | 2013-10-15T13:11:40Z | CONTRIBUTOR | null | closes #5226
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5227/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5227/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5227.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5227",
"merged_at": "2013-10-15T13:11:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5227.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5227"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5228 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5228/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5228/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5228/events | https://github.com/pandas-dev/pandas/issues/5228 | 20,995,480 | MDU6SXNzdWUyMDk5NTQ4MA== | 5,228 | ERROR: Failure: ImportError (No module named pandas) | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [] | closed | false | null | [] | null | 2 | 2013-10-15T03:54:59Z | 2013-10-15T10:56:03Z | 2013-10-15T10:56:03Z | CONTRIBUTOR | null | see: https://travis-ci.org/cancan101/pandas/jobs/12551987
```
cannot import name hashtable
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "pandas/__init__.py", line 9, in <module>
from . import hashtable, tslib, lib
ImportError: cannot import name hashtable
nosetests --exe -w /tmp -A not slow pandas --show-skipped
E
======================================================================
ERROR: Failure: ImportError (No module named pandas)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/virtualenv/python2.6_with_system_site_packages/lib/python2.6/site-packages/nose/loader.py", line 402, in loadTestsFromName
module = resolve_name(addr.module)
File "/home/travis/virtualenv/python2.6_with_system_site_packages/lib/python2.6/site-packages/nose/util.py", line 311, in resolve_name
module = __import__('.'.join(parts_copy))
ImportError: No module named pandas
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5228/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5228/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5229 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5229/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5229/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5229/events | https://github.com/pandas-dev/pandas/issues/5229 | 21,003,354 | MDU6SXNzdWUyMTAwMzM1NA== | 5,229 | Yahoo finance data fails on market cap | {
"avatar_url": "https://avatars.githubusercontent.com/u/296164?v=4",
"events_url": "https://api.github.com/users/jseabold/events{/privacy}",
"followers_url": "https://api.github.com/users/jseabold/followers",
"following_url": "https://api.github.com/users/jseabold/following{/other_user}",
"gists_url": "https://api.github.com/users/jseabold/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jseabold",
"id": 296164,
"login": "jseabold",
"node_id": "MDQ6VXNlcjI5NjE2NA==",
"organizations_url": "https://api.github.com/users/jseabold/orgs",
"received_events_url": "https://api.github.com/users/jseabold/received_events",
"repos_url": "https://api.github.com/users/jseabold/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jseabold/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jseabold/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jseabold"
} | [
{
"color": "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-11-09T12:33:59Z",
"closed_issues": 86,
"created_at": "2014-10-30T11:12:13Z",
"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.0 of course",
"due_on": "2014-11-09T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/31",
"id": 846460,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels",
"node_id": "MDk6TWlsZXN0b25lODQ2NDYw",
"number": 31,
"open_issues": 0,
"state": "closed",
"title": "0.15.1",
"updated_at": "2014-11-09T12:33:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31"
} | 4 | 2013-10-15T08:43:21Z | 2014-11-07T11:48:09Z | 2014-11-07T11:48:09Z | CONTRIBUTOR | null | Market cap returns a "B" etc. that needs to be parsed before the result is coerced into a DataFrame.
https://groups.google.com/forum/#!topic/pydata/KOdYtiw7cE8
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5229/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5229/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5230 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5230/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5230/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5230/events | https://github.com/pandas-dev/pandas/issues/5230 | 21,028,844 | MDU6SXNzdWUyMTAyODg0NA== | 5,230 | Series.diff incorrect values with uint64 | {
"avatar_url": "https://avatars.githubusercontent.com/u/945749?v=4",
"events_url": "https://api.github.com/users/john-granieri/events{/privacy}",
"followers_url": "https://api.github.com/users/john-granieri/followers",
"following_url": "https://api.github.com/users/john-granieri/following{/other_user}",
"gists_url": "https://api.github.com/users/john-granieri/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/john-granieri",
"id": 945749,
"login": "john-granieri",
"node_id": "MDQ6VXNlcjk0NTc0OQ==",
"organizations_url": "https://api.github.com/users/john-granieri/orgs",
"received_events_url": "https://api.github.com/users/john-granieri/received_events",
"repos_url": "https://api.github.com/users/john-granieri/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/john-granieri/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/john-granieri/subscriptions",
"type": "User",
"url": "https://api.github.com/users/john-granieri"
} | [
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] | closed | false | null | [] | null | 3 | 2013-10-15T16:45:01Z | 2013-10-15T19:03:37Z | 2013-10-15T16:58:51Z | NONE | null | Series.diff appears to get things off with unsigned ints
``` python
s=pd.Series([1, 2, 3, 4, 5, 6], dtype='uint')
print s
print s.shift(-1)
print s.diff(-1) # this result is wrong, some conversion issues
print s.map(int)
print s.map(int).diff(-1) # this result is right
0 1
1 2
2 3
3 4
4 5
5 6
dtype: uint64
0 2
1 3
2 4
3 5
4 6
5 NaN
dtype: float64
0 1.844674e+19
1 1.844674e+19
2 1.844674e+19
3 1.844674e+19
4 1.844674e+19
5 NaN
dtype: float64
0 1
1 2
2 3
3 4
4 5
5 6
dtype: int64
0 -1
1 -1
2 -1
3 -1
4 -1
5 NaN
dtype: float64
```
(this appears to have worked correctly in an older version of pandas 0.8 and doesn't in most recent 0.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/5230/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5230/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5231 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5231/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5231/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5231/events | https://github.com/pandas-dev/pandas/pull/5231 | 21,030,591 | MDExOlB1bGxSZXF1ZXN0OTEwODI2MQ== | 5,231 | EHN/FIX: Add na_last parameter to DataFrame.sort. Fixes GH3917 | {
"avatar_url": "https://avatars.githubusercontent.com/u/443776?v=4",
"events_url": "https://api.github.com/users/unutbu/events{/privacy}",
"followers_url": "https://api.github.com/users/unutbu/followers",
"following_url": "https://api.github.com/users/unutbu/following{/other_user}",
"gists_url": "https://api.github.com/users/unutbu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/unutbu",
"id": 443776,
"login": "unutbu",
"node_id": "MDQ6VXNlcjQ0Mzc3Ng==",
"organizations_url": "https://api.github.com/users/unutbu/orgs",
"received_events_url": "https://api.github.com/users/unutbu/received_events",
"repos_url": "https://api.github.com/users/unutbu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/unutbu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/unutbu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/unutbu"
} | [
{
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] | closed | false | null | [] | {
"closed_at": "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"
} | 71 | 2013-10-15T17:15:17Z | 2014-09-10T00:22:49Z | 2014-03-27T22:23:50Z | CONTRIBUTOR | null | closes #3917
This is an attempt to fix the Nested Sort with NaN bug (https://github.com/pydata/pandas/issues/3917).
I've added tests to `test_frame.py` and `test_hashtable.py` to demonstrate the problem.
`hashtable.Factorizer.factorize` has been modified to map `nan` to `na_sentinel`. Before it was mapping `nan` to a label which was already being used. This, I believe is the origin of the bug.
My first idea was to mimick/reuse code from `Series.order`, since this method already handles `nan`s nicely, and allows the user to choose if nans should be placed at the beginning or the end of the sort via the `na_last` parameter. Although I found a solution using code from `Series.order`, I eventually abandoned this when I realized this patches the problem at too high a level and that it could be handled more generally with a modification of `factorize`. I retained the idea that `df.sort` should have a `na_last` parameter, however.
To that end, `groupby._lexsort_indexer` has been modified to handle all possible combinations of `na_last` and `orders` settings. There are four tests (assertions) in `test_frame.py` to exercise the possibilities, one of which demonstrates that `df.sort(['A','B'])` now behaves correctly for the DataFrame shown in GH3917.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5231/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5231/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5231.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5231",
"merged_at": "2014-03-27T22:23:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5231.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5231"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5232 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5232/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5232/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5232/events | https://github.com/pandas-dev/pandas/issues/5232 | 21,030,673 | MDU6SXNzdWUyMTAzMDY3Mw== | 5,232 | read_csv dtype argument not working when there is a footer | {
"avatar_url": "https://avatars.githubusercontent.com/u/5693301?v=4",
"events_url": "https://api.github.com/users/socheon/events{/privacy}",
"followers_url": "https://api.github.com/users/socheon/followers",
"following_url": "https://api.github.com/users/socheon/following{/other_user}",
"gists_url": "https://api.github.com/users/socheon/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/socheon",
"id": 5693301,
"login": "socheon",
"node_id": "MDQ6VXNlcjU2OTMzMDE=",
"organizations_url": "https://api.github.com/users/socheon/orgs",
"received_events_url": "https://api.github.com/users/socheon/received_events",
"repos_url": "https://api.github.com/users/socheon/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/socheon/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/socheon/subscriptions",
"type": "User",
"url": "https://api.github.com/users/socheon"
} | [
{
"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": "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": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 12 | 2013-10-15T17:16:46Z | 2016-08-02T09:56:06Z | 2016-08-02T09:56:06Z | NONE | null | xref #7141
## Datafile test.csv
col1|col2
a|438087272980
b|399432587827
c|592706116147
d|1584843561523
footer 1
## Command
print pd.read_csv('test.csv', sep='|', skipfooter=1, dtype={'col2':'object'}).dtypes
## Output
col1 object
col2 int64
dtype: object
## Expected Output
col1 object
col2 object
dtype: object
## Platform
Windows XP, Python 2.7, Pandas version 0.11.0
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5232/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5232/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5233 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5233/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5233/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5233/events | https://github.com/pandas-dev/pandas/issues/5233 | 21,039,658 | MDU6SXNzdWUyMTAzOTY1OA== | 5,233 | BUG: OLS.predict() fails when given a Series | {
"avatar_url": "https://avatars.githubusercontent.com/u/3195015?v=4",
"events_url": "https://api.github.com/users/rockg/events{/privacy}",
"followers_url": "https://api.github.com/users/rockg/followers",
"following_url": "https://api.github.com/users/rockg/following{/other_user}",
"gists_url": "https://api.github.com/users/rockg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rockg",
"id": 3195015,
"login": "rockg",
"node_id": "MDQ6VXNlcjMxOTUwMTU=",
"organizations_url": "https://api.github.com/users/rockg/orgs",
"received_events_url": "https://api.github.com/users/rockg/received_events",
"repos_url": "https://api.github.com/users/rockg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rockg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rockg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rockg"
} | [] | 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-10-15T19:44:55Z | 2013-10-17T13:07:34Z | 2013-10-17T13:07:34Z | CONTRIBUTOR | null | OLS.predict() makes a call to dropna() with an argument when Series has no such argument. I believe the fix here is to just move the DataFrame creation above the "if fill_value" clause.
```
orig_x = x
if fill_value is None and fill_method is None:
x = x.dropna(how='any')
else:
x = x.fillna(value=fill_value, method=fill_method, axis=axis)
if isinstance(x, Series):
x = DataFrame({'x': x})
if self._intercept:
x['intercept'] = 1.
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5233/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5233/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5234 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5234/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5234/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5234/events | https://github.com/pandas-dev/pandas/pull/5234 | 21,041,342 | MDExOlB1bGxSZXF1ZXN0OTExNDQ3Mw== | 5,234 | FIX: OLS.predict() - cast input to DataFrame from Series before performing operations | {
"avatar_url": "https://avatars.githubusercontent.com/u/3195015?v=4",
"events_url": "https://api.github.com/users/rockg/events{/privacy}",
"followers_url": "https://api.github.com/users/rockg/followers",
"following_url": "https://api.github.com/users/rockg/following{/other_user}",
"gists_url": "https://api.github.com/users/rockg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rockg",
"id": 3195015,
"login": "rockg",
"node_id": "MDQ6VXNlcjMxOTUwMTU=",
"organizations_url": "https://api.github.com/users/rockg/orgs",
"received_events_url": "https://api.github.com/users/rockg/received_events",
"repos_url": "https://api.github.com/users/rockg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rockg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rockg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rockg"
} | [] | 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"
} | 5 | 2013-10-15T20:14:08Z | 2014-06-16T18:51:25Z | 2013-10-17T13:07:34Z | CONTRIBUTOR | null | Closes #5233. Simply cast to a Series to a DataFrame before dropping NAs or filling.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5234/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5234/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5234.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5234",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/5234.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5234"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5235 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5235/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5235/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5235/events | https://github.com/pandas-dev/pandas/issues/5235 | 21,048,558 | MDU6SXNzdWUyMTA0ODU1OA== | 5,235 | Issue with Excel writers when column names are duplicated | {
"avatar_url": "https://avatars.githubusercontent.com/u/94267?v=4",
"events_url": "https://api.github.com/users/jmcnamara/events{/privacy}",
"followers_url": "https://api.github.com/users/jmcnamara/followers",
"following_url": "https://api.github.com/users/jmcnamara/following{/other_user}",
"gists_url": "https://api.github.com/users/jmcnamara/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jmcnamara",
"id": 94267,
"login": "jmcnamara",
"node_id": "MDQ6VXNlcjk0MjY3",
"organizations_url": "https://api.github.com/users/jmcnamara/orgs",
"received_events_url": "https://api.github.com/users/jmcnamara/received_events",
"repos_url": "https://api.github.com/users/jmcnamara/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jmcnamara/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jmcnamara/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jmcnamara"
} | [
{
"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": "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": "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-10-15T22:19:45Z | 2013-11-04T01:38:29Z | 2013-10-16T18:50:39Z | CONTRIBUTOR | null | There appears to be an issue with Excel writers when DataFrame column names are duplicated. This issue that was initially reported on [StackOverflow](http://stackoverflow.com/questions/19363779/problems-writing-to-file-in-pandas).
For example consider the following program:
``` python
import pandas as pd
from pandas import DataFrame
df = DataFrame([[1, 2, 3], [1, 2, 3], [1, 2, 3]])
df.columns = ['A', 'B', 'B'] # !!!
df.to_csv('output.csv')
df.to_excel('output.xlsx')
```
Note the duplicated column name. The `df` for this looks like this:
``` python
>>> df
A B B
0 1 2 3
1 1 2 3
2 1 2 3
```
The corresponding output of the CSV is as expected:
```
$ cat output.csv
,A,B,B
0,1,2,3
1,1,2,3
2,1,2,3
```
However, the output of the any of the Excel writers is incorrect:

The issue appears to be in `pandas/core/format.py`. The output data is gathered based on column names, as shown below, which causes issues with duplicate names.
``` python
def _format_regular_rows(self):
...
for colidx, colname in enumerate(self.columns):
series = self.df[colname]
...
```
I initially thought that this might be the correct behaviour and that column names shouldn't be duplicated but given that the output is different to the csv writer it looks like a bug.
I'll write a test case but I'm not sure of the best way to fix the issue.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5235/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5235/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5236 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5236/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5236/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5236/events | https://github.com/pandas-dev/pandas/issues/5236 | 21,049,195 | MDU6SXNzdWUyMTA0OTE5NQ== | 5,236 | Add cache resetting method to PandasObject | {
"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"
} | 0 | 2013-10-15T22:33:55Z | 2013-12-04T00:44:11Z | 2013-10-16T22:32:15Z | CONTRIBUTOR | null | Going to use this to fix MI, but also worth it anywhere we use cached_readonly and only hardcode cache name and implementation in a few places. (even on objects which supposedly immutable).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5236/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5236/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5237 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5237/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5237/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5237/events | https://github.com/pandas-dev/pandas/pull/5237 | 21,051,418 | MDExOlB1bGxSZXF1ZXN0OTEyMDQ5Ng== | 5,237 | BUG/TST: Fix Excel writers with duplicated column names. | {
"avatar_url": "https://avatars.githubusercontent.com/u/94267?v=4",
"events_url": "https://api.github.com/users/jmcnamara/events{/privacy}",
"followers_url": "https://api.github.com/users/jmcnamara/followers",
"following_url": "https://api.github.com/users/jmcnamara/following{/other_user}",
"gists_url": "https://api.github.com/users/jmcnamara/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jmcnamara",
"id": 94267,
"login": "jmcnamara",
"node_id": "MDQ6VXNlcjk0MjY3",
"organizations_url": "https://api.github.com/users/jmcnamara/orgs",
"received_events_url": "https://api.github.com/users/jmcnamara/received_events",
"repos_url": "https://api.github.com/users/jmcnamara/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jmcnamara/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jmcnamara/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jmcnamara"
} | [] | 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-10-15T23:27:24Z | 2014-06-18T11:05:10Z | 2013-10-16T18:50:14Z | CONTRIBUTOR | null | Test and fix for issue #5235
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5237/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5237/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5237.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5237",
"merged_at": "2013-10-16T18:50:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5237.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5237"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5238 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5238/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5238/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5238/events | https://github.com/pandas-dev/pandas/pull/5238 | 21,054,652 | MDExOlB1bGxSZXF1ZXN0OTEyMjM5OA== | 5,238 | CLN: Add _reset_cache method to PandasObject | {
"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 | 3 | 2013-10-16T01:06:04Z | 2014-06-13T16:31:31Z | 2013-10-16T22:32:15Z | CONTRIBUTOR | null | I think this is the right way to do it. MI needs this for _engine and
friends. I think there are other objects that use `cache_readonly` that
might want to reset too.
I also moved the local dir methods off of StringMixin to PandasObject
(where they ought to have been).
Fixes #5236 and fixes #5225.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5238/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5238/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5238.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5238",
"merged_at": "2013-10-16T22:32:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5238.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5238"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5239 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5239/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5239/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5239/events | https://github.com/pandas-dev/pandas/issues/5239 | 21,056,790 | MDU6SXNzdWUyMTA1Njc5MA== | 5,239 | na_filter=False ignored when index_col set | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "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": "2017-12-13T13:05:41Z",
"closed_issues": 160,
"created_at": "2017-10-02T10:21:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2017-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/52",
"id": 2806806,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/52/labels",
"node_id": "MDk6TWlsZXN0b25lMjgwNjgwNg==",
"number": 52,
"open_issues": 0,
"state": "closed",
"title": "0.21.1",
"updated_at": "2018-02-19T22:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/52"
} | 3 | 2013-10-16T02:24:42Z | 2017-11-06T20:33:44Z | 2017-11-06T20:33:44Z | CONTRIBUTOR | null | Given the following CSV file:
```
u1,u2,u3,d1,d2,d3,d4
Good Things,C,,1,1,1,1
Good Things,R,,1,1,1,1
Bad Things,C,,1,1,1,1
Bad Things,T,,1,1,1,1
Okay Things,N,B,1,1,1,1
Okay Things,N,D,1,1,1,1
Okay Things,B,,1,1,1,1
Okay Things,D,,1,1,1,1
```
First I parse with `na_filter=True`:
```
In [13]: pd.read_csv("/home/alex/nan_issue.csv", na_filter=True)
Out[13]:
u1 u2 u3 d1 d2 d3 d4
0 Good Things C NaN 1 1 1 1
1 Good Things R NaN 1 1 1 1
2 Bad Things C NaN 1 1 1 1
3 Bad Things T NaN 1 1 1 1
4 Okay Things N B 1 1 1 1
5 Okay Things N D 1 1 1 1
6 Okay Things B NaN 1 1 1 1
7 Okay Things D NaN 1 1 1 1
```
then I parse with `na_filter=False`:
```
In [12]: pd.read_csv("/home/alex/nan_issue.csv", na_filter=False)
Out[12]:
u1 u2 u3 d1 d2 d3 d4
0 Good Things C 1 1 1 1
1 Good Things R 1 1 1 1
2 Bad Things C 1 1 1 1
3 Bad Things T 1 1 1 1
4 Okay Things N B 1 1 1 1
5 Okay Things N D 1 1 1 1
6 Okay Things B 1 1 1 1
7 Okay Things D 1 1 1 1
```
then `index_cols` set:
```
In [11]: pd.read_csv("/home/alex/nan_issue.csv", na_filter=False,index_col=[0,1,2],)
Out[11]:
d1 d2 d3 d4
u1 u2 u3
Good Things C NaN 1 1 1 1
R NaN 1 1 1 1
Bad Things C NaN 1 1 1 1
T NaN 1 1 1 1
Okay Things N B 1 1 1 1
D 1 1 1 1
B NaN 1 1 1 1
D NaN 1 1 1 1
```
Finally setting `na_values=[], keep_default_na=False` seems to fix the issue:
```
In [14]: pd.read_csv("/home/alex/nan_issue.csv", na_filter=False,index_col=[0,1,2],na_values=[], keep_default_na=False)
Out[14]:
d1 d2 d3 d4
u1 u2 u3
Good Things C 1 1 1 1
R 1 1 1 1
Bad Things C 1 1 1 1
T 1 1 1 1
Okay Things N B 1 1 1 1
D 1 1 1 1
B 1 1 1 1
D 1 1 1 1
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5239/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5239/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5240 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5240/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5240/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5240/events | https://github.com/pandas-dev/pandas/pull/5240 | 21,057,243 | MDExOlB1bGxSZXF1ZXN0OTEyMzcyNg== | 5,240 | CLN/ENH: Make names getattr'able in core/ops +PEP8. | {
"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 | 1 | 2013-10-16T02:41:28Z | 2014-06-14T14:18:48Z | 2013-10-16T22:31:48Z | CONTRIBUTOR | null | Now the name passed to a method can be used to get that method from the
NDFrame (previously you had things like `or_ [|]`. better to just have them
all be named exactly what they are s.t. subclasses can do
`getattr(super(self, MyClass), name)(*args, **kwargs)`.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5240/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5240/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5240.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5240",
"merged_at": "2013-10-16T22:31:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5240.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5240"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5241 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5241/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5241/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5241/events | https://github.com/pandas-dev/pandas/pull/5241 | 21,063,526 | MDExOlB1bGxSZXF1ZXN0OTEyNjg5Nw== | 5,241 | DOC: fix building of gbq docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [] | closed | false | null | [] | null | 1 | 2013-10-16T07:08:09Z | 2014-07-16T08:35:32Z | 2013-10-16T12:30:54Z | MEMBER | null | This fixes some build warnings in de gbq docs after merging #5179 (``` is markdown syntax + wrong internal reference).
And in the same time I corrected some minor numpydoc docstring things.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5241/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5241/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5241.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5241",
"merged_at": "2013-10-16T12:30:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5241.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5241"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5242 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5242/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5242/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5242/events | https://github.com/pandas-dev/pandas/pull/5242 | 21,075,665 | MDExOlB1bGxSZXF1ZXN0OTEzMzQzNg== | 5,242 | Fixed assertion error message | {
"avatar_url": "https://avatars.githubusercontent.com/u/685453?v=4",
"events_url": "https://api.github.com/users/ojh/events{/privacy}",
"followers_url": "https://api.github.com/users/ojh/followers",
"following_url": "https://api.github.com/users/ojh/following{/other_user}",
"gists_url": "https://api.github.com/users/ojh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ojh",
"id": 685453,
"login": "ojh",
"node_id": "MDQ6VXNlcjY4NTQ1Mw==",
"organizations_url": "https://api.github.com/users/ojh/orgs",
"received_events_url": "https://api.github.com/users/ojh/received_events",
"repos_url": "https://api.github.com/users/ojh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ojh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ojh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ojh"
} | [] | closed | false | null | [] | null | 7 | 2013-10-16T12:03:03Z | 2014-06-21T09:23:33Z | 2013-10-16T12:20:16Z | CONTRIBUTOR | null | This is a pretty straightforward fix, message was simply inverted.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5242/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5242/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5242.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5242",
"merged_at": "2013-10-16T12:20:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5242.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5242"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5243 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5243/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5243/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5243/events | https://github.com/pandas-dev/pandas/pull/5243 | 21,099,782 | MDExOlB1bGxSZXF1ZXN0OTE0NzA4MQ== | 5,243 | API: add excel kw to to_clipboard to preserve compat behavior (related GH5070) | {
"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"
} | 2 | 2013-10-16T18:29:04Z | 2014-07-16T08:35:35Z | 2013-10-16T19:54:25Z | CONTRIBUTOR | null | related #5070
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5243/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5243/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5243.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5243",
"merged_at": "2013-10-16T19:54:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5243.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5243"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5244 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5244/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5244/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5244/events | https://github.com/pandas-dev/pandas/pull/5244 | 21,112,490 | MDExOlB1bGxSZXF1ZXN0OTE1Mzk5Mg== | 5,244 | API/CLN: consolidate truncate into NDFrame (panel had a separate method) | {
"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"
} | 1 | 2013-10-16T21:36:53Z | 2014-07-16T08:35:37Z | 2013-10-17T11:29:15Z | CONTRIBUTOR | null | API: truncate error if before > after is now a ValueError (rather than AssertionError)
(related #5242)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5244/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5244/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5244.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5244",
"merged_at": "2013-10-17T11:29:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5244.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5244"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5245 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5245/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5245/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5245/events | https://github.com/pandas-dev/pandas/pull/5245 | 21,116,498 | MDExOlB1bGxSZXF1ZXN0OTE1NjIxMQ== | 5,245 | Make doc compiling under windows workable | {
"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"
} | [] | closed | false | null | [] | null | 3 | 2013-10-16T22:47:17Z | 2014-06-18T13:37:40Z | 2013-10-21T21:53:30Z | CONTRIBUTOR | null | The doc generation failed under windows due to problems with sphinx
and encoded umlauts in code (see links in
https://github.com/pydata/pandas/issues/5142).
The workaround is to replace the offending text with one which does not fail
(but which makes the example a bit pointless), build the docs and restore the
old text.
Closes: #5142
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5245/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5245/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5245.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5245",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/5245.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5245"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5246 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5246/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5246/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5246/events | https://github.com/pandas-dev/pandas/issues/5246 | 21,116,993 | MDU6SXNzdWUyMTExNjk5Mw== | 5,246 | API: Should _data be settable? | {
"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 | 3 | 2013-10-16T22:57:58Z | 2013-10-17T12:12:57Z | 2013-10-17T12:12:57Z | CONTRIBUTOR | null | right now you can seriously mess things up by doing:
``` python
df = pd.DataFrame(zip(range(10), range(10)))
df._data = 5
df + 2 # Maximum recursion depth error.
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5246/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5246/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5247 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5247/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5247/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5247/events | https://github.com/pandas-dev/pandas/pull/5247 | 21,125,096 | MDExOlB1bGxSZXF1ZXN0OTE1OTU0NQ== | 5,247 | ENH: Add inplace option to drop and dropna | {
"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"
} | 5 | 2013-10-17T01:37:45Z | 2014-06-25T15:32:58Z | 2013-10-28T02:06:38Z | CONTRIBUTOR | null | And appropriately invalidates caches as necessary BUT _still_ makes a copy. @jreback and I decided that it shouldn't call `__finalize__` a second time in `_update_inplace` (so if metadata is supposed to change, it's not going to be updated, but subclass can always override it). Closes #1960, related #2325 (doesn't actually fix because still makes a copy).
Adds `_update_inplace` method that takes a result and invalidates the internal cache then reindexes.
---
@jreback - would you mind taking a look? It's almost there, I think I'm
missing one cache reference or something... (or I'm just using reindex
wrong).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5247/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5247/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5247.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5247",
"merged_at": "2013-10-28T02:06:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5247.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5247"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5248 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5248/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5248/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5248/events | https://github.com/pandas-dev/pandas/issues/5248 | 21,142,694 | MDU6SXNzdWUyMTE0MjY5NA== | 5,248 | Series.drop regression and unexpected behaviour | {
"avatar_url": "https://avatars.githubusercontent.com/u/849427?v=4",
"events_url": "https://api.github.com/users/ruidc/events{/privacy}",
"followers_url": "https://api.github.com/users/ruidc/followers",
"following_url": "https://api.github.com/users/ruidc/following{/other_user}",
"gists_url": "https://api.github.com/users/ruidc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ruidc",
"id": 849427,
"login": "ruidc",
"node_id": "MDQ6VXNlcjg0OTQyNw==",
"organizations_url": "https://api.github.com/users/ruidc/orgs",
"received_events_url": "https://api.github.com/users/ruidc/received_events",
"repos_url": "https://api.github.com/users/ruidc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ruidc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ruidc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ruidc"
} | [
{
"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-10-17T09:54:14Z | 2013-10-17T13:08:34Z | 2013-10-17T11:59:24Z | CONTRIBUTOR | null | On 0.12 stable this works:
```
>>> s = pandas.Series([1,1,2],index=["one","one","two"])
>>> s.drop(["one"])
two 2
dtype: int64
```
but a singleton silently fails:
```
>>> s.drop("one")
one 1
one 1
two 2
dtype: int64
```
except when index is unique:
```
>>> s = pandas.Series([1,2],index=["one","two"])
>>> s.drop("one")
two 2
dtype: int64
```
according to the docs, the input to drop should be array like, so i'm not sure this should be permissible.
On head, with unique index, it matches, but with non-unique:
```
>>> pandas.__version__
'0.12.0-892-g6830600'
>>> s = pandas.Series([1,1,2],index=["one","one","two"])
>>> s2 = s.drop(["one"])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pandas/core/generic.py", line 1133, in drop
return self.ix[tuple(slicer)]
File "pandas/core/indexing.py", line 53, in __getitem__
return self._getitem_tuple(key)
File "pandas/core/indexing.py", line 558, in _getitem_tuple
return self._multi_take(tup)
File "pandas/core/indexing.py", line 598, in _multi_take
raise self._exception
KeyError
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5248/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5248/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5249 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5249/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5249/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5249/events | https://github.com/pandas-dev/pandas/pull/5249 | 21,146,884 | MDExOlB1bGxSZXF1ZXN0OTE2OTY3Mw== | 5,249 | BUG: fixed issue with drop on a non-unique index with Series (GH5248) | {
"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"
} | 0 | 2013-10-17T11:30:50Z | 2014-06-25T10:44:46Z | 2013-10-17T11:59:24Z | CONTRIBUTOR | null | closes #5248
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5249/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5249/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5249.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5249",
"merged_at": "2013-10-17T11:59:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5249.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5249"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5250 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5250/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5250/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5250/events | https://github.com/pandas-dev/pandas/issues/5250 | 21,148,574 | MDU6SXNzdWUyMTE0ODU3NA== | 5,250 | ENH: Unify API for drop and dropna for NDFrame | {
"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": "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"
} | 3 | 2013-10-17T12:12:08Z | 2013-10-17T13:07:34Z | 2013-10-17T13:07:34Z | CONTRIBUTOR | null | This can at least be done for Series and DataFrame (for dropna, thresh and how would just have no effect and axis must always be 0). Need to see whether it's possible for Panel.
cf the recent issue with OLS.predict and issues with how. #5233
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5250/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5250/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5251 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5251/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5251/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5251/events | https://github.com/pandas-dev/pandas/pull/5251 | 21,149,941 | MDExOlB1bGxSZXF1ZXN0OTE3MTQyMA== | 5,251 | API: allow Series/Panel dropna to accept other args for compat with DataFrame (GH5233/GH5250) | {
"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"
} | 0 | 2013-10-17T12:42:10Z | 2014-07-16T08:35:47Z | 2013-10-17T13:07:34Z | CONTRIBUTOR | null | closes #5233
closes #5234
closes #5250
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5251/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5251/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5251.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5251",
"merged_at": "2013-10-17T13:07:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5251.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5251"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5252 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5252/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5252/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5252/events | https://github.com/pandas-dev/pandas/pull/5252 | 21,151,302 | MDExOlB1bGxSZXF1ZXN0OTE3MjE0NA== | 5,252 | DOC: core/generic/drop docs from array-like to list-like | {
"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-10-17T13:08:01Z | 2014-06-25T08:44:44Z | 2013-10-17T13:53:10Z | CONTRIBUTOR | null | related #5248
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5252/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5252/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5252.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5252",
"merged_at": "2013-10-17T13:53:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5252.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5252"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5253 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5253/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5253/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5253/events | https://github.com/pandas-dev/pandas/pull/5253 | 21,156,123 | MDExOlB1bGxSZXF1ZXN0OTE3NDUxMA== | 5,253 | DOC/TST: core/generic/drop doc-string and tests | {
"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"
} | 0 | 2013-10-17T14:18:36Z | 2014-07-16T08:35:50Z | 2013-10-17T14:31:21Z | 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/5253/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5253/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5253.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5253",
"merged_at": "2013-10-17T14:31:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5253.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5253"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/5254 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5254/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5254/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5254/events | https://github.com/pandas-dev/pandas/issues/5254 | 21,187,868 | MDU6SXNzdWUyMTE4Nzg2OA== | 5,254 | ENH: Better handling of MultiIndex with Excel | {
"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": "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": "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 | {
"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"
} | [
{
"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_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"
} | 50 | 2013-10-17T21:48:20Z | 2014-02-07T16:03:42Z | 2013-11-06T01:42:23Z | CONTRIBUTOR | null | I'm going to put something together this weekend, even if I can only make it work with one engine. The current MI output for columns is too hard to use. Would be really nice to round-trip it, but I'm less concerned about that.
@jmcnamara if you have any tips they'd certainly be appreciated - I may only do it for Xlsxwriter this weekend. (existing MI summary form can judge where to put whitespace to show that one index covers multiple values. Just need to do the same thing but rather than blank cells, should be a merged cell).
@cancan101 were you interested in this too?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5254/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5254/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5255 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5255/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5255/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5255/events | https://github.com/pandas-dev/pandas/issues/5255 | 21,189,320 | MDU6SXNzdWUyMTE4OTMyMA== | 5,255 | BUG: Google BigQuery API Change | {
"avatar_url": "https://avatars.githubusercontent.com/u/5303784?v=4",
"events_url": "https://api.github.com/users/jacobschaer/events{/privacy}",
"followers_url": "https://api.github.com/users/jacobschaer/followers",
"following_url": "https://api.github.com/users/jacobschaer/following{/other_user}",
"gists_url": "https://api.github.com/users/jacobschaer/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jacobschaer",
"id": 5303784,
"login": "jacobschaer",
"node_id": "MDQ6VXNlcjUzMDM3ODQ=",
"organizations_url": "https://api.github.com/users/jacobschaer/orgs",
"received_events_url": "https://api.github.com/users/jacobschaer/received_events",
"repos_url": "https://api.github.com/users/jacobschaer/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jacobschaer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jacobschaer/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jacobschaer"
} | [
{
"color": "0052cc",
"default": false,
"description": "pandas-gbq compatability",
"id": 57351315,
"name": "IO Google",
"node_id": "MDU6TGFiZWw1NzM1MTMxNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google"
}
] | 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-10-17T22:17:00Z | 2013-10-21T18:00:29Z | 2013-10-21T18:00:29Z | CONTRIBUTOR | null | This is a placeholder for a commit I'm working on to resolve a recently introduced API bug with `pandas.io.gbq`. Basically, the module fails to handle result pagination properly, so result sets are limied to 10k rows. When #4140 was pulled, we were told by Google that this would be a backend fix that would not require changes on our parts. Unfortunately, there were some issues with bq.py (v 2.0.15) which we listed as a requirement for this package, so we will be needing to up that to v2.0.16 and fix some compatibility bugs around new code introduced. To reiterate, the only mandatory change at this point is upping the bq.py requirement `easy_install --upgrade bigquery`, though the 10k result set bug is crippling in our opinion so we're making it a high priority to fix.
See: http://stackoverflow.com/questions/19145587/bq-py-not-paging-results/19260506?noredirect=1#comment28771950_19260506
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5255/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5255/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5256 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5256/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5256/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5256/events | https://github.com/pandas-dev/pandas/issues/5256 | 21,191,260 | MDU6SXNzdWUyMTE5MTI2MA== | 5,256 | use of iloc with heterogeneous DataFrame coerces dtype? | {
"avatar_url": "https://avatars.githubusercontent.com/u/738893?v=4",
"events_url": "https://api.github.com/users/jason-s/events{/privacy}",
"followers_url": "https://api.github.com/users/jason-s/followers",
"following_url": "https://api.github.com/users/jason-s/following{/other_user}",
"gists_url": "https://api.github.com/users/jason-s/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jason-s",
"id": 738893,
"login": "jason-s",
"node_id": "MDQ6VXNlcjczODg5Mw==",
"organizations_url": "https://api.github.com/users/jason-s/orgs",
"received_events_url": "https://api.github.com/users/jason-s/received_events",
"repos_url": "https://api.github.com/users/jason-s/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jason-s/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jason-s/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jason-s"
} | [] | closed | false | null | [] | null | 6 | 2013-10-17T23:00:50Z | 2013-10-18T12:23:31Z | 2013-10-18T12:23:31Z | NONE | null | I'm using pandas 0.11.0 and numpy 1.7.1 in Anaconda Python 1.6.0.
The `iloc` method seems to coerce dtype of values in some cases. For example:
```
x5 = pd.DataFrame(index=['A','B','C'],columns=['foo','bar','baz'])
x5.foo = np.int16([-1,-2,-3])
x5.bar = np.uint16([1,2,3])
x5.baz = np.uint32([100000,200000,300000])
print x5
print x5.dtypes
foo bar baz
A -1 1 100000
B -2 2 200000
C -3 3 300000
foo int16
bar uint16
baz uint32
dtype: object
```
So far, so good. Now using `iloc`, it seems to cause type coercion when a single row is selected:
```
print x5.iloc[1:2]
foo bar baz
B -2 2 200000
print x5.iloc[1]
foo 4294967294
bar 2
baz 200000
Name: B, dtype: uint32
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5256/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5256/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5257 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5257/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5257/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5257/events | https://github.com/pandas-dev/pandas/issues/5257 | 21,197,081 | MDU6SXNzdWUyMTE5NzA4MQ== | 5,257 | Column Slicing using Boolean Array | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [] | closed | false | null | [] | null | 1 | 2013-10-18T02:14:27Z | 2013-10-18T02:21:35Z | 2013-10-18T02:21:35Z | CONTRIBUTOR | null | These function as expected:
Rows:
```
In [5]: pd.DataFrame({"A":[1,2],"B":[20,40]}).loc[[1]]
Out[5]:
A B
1 2 40
In [6]: pd.DataFrame({"A":[1,2],"B":[20,40]}).loc[[False, True]]
Out[6]:
A B
1 2 40
```
and these work for columns:
```
In [7]: pd.DataFrame({"A":[1,2],"B":[20,40]})[["B"]]
Out[7]:
B
0 20
1 40
In [8]: pd.DataFrame({"A":[1,2],"B":[20,40]})[[1]]
Out[8]:
B
0 20
1 40
```
but this does not work (as I would expect it to):
```
In [9]: pd.DataFrame({"A":[1,2],"B":[20,40]})[[False, True]]
Out[9]:
A B
1 2 40
```
Is is possible to slice on columns using a boolean array?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5257/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5257/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5258 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5258/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5258/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5258/events | https://github.com/pandas-dev/pandas/pull/5258 | 21,201,782 | MDExOlB1bGxSZXF1ZXN0OTE5ODcxOA== | 5,258 | DOC: changed the term `Vern` to `Versions` to be clearer | {
"avatar_url": "https://avatars.githubusercontent.com/u/1622906?v=4",
"events_url": "https://api.github.com/users/bmu/events{/privacy}",
"followers_url": "https://api.github.com/users/bmu/followers",
"following_url": "https://api.github.com/users/bmu/following{/other_user}",
"gists_url": "https://api.github.com/users/bmu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bmu",
"id": 1622906,
"login": "bmu",
"node_id": "MDQ6VXNlcjE2MjI5MDY=",
"organizations_url": "https://api.github.com/users/bmu/orgs",
"received_events_url": "https://api.github.com/users/bmu/received_events",
"repos_url": "https://api.github.com/users/bmu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bmu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bmu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bmu"
} | [] | closed | false | null | [] | null | 3 | 2013-10-18T05:51:55Z | 2014-07-02T17:29:56Z | 2013-10-20T12:12:22Z | NONE | null | based on this SO question: http://stackoverflow.com/q/19438309/1301710
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5258/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5258/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5258.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5258",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/5258.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5258"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5259 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5259/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5259/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5259/events | https://github.com/pandas-dev/pandas/issues/5259 | 21,207,823 | MDU6SXNzdWUyMTIwNzgyMw== | 5,259 | DOC: docs on website not building | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "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-10-18T09:05:54Z | 2013-12-07T14:16:33Z | 2013-12-07T14:16:33Z | MEMBER | null | The docs of the development version are not updated since a week or so.
I don't exactly know how it is arranged, but are they supposed to build daily?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5259/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5259/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5260 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5260/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5260/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5260/events | https://github.com/pandas-dev/pandas/issues/5260 | 21,235,033 | MDU6SXNzdWUyMTIzNTAzMw== | 5,260 | DataFrame.groupby() causes loss of precision on large integer values | {
"avatar_url": "https://avatars.githubusercontent.com/u/1523816?v=4",
"events_url": "https://api.github.com/users/nisaggarwal/events{/privacy}",
"followers_url": "https://api.github.com/users/nisaggarwal/followers",
"following_url": "https://api.github.com/users/nisaggarwal/following{/other_user}",
"gists_url": "https://api.github.com/users/nisaggarwal/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nisaggarwal",
"id": 1523816,
"login": "nisaggarwal",
"node_id": "MDQ6VXNlcjE1MjM4MTY=",
"organizations_url": "https://api.github.com/users/nisaggarwal/orgs",
"received_events_url": "https://api.github.com/users/nisaggarwal/received_events",
"repos_url": "https://api.github.com/users/nisaggarwal/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nisaggarwal/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nisaggarwal/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nisaggarwal"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] | closed | false | null | [] | {
"closed_at": "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-10-18T18:03:40Z | 2015-03-03T01:41:06Z | 2015-03-03T01:41:06Z | NONE | null | Here's what I've in a dataframe to start with:
``` python
In [298]: g
Out[298]:
ts level
33 1382016600011617669 32
34 1382016600011625872 32
44 1382016600013590377 43
45 1382016600013598606 43
```
Running groupby() causes my 'ts' value to change and causes some loss of precision in the smallest units. My guess would be somewhere internally this column
is converted to a np.float64 and then returned back as an np.int64.
``` python
In [299]: g.groupby('level').last()
Out[299]:
ts
level
32 1382016600011625984
43 1382016600013598720
```
Type information:
``` python
In [300]: g.dtypes
Out[300]:
ts int64
level int64
dtype: object
```
Version info:
``` python
In [303]: pd.__version__
Out[303]: '0.12.0'
In [304]: np.__version__
Out[304]: '1.7.1'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5260/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5260/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5261 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5261/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5261/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5261/events | https://github.com/pandas-dev/pandas/issues/5261 | 21,252,795 | MDU6SXNzdWUyMTI1Mjc5NQ== | 5,261 | Support for numpy strings | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "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": 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"
} | 10 | 2013-10-19T00:25:06Z | 2020-08-06T18:01:55Z | 2020-08-06T18:01:54Z | CONTRIBUTOR | null | This is more of a question than an issue:
why does Pandas use object type rather than the native fixed length numpy strings?
For example:
```
In [24]: np.array(["foo", "baz"])
Out[24]:
array(['foo', 'baz'],
dtype='|S3')
```
but:
```
In [29]: pd.DataFrame({"a":np.array(["foo", "baz"])}).dtypes
Out[29]:
a object
dtype: object
```
| {
"+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/5261/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5261/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5262 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5262/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5262/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5262/events | https://github.com/pandas-dev/pandas/pull/5262 | 21,253,862 | MDExOlB1bGxSZXF1ZXN0OTIyODIyNA== | 5,262 | BUG: Pagination in pandas.io.gbq | {
"avatar_url": "https://avatars.githubusercontent.com/u/5303784?v=4",
"events_url": "https://api.github.com/users/jacobschaer/events{/privacy}",
"followers_url": "https://api.github.com/users/jacobschaer/followers",
"following_url": "https://api.github.com/users/jacobschaer/following{/other_user}",
"gists_url": "https://api.github.com/users/jacobschaer/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jacobschaer",
"id": 5303784,
"login": "jacobschaer",
"node_id": "MDQ6VXNlcjUzMDM3ODQ=",
"organizations_url": "https://api.github.com/users/jacobschaer/orgs",
"received_events_url": "https://api.github.com/users/jacobschaer/received_events",
"repos_url": "https://api.github.com/users/jacobschaer/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jacobschaer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jacobschaer/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jacobschaer"
} | [] | 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-10-19T01:16:07Z | 2014-07-16T08:35:55Z | 2013-10-21T18:00:12Z | CONTRIBUTOR | null | In light of some last minute API changes in Google BigQuery, I have updated our code to function properly. In particular, this fixes a known bug that limited result sets to 10,000. Hopefully we'll have an entirely new version soon that will make better use of Google's reference code and thus be more future proof. Note that bigquery v2.0.17 is new as of today... 2.0.16 tested fine, but they fixed a few important backend things so we went ahead and made the change mandatory in light of the pandas release candidate.
See:
closes https://github.com/pydata/pandas/issues/5255
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5262/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5262/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5262.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5262",
"merged_at": "2013-10-21T18:00:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5262.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5262"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5263 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5263/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5263/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5263/events | https://github.com/pandas-dev/pandas/issues/5263 | 21,259,683 | MDU6SXNzdWUyMTI1OTY4Mw== | 5,263 | Styling groupby boxplots | {
"avatar_url": "https://avatars.githubusercontent.com/u/304487?v=4",
"events_url": "https://api.github.com/users/waltonjones/events{/privacy}",
"followers_url": "https://api.github.com/users/waltonjones/followers",
"following_url": "https://api.github.com/users/waltonjones/following{/other_user}",
"gists_url": "https://api.github.com/users/waltonjones/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/waltonjones",
"id": 304487,
"login": "waltonjones",
"node_id": "MDQ6VXNlcjMwNDQ4Nw==",
"organizations_url": "https://api.github.com/users/waltonjones/orgs",
"received_events_url": "https://api.github.com/users/waltonjones/received_events",
"repos_url": "https://api.github.com/users/waltonjones/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/waltonjones/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/waltonjones/subscriptions",
"type": "User",
"url": "https://api.github.com/users/waltonjones"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 4 | 2013-10-19T09:42:14Z | 2017-07-09T02:32:37Z | 2017-07-09T02:32:37Z | NONE | null | related #4264
The normal matplotlib boxplot command in Python returns a dictionary with keys for the boxes, median, whiskers, fliers, and caps. This makes styling really easy. Pandas.groupby boxplots, however, return an AxesSubplot object. This makes styling the plots more difficult.
I posted this question recently on [Stack Overflow](http://stackoverflow.com/questions/19453994/styling-of-pandas-groupby-boxplots) and eventually came to this solution. I hope it will be useful to others.
```
from numpy.random import rand
import matplotlib.pyplot as plt
import pandas as pd
#2 columns produces an array of 2 matplotlib.axes.AxesSubplot objects
df2 = pd.DataFrame(rand(10,2), columns=['Col1', 'Col2'] )
df2['X'] = pd.Series(['A','B','A','B','A','B','A','B','A','B'])
#1 column produces a single matplotlib.axes.AxesSubplot object
df1 = pd.DataFrame(rand(10), columns=['Col1'] )
df1['X'] = pd.Series(['A','B','A','B','A','B','A','B','A','B'])
def stylable_groupby_boxplot(df, by):
'''
If you plot only one column, boxplot returns a single AxesSubplot object.
If there are several columns, boxplot returns an array of several AxesSubplot objects.
'''
bp = df.boxplot(by=by, grid=False)
bptype = str(type(bp))
if bptype == "<class 'matplotlib.axes.AxesSubplot'>":
cl = bp.get_children()
cl=[item for item in cl if isinstance(item, matplotlib.lines.Line2D)]
bpdict = {}
groups = df.groupby(by).groups.keys()
for i in range(len(groups)):
bpdict[groups[i]] = {'boxes': [], 'caps': [], 'fliers': [], 'medians': [], 'whiskers': []}
bpdict[groups[i]]['boxes'] = [cl[4+8*i]]
bpdict[groups[i]]['caps'] = [cl[2+8*i], cl[3+8*i]]
bpdict[groups[i]]['fliers'] = [cl[6+8*i], cl[7+8*i]]
bpdict[groups[i]]['medians'] = [cl[5+8*i]]
bpdict[groups[i]]['whiskers'] = [cl[0+8*i], cl[1+8*i]]
else:
bpdict = {}
groups = df.groupby(by).groups.keys()
keys = range(len(bp))
for i in keys:
bpdict[keys[i]] = {}
cl = bp[i].get_children()
cl=[item for item in cl if isinstance(item, matplotlib.lines.Line2D)]
for j in range(len(groups)):
bpdict[keys[i]][groups[j]] = {'boxes': [], 'caps': [], 'fliers': [], 'medians': [], 'whiskers': []}
bpdict[keys[i]][groups[j]]['boxes'] = [cl[4+8*j]]
bpdict[keys[i]][groups[j]]['caps'] = [cl[2+8*j], cl[3+8*j]]
bpdict[keys[i]][groups[j]]['fliers'] = [cl[6+8*j], cl[7+8*j]]
bpdict[keys[i]][groups[j]]['medians'] = [cl[5+8*j]]
bpdict[keys[i]][groups[j]]['whiskers'] = [cl[0+8*j], cl[1+8*j]]
return bpdict
bp2 = stylable_groupby_boxplot(df2, by="X")
bp1 = stylable_groupby_boxplot(df1, by="X")
#2 column styling
plt.suptitle("")
plt.setp(bp2[0]['A']['boxes'], color='blue')
plt.setp(bp2[0]['A']['medians'], color='red')
plt.setp(bp2[0]['A']['whiskers'], color='blue')
plt.setp(bp2[0]['A']['fliers'], color='blue')
plt.setp(bp2[0]['A']['caps'], color='blue')
plt.setp(bp2[0]['B']['boxes'], color='red')
plt.setp(bp2[0]['B']['medians'], color='blue')
plt.setp(bp2[0]['B']['whiskers'], color='red')
plt.setp(bp2[0]['B']['fliers'], color='red')
plt.setp(bp2[0]['B']['caps'], color='red')
plt.setp(bp2[1]['A']['boxes'], color='green')
plt.setp(bp2[1]['A']['medians'], color='purple')
plt.setp(bp2[1]['A']['whiskers'], color='green')
plt.setp(bp2[1]['A']['fliers'], color='green')
plt.setp(bp2[1]['A']['caps'], color='green')
plt.setp(bp2[1]['B']['boxes'], color='purple')
plt.setp(bp2[1]['B']['medians'], color='green')
plt.setp(bp2[1]['B']['whiskers'], color='purple')
plt.setp(bp2[1]['B']['fliers'], color='purple')
plt.setp(bp2[1]['B']['caps'], color='purple')
#1 column styling
plt.suptitle("")
plt.setp(bp1['A']['boxes'], color='blue')
plt.setp(bp1['A']['medians'], color='red')
plt.setp(bp1['A']['whiskers'], color='blue')
plt.setp(bp1['A']['fliers'], color='blue')
plt.setp(bp1['A']['caps'], color='blue')
plt.setp(bp1['B']['boxes'], color='red')
plt.setp(bp1['B']['medians'], color='blue')
plt.setp(bp1['B']['whiskers'], color='red')
plt.setp(bp1['B']['fliers'], color='red')
plt.setp(bp1['B']['caps'], color='red')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5263/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5263/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5264 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5264/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5264/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5264/events | https://github.com/pandas-dev/pandas/issues/5264 | 21,263,178 | MDU6SXNzdWUyMTI2MzE3OA== | 5,264 | BUG: groupby sub-selection ignored with some methods | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 30 | 2013-10-19T14:59:21Z | 2014-04-11T14:57:13Z | 2014-04-11T14:57:13Z | CONTRIBUTOR | null | related #6512, #6524, #6346
_Update from @hayd I think these should reference `_selected_obj` rather than `obj`._
Looking through some others, looks these also ignore the selection
- [x] count #6570
- [x] corr #6570
- [x] cummax #6570
- [x] cummin #6570
- [x] cumsum #6570
- [x] cumprod #6570
- [x] describe #6570
- [x] fillna #6570
- [x] quantile #6570
- [x] head #6533
- [x] hist? the output is ok but the plots have all
- [ ] ohlc? possibly fixed with #6570 (resample with ohlc is tested), should this method exist? see #6594
- [x] plot
- [x] rank #6570
- [x] tail #6533
- [x] filter, #6570 (tested in #6593)
- [x] resample, #6570
- [x] nth #6569
- [x] diff/shift, #6570
- [x] all/any #6570
- [x] ffill, #6570
- [x] pct_change #6570
- [x] idxmin/idxmax, #6570
- [x] dtypes #6570
- [ ] apply #6570 (could be tested more / different paths?)
Aggregation functions like (they already _kind_ of do, but they allow bad selections ie column names not in columns, may be sep issue?):
- [x] sum/max/min/median/mean/var/std/.. (not tested)
- [x] agg (not tested)
(these "work" with the described bug)
Atm selecting a column not in df doesn't raise:
- [ ] it should raise a Key Error, #6578
what about `iloc/loc/ix` (current all disabled)?
- [x] iloc (very similar to head/tail)
- [ ] loc/ix (maybe push off for now, this is pretty tricky)
- [x] iterate over all (whitelisted) functions to check they adhere to this
The column selection on a groupby object is being ignored when `.quantile()` is called. So it computes the quantile on all the (numeric) columns and returns the full DataFrame.
``` python
In [92]: t = pd.DataFrame(np.random.randn(10, 4)); t[0] = np.hstack([np.ones(5), np.zeros(5)])
In [95]: t.groupby(0)[[1, 2]].quantile() # shows other cols
Out[95]:
0 1 2 3
0
0 0 0.127152 0.108908 0.369601
1 1 -0.321279 0.265550 -0.382398
In [96]: t[[1, 2]].groupby(t[0]).quantile() # Should be equivalent to:
Out[96]:
1 2
0
0 0.127152 0.108908
1 -0.321279 0.265550
```
Seeing all these, I'm wondering if this is a bug or just how some of the methods are implementer. The [docs](http://pandas.pydata.org/pandas-docs/dev/groupby.html#dataframe-column-selection-in-groupby) don't mention anything about only supporting some methods though.
version: '0.12.0-883-g988d4be'
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5264/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5264/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5265 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5265/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5265/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5265/events | https://github.com/pandas-dev/pandas/pull/5265 | 21,264,907 | MDExOlB1bGxSZXF1ZXN0OTIzMjU0OQ== | 5,265 | TST: test_fast.sh and test_multi.sh should skip 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 | {
"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"
} | 4 | 2013-10-19T16:44:20Z | 2014-07-16T08:35:57Z | 2013-10-19T19:38:22Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5265/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5265/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5265.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5265",
"merged_at": "2013-10-19T19:38:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5265.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5265"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/5266 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5266/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5266/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5266/events | https://github.com/pandas-dev/pandas/pull/5266 | 21,265,007 | MDExOlB1bGxSZXF1ZXN0OTIzMjU5Mg== | 5,266 | BUG: union should not try to sort inplace because platform impls differ as to when sorting occurs for objects that cannot be compared | {
"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": "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 | {
"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": "2014-07-11T00:02:53Z",
"closed_issues": 306,
"created_at": "2014-04-27T23:40:28Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "bug fixes from 0.14.0",
"due_on": "2014-07-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/27",
"id": 641843,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels",
"node_id": "MDk6TWlsZXN0b25lNjQxODQz",
"number": 27,
"open_issues": 0,
"state": "closed",
"title": "0.14.1",
"updated_at": "2014-09-05T10:24:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27"
} | 63 | 2013-10-19T16:49:01Z | 2014-06-15T16:56:32Z | 2014-06-03T13:36:59Z | MEMBER | null | closes #5039
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5266/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5266/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5266.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5266",
"merged_at": "2014-06-03T13:36:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5266.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5266"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5267 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5267/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5267/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5267/events | https://github.com/pandas-dev/pandas/issues/5267 | 21,266,946 | MDU6SXNzdWUyMTI2Njk0Ng== | 5,267 | BUG: groupby get_group should be more datelike friendly | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 0 | 2013-10-19T18:51:04Z | 2014-04-21T12:22:23Z | 2014-04-11T22:33:18Z | CONTRIBUTOR | null | http://stackoverflow.com/questions/19458361/python-pandas-groupby-date-and-accessing-each-group-by-timestamp
```
In [2]: df= pd.DataFrame({'DATE' : ['10-Oct-2013', '10-Oct-2013', '10-Oct-2013', '11-Oct-2013', '11-Oct-2013', '11-Oct-2013'],'VAL' : [1,2,3,4,5,6]})
In [3]: df['DATE'] = pd.to_datetime(df['DATE'])
In [4]: df
Out[4]:
DATE VAL
0 2013-10-10 00:00:00 1
1 2013-10-10 00:00:00 2
2 2013-10-10 00:00:00 3
3 2013-10-11 00:00:00 4
4 2013-10-11 00:00:00 5
5 2013-10-11 00:00:00 6
In [5]: g = df.groupby('DATE')
In [8]: key = g.groups.keys()[0]
In [9]: key
Out[9]: numpy.datetime64('2013-10-09T20:00:00.000000000-0400')
In [10]: g.indices
Out[10]:
{1381363200000000000L: array([0, 1, 2]),
1381449600000000000L: array([3, 4, 5])}
In [11]: g.get_group(key.astype('i8'))
Out[11]:
DATE VAL
0 2013-10-10 00:00:00 1
1 2013-10-10 00:00:00 2
2 2013-10-10 00:00:00 3
```
so works, but not very friendly
in addition on windows, the following is needed for the selection to succeed
`g.get_group(long(key.astype('i8')))`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5267/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5267/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5268 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5268/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5268/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5268/events | https://github.com/pandas-dev/pandas/pull/5268 | 21,268,107 | MDExOlB1bGxSZXF1ZXN0OTIzMzg0Ng== | 5,268 | BUG: Fixed issue #5156: segfault on read_csv | {
"avatar_url": "https://avatars.githubusercontent.com/u/1184478?v=4",
"events_url": "https://api.github.com/users/guyrt/events{/privacy}",
"followers_url": "https://api.github.com/users/guyrt/followers",
"following_url": "https://api.github.com/users/guyrt/following{/other_user}",
"gists_url": "https://api.github.com/users/guyrt/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/guyrt",
"id": 1184478,
"login": "guyrt",
"node_id": "MDQ6VXNlcjExODQ0Nzg=",
"organizations_url": "https://api.github.com/users/guyrt/orgs",
"received_events_url": "https://api.github.com/users/guyrt/received_events",
"repos_url": "https://api.github.com/users/guyrt/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/guyrt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/guyrt/subscriptions",
"type": "User",
"url": "https://api.github.com/users/guyrt"
} | [] | 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-10-19T20:05:43Z | 2014-07-06T15:02:43Z | 2013-10-19T21:13:49Z | CONTRIBUTOR | null | closes #5156
Our c parser was not checking array bounds.
Example:
```
In [1]: from StringIO import StringIO; import pandas as pd
In [2]: data = """\
1,2,3
4,,6
7,8,9
10,11,12\n"""
In [3]: df = pd.read_csv(StringIO(data), header=0, names=['a', 'b', 'c', 'd'], engine='c')
CParserError: Too many columns specified: expected 4 and found 3
```
Previously, this would segfault.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5268/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5268/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5268.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5268",
"merged_at": "2013-10-19T21:13:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5268.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5268"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5269 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5269/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5269/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5269/events | https://github.com/pandas-dev/pandas/issues/5269 | 21,268,966 | MDU6SXNzdWUyMTI2ODk2Ng== | 5,269 | Fix unhelpful "length mismatch" error message on set_axis | {
"avatar_url": "https://avatars.githubusercontent.com/u/171319?v=4",
"events_url": "https://api.github.com/users/akloster/events{/privacy}",
"followers_url": "https://api.github.com/users/akloster/followers",
"following_url": "https://api.github.com/users/akloster/following{/other_user}",
"gists_url": "https://api.github.com/users/akloster/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/akloster",
"id": 171319,
"login": "akloster",
"node_id": "MDQ6VXNlcjE3MTMxOQ==",
"organizations_url": "https://api.github.com/users/akloster/orgs",
"received_events_url": "https://api.github.com/users/akloster/received_events",
"repos_url": "https://api.github.com/users/akloster/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/akloster/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/akloster/subscriptions",
"type": "User",
"url": "https://api.github.com/users/akloster"
} | [
{
"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": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-10-19T21:08:11Z | 2013-10-23T12:35:47Z | 2013-10-23T12:35:47Z | CONTRIBUTOR | null | When trying to change the columns of a DataFrame, I sometimes mess up the number of elements. I was getting this kind of message a few times too often.
```
>>> df = DataFrame({0:[1,2,3], 1:[1,2,3]})
>>> df.columns = df.columns = ['a', 'b', 'c']
Exception: Length mismatch (3 vs 2)
```
When the lists were bigger, I had to consult the source code or do some debugging to remember that the left side of the 'vs' is the length of the new column list.
So I wrote a fix...
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5269/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5269/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5270 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5270/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5270/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5270/events | https://github.com/pandas-dev/pandas/pull/5270 | 21,269,022 | MDExOlB1bGxSZXF1ZXN0OTIzNDI2Nw== | 5,270 | CLN: Fix unhelpful "length mismatch" error message on set_axis | {
"avatar_url": "https://avatars.githubusercontent.com/u/171319?v=4",
"events_url": "https://api.github.com/users/akloster/events{/privacy}",
"followers_url": "https://api.github.com/users/akloster/followers",
"following_url": "https://api.github.com/users/akloster/following{/other_user}",
"gists_url": "https://api.github.com/users/akloster/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/akloster",
"id": 171319,
"login": "akloster",
"node_id": "MDQ6VXNlcjE3MTMxOQ==",
"organizations_url": "https://api.github.com/users/akloster/orgs",
"received_events_url": "https://api.github.com/users/akloster/received_events",
"repos_url": "https://api.github.com/users/akloster/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/akloster/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/akloster/subscriptions",
"type": "User",
"url": "https://api.github.com/users/akloster"
} | [] | 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-10-19T21:11:25Z | 2014-07-24T02:22:25Z | 2013-10-23T12:35:47Z | CONTRIBUTOR | null | closes #5269
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5270/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5270/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5270.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5270",
"merged_at": "2013-10-23T12:35:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5270.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5270"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5271 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5271/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5271/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5271/events | https://github.com/pandas-dev/pandas/pull/5271 | 21,270,476 | MDExOlB1bGxSZXF1ZXN0OTIzNDg5MA== | 5,271 | Added handling for v3 advanced segment ids which aren't just ints as of July 15th | {
"avatar_url": "https://avatars.githubusercontent.com/u/29409?v=4",
"events_url": "https://api.github.com/users/jcbozonier/events{/privacy}",
"followers_url": "https://api.github.com/users/jcbozonier/followers",
"following_url": "https://api.github.com/users/jcbozonier/following{/other_user}",
"gists_url": "https://api.github.com/users/jcbozonier/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jcbozonier",
"id": 29409,
"login": "jcbozonier",
"node_id": "MDQ6VXNlcjI5NDA5",
"organizations_url": "https://api.github.com/users/jcbozonier/orgs",
"received_events_url": "https://api.github.com/users/jcbozonier/received_events",
"repos_url": "https://api.github.com/users/jcbozonier/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jcbozonier/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jcbozonier/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jcbozonier"
} | [] | 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"
} | 21 | 2013-10-19T23:02:49Z | 2014-06-14T07:09:34Z | 2013-10-22T04:06:16Z | CONTRIBUTOR | null | The old int based advanced segment ids are deprecated. The new segment ids are alphanumeric. I know from experimentation that their form includes alphanumeric and alphanumeric+hyphen. Updated code for both
cases. Reference: https://developers.google.com/analytics/devguides/reporting/core/v3/changelog
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5271/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5271/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5271.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5271",
"merged_at": "2013-10-22T04:06:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5271.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5271"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5272 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5272/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5272/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5272/events | https://github.com/pandas-dev/pandas/issues/5272 | 21,270,829 | MDU6SXNzdWUyMTI3MDgyOQ== | 5,272 | BUG: Selecting a column from a data frame sometimes returns a series and sometimes returns a data frame | {
"avatar_url": "https://avatars.githubusercontent.com/u/2380127?v=4",
"events_url": "https://api.github.com/users/jobevers/events{/privacy}",
"followers_url": "https://api.github.com/users/jobevers/followers",
"following_url": "https://api.github.com/users/jobevers/following{/other_user}",
"gists_url": "https://api.github.com/users/jobevers/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jobevers",
"id": 2380127,
"login": "jobevers",
"node_id": "MDQ6VXNlcjIzODAxMjc=",
"organizations_url": "https://api.github.com/users/jobevers/orgs",
"received_events_url": "https://api.github.com/users/jobevers/received_events",
"repos_url": "https://api.github.com/users/jobevers/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jobevers/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jobevers/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jobevers"
} | [] | closed | false | null | [] | null | 6 | 2013-10-19T23:33:22Z | 2013-10-20T05:14:54Z | 2013-10-20T05:14:54Z | NONE | null | With pandas version 0.12:
In [3]: pandas.version.version
Out[3]: '0.12.0'
## Code to reproduce:
``` python
import collections
import pandas as pd
import numpy as np
cols = map(str, np.unique(np.random.randint(0, 1000000, 200)))
index = map(str, np.unique(np.random.randint(0, 1000000, 5000)))
df = pd.DataFrame(np.random.randint(0,5,(len(index), len(cols))),
index=index, columns=cols)
types = []
for _ in xrange(1000):
subcols = np.random.choice(cols, 10)
subindex = np.random.choice(index, 400)
t = df.loc[subindex, subcols]
if type(t[subcols[0]]) == pd.core.series.Series:
types.append('Series')
elif type(t[subcols[0]]) == pd.core.frame.DataFrame:
types.append('Frame')
else:
raise Exception()
print collections.Counter(types)
```
---
About 20% of the time the result is a DataFrame and the other 80% is a Series
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5272/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5272/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5273 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5273/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5273/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5273/events | https://github.com/pandas-dev/pandas/issues/5273 | 21,271,692 | MDU6SXNzdWUyMTI3MTY5Mg== | 5,273 | Change names of MultiIndex Index of a Dataframe | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "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"
} | 4 | 2013-10-20T00:54:23Z | 2014-04-09T12:27:47Z | 2014-04-09T12:27:47Z | CONTRIBUTOR | null | How do I change the names of the various levels on a MultiIndex? How do I do so NOT in place (i.e returning a new Dataframe)?
For example I have:
```
d1 d2 d3 d4
u1 u2 u3
Good Things C 1 1 1 1
R 1 1 1 1
Bad Things C 1 1 1 1
T 1 1 1 1
Okay Things N B 1 1 1 1
D 1 1 1 1
B 1 1 1 1
D 1 1 1 1
```
and I want to change the u1, u2, u3.
Currently I can change the names in place using:
```
df.index.names = ['a1', 'a2', 'a3']
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5273/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5273/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5274 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5274/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5274/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5274/events | https://github.com/pandas-dev/pandas/issues/5274 | 21,272,705 | MDU6SXNzdWUyMTI3MjcwNQ== | 5,274 | Finding the max value for a hierarchy level over another level | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [] | closed | false | null | [] | null | 1 | 2013-10-20T02:32:51Z | 2013-10-20T21:57:12Z | 2013-10-20T21:57:12Z | CONTRIBUTOR | null | Let's say I have a DataFrame like this:
```
l1 1 2
l2 1 13 99 89
0 1 2 2 1
```
and for each value of l1, I want to find the corresponding max value amongst the l2 values under that l1 value. Is there an easy way to do this using groupby?
so in the above example it would be 1->2 and 2->99
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5274/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5274/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5275 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5275/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5275/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5275/events | https://github.com/pandas-dev/pandas/issues/5275 | 21,273,355 | MDU6SXNzdWUyMTI3MzM1NQ== | 5,275 | reset_index for columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "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": "be21f2",
"default": false,
"description": "May be closeable, needs more eyeballs",
"id": 2365504893,
"name": "Closing Candidate",
"node_id": "MDU6TGFiZWwyMzY1NTA0ODkz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate"
}
] | 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"
} | 5 | 2013-10-20T03:50:55Z | 2021-03-21T15:51:01Z | 2021-03-21T15:50:10Z | CONTRIBUTOR | null | Is there a reset_index equivalent for the column headings? In other words, if the column names are an MultiIndex, how would I drop one of the levels?
| {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5275/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5275/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5276 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5276/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5276/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5276/events | https://github.com/pandas-dev/pandas/pull/5276 | 21,274,142 | MDExOlB1bGxSZXF1ZXN0OTIzNjM4Mw== | 5,276 | CLN: Remove unused ValuesProperty class. | {
"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"
} | 1 | 2013-10-20T05:18:48Z | 2014-07-16T08:36:09Z | 2013-10-20T22:46:04Z | 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/5276/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5276/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5276.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5276",
"merged_at": "2013-10-20T22:46:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5276.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5276"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/5277 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5277/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5277/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5277/events | https://github.com/pandas-dev/pandas/pull/5277 | 21,279,434 | MDExOlB1bGxSZXF1ZXN0OTIzODAzMw== | 5,277 | DOC: changed the term "Vern" to "Version" to be clearer | {
"avatar_url": "https://avatars.githubusercontent.com/u/1622906?v=4",
"events_url": "https://api.github.com/users/bmu/events{/privacy}",
"followers_url": "https://api.github.com/users/bmu/followers",
"following_url": "https://api.github.com/users/bmu/following{/other_user}",
"gists_url": "https://api.github.com/users/bmu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bmu",
"id": 1622906,
"login": "bmu",
"node_id": "MDQ6VXNlcjE2MjI5MDY=",
"organizations_url": "https://api.github.com/users/bmu/orgs",
"received_events_url": "https://api.github.com/users/bmu/received_events",
"repos_url": "https://api.github.com/users/bmu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bmu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bmu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bmu"
} | [] | closed | false | null | [] | {
"closed_at": "2014-02-03T05:17:36Z",
"closed_issues": 314,
"created_at": "2013-08-26T22:11:58Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
},
"description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.",
"due_on": "2014-02-04T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/23",
"id": 412013,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels",
"node_id": "MDk6TWlsZXN0b25lNDEyMDEz",
"number": 23,
"open_issues": 0,
"state": "closed",
"title": "0.13.1",
"updated_at": "2014-02-03T05:18:00Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23"
} | 1 | 2013-10-20T12:33:05Z | 2014-07-10T12:11:16Z | 2014-01-01T03:20:48Z | NONE | null | Second attempt to change a single word
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5277/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5277/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5277.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5277",
"merged_at": "2014-01-01T03:20:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5277.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5277"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5278 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5278/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5278/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5278/events | https://github.com/pandas-dev/pandas/issues/5278 | 21,282,028 | MDU6SXNzdWUyMTI4MjAyOA== | 5,278 | drop_level does not show up as arg for DataFrame.xs on api page | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [] | closed | false | null | [] | null | 2 | 2013-10-20T15:44:57Z | 2013-10-20T16:05:53Z | 2013-10-20T16:05:53Z | CONTRIBUTOR | null | On the API page (http://pandas.pydata.org/pandas-docs/dev/api.html) `drop_level` does not show up as an argument to `DataFrame.xs`. It does show up here: http://pandas.pydata.org/pandas-docs/dev/generated/pandas.DataFrame.xs.html#pandas.DataFrame.xs
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5278/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5278/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5279 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5279/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5279/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5279/events | https://github.com/pandas-dev/pandas/issues/5279 | 21,282,215 | MDU6SXNzdWUyMTI4MjIxNQ== | 5,279 | New in version 0.13 for "Setting index metadata" | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [] | closed | false | null | [] | null | 4 | 2013-10-20T15:55:59Z | 2013-10-20T17:09:48Z | 2013-10-20T16:19:02Z | CONTRIBUTOR | null | This section: http://pandas.pydata.org/pandas-docs/dev/indexing.html#setting-index-metadata-name-s-levels-labels makes no mention of "new in version 0.13".
I believe that many of those methods were recently added.
For example on v12:
```
AttributeError: 'MultiIndex' object has no attribute 'set_names'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5279/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5279/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5280 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5280/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5280/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5280/events | https://github.com/pandas-dev/pandas/issues/5280 | 21,282,460 | MDU6SXNzdWUyMTI4MjQ2MA== | 5,280 | DOC: MultiIndex Indexing Using Slices | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "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"
} | 10 | 2013-10-20T16:09:30Z | 2014-03-30T14:46:04Z | 2014-03-30T14:46:04Z | CONTRIBUTOR | null | I have the following `DataFrame`:
```
t1 t2
b1 b1
i1 1 1
```
which I can index like this:
```
In [139]: df["t1"]
Out[139]:
b1
i1 1
In [140]: df["t1","b1"]
Out[140]:
i1 1
Name: (t1, b1), dtype: int64
In [141]: df["t1"]["b1"]
Out[141]:
i1 1
Name: b1, dtype: int64
```
I would expect this to work, but ti does not:
```
In [142]: df[:]["b1"]
KeyError: 'b1'
```
as well as this (which also raises an unhelpful error message):
```
In [143]: df[:,"b1"]
TypeError:
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5280/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5280/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5281 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5281/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5281/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5281/events | https://github.com/pandas-dev/pandas/pull/5281 | 21,282,623 | MDExOlB1bGxSZXF1ZXN0OTIzOTI2OA== | 5,281 | DOC: Added versionadded for "Setting index metadata" | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [] | closed | false | null | [] | null | 1 | 2013-10-20T16:17:39Z | 2014-07-12T14:44:36Z | 2013-10-20T16:19:02Z | CONTRIBUTOR | null | Closes #5279
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5281/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5281/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5281.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5281",
"merged_at": "2013-10-20T16:19:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5281.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5281"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5282 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5282/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5282/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5282/events | https://github.com/pandas-dev/pandas/pull/5282 | 21,283,294 | MDExOlB1bGxSZXF1ZXN0OTIzOTUxNw== | 5,282 | DOC: add some missing entries to api docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [] | closed | false | null | [] | null | 2 | 2013-10-20T16:59:55Z | 2014-07-16T08:36:12Z | 2013-10-20T21:36:23Z | MEMBER | null | Thanks to @JanSchulz for his notebook.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5282/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5282/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5282.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5282",
"merged_at": "2013-10-20T21:36:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5282.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5282"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5283 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5283/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5283/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5283/events | https://github.com/pandas-dev/pandas/pull/5283 | 21,284,042 | MDExOlB1bGxSZXF1ZXN0OTIzOTc5Ng== | 5,283 | API: Add equals method to NDFrames. | {
"avatar_url": "https://avatars.githubusercontent.com/u/443776?v=4",
"events_url": "https://api.github.com/users/unutbu/events{/privacy}",
"followers_url": "https://api.github.com/users/unutbu/followers",
"following_url": "https://api.github.com/users/unutbu/following{/other_user}",
"gists_url": "https://api.github.com/users/unutbu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/unutbu",
"id": 443776,
"login": "unutbu",
"node_id": "MDQ6VXNlcjQ0Mzc3Ng==",
"organizations_url": "https://api.github.com/users/unutbu/orgs",
"received_events_url": "https://api.github.com/users/unutbu/received_events",
"repos_url": "https://api.github.com/users/unutbu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/unutbu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/unutbu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/unutbu"
} | [] | 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"
} | 85 | 2013-10-20T17:49:45Z | 2014-10-01T22:01:28Z | 2014-01-24T21:43:37Z | CONTRIBUTOR | null | Also adds `array_equivalent`, which
is similar to `np.array_equal` except that it handles object arrays and
treats NaNs in corresponding locations as equal.
closes https://github.com/pydata/pandas/issues/5183
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5283/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5283/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5283.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5283",
"merged_at": "2014-01-24T21:43:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5283.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5283"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5284 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5284/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5284/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5284/events | https://github.com/pandas-dev/pandas/issues/5284 | 21,284,853 | MDU6SXNzdWUyMTI4NDg1Mw== | 5,284 | Binary operators between DataFrame and Series object doesn't seem to work | {
"avatar_url": "https://avatars.githubusercontent.com/u/789385?v=4",
"events_url": "https://api.github.com/users/liori/events{/privacy}",
"followers_url": "https://api.github.com/users/liori/followers",
"following_url": "https://api.github.com/users/liori/following{/other_user}",
"gists_url": "https://api.github.com/users/liori/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/liori",
"id": 789385,
"login": "liori",
"node_id": "MDQ6VXNlcjc4OTM4NQ==",
"organizations_url": "https://api.github.com/users/liori/orgs",
"received_events_url": "https://api.github.com/users/liori/received_events",
"repos_url": "https://api.github.com/users/liori/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/liori/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/liori/subscriptions",
"type": "User",
"url": "https://api.github.com/users/liori"
} | [
{
"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"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"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": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 27 | 2013-10-20T18:38:26Z | 2019-10-05T23:03:29Z | 2019-10-05T23:03:29Z | NONE | null | related similar operation
http://stackoverflow.com/questions/19484344/how-do-i-use-a-specific-columns-value-in-a-pandas-dataframe-where-clause/19494873#19494873
http://stackoverflow.com/questions/19507088/filtering-a-pandas-dataframe-without-removing-rows/19516869#19516869
http://stackoverflow.com/q/21627926/190597
This should be a bit more intuitive
```
In [59]: data = """ A B C D
1/1 0 1 0 1
1/2 2 1 1 1
1/3 3 0 1 0
1/4 1 0 1 2
1/5 1 0 1 1
1/6 2 0 2 1
1/7 3 5 2 3"""
In [60]: df = read_csv(StringIO(data),sep='\s+')
In [61]: df
Out[61]:
A B C D
1/1 0 1 0 1
1/2 2 1 1 1
1/3 3 0 1 0
1/4 1 0 1 2
1/5 1 0 1 1
1/6 2 0 2 1
1/7 3 5 2 3
In [62]: df.where((df>df.shift(1)).values & DataFrame(df.D==1).values)
Out[62]:
A B C D
1/1 NaN NaN NaN NaN
1/2 2 NaN 1 NaN
1/3 NaN NaN NaN NaN
1/4 NaN NaN NaN NaN
1/5 NaN NaN NaN NaN
1/6 2 NaN 2 NaN
1/7 NaN NaN NaN NaN
```
Given that normal binary operators like addition or logical `and` work well between a pair of Series objects, or between a pair of DataFrame objects (returning a element-wise addition/conjuction), I found it surprising that I cannot do the same between a Series object and a DataFrame object.
Here's a demonstration of what doesn't work now and what would be the expected result: http://nbviewer.ipython.org/urls/dl.dropboxusercontent.com/u/52886258/000-qdoqud/Untitled0.ipynb
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5284/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5284/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5285 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5285/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5285/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5285/events | https://github.com/pandas-dev/pandas/issues/5285 | 21,287,109 | MDU6SXNzdWUyMTI4NzEwOQ== | 5,285 | pandas.DataFrame.sort doc missing column param | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "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": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 5 | 2013-10-20T20:51:34Z | 2014-04-09T12:29:18Z | 2014-04-09T12:29:13Z | CONTRIBUTOR | null | The `column` param is undocumented for `pandas.DataFrame.sort`:
http://pandas.pydata.org/pandas-docs/dev/generated/pandas.DataFrame.sort.html
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5285/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5285/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5286 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5286/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5286/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5286/events | https://github.com/pandas-dev/pandas/issues/5286 | 21,287,388 | MDU6SXNzdWUyMTI4NzM4OA== | 5,286 | Phantom Index when NaN in MultiIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"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": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 13 | 2013-10-20T21:07:01Z | 2019-12-26T00:25:35Z | 2019-12-26T00:25:35Z | CONTRIBUTOR | null | Using the following:
```
csv_str = """u1,u2,u3,d1,d2,d3,d4
Good Things,C,,1,1,1,1
Good Things,R,,1,1,1,1
Bad Things,C,,1,1,1,1
Bad Things,T,,1,1,1,1
Okay Things,N,B,1,1,1,1
Okay Things,N,D,1,1,1,1
Okay Things,B,,1,1,1,1
Okay Things,D,,1,1,1,1"""
d_nan = pd.read_csv(StringIO.StringIO(csv_str), na_filter=False,index_col=[0,1,2])
d_no_nan = pd.read_csv(StringIO.StringIO(csv_str), na_filter=False,index_col=[0,1,2],na_values=[], keep_default_na=False)
```
If I have the following DataFrame:
```
In [63]: d_nan
Out[63]:
d1 d2 d3 d4
u1 u2 u3
Good Things C NaN 1 1 1 1
R NaN 1 1 1 1
Bad Things C NaN 1 1 1 1
T NaN 1 1 1 1
Okay Things N B 1 1 1 1
D 1 1 1 1
B NaN 1 1 1 1
D NaN 1 1 1 1
```
and then I try to use `loc` on the index:
```
In [64]: d_nan.loc["Good Things"]
Out[64]:
d1 d2 d3 d4
u2 u3
C NaN 1 1 1 1
R NaN 1 1 1 1
```
When I try to `loc` the last level, a mysterious D appears:
```
In [65]: d_nan.loc["Good Things"].loc['C']
Out[65]:
d1 d2 d3 d4
u3
D 1 1 1 1
```
if d instead looks like (no NaNs):
```
In [67]: d_no_nan
Out[67]:
d1 d2 d3 d4
u1 u2 u3
Good Things C 1 1 1 1
R 1 1 1 1
Bad Things C 1 1 1 1
T 1 1 1 1
Okay Things N B 1 1 1 1
D 1 1 1 1
B 1 1 1 1
D 1 1 1 1
```
then I have no problems:
```
In [68]: d_no_nan.loc["Good Things"].loc['C']
Out[68]:
d1 d2 d3 d4
u3
1 1 1 1
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5286/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5286/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5287 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5287/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5287/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5287/events | https://github.com/pandas-dev/pandas/pull/5287 | 21,290,775 | MDExOlB1bGxSZXF1ZXN0OTI0MjYyMg== | 5,287 | DOC: expand JSON docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/107748?v=4",
"events_url": "https://api.github.com/users/Komnomnomnom/events{/privacy}",
"followers_url": "https://api.github.com/users/Komnomnomnom/followers",
"following_url": "https://api.github.com/users/Komnomnomnom/following{/other_user}",
"gists_url": "https://api.github.com/users/Komnomnomnom/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Komnomnomnom",
"id": 107748,
"login": "Komnomnomnom",
"node_id": "MDQ6VXNlcjEwNzc0OA==",
"organizations_url": "https://api.github.com/users/Komnomnomnom/orgs",
"received_events_url": "https://api.github.com/users/Komnomnomnom/received_events",
"repos_url": "https://api.github.com/users/Komnomnomnom/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Komnomnomnom/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Komnomnomnom/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Komnomnomnom"
} | [] | closed | false | null | [] | null | 1 | 2013-10-21T00:33:13Z | 2014-07-16T08:36:20Z | 2013-10-21T00:41:26Z | CONTRIBUTOR | null | closes #4703
Expanded JSON docs to add more detail about the different orient options and the use of the numpy param when decoding.
Feedback welcome.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5287/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5287/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5287.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5287",
"merged_at": "2013-10-21T00:41:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5287.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5287"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5288 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5288/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5288/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5288/events | https://github.com/pandas-dev/pandas/issues/5288 | 21,294,858 | MDU6SXNzdWUyMTI5NDg1OA== | 5,288 | API: Poor error message on colspec validation. | {
"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": "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": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "5319e7",
"default": false,
"description": "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": "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"
} | 5 | 2013-10-21T04:09:17Z | 2014-02-19T17:41:28Z | 2014-02-19T17:41:28Z | CONTRIBUTOR | null | AssertionError bubbling up to the user - ruroh:
``` python
from io import StringIO
data = StringIO(u"""
121301234
121300123
121300012
""")
pd.read_fwf(data, colspecs=[4, 5])
```
Ends up with an AssertionError:
```
/opt/anaconda/envs/np17py27-1.5/lib/python2.7/site-packages/pandas/io/parsers.pyc in __init__(self, f, colspecs, filler, thousands)
1771 assert isinstance(colspecs, (tuple, list))
1772 for colspec in colspecs:
-> 1773 assert isinstance(colspec, (tuple, list))
1774 assert len(colspec) == 2
1775 assert isinstance(colspec[0], int)
AssertionError:
```
Low priority but we should fix at some point. Really could be as simple as this in `read_fwf`. `if not all(isinstance(colspec, (tuple, list) and len(colspec) == 2 and isinstance(colspec[0], int) for colspec in colspecs): raise ValueError("colspecs must be 2-tuples of integers")`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5288/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5288/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5289 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5289/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5289/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5289/events | https://github.com/pandas-dev/pandas/issues/5289 | 21,295,319 | MDU6SXNzdWUyMTI5NTMxOQ== | 5,289 | User-facing AssertionError with groupby on list of empty list. | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"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 | [] | null | 5 | 2013-10-21T04:35:44Z | 2019-03-07T21:59:40Z | 2019-03-07T21:59:40Z | CONTRIBUTOR | null | I hesitate to post this, but grouping on a list of empty list yields an AssertionError. It's so edge case I'm not sure it's worth bring up though:
``` python
df = pd.DataFrame(zip(range(10), range(10)), columns=['apple', 'b'])
df.groupby([[]])
# Long traceback yields: AssertionError: Grouper and axis must be same length
```
Came from this SO issue (but it's really only related because of the error message) - http://stackoverflow.com/questions/19483991/how-to-make-grouper-and-axis-the-same-length
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5289/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5289/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5290 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5290/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5290/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5290/events | https://github.com/pandas-dev/pandas/issues/5290 | 21,316,891 | MDU6SXNzdWUyMTMxNjg5MQ== | 5,290 | Series.replace replaces wrong value | {
"avatar_url": "https://avatars.githubusercontent.com/u/81476?v=4",
"events_url": "https://api.github.com/users/fonnesbeck/events{/privacy}",
"followers_url": "https://api.github.com/users/fonnesbeck/followers",
"following_url": "https://api.github.com/users/fonnesbeck/following{/other_user}",
"gists_url": "https://api.github.com/users/fonnesbeck/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fonnesbeck",
"id": 81476,
"login": "fonnesbeck",
"node_id": "MDQ6VXNlcjgxNDc2",
"organizations_url": "https://api.github.com/users/fonnesbeck/orgs",
"received_events_url": "https://api.github.com/users/fonnesbeck/received_events",
"repos_url": "https://api.github.com/users/fonnesbeck/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fonnesbeck/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fonnesbeck/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fonnesbeck"
} | [] | closed | false | null | [] | null | 4 | 2013-10-21T13:59:08Z | 2013-10-21T15:26:16Z | 2013-10-21T15:26:16Z | NONE | null | I'm running into an issue with `replace` whereby one of the strings that I am using as a key in a replacement dict is not being replaced with the corresponding value. Here is a screen shot:

Notice that the second value of 0.5 is not in the replacement Series, even though the element is in the original. I have checked for whitespace issues. I have also tried using integer values instead of floats, but that did not work either.
[Here is the Series I am using](http://cl.ly/S4WZ)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5290/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5290/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5291 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5291/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5291/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5291/events | https://github.com/pandas-dev/pandas/issues/5291 | 21,341,709 | MDU6SXNzdWUyMTM0MTcwOQ== | 5,291 | Segmentation fault or UnicodeDecodeError when reading csv-file depending on chunksize. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5740353?v=4",
"events_url": "https://api.github.com/users/Hedendahl/events{/privacy}",
"followers_url": "https://api.github.com/users/Hedendahl/followers",
"following_url": "https://api.github.com/users/Hedendahl/following{/other_user}",
"gists_url": "https://api.github.com/users/Hedendahl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Hedendahl",
"id": 5740353,
"login": "Hedendahl",
"node_id": "MDQ6VXNlcjU3NDAzNTM=",
"organizations_url": "https://api.github.com/users/Hedendahl/orgs",
"received_events_url": "https://api.github.com/users/Hedendahl/received_events",
"repos_url": "https://api.github.com/users/Hedendahl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Hedendahl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Hedendahl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Hedendahl"
} | [
{
"color": "444444",
"default": false,
"description": "Unicode strings",
"id": 36380025,
"name": "Unicode",
"node_id": "MDU6TGFiZWwzNjM4MDAyNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode"
},
{
"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": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 12 | 2013-10-21T20:28:00Z | 2017-11-06T17:42:08Z | 2017-11-06T17:42:08Z | NONE | null | I have encountered an issue with the csv parser, pandas.io.parser.read_csv. I get segmentation fault or UnicodeDecodeError when reading a csv-file in chunks and it seems like that the problem depends on the size of the chunks.
Consider the following code:
``` python
import codecs
import csv
import pandas as pd
def create_csv_file(columns, rows):
csv_file_name = 'csv_test_file.csv'
with codecs.open(csv_file_name, mode='w', encoding='utf_8') as csv_file:
csv_writer = csv.writer(csv_file, delimiter=',')
for row in xrange(rows):
csv_writer.writerow(
[float(row)] * columns)
return csv_file_name
def main():
"""
"""
columns = 20
rows = 10000
chunksize = 999
csv_file_name = create_csv_file(columns, rows)
reader = pd.io.parsers.read_csv(csv_file_name,
header=None,
chunksize=chunksize,
encoding='utf_8')
for x, dataframe in enumerate(reader, 1):
print x * chunksize
if __name__ == "__main__":
main()
```
I get segmentation fault from the attached code, when the chunksize is 999 rows. If the chunksize is decreased to 998 rows, I instead get an UnicodeDecodeError. If the chunksize is increased to 1000 rows there are no problems of reading the csv-file. My first guess was that the problem appears when the last chunk include too few rows, but I was surprised when reading of the csv-file with the following setting,
``` python
columns = 20
rows = 1000
chunksize = 99
```
worked properly.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5291/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5291/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5292 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5292/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5292/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5292/events | https://github.com/pandas-dev/pandas/pull/5292 | 21,344,163 | MDExOlB1bGxSZXF1ZXN0OTI3MTgyOQ== | 5,292 | BUG: DateOffset weekday around DST produces unexpected results. fixes #5175 | {
"avatar_url": "https://avatars.githubusercontent.com/u/704919?v=4",
"events_url": "https://api.github.com/users/adamgreenhall/events{/privacy}",
"followers_url": "https://api.github.com/users/adamgreenhall/followers",
"following_url": "https://api.github.com/users/adamgreenhall/following{/other_user}",
"gists_url": "https://api.github.com/users/adamgreenhall/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/adamgreenhall",
"id": 704919,
"login": "adamgreenhall",
"node_id": "MDQ6VXNlcjcwNDkxOQ==",
"organizations_url": "https://api.github.com/users/adamgreenhall/orgs",
"received_events_url": "https://api.github.com/users/adamgreenhall/received_events",
"repos_url": "https://api.github.com/users/adamgreenhall/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/adamgreenhall/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adamgreenhall/subscriptions",
"type": "User",
"url": "https://api.github.com/users/adamgreenhall"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] | closed | false | null | [] | {
"closed_at": "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"
} | 32 | 2013-10-21T21:04:06Z | 2014-09-10T17:46:09Z | 2014-09-04T22:18:50Z | CONTRIBUTOR | null | closes #5175
Wound up working on this in preparation for the DST change next week. Here's a first pass at a solution and a test.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5292/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5292/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5292.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5292",
"merged_at": "2014-09-04T22:18:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5292.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5292"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5293 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5293/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5293/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5293/events | https://github.com/pandas-dev/pandas/pull/5293 | 21,344,268 | MDExOlB1bGxSZXF1ZXN0OTI3MTg5Ng== | 5,293 | DOC add get_dummies to reshaping.rst | {
"avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4",
"events_url": "https://api.github.com/users/hayd/events{/privacy}",
"followers_url": "https://api.github.com/users/hayd/followers",
"following_url": "https://api.github.com/users/hayd/following{/other_user}",
"gists_url": "https://api.github.com/users/hayd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hayd",
"id": 1931852,
"login": "hayd",
"node_id": "MDQ6VXNlcjE5MzE4NTI=",
"organizations_url": "https://api.github.com/users/hayd/orgs",
"received_events_url": "https://api.github.com/users/hayd/received_events",
"repos_url": "https://api.github.com/users/hayd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hayd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hayd"
} | [] | closed | false | null | [] | {
"closed_at": "2013-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"
} | 3 | 2013-10-21T21:05:33Z | 2014-07-16T08:36:23Z | 2013-10-21T22:23:25Z | CONTRIBUTOR | null | examples shamelessly from Wes' book
closes #4444
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5293/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5293/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5293.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5293",
"merged_at": "2013-10-21T22:23:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5293.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5293"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5294 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5294/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5294/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5294/events | https://github.com/pandas-dev/pandas/issues/5294 | 21,348,883 | MDU6SXNzdWUyMTM0ODg4Mw== | 5,294 | BLD: make all cython imports be name _* (so they are uniform) | {
"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": "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": 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"
} | 6 | 2013-10-21T22:19:32Z | 2018-10-25T03:24:44Z | 2018-10-25T03:24:44Z | CONTRIBUTOR | null | or could move everything to '_*.so'
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5294/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5294/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5295 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5295/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5295/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5295/events | https://github.com/pandas-dev/pandas/pull/5295 | 21,350,911 | MDExOlB1bGxSZXF1ZXN0OTI3NTcyMw== | 5,295 | BLD: 0 13 pickles | {
"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"
} | 7 | 2013-10-21T23:03:54Z | 2014-06-27T17:57:16Z | 2013-10-23T12:32:55Z | CONTRIBUTOR | null | closes #4796
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5295/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5295/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5295.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5295",
"merged_at": "2013-10-23T12:32:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5295.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5295"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5296 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5296/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5296/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5296/events | https://github.com/pandas-dev/pandas/pull/5296 | 21,382,325 | MDExOlB1bGxSZXF1ZXN0OTI5MjkyNg== | 5,296 | DOC: Remove iloc example. | {
"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 | 0 | 2013-10-22T13:40:07Z | 2014-06-27T12:40:04Z | 2013-10-22T13:53:21Z | CONTRIBUTOR | null | Forgot to remove the `isin(iloc=True)` example from indexing.rst.
https://github.com/pydata/pandas/pull/5199#issuecomment-26786681
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5296/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5296/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5296.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5296",
"merged_at": "2013-10-22T13:53:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5296.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5296"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5297 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5297/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5297/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5297/events | https://github.com/pandas-dev/pandas/issues/5297 | 21,415,971 | MDU6SXNzdWUyMTQxNTk3MQ== | 5,297 | io.html.read_html from UTF-8 file-like object (OS X) | {
"avatar_url": "https://avatars.githubusercontent.com/u/952406?v=4",
"events_url": "https://api.github.com/users/phaebz/events{/privacy}",
"followers_url": "https://api.github.com/users/phaebz/followers",
"following_url": "https://api.github.com/users/phaebz/following{/other_user}",
"gists_url": "https://api.github.com/users/phaebz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phaebz",
"id": 952406,
"login": "phaebz",
"node_id": "MDQ6VXNlcjk1MjQwNg==",
"organizations_url": "https://api.github.com/users/phaebz/orgs",
"received_events_url": "https://api.github.com/users/phaebz/received_events",
"repos_url": "https://api.github.com/users/phaebz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phaebz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phaebz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phaebz"
} | [] | closed | false | null | [] | null | 3 | 2013-10-22T20:44:35Z | 2013-10-23T11:40:44Z | 2013-10-23T07:50:00Z | CONTRIBUTOR | null | Running on Python 3.3.2 and OS X 10.8.5
For faster testing, I read *.html files from disk instead of URL with `io.html.read_html()`. Now these files are utf-8 encoded and I can read them directly with
```
open('some.html', encoding='UTF-8').read()
```
However, using `read_html()` with the file name as string gives TB
```
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 859: ordinal not in range(128)
```
Is it planned for `read_html()` to have an argument for this? I thought `lxml` or `bs4` would take care of that - as is the case when the URL is passed to `read_html()`. Am I missing something obvious?
EDIT: I tested this with a Windows 7 machine and it works over there.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5297/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5297/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5298 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5298/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5298/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5298/events | https://github.com/pandas-dev/pandas/pull/5298 | 21,425,132 | MDExOlB1bGxSZXF1ZXN0OTMxMzg1OQ== | 5,298 | BUG: parser can handle a common_format multi-column index (no row index cols), (GH4702) | {
"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"
} | 12 | 2013-10-22T23:40:12Z | 2014-06-22T16:42:49Z | 2013-10-24T13:39:19Z | CONTRIBUTOR | null | closes #4702, should help with #5254
Will handle the format generated by `to_csv` (which has a an 'extra' line for the index names)
and the more 'common' format
```
In [4]: data = """,a,a,a,b,c,c
...: ,q,r,s,t,u,v
...: one,1,2,3,4,5,6
...: two,7,8,9,10,11,12"""
In [6]: read_csv(StringIO(data),header=[0,1],index_col=0)
Out[6]:
a b c
q r s t u v
one 1 2 3 4 5 6
two 7 8 9 10 11 12
```
equiv to
```
df = DataFrame([[1,2,3,4,5,6],[7,8,9,10,11,12]],
index=['one','two'],
columns=MultiIndex.from_tuples([('a','q'),('a','r'),('a','s'),
('b','t'),('c','u'),('c','v')]))
```
no index col
```
In [1]: data = """a,a,a,b,c,c
...: q,r,s,t,u,v
...: 1,2,3,4,5,6
...: 7,8,9,10,11,12"""
In [2]: read_csv(StringIO(data),header=[0,1],index_col=None)
Out[2]:
a b c
q r s t u v
0 1 2 3 4 5 6
1 7 8 9 10 11 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/5298/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5298/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5298.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5298",
"merged_at": "2013-10-24T13:39:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5298.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5298"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5299 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5299/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5299/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5299/events | https://github.com/pandas-dev/pandas/issues/5299 | 21,447,128 | MDU6SXNzdWUyMTQ0NzEyOA== | 5,299 | doc: DataFrame.apply can return several columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/2196196?v=4",
"events_url": "https://api.github.com/users/ohadle/events{/privacy}",
"followers_url": "https://api.github.com/users/ohadle/followers",
"following_url": "https://api.github.com/users/ohadle/following{/other_user}",
"gists_url": "https://api.github.com/users/ohadle/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ohadle",
"id": 2196196,
"login": "ohadle",
"node_id": "MDQ6VXNlcjIxOTYxOTY=",
"organizations_url": "https://api.github.com/users/ohadle/orgs",
"received_events_url": "https://api.github.com/users/ohadle/received_events",
"repos_url": "https://api.github.com/users/ohadle/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ohadle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ohadle/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ohadle"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] | closed | false | null | [] | {
"closed_at": "2018-05-16T03:09:58Z",
"closed_issues": 1645,
"created_at": "2017-10-20T10:17:09Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.22",
"due_on": "2018-05-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/53",
"id": 2853937,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53/labels",
"node_id": "MDk6TWlsZXN0b25lMjg1MzkzNw==",
"number": 53,
"open_issues": 0,
"state": "closed",
"title": "0.23.0",
"updated_at": "2018-08-20T06:48:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53"
} | 6 | 2013-10-23T11:15:46Z | 2018-03-05T14:38:48Z | 2018-03-05T14:38:41Z | NONE | null | Might be worth mentioning in the docs that if "func" returns a Series, the result is a DataFrame.
It took me a while to figure this out (tried with tuples and a dict).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5299/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5299/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5300 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5300/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5300/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5300/events | https://github.com/pandas-dev/pandas/issues/5300 | 21,452,380 | MDU6SXNzdWUyMTQ1MjM4MA== | 5,300 | More tolerant dataframe drop method for multiple columns deletion | {
"avatar_url": "https://avatars.githubusercontent.com/u/1404757?v=4",
"events_url": "https://api.github.com/users/halleygithub/events{/privacy}",
"followers_url": "https://api.github.com/users/halleygithub/followers",
"following_url": "https://api.github.com/users/halleygithub/following{/other_user}",
"gists_url": "https://api.github.com/users/halleygithub/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/halleygithub",
"id": 1404757,
"login": "halleygithub",
"node_id": "MDQ6VXNlcjE0MDQ3NTc=",
"organizations_url": "https://api.github.com/users/halleygithub/orgs",
"received_events_url": "https://api.github.com/users/halleygithub/received_events",
"repos_url": "https://api.github.com/users/halleygithub/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/halleygithub/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/halleygithub/subscriptions",
"type": "User",
"url": "https://api.github.com/users/halleygithub"
} | [
{
"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": "2015-05-11T15:46:03Z",
"closed_issues": 237,
"created_at": "2014-10-07T14:39:07Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.16.0 of course!",
"due_on": "2015-05-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/29",
"id": 816810,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODEw",
"number": 29,
"open_issues": 0,
"state": "closed",
"title": "0.16.1",
"updated_at": "2017-04-16T08:39:48Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29"
} | 5 | 2013-10-23T13:09:37Z | 2015-04-08T14:35:57Z | 2015-04-08T14:35:57Z | NONE | null | Current dataframe.drop will raise error for below code for 'non_exist_in_df_col' :
```
df = df.drop(['col_1', 'col_2', 'non_exist_in_df_col'], axis=1)
```
But below is better for it can accept it.
```
def drop_cols(df, del_cols):
for col in (set(del_cols) & set(df.columns)):
df = df.drop([col], axis=1)
return df
DataFrame.drop_cols = drop_cols
```
And it will be better to add an 'inplace' option to speed up the repeatly df self-assignment.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5300/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5300/timeline | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.