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/10403 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10403/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10403/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10403/events | https://github.com/pandas-dev/pandas/issues/10403 | 89,953,832 | MDU6SXNzdWU4OTk1MzgzMg== | 10,403 | Assign SparseDataFrame row-by-row error | {
"avatar_url": "https://avatars.githubusercontent.com/u/5186410?v=4",
"events_url": "https://api.github.com/users/jakezhaojb/events{/privacy}",
"followers_url": "https://api.github.com/users/jakezhaojb/followers",
"following_url": "https://api.github.com/users/jakezhaojb/following{/other_user}",
"gists_url": "https://api.github.com/users/jakezhaojb/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jakezhaojb",
"id": 5186410,
"login": "jakezhaojb",
"node_id": "MDQ6VXNlcjUxODY0MTA=",
"organizations_url": "https://api.github.com/users/jakezhaojb/orgs",
"received_events_url": "https://api.github.com/users/jakezhaojb/received_events",
"repos_url": "https://api.github.com/users/jakezhaojb/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jakezhaojb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jakezhaojb/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jakezhaojb"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "009800",
"default": false,
"description": "Sparse Data Type",
"id": 49182326,
"name": "Sparse",
"node_id": "MDU6TGFiZWw0OTE4MjMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse"
}
]
| closed | false | null | []
| null | 1 | 2015-06-21T20:01:44Z | 2015-06-22T08:20:09Z | 2015-06-22T08:19:56Z | NONE | null | Hi,
I am trying to initialize a sparseDataFrame into block of memory and assign the value row-by-row, which ends up with:
```
a = np.random.rand(4,5)
b = pd.DataFrame(a)
c = sparse.csr_matrix(a)
d = pd.SparseDataFrame(index=b.index, columns=b.columns)
elem = pd.SparseSeries(c[2].toarray().ravel())
d.loc[[2]] = [ elem ] # Got a NotImplementedError.
elem = pd.Series(c[2].toarray().ravel())
b.loc[[2]] = [ elem ] # Yes.
```
Seems SparseDataFrame can't be assigned row-by-row, in the manner of assigning DataFrame by DataSeries. Any other method to implement 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/10403/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10403/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10404 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10404/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10404/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10404/events | https://github.com/pandas-dev/pandas/issues/10404 | 90,043,624 | MDU6SXNzdWU5MDA0MzYyNA== | 10,404 | PERF: implement timedelta string parsing to c | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"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"
}
]
| 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"
} | 3 | 2015-06-22T08:38:48Z | 2018-08-29T01:24:52Z | 2018-08-29T01:24:52Z | CONTRIBUTOR | null | follows #6755 / #10396
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10404/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10404/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10405 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10405/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10405/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10405/events | https://github.com/pandas-dev/pandas/pull/10405 | 90,096,400 | MDExOlB1bGxSZXF1ZXN0MzgyMzA2NzI= | 10,405 | TST: Use unicode literals in string test | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "444444",
"default": false,
"description": "Unicode strings",
"id": 36380025,
"name": "Unicode",
"node_id": "MDU6TGFiZWwzNjM4MDAyNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 5 | 2015-06-22T13:21:28Z | 2015-06-23T14:12:14Z | 2015-06-23T14:12:07Z | MEMBER | null | Follow-up of #10397. Fix some ugly unicode tests. Shall I fix followings also?
- Remove `compat.u()` completely, because the escaped literal is different from normal unicode literals internally.
- Remove `compat.callable` brought back in v3.2 ([some code](https://github.com/pydata/pandas/blob/master/pandas/core/frame.py#L2307) doesn't use `compat.callable` already)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10405/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10405/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10405.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10405",
"merged_at": "2015-06-23T14:12:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10405.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10405"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10406 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10406/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10406/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10406/events | https://github.com/pandas-dev/pandas/issues/10406 | 90,153,186 | MDU6SXNzdWU5MDE1MzE4Ng== | 10,406 | slicing dataframe with date index is not working properly | {
"avatar_url": "https://avatars.githubusercontent.com/u/8623654?v=4",
"events_url": "https://api.github.com/users/kanatti/events{/privacy}",
"followers_url": "https://api.github.com/users/kanatti/followers",
"following_url": "https://api.github.com/users/kanatti/following{/other_user}",
"gists_url": "https://api.github.com/users/kanatti/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kanatti",
"id": 8623654,
"login": "kanatti",
"node_id": "MDQ6VXNlcjg2MjM2NTQ=",
"organizations_url": "https://api.github.com/users/kanatti/orgs",
"received_events_url": "https://api.github.com/users/kanatti/received_events",
"repos_url": "https://api.github.com/users/kanatti/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kanatti/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kanatti/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kanatti"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "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"
}
]
| 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 | 2015-06-22T16:56:39Z | 2019-03-26T09:56:16Z | 2019-03-26T06:26:21Z | NONE | null | When slicing data time - indexed dataframe with date in string format, it works:
```
df.ix['2014-11-12'].head()
Out[55]:
calories gsr heart-rate skin-temp steps
date
2014-11-12 00:00:00 2.1 7.04640 NaN 85.7750 30
2014-11-12 00:01:00 1.5 7.40759 NaN 85.7375 0
2014-11-12 00:02:00 1.4 7.46220 49 85.5500 0
2014-11-12 00:03:00 1.4 7.55800 NaN 85.5500 0
2014-11-12 00:04:00 1.5 7.52163 NaN 85.5125 0
```
But when i try it with a date object, of datetime class , it slices only for time 00:00:00.
```
d1=datetime.date(2014,11,12)
df.ix[d1]
Out[57]:
calories 2.1000
gsr 7.0464
heart-rate NaN
skin-temp 85.7750
steps 30.0000
Name: 2014-11-12 00:00:00, dtype: float64
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10406/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10406/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10407 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10407/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10407/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10407/events | https://github.com/pandas-dev/pandas/issues/10407 | 90,189,163 | MDU6SXNzdWU5MDE4OTE2Mw== | 10,407 | Pandas stopped working with matplotlib inset-axis | {
"avatar_url": "https://avatars.githubusercontent.com/u/2580073?v=4",
"events_url": "https://api.github.com/users/floriangeigl/events{/privacy}",
"followers_url": "https://api.github.com/users/floriangeigl/followers",
"following_url": "https://api.github.com/users/floriangeigl/following{/other_user}",
"gists_url": "https://api.github.com/users/floriangeigl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/floriangeigl",
"id": 2580073,
"login": "floriangeigl",
"node_id": "MDQ6VXNlcjI1ODAwNzM=",
"organizations_url": "https://api.github.com/users/floriangeigl/orgs",
"received_events_url": "https://api.github.com/users/floriangeigl/received_events",
"repos_url": "https://api.github.com/users/floriangeigl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/floriangeigl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/floriangeigl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/floriangeigl"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2015-11-21T13:47:07Z",
"closed_issues": 216,
"created_at": "2015-09-10T14:30:44Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.17.0 of course!",
"due_on": "2015-11-21T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/37",
"id": 1299459,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37/labels",
"node_id": "MDk6TWlsZXN0b25lMTI5OTQ1OQ==",
"number": 37,
"open_issues": 0,
"state": "closed",
"title": "0.17.1",
"updated_at": "2016-07-21T16:02:53Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37"
} | 6 | 2015-06-22T19:30:44Z | 2015-11-27T12:35:05Z | 2015-11-15T21:05:24Z | NONE | null | Hy,
in older versions pandas was able to plot onto inset-axis of matplotlib. In new versions this support seems to be broken. I was able to execute the following code without any exceptions using an old pandas version. However, the current pandas version (0.16.2) throws an exception. Since the last update of matplotlib is a while back, I think the bug is caused by a recent pandas update. (As far as i remember, I was able to plot onto inset-axis using pandas 0.16.0.)
``` python
import matplotlib.pylab as plt
import pandas as pd
from mpl_toolkits.axes_grid1.inset_locator import zoomed_inset_axes
df = pd.DataFrame(range(10))
ax = df.plot() # OK
axins = zoomed_inset_axes(ax, 2)
df.plot(ax=axins) # Throws exception
```
The thrown exception:
```
/usr/local/lib/python2.7/dist-packages/pandas/tools/plotting.pyc in _handle_shared_axes(axarr, nplots, naxes, nrows, ncols, sharex, sharey)
3324 layout = np.zeros((nrows+1,ncols+1), dtype=np.bool)
3325 for ax in axarr:
-> 3326 layout[ax.rowNum, ax.colNum] = ax.get_visible()
3327
3328 if sharex and nrows > 1:
AttributeError: 'Axes' object has no attribute 'rowNum'
```
Output of pd.show_version():
## INSTALLED VERSIONS
commit: None
python: 2.7.6.final.0
python-bits: 64
OS: Linux
OS-release: 3.13.0-53-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.16.2
nose: 1.3.7
Cython: None
numpy: 1.9.2
scipy: 0.15.1
statsmodels: 0.6.1
IPython: 3.2.0
sphinx: 1.2.2
patsy: 0.3.0
dateutil: 2.4.2
pytz: 2015.4
bottleneck: None
tables: 3.2.0
numexpr: 2.4.3
matplotlib: 1.4.3
openpyxl: 2.0.5
xlrd: 0.9.3
xlwt: 0.7.5
xlsxwriter: None
lxml: 3.3.3
bs4: 4.3.2
html5lib: 0.99999
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: 0.6.2.None
psycopg2: None
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10407/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10407/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10408 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10408/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10408/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10408/events | https://github.com/pandas-dev/pandas/issues/10408 | 90,221,776 | MDU6SXNzdWU5MDIyMTc3Ng== | 10,408 | vectorised setting of timestamp columns fails with python datetime and numpy datetime64 | {
"avatar_url": "https://avatars.githubusercontent.com/u/3305775?v=4",
"events_url": "https://api.github.com/users/seanv507/events{/privacy}",
"followers_url": "https://api.github.com/users/seanv507/followers",
"following_url": "https://api.github.com/users/seanv507/following{/other_user}",
"gists_url": "https://api.github.com/users/seanv507/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/seanv507",
"id": 3305775,
"login": "seanv507",
"node_id": "MDQ6VXNlcjMzMDU3NzU=",
"organizations_url": "https://api.github.com/users/seanv507/orgs",
"received_events_url": "https://api.github.com/users/seanv507/received_events",
"repos_url": "https://api.github.com/users/seanv507/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/seanv507/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/seanv507/subscriptions",
"type": "User",
"url": "https://api.github.com/users/seanv507"
} | [
{
"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": "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-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 13 | 2015-06-22T21:49:54Z | 2015-07-24T13:50:18Z | 2015-07-24T13:50:18Z | NONE | null | ```
import pandas as pd
import numpy as np
import datetime as dt
z=dt.date(2010,11,1)
zs=[z+dt.timedelta(days=r) for r in range(5)]
df=pd.DataFrame({'obj':zs, 'b':pd.Timestamp('2010-10-01'),'c':pd.Timestamp('2010-10-01')})
df.dtypes
#df.loc[0:2,'c']=dt.date(2010,10,12) # causes error: long() argument must be a string or a number, not 'datetime.date
df.loc[0:2,'c']=np.datetime64('2010-10-12') # sets to 1970...
df.at[4,'c']=np.datetime64('2010-10-12') # works
df.loc[0:2,'obj']=np.datetime64('2010-10-12') #works
df.loc[0:2,'obj']=dt.date(2010,10,12)
df
```
| ind | b | c | obj |
| --- | --- | --- | --- |
| 0 | 2010-10-01 | 1970-01-01 | 2010-10-12 |
| 1 | 2010-10-01 | 1970-01-01 | 2010-10-12 |
| 2 | 2010-10-01 | 1970-01-01 | 2010-10-12 |
| 3 | 2010-10-01 | 2010-10-01 | 2010-11-04 |
| 4 | 2010-10-01 | 2010-10-12 | 2010-11-05 |
I am using Pandas 0.16.2
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10408/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10408/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10409 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10409/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10409/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10409/events | https://github.com/pandas-dev/pandas/issues/10409 | 90,249,714 | MDU6SXNzdWU5MDI0OTcxNA== | 10,409 | BUG: merge with categoricals does not preserve categories dtype | {
"avatar_url": "https://avatars.githubusercontent.com/u/1993919?v=4",
"events_url": "https://api.github.com/users/amelio-vazquez-reina/events{/privacy}",
"followers_url": "https://api.github.com/users/amelio-vazquez-reina/followers",
"following_url": "https://api.github.com/users/amelio-vazquez-reina/following{/other_user}",
"gists_url": "https://api.github.com/users/amelio-vazquez-reina/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/amelio-vazquez-reina",
"id": 1993919,
"login": "amelio-vazquez-reina",
"node_id": "MDQ6VXNlcjE5OTM5MTk=",
"organizations_url": "https://api.github.com/users/amelio-vazquez-reina/orgs",
"received_events_url": "https://api.github.com/users/amelio-vazquez-reina/received_events",
"repos_url": "https://api.github.com/users/amelio-vazquez-reina/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/amelio-vazquez-reina/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amelio-vazquez-reina/subscriptions",
"type": "User",
"url": "https://api.github.com/users/amelio-vazquez-reina"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "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": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| 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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
} | 8 | 2015-06-23T00:18:46Z | 2017-03-10T23:06:03Z | 2017-03-10T23:06:03Z | CONTRIBUTOR | null | xref #14351
None of the following merge operations retain the `category` types. Is this expected? How can I keep them?
#### Merging on a `category` type:
Consider the following:
```
A = pd.DataFrame({'X': np.random.choice(['foo', 'bar'],size=(10,)),
'Y': np.random.choice(['one', 'two', 'three'], size=(10,))})
A['X'] = A['X'].astype('category')
B = pd.DataFrame({'X': np.random.choice(['foo', 'bar'],size=(10,)),
'Z': np.random.choice(['jjj', 'kkk', 'sss'], size=(10,))})
B['X'] = B['X'].astype('category')
```
if I do the merge, we end up with:
```
> pd.merge(A, B, on='X').dtypes
X object
Y object
Z object
dtype: object
```
#### Merging on a `non-category` type:
```
A = pd.DataFrame({'X': np.random.choice(['foo', 'bar'],size=(10,)),
'Y': np.random.choice(['one', 'two', 'three'], size=(10,))})
A['Y'] = A['Y'].astype('category')
B = pd.DataFrame({'X': np.random.choice(['foo', 'bar'],size=(10,)),
'Z': np.random.choice(['jjj', 'kkk', 'sss'], size=(10,))})
B['Z'] = B['Z'].astype('category')
```
if I do the merge, we end up with:
```
pd.merge(A, B, on='X').dtypes
X object
Y object
Z object
dtype: object
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10409/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10409/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10410 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10410/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10410/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10410/events | https://github.com/pandas-dev/pandas/issues/10410 | 90,287,393 | MDU6SXNzdWU5MDI4NzM5Mw== | 10,410 | Writing as Excel with a MultiIndex is not yet implemented. | {
"avatar_url": "https://avatars.githubusercontent.com/u/9276593?v=4",
"events_url": "https://api.github.com/users/Owojori/events{/privacy}",
"followers_url": "https://api.github.com/users/Owojori/followers",
"following_url": "https://api.github.com/users/Owojori/following{/other_user}",
"gists_url": "https://api.github.com/users/Owojori/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Owojori",
"id": 9276593,
"login": "Owojori",
"node_id": "MDQ6VXNlcjkyNzY1OTM=",
"organizations_url": "https://api.github.com/users/Owojori/orgs",
"received_events_url": "https://api.github.com/users/Owojori/received_events",
"repos_url": "https://api.github.com/users/Owojori/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Owojori/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Owojori/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Owojori"
} | [
{
"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": "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 | []
| null | 2 | 2015-06-23T04:50:32Z | 2015-06-23T10:35:42Z | 2015-06-23T10:35:32Z | NONE | null | I get this error "NotImplementedError: Writing as Excel with a MultiIndex is not yet implemented.
when running the example below(as described in your site):
"Generating Excel Reports from a Pandas Pivot Table. "
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10410/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10410/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10411 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10411/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10411/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10411/events | https://github.com/pandas-dev/pandas/pull/10411 | 90,322,246 | MDExOlB1bGxSZXF1ZXN0MzgzMTE1NzA= | 10,411 | ENH: tolerance argument for limiting pad, backfill and nearest neighbor reindexing | {
"avatar_url": "https://avatars.githubusercontent.com/u/1217238?v=4",
"events_url": "https://api.github.com/users/shoyer/events{/privacy}",
"followers_url": "https://api.github.com/users/shoyer/followers",
"following_url": "https://api.github.com/users/shoyer/following{/other_user}",
"gists_url": "https://api.github.com/users/shoyer/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/shoyer",
"id": 1217238,
"login": "shoyer",
"node_id": "MDQ6VXNlcjEyMTcyMzg=",
"organizations_url": "https://api.github.com/users/shoyer/orgs",
"received_events_url": "https://api.github.com/users/shoyer/received_events",
"repos_url": "https://api.github.com/users/shoyer/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/shoyer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shoyer/subscriptions",
"type": "User",
"url": "https://api.github.com/users/shoyer"
} | [
{
"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-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 23 | 2015-06-23T08:21:54Z | 2015-08-20T00:47:38Z | 2015-08-18T23:05:06Z | MEMBER | null | xref #9817
This does not entirely solve the floating point precision issues, but gets us part of the way there -- we can explicitly lookup data with a fixed tolerance for nearest neighbor matches.
It is also is useful in its own right, mostly as a simple sanity check to verify that labels are not entirely misaligned.
Example usage:
```
In [2]: df = pd.DataFrame({'x': range(5)})
In [3]: df.reindex([0.1, 1.9, 3.5], method='nearest', max_distance=0.2)
Out[3]:
x
0.1 0
1.9 2
3.5 NaN
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10411/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10411/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10411.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10411",
"merged_at": "2015-08-18T23:05:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10411.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10411"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10412 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10412/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10412/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10412/events | https://github.com/pandas-dev/pandas/issues/10412 | 90,363,980 | MDU6SXNzdWU5MDM2Mzk4MA== | 10,412 | BUG: setting a slice with datetime64 ignores datetime64 resolution | {
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 1 | 2015-06-23T11:40:02Z | 2015-07-24T13:50:18Z | 2015-07-24T13:50:18Z | MEMBER | null | Resulting in 1970 datetimes when using eg `datetime64[D]` resolution (splitted from #10408):
```
In [46]: df=pd.DataFrame({'c':pd.Timestamp('2010-10-01')}, index=range(5))
In [47]: df
Out[47]:
c
0 2010-10-01
1 2010-10-01
2 2010-10-01
3 2010-10-01
4 2010-10-01
In [48]: df.loc[0:2,'c'] = np.datetime64('2010-10-12')
In [49]: df
Out[49]:
c
0 1970-01-01 00:00:00.000014894
1 1970-01-01 00:00:00.000014894
2 1970-01-01 00:00:00.000014894
3 2010-10-01 00:00:00.000000000
4 2010-10-01 00:00:00.000000000
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10412/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10412/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10413 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10413/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10413/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10413/events | https://github.com/pandas-dev/pandas/issues/10413 | 90,411,171 | MDU6SXNzdWU5MDQxMTE3MQ== | 10,413 | BUG: csv w only header and no index_col failing | {
"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": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"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-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 1 | 2015-06-23T14:55:38Z | 2015-09-17T10:43:12Z | 2015-07-07T09:30:45Z | CONTRIBUTOR | null | after this fix https://github.com/pydata/pandas/pull/10302
The following is failing (as `index_col` is `None`)
```
In [9]: data
Out[9]: 'header1,header2\n'
In [10]: read_csv(StringIO(data),iterator=True,index_col=False).read()
TypeError: object of type 'bool' has no len()
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10413/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10413/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10414 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10414/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10414/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10414/events | https://github.com/pandas-dev/pandas/issues/10414 | 90,424,289 | MDU6SXNzdWU5MDQyNDI4OQ== | 10,414 | Documentation: Example missing in NA values by GroupBy | {
"avatar_url": "https://avatars.githubusercontent.com/u/6428892?v=4",
"events_url": "https://api.github.com/users/harshnisar/events{/privacy}",
"followers_url": "https://api.github.com/users/harshnisar/followers",
"following_url": "https://api.github.com/users/harshnisar/following{/other_user}",
"gists_url": "https://api.github.com/users/harshnisar/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/harshnisar",
"id": 6428892,
"login": "harshnisar",
"node_id": "MDQ6VXNlcjY0Mjg4OTI=",
"organizations_url": "https://api.github.com/users/harshnisar/orgs",
"received_events_url": "https://api.github.com/users/harshnisar/received_events",
"repos_url": "https://api.github.com/users/harshnisar/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/harshnisar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/harshnisar/subscriptions",
"type": "User",
"url": "https://api.github.com/users/harshnisar"
} | [
{
"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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 4 | 2015-06-23T15:48:02Z | 2015-07-01T10:58:05Z | 2015-07-01T10:58:05Z | CONTRIBUTOR | null | http://pandas.pydata.org/pandas-docs/stable/missing_data.html#na-values-in-groupby
```
NA groups in GroupBy are automatically excluded. This behavior is consistent with R, for example.
```
I can take this up.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10414/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10414/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10415 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10415/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10415/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10415/events | https://github.com/pandas-dev/pandas/issues/10415 | 90,443,040 | MDU6SXNzdWU5MDQ0MzA0MA== | 10,415 | Add to_fwf support | {
"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": "e99695",
"default": false,
"description": "read_fwf",
"id": 1728902385,
"name": "IO Fixed Width",
"node_id": "MDU6TGFiZWwxNzI4OTAyMzg1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Fixed%20Width"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 1 | 2015-06-23T17:23:30Z | 2021-04-18T07:02:59Z | null | CONTRIBUTOR | null | Right now pandas can read fwf but there is no `to_fwf`.
From [SO](http://stackoverflow.com/questions/16490261/python-pandas-write-dataframe-to-fixed-width-file-to-fwf).
This output format seems similar to what [`numpy.savetxt`](http://docs.scipy.org/doc/numpy/reference/generated/numpy.savetxt.html) handles.
| {
"+1": 9,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 9,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10415/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10415/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10416 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10416/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10416/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10416/events | https://github.com/pandas-dev/pandas/issues/10416 | 90,444,353 | MDU6SXNzdWU5MDQ0NDM1Mw== | 10,416 | Unstack MultiIndex vs consecutive unstack | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "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 | []
| null | 2 | 2015-06-23T17:29:11Z | 2015-06-24T14:26:13Z | 2015-06-23T21:17:38Z | NONE | null | Hello,
If I try to unstack using multiIndex I got some groups divided. However, if I tried to do it by successive unstacking they are correctly grouped. Please see image below

I believe this is due to the fact that the first rows don't have n=3 for "actor" and the corresponding column is added only when it appears in a posterior row. Please note this issue is more related with presentation than performance as both operations yield the same results in subsequent processing (e.g. plotting).
Best!
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10416/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10416/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10417 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10417/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10417/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10417/events | https://github.com/pandas-dev/pandas/issues/10417 | 90,467,700 | MDU6SXNzdWU5MDQ2NzcwMA== | 10,417 | BUG: groupby with levels on duplicated multi-index | {
"avatar_url": "https://avatars.githubusercontent.com/u/1514670?v=4",
"events_url": "https://api.github.com/users/vumaasha/events{/privacy}",
"followers_url": "https://api.github.com/users/vumaasha/followers",
"following_url": "https://api.github.com/users/vumaasha/following{/other_user}",
"gists_url": "https://api.github.com/users/vumaasha/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vumaasha",
"id": 1514670,
"login": "vumaasha",
"node_id": "MDQ6VXNlcjE1MTQ2NzA=",
"organizations_url": "https://api.github.com/users/vumaasha/orgs",
"received_events_url": "https://api.github.com/users/vumaasha/received_events",
"repos_url": "https://api.github.com/users/vumaasha/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vumaasha/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vumaasha/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vumaasha"
} | [
{
"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"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 1 | 2015-06-23T19:10:49Z | 2015-08-08T12:18:12Z | 2015-08-08T12:18:12Z | NONE | null | ```
x = pd.DataFrame({'x':[1,1,3,3],'y':[3,3,5,5]},index=[11,11,12,12])
y = x.stack()
print(y)
print(y.groupby(level=[0,1]).sum())
```
Ouput
```
11 x 1
y 3
x 1
y 3
12 x 3
y 5
x 3
y 5
dtype: int64
11 x 1
y 3
x 1
y 3
12 x 3
y 5
x 3
y 5
dtype: int64
```
The stack and group by sum are just the same.
Expected output:
```
11 x 2
11 y 6
12 x 6
12 y 10
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10417/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10417/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10418 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10418/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10418/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10418/events | https://github.com/pandas-dev/pandas/pull/10418 | 90,484,506 | MDExOlB1bGxSZXF1ZXN0MzgzNzk3MzE= | 10,418 | improve documentation for pandas.Series.interpolate | {
"avatar_url": "https://avatars.githubusercontent.com/u/5158295?v=4",
"events_url": "https://api.github.com/users/carpevitam/events{/privacy}",
"followers_url": "https://api.github.com/users/carpevitam/followers",
"following_url": "https://api.github.com/users/carpevitam/following{/other_user}",
"gists_url": "https://api.github.com/users/carpevitam/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/carpevitam",
"id": 5158295,
"login": "carpevitam",
"node_id": "MDQ6VXNlcjUxNTgyOTU=",
"organizations_url": "https://api.github.com/users/carpevitam/orgs",
"received_events_url": "https://api.github.com/users/carpevitam/received_events",
"repos_url": "https://api.github.com/users/carpevitam/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/carpevitam/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/carpevitam/subscriptions",
"type": "User",
"url": "https://api.github.com/users/carpevitam"
} | [
{
"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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 3 | 2015-06-23T20:33:59Z | 2015-08-07T10:54:08Z | 2015-08-07T10:54:07Z | CONTRIBUTOR | null | Close #10362 . Specify information on the use of index in pandas.Series.interpolate documentation.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10418/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10418/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10418.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10418",
"merged_at": "2015-08-07T10:54:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10418.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10418"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10419 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10419/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10419/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10419/events | https://github.com/pandas-dev/pandas/pull/10419 | 90,494,564 | MDExOlB1bGxSZXF1ZXN0MzgzODQ5ODY= | 10,419 | BUG: Fix value_counts name handling | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"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": "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-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 2 | 2015-06-23T21:27:25Z | 2015-07-04T12:52:08Z | 2015-06-27T03:51:56Z | MEMBER | null | Closes #10150. Also, made `test_base` have name attributes.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10419/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10419/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10419.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10419",
"merged_at": "2015-06-27T03:51:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10419.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10419"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10420 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10420/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10420/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10420/events | https://github.com/pandas-dev/pandas/issues/10420 | 90,510,737 | MDU6SXNzdWU5MDUxMDczNw== | 10,420 | Pandas Interpolate Does not Handle Empty Values at Front of Series | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "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": "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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 5 | 2015-06-23T22:55:14Z | 2020-11-12T23:44:11Z | 2015-09-01T12:04:25Z | CONTRIBUTOR | null | [This code](https://github.com/pydata/pandas/blob/7d6fb510c1dfdbe7342f32f05ca5fd69b7854081/pandas/core/common.py#L1646) means the interpolator won't handle extrapolating to the front of the Series even though the underlying implementations may have no problem with the extrapolation.
See for example [`UnivariateSpline`](http://docs.scipy.org/doc/scipy-0.15.1/reference/generated/scipy.interpolate.UnivariateSpline.html) whose default behavior is extrapolation.
Interpolation works fine at the end of the Series.
For example:
``` python
s = pd.Series([1, 2, 3, 4, np.nan, 6, np.nan])
s.interpolate(method='spline', order=1)
0 1
1 2
2 3
3 4
4 5
5 6
6 7
dtype: float64
```
but:
``` python
s = pd.Series([np.nan, 2, 3, 4, np.nan, 6, 7])
s.interpolate(method='spline', order=1)
0 NaN
1 2
2 3
3 4
4 5
5 6
6 7
dtype: float64
```
| {
"+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/10420/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10420/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10421 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10421/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10421/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10421/events | https://github.com/pandas-dev/pandas/pull/10421 | 90,513,607 | MDExOlB1bGxSZXF1ZXN0MzgzOTMyNjI= | 10,421 | DOC: DataFrame Properties | {
"avatar_url": "https://avatars.githubusercontent.com/u/1028704?v=4",
"events_url": "https://api.github.com/users/gambogi/events{/privacy}",
"followers_url": "https://api.github.com/users/gambogi/followers",
"following_url": "https://api.github.com/users/gambogi/following{/other_user}",
"gists_url": "https://api.github.com/users/gambogi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gambogi",
"id": 1028704,
"login": "gambogi",
"node_id": "MDQ6VXNlcjEwMjg3MDQ=",
"organizations_url": "https://api.github.com/users/gambogi/orgs",
"received_events_url": "https://api.github.com/users/gambogi/received_events",
"repos_url": "https://api.github.com/users/gambogi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gambogi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gambogi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gambogi"
} | [
{
"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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 5 | 2015-06-23T23:15:39Z | 2015-08-20T15:26:07Z | 2015-08-20T15:26:07Z | CONTRIBUTOR | null | Added explanations for `axes` and `shape`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10421/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10421/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10421.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10421",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10421.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10421"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10422 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10422/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10422/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10422/events | https://github.com/pandas-dev/pandas/pull/10422 | 90,569,390 | MDExOlB1bGxSZXF1ZXN0Mzg0MDg2MzU= | 10,422 | BUG: GH9907 generate_range when start/end has higher resolution than offset | {
"avatar_url": "https://avatars.githubusercontent.com/u/10709573?v=4",
"events_url": "https://api.github.com/users/kawochen/events{/privacy}",
"followers_url": "https://api.github.com/users/kawochen/followers",
"following_url": "https://api.github.com/users/kawochen/following{/other_user}",
"gists_url": "https://api.github.com/users/kawochen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kawochen",
"id": 10709573,
"login": "kawochen",
"node_id": "MDQ6VXNlcjEwNzA5NTcz",
"organizations_url": "https://api.github.com/users/kawochen/orgs",
"received_events_url": "https://api.github.com/users/kawochen/received_events",
"repos_url": "https://api.github.com/users/kawochen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kawochen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kawochen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kawochen"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 3 | 2015-06-24T05:25:20Z | 2015-06-30T10:53:45Z | 2015-06-30T10:53:45Z | CONTRIBUTOR | null | To close #9907
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10422/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10422/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10422.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10422",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10422.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10422"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10423 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10423/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10423/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10423/events | https://github.com/pandas-dev/pandas/pull/10423 | 90,582,262 | MDExOlB1bGxSZXF1ZXN0Mzg0MTE2MjQ= | 10,423 | Removed scikit-timeseries migration docs from FAQ | {
"avatar_url": "https://avatars.githubusercontent.com/u/11003242?v=4",
"events_url": "https://api.github.com/users/ihoegen/events{/privacy}",
"followers_url": "https://api.github.com/users/ihoegen/followers",
"following_url": "https://api.github.com/users/ihoegen/following{/other_user}",
"gists_url": "https://api.github.com/users/ihoegen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ihoegen",
"id": 11003242,
"login": "ihoegen",
"node_id": "MDQ6VXNlcjExMDAzMjQy",
"organizations_url": "https://api.github.com/users/ihoegen/orgs",
"received_events_url": "https://api.github.com/users/ihoegen/received_events",
"repos_url": "https://api.github.com/users/ihoegen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ihoegen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ihoegen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ihoegen"
} | [
{
"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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 6 | 2015-06-24T06:35:24Z | 2015-06-24T10:54:52Z | 2015-06-24T10:53:33Z | CONTRIBUTOR | null | Issue #10281
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10423/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10423/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10423.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10423",
"merged_at": "2015-06-24T10:53:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10423.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10423"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10424 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10424/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10424/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10424/events | https://github.com/pandas-dev/pandas/issues/10424 | 90,588,756 | MDU6SXNzdWU5MDU4ODc1Ng== | 10,424 | csv_read() fails on properly decoding latin-1(i.e. non utf8) encoded file from URL | {
"avatar_url": "https://avatars.githubusercontent.com/u/13018517?v=4",
"events_url": "https://api.github.com/users/BotoKopo/events{/privacy}",
"followers_url": "https://api.github.com/users/BotoKopo/followers",
"following_url": "https://api.github.com/users/BotoKopo/following{/other_user}",
"gists_url": "https://api.github.com/users/BotoKopo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/BotoKopo",
"id": 13018517,
"login": "BotoKopo",
"node_id": "MDQ6VXNlcjEzMDE4NTE3",
"organizations_url": "https://api.github.com/users/BotoKopo/orgs",
"received_events_url": "https://api.github.com/users/BotoKopo/received_events",
"repos_url": "https://api.github.com/users/BotoKopo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/BotoKopo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/BotoKopo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/BotoKopo"
} | [
{
"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": "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"
},
{
"color": "e4a5f1",
"default": false,
"description": "Local or Cloud (AWS, GCS, etc.) IO Issues",
"id": 49381477,
"name": "IO Network",
"node_id": "MDU6TGFiZWw0OTM4MTQ3Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Network"
}
]
| closed | false | null | []
| {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"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": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 4 | 2015-06-24T07:05:36Z | 2020-08-17T18:59:43Z | 2020-08-17T18:59:43Z | NONE | null | ### Problem
Here is a problem that we had with a colleague, working on data available on a ftp (or http) server (internal network, we're sorry we can't have a proper example file to point to).
Reading a csv file (with csv_read) encoded with non utf8 (like latin-1), with special character in header, fails to properly unicode the header when file is accessed through an URL (http or ftp), but **not** when file is local, nor when it's utf-8 (local or distant) file.
The result looks like the file was decoded twice.
An example shoud be clearer.
Let's say we have 2 CSV files (on a distant server), _data.latin1.csv_ and _data.utf8.csv_, encoded in latin-1 and utf-8, and both containing :
```
a,b°
1.1,2.2
```
Then following code :
``` python
import sys
import os.path as op
import pandas as pd
path = "ftp://sorry/I/cant/supply/such/a/path/for/the/example/data.encoding.csv"
for enc in ('latin1', 'utf8') :
f = path.replace('encoding', enc)
data = pd.read_csv(f, encoding=enc)
print("encoding {0} : non-ascii={1} , length={2}".format(enc, data.columns[1].encode('utf8'), len(data.columns[1])))
```
will give :
```
encoding latin1 : non-ascii=b° , length=3
encoding utf8 : non-ascii=b° , length=2
```
This was tested with _Python 2.7.6 + Pandas 0.13.1_ and _Python 3.4.0 + Pandas 0.15.2_ with same result.
Same action on local files will give appropriate result, i.e. like previous 'utf8' encoding output (this REALLY IS a matter of URL+latin1 or anything but utf-8). It looks like data was decoded twice, as we can see in output length as latin1 escape code for '°' is considered as a "normal" character being converted to utf-8.
This test will raise an error ("UnicodeEncodeError: 'ascii' codec can't encode character u'\xb0' in position 3: ordinal not in range(128)") when python engine is used for read_csv() .
### in pandas code
Now, having a look at Pandas' code, I would focus on 2 points in pandas.io.parsers :
- when file is an url, data is opened through urllib (or urllib2), then read, decoded (according to requested encoding) and result is fed into a StringIO stream (Cf. _pandas.io.common.maybe_read_encoded_stream()_ ) ,
- as far as I could trace it, file seems to be decoded later, especially for 'c'-engine in _pandas.io.parsers.CParserWrapper.read()_ method (in fact by __parser.read()_ at the end, which is C-parser)
This would explain the twice decoding scheme when file is url, and normal decoding when file is local.
Furthermore, in pandas.io.common, when replacing (in _maybe_read_encoded_stream()_ function) :
``` python
from pandas.compat import StringIO
...
reader = StringIO(reader.read().decode(encoding, errors))
```
by :
``` python
from pandas.compat import StringIO, BytesIO
...
reader = BytesIO(reader.read())
```
this problem seems to be solved (which is logical when we look at which StringIO/ByteIO functions are pointing to (depending on Python version) and which data they're handling).
So it seems to me that the problem is located at that point, and it would then be a bug.
However, it could be a feature ;-) as I don't know whether there could be side-effects for other cases than the one discussed here, especially if StringIO was intentionally used for a purpose I can't figure out.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10424/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10424/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10425 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10425/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10425/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10425/events | https://github.com/pandas-dev/pandas/issues/10425 | 90,613,827 | MDU6SXNzdWU5MDYxMzgyNw== | 10,425 | Pandas failing on Debian big-endian builds | {
"avatar_url": "https://avatars.githubusercontent.com/u/7139064?v=4",
"events_url": "https://api.github.com/users/juricast/events{/privacy}",
"followers_url": "https://api.github.com/users/juricast/followers",
"following_url": "https://api.github.com/users/juricast/following{/other_user}",
"gists_url": "https://api.github.com/users/juricast/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/juricast",
"id": 7139064,
"login": "juricast",
"node_id": "MDQ6VXNlcjcxMzkwNjQ=",
"organizations_url": "https://api.github.com/users/juricast/orgs",
"received_events_url": "https://api.github.com/users/juricast/received_events",
"repos_url": "https://api.github.com/users/juricast/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/juricast/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/juricast/subscriptions",
"type": "User",
"url": "https://api.github.com/users/juricast"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 7 | 2015-06-24T08:49:32Z | 2015-06-26T23:12:06Z | 2015-06-26T23:12:06Z | CONTRIBUTOR | null | Hello,
Package pandas is failing to build from source on Debian big-endian builds with following message:
<pre>
======================================================================
FAIL: test_to_records (pandas.tests.test_categorical.TestCategoricalAsBlock)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/«BUILDDIR»/pandas-0.15.1+git125-ge463818/debian/tmp/usr/lib/python2.7/dist-packages/pandas/tests/test_categorical.py", line 2393, in test_to_records
tm.assert_almost_equal(result,expected)
File "das/src/testing.pyx", line 58, in pandas._testing.assert_almost_equal (pandas/src/testing.c:2745)
File "das/src/testing.pyx", line 93, in pandas._testing.assert_almost_equal (pandas/src/testing.c:1830)
File "das/src/testing.pyx", line 143, in pandas._testing.assert_almost_equal (pandas/src/testing.c:2618)
AssertionError: (0L, 'a') != (0L, 'a')
----------------------------------------------------------------------
</pre>
https://buildd.debian.org/status/package.php?p=pandas&suite=sid
Looking at a upstream source and testing it on big-endian build I found that this problem stops occurring after commit 7eb5668
Difference between this commit and Debian version is big.
I am new to pandas and I did not had much luck in identifying minimal change set needed to patch Debian version of package to work with big-endian.
I have seen TST: better testing for test_where (GH8997) #9015 and that did not help much.
Could someone please take a look at this?
Help is welcomed.
Thank you!
Regards,
Jurica
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10425/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10425/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10426 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10426/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10426/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10426/events | https://github.com/pandas-dev/pandas/issues/10426 | 90,664,213 | MDU6SXNzdWU5MDY2NDIxMw== | 10,426 | ERR: Timedelta('3.1415') should raise | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 0 | 2015-06-24T12:39:34Z | 2015-06-24T20:46:26Z | 2015-06-24T20:46:26Z | CONTRIBUTOR | null | These are currently accepted, but parsed incorrectly. These don't have units, nor are of the standard format, so should raise as unparseable.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10426/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10426/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10427 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10427/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10427/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10427/events | https://github.com/pandas-dev/pandas/issues/10427 | 90,665,273 | MDU6SXNzdWU5MDY2NTI3Mw== | 10,427 | TST: Allow assert_numpy_array_equal to compare nan | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 4 | 2015-06-24T12:43:06Z | 2015-07-28T21:45:17Z | 2015-07-28T21:45:17Z | MEMBER | null | Related to #10373. `pandas` `assert_array_equal` needs to be updated to perform `nan` comparison properly.
```
import numpy as np
import pandas as pd
import pandas.util.testing as pdt
import numpy.testing.utils as npt
npt.assert_array_equal(np.array([1, np.nan, 3]), np.array([1, np.nan, 3]))
# no AssertionError
pdt.assert_numpy_array_equal(np.array([1, np.nan, 3]), np.array([1, np.nan, 3]))
# AssertionError: [ 1. nan 3.] is not equal to [ 1. nan 3.].
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10427/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10427/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10428 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10428/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10428/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10428/events | https://github.com/pandas-dev/pandas/pull/10428 | 90,668,244 | MDExOlB1bGxSZXF1ZXN0Mzg0MzgzODc= | 10,428 | BUG: using .loc[:,column] fails type coercion when the object is a multi-index | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "ededed",
"default": false,
"description": "Parallelism in pandas",
"id": 34423912,
"name": "Multithreading",
"node_id": "MDU6TGFiZWwzNDQyMzkxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Multithreading"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 0 | 2015-06-24T12:52:36Z | 2015-06-24T20:45:55Z | 2015-06-24T20:45:55Z | CONTRIBUTOR | null | from [SO](http://stackoverflow.com/questions/31024821/pandas-dataframe-casting-to-timedelta-fails-with-loc)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10428/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10428/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10428.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10428",
"merged_at": "2015-06-24T20:45:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10428.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10428"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10429 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10429/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10429/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10429/events | https://github.com/pandas-dev/pandas/pull/10429 | 90,672,224 | MDExOlB1bGxSZXF1ZXN0Mzg0NDAyMjk= | 10,429 | BUG: Timedeltas with no specified units (and frac) should raise, #10426 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 0 | 2015-06-24T13:14:21Z | 2015-06-24T20:46:26Z | 2015-06-24T20:46:26Z | CONTRIBUTOR | null | closes #10426
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10429/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10429/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10429.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10429",
"merged_at": "2015-06-24T20:46:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10429.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10429"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10430 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10430/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10430/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10430/events | https://github.com/pandas-dev/pandas/issues/10430 | 90,778,819 | MDU6SXNzdWU5MDc3ODgxOQ== | 10,430 | BUILD: 2.7 with numpy_dev currently broken | {
"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"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 0 | 2015-06-24T20:58:26Z | 2015-06-25T01:10:34Z | 2015-06-25T01:10:34Z | CONTRIBUTOR | null | seems a recent change in numpy master: https://github.com/numpy/numpy/issues/6014
I think might be a bug on numpy's part.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10430/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10430/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10431 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10431/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10431/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10431/events | https://github.com/pandas-dev/pandas/pull/10431 | 90,811,750 | MDExOlB1bGxSZXF1ZXN0Mzg1MDA5NjM= | 10,431 | BUG: provide categorical concat always on axis 0, #10430 | {
"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": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 0 | 2015-06-25T00:10:49Z | 2015-06-25T01:10:34Z | 2015-06-25T01:10:34Z | CONTRIBUTOR | null | numpy 1.10 makes this an error for 1-d on axis != 0
closes #10430
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10431/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10431/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10431.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10431",
"merged_at": "2015-06-25T01:10:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10431.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10431"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10432 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10432/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10432/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10432/events | https://github.com/pandas-dev/pandas/issues/10432 | 90,814,954 | MDU6SXNzdWU5MDgxNDk1NA== | 10,432 | SciPy sprints | {
"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": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 0 | 2015-06-25T00:37:03Z | 2015-08-21T08:27:34Z | 2015-08-21T08:27:34Z | CONTRIBUTOR | null | @jreback, @shoyer, and @cpcloud will be at SciPy this year, and are going to host a sprint on July 11 (saturday).
SciPy sprint pages is [here](http://scipy2015.scipy.org/ehome/115969/292867/?&)
This issue will be the landing page for contributors.
[pandas](http://pandas.pydata.org) is an open source, BSD-licensed library providing high-performance, easy-to-use data structures and data analysis tools for the Python programming language.
See our shiny new [Contributing Guidelines & Instructions](http://pandas-docs.github.io/pandas-docs-travis/contributing.html)
Here are various issues that are open and would like your attention:
- [Difficulty Novice](https://github.com/pydata/pandas/issues?q=is%3Aopen+is%3Aissue+label%3A%22Difficulty+Novice%22)
- [Difficulty Intermediate](https://github.com/pydata/pandas/issues?q=is%3Aopen+is%3Aissue+label%3A%22Difficulty+Intermediate%22)
- [Difficulty Advanced](https://github.com/pydata/pandas/issues?q=is%3Aopen+is%3Aissue+label%3A%22Difficulty+Advanced%22)
Please comment on an issue if you are working on it.
Here is a [link](https://gitter.im/pydata/pandas) to the gitter chatroom.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10432/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10432/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10433 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10433/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10433/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10433/events | https://github.com/pandas-dev/pandas/pull/10433 | 90,828,851 | MDExOlB1bGxSZXF1ZXN0Mzg1MDYwMDM= | 10,433 | BUG: closes bug in stack when index is not unique | {
"avatar_url": "https://avatars.githubusercontent.com/u/1288998?v=4",
"events_url": "https://api.github.com/users/behzadnouri/events{/privacy}",
"followers_url": "https://api.github.com/users/behzadnouri/followers",
"following_url": "https://api.github.com/users/behzadnouri/following{/other_user}",
"gists_url": "https://api.github.com/users/behzadnouri/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/behzadnouri",
"id": 1288998,
"login": "behzadnouri",
"node_id": "MDQ6VXNlcjEyODg5OTg=",
"organizations_url": "https://api.github.com/users/behzadnouri/orgs",
"received_events_url": "https://api.github.com/users/behzadnouri/received_events",
"repos_url": "https://api.github.com/users/behzadnouri/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/behzadnouri/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/behzadnouri/subscriptions",
"type": "User",
"url": "https://api.github.com/users/behzadnouri"
} | [
{
"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"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 13 | 2015-06-25T02:08:32Z | 2015-08-30T02:30:09Z | 2015-08-08T12:18:12Z | CONTRIBUTOR | null | closes https://github.com/pydata/pandas/issues/10417
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10433/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10433/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10433.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10433",
"merged_at": "2015-08-08T12:18:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10433.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10433"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10434 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10434/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10434/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10434/events | https://github.com/pandas-dev/pandas/issues/10434 | 90,832,429 | MDU6SXNzdWU5MDgzMjQyOQ== | 10,434 | Unclear UnicodeDecodeError exception. | {
"avatar_url": "https://avatars.githubusercontent.com/u/689723?v=4",
"events_url": "https://api.github.com/users/startakovsky/events{/privacy}",
"followers_url": "https://api.github.com/users/startakovsky/followers",
"following_url": "https://api.github.com/users/startakovsky/following{/other_user}",
"gists_url": "https://api.github.com/users/startakovsky/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/startakovsky",
"id": 689723,
"login": "startakovsky",
"node_id": "MDQ6VXNlcjY4OTcyMw==",
"organizations_url": "https://api.github.com/users/startakovsky/orgs",
"received_events_url": "https://api.github.com/users/startakovsky/received_events",
"repos_url": "https://api.github.com/users/startakovsky/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/startakovsky/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/startakovsky/subscriptions",
"type": "User",
"url": "https://api.github.com/users/startakovsky"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
]
| 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"
} | 2 | 2015-06-25T02:37:20Z | 2015-08-20T22:03:24Z | 2015-08-20T22:03:14Z | NONE | null | `<type 'exceptions.UnicodeDecodeError'> at /token
'ascii' codec can't decode byte 0xd7 in position 0: ordinal not in range(128)`
This is hard to understand. I finally figured out the issue, and it was that strings and floats are being compared. I suppose now the error message makes sense. This is an issue related to an unclear error message.
Here is the line of code it points to, where `cc` is a string. `df = df[df['my_col'] > cc)]`.
I am assuming this is the right place for this error, but please close this issue if that is not the case.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10434/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10434/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10435 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10435/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10435/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10435/events | https://github.com/pandas-dev/pandas/pull/10435 | 90,866,611 | MDExOlB1bGxSZXF1ZXN0Mzg1MTUwNjk= | 10,435 | BUG: GH10365 in interpolate_1d when method is piecewise_polynomial | {
"avatar_url": "https://avatars.githubusercontent.com/u/10709573?v=4",
"events_url": "https://api.github.com/users/kawochen/events{/privacy}",
"followers_url": "https://api.github.com/users/kawochen/followers",
"following_url": "https://api.github.com/users/kawochen/following{/other_user}",
"gists_url": "https://api.github.com/users/kawochen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kawochen",
"id": 10709573,
"login": "kawochen",
"node_id": "MDQ6VXNlcjEwNzA5NTcz",
"organizations_url": "https://api.github.com/users/kawochen/orgs",
"received_events_url": "https://api.github.com/users/kawochen/received_events",
"repos_url": "https://api.github.com/users/kawochen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kawochen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kawochen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kawochen"
} | [
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 5 | 2015-06-25T06:14:43Z | 2015-08-21T01:37:30Z | 2015-08-21T01:37:30Z | CONTRIBUTOR | null | Starting point for closing #10365.
I only have the trivial case. I think this method (and perhaps other methods as well) needs #10383 for it to be useful.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10435/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10435/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10435.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10435",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10435.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10435"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10436 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10436/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10436/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10436/events | https://github.com/pandas-dev/pandas/issues/10436 | 90,889,027 | MDU6SXNzdWU5MDg4OTAyNw== | 10,436 | A squeezed empty DataFrame remains a DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/1969965?v=4",
"events_url": "https://api.github.com/users/gbakalian/events{/privacy}",
"followers_url": "https://api.github.com/users/gbakalian/followers",
"following_url": "https://api.github.com/users/gbakalian/following{/other_user}",
"gists_url": "https://api.github.com/users/gbakalian/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gbakalian",
"id": 1969965,
"login": "gbakalian",
"node_id": "MDQ6VXNlcjE5Njk5NjU=",
"organizations_url": "https://api.github.com/users/gbakalian/orgs",
"received_events_url": "https://api.github.com/users/gbakalian/received_events",
"repos_url": "https://api.github.com/users/gbakalian/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gbakalian/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbakalian/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gbakalian"
} | []
| closed | false | null | []
| null | 2 | 2015-06-25T07:53:50Z | 2018-10-21T01:26:07Z | 2018-10-21T01:26:07Z | NONE | null | not_empty = pd.DataFrame([[None,None]],columns=['a', 'b']).squeeze()
type(not_empty)
empty_dim_1 = pd.DataFrame(columns=['a', 'b']).squeeze()
type(empty_dim_1)
empty_dim_0 = pd.DataFrame(index=['c', 'd']).squeeze()
type(empty_dim_0)
| {
"+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/10436/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10436/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10437 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10437/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10437/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10437/events | https://github.com/pandas-dev/pandas/issues/10437 | 90,897,861 | MDU6SXNzdWU5MDg5Nzg2MQ== | 10,437 | unexpected behaviour when reindexing a Panel with MultiIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/5911007?v=4",
"events_url": "https://api.github.com/users/toniatop/events{/privacy}",
"followers_url": "https://api.github.com/users/toniatop/followers",
"following_url": "https://api.github.com/users/toniatop/following{/other_user}",
"gists_url": "https://api.github.com/users/toniatop/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/toniatop",
"id": 5911007,
"login": "toniatop",
"node_id": "MDQ6VXNlcjU5MTEwMDc=",
"organizations_url": "https://api.github.com/users/toniatop/orgs",
"received_events_url": "https://api.github.com/users/toniatop/received_events",
"repos_url": "https://api.github.com/users/toniatop/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/toniatop/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/toniatop/subscriptions",
"type": "User",
"url": "https://api.github.com/users/toniatop"
} | [
{
"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": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"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 | []
| null | 1 | 2015-06-25T08:46:59Z | 2015-06-25T19:25:09Z | 2015-06-25T19:24:09Z | NONE | null | I was trying to reindex a Panel with a MultiIndex. The ultimate goal is to be able to do slicing like this:
```
wp.loc[(1,slice(None)),:,:] #Access the panel fixing the first index of the multiIndex
```
But whenever I try to reindex, like in this example I got this strange behaviour.
```
wp = pd.Panel(pd.randn(4, 5, 4), items=['Item_1_1', 'Item_1_2','Item_2_1','Item_2_2'],major_axis=['a','b','c','d','e'],minor_axis=['A', 'B', 'C', 'D'])
a=[tuple([int(i) for i in item.split('_')[1:]]) for item in wp.items]
swp=wp.reindex(items=x)
```
But when I try to access an item of the panel I got;
```
In [101]: swp[1,1]
Out[101]:
A B C D
a NaN NaN NaN NaN
b NaN NaN NaN NaN
c NaN NaN NaN NaN
d NaN NaN NaN NaN
e NaN NaN NaN NaN
```
The current workaround I have found is the following:
```
def sp(string):
s=string.split('_')
return int(s[-3]),int(s[-1])
wwp=wp.rename(items=sp)
w=wwp.items.sortlevel(level=0)
swwp=wwp.reindex(items=w[0])
```
I don't think that the first is something that is excepted, and the second way is quite complex for nothing, but I might be wrong.
And now it is working at it should.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10437/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10437/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10438 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10438/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10438/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10438/events | https://github.com/pandas-dev/pandas/pull/10438 | 90,902,494 | MDExOlB1bGxSZXF1ZXN0Mzg1MjYwMDc= | 10,438 | BUG GH10425 test_categorical big-endian fix | {
"avatar_url": "https://avatars.githubusercontent.com/u/7139064?v=4",
"events_url": "https://api.github.com/users/juricast/events{/privacy}",
"followers_url": "https://api.github.com/users/juricast/followers",
"following_url": "https://api.github.com/users/juricast/following{/other_user}",
"gists_url": "https://api.github.com/users/juricast/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/juricast",
"id": 7139064,
"login": "juricast",
"node_id": "MDQ6VXNlcjcxMzkwNjQ=",
"organizations_url": "https://api.github.com/users/juricast/orgs",
"received_events_url": "https://api.github.com/users/juricast/received_events",
"repos_url": "https://api.github.com/users/juricast/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/juricast/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/juricast/subscriptions",
"type": "User",
"url": "https://api.github.com/users/juricast"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 3 | 2015-06-25T09:07:31Z | 2015-06-26T23:11:50Z | 2015-06-26T23:11:50Z | CONTRIBUTOR | null | BUG: Changing test_categorical to compare with native byte ordering instead of comparing with little-endian one
closes #10425
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10438/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10438/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10438.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10438",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10438.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10438"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10439 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10439/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10439/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10439/events | https://github.com/pandas-dev/pandas/issues/10439 | 90,963,221 | MDU6SXNzdWU5MDk2MzIyMQ== | 10,439 | BUG: read_pickle and period data | {
"avatar_url": "https://avatars.githubusercontent.com/u/8050761?v=4",
"events_url": "https://api.github.com/users/scarrucciu/events{/privacy}",
"followers_url": "https://api.github.com/users/scarrucciu/followers",
"following_url": "https://api.github.com/users/scarrucciu/following{/other_user}",
"gists_url": "https://api.github.com/users/scarrucciu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/scarrucciu",
"id": 8050761,
"login": "scarrucciu",
"node_id": "MDQ6VXNlcjgwNTA3NjE=",
"organizations_url": "https://api.github.com/users/scarrucciu/orgs",
"received_events_url": "https://api.github.com/users/scarrucciu/received_events",
"repos_url": "https://api.github.com/users/scarrucciu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/scarrucciu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/scarrucciu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/scarrucciu"
} | [
{
"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"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 1 | 2015-06-25T13:21:46Z | 2015-08-20T17:32:21Z | 2015-08-20T17:32:21Z | NONE | null | I can pickle dataframes with periods but after import Period format becomes corrupted. After pickle Period stride appears to be none instead of 'Q' in the following example.
<pre><code>
import pandas as pd
df = pd.DataFrame({'period': [pd.Period('2014Q4')] * 5})
msk = df['period'] == pd.Period('2014Q4')
print msk
df.to_pickle('tmp.pkl')
df = pd.read_pickle('tmp.pkl')
msk = df['period'] == pd.Period('2014Q4')
</code></pre>
<pre><code>
Traceback (most recent call last):
File "/Users/scarrucciu/Downloads/period_pickle_test.py", line 11, in <module>
msk = df['period'] == pd.Period('2014Q4')
File "/Users/scarrucciu/anaconda/lib/python2.7/site-packages/pandas/core/ops.py", line 614, in wrapper
res = na_op(values, other)
File "/Users/scarrucciu/anaconda/lib/python2.7/site-packages/pandas/core/ops.py", line 562, in na_op
result = lib.scalar_compare(x, y, op)
File "pandas/lib.pyx", line 696, in pandas.lib.scalar_compare (pandas/lib.c:12434)
File "das/src/period.pyx", line 743, in pandas._period.Period.__richcmp__ (pandas/src/period.c:11121)
ValueError: Cannot compare non-conforming periods
</code></pre>
## INSTALLED VERSIONS
commit: None
python: 2.7.6.final.0
python-bits: 64
OS: Darwin
OS-release: 13.4.0
machine: x86_64
processor: i386
byteorder: little
pandas: 0.16.2
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10439/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10439/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10440 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10440/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10440/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10440/events | https://github.com/pandas-dev/pandas/issues/10440 | 91,022,070 | MDU6SXNzdWU5MTAyMjA3MA== | 10,440 | Setting values on slice of multi-index gives NaNs | {
"avatar_url": "https://avatars.githubusercontent.com/u/2807270?v=4",
"events_url": "https://api.github.com/users/jim22k/events{/privacy}",
"followers_url": "https://api.github.com/users/jim22k/followers",
"following_url": "https://api.github.com/users/jim22k/following{/other_user}",
"gists_url": "https://api.github.com/users/jim22k/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jim22k",
"id": 2807270,
"login": "jim22k",
"node_id": "MDQ6VXNlcjI4MDcyNzA=",
"organizations_url": "https://api.github.com/users/jim22k/orgs",
"received_events_url": "https://api.github.com/users/jim22k/received_events",
"repos_url": "https://api.github.com/users/jim22k/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jim22k/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jim22k/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jim22k"
} | [
{
"color": "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": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 8 | 2015-06-25T17:11:59Z | 2021-08-31T14:14:07Z | null | NONE | null | Best shown with an example.
``` python
import numpy as np, pandas as pd
timestamps = map(pd.Timestamp, ['2014-01-01', '2014-02-01'])
categories = ['A', 'B', 'C', 'D']
df = pd.DataFrame(index=pd.MultiIndex.from_product([timestamps, categories], names=['ts', 'cat']),
columns=['Col1', 'Col2'])
>>> df
Col1 Col2
ts cat
2014-01-01 A NaN NaN
B NaN NaN
C NaN NaN
D NaN NaN
2014-02-01 A NaN NaN
B NaN NaN
C NaN NaN
D NaN NaN
```
I want to set the values for all categories in a single month. These examples work just fine.
``` python
df.loc['2014-01-01', 'Col1'] = 5
df.loc['2014-01-01', 'Col2'] = [1,2,3,4]
>>> df
Col1 Col2
ts cat
2014-01-01 A 5 1
B 5 2
C 5 3
D 5 4
2014-02-01 A NaN NaN
B NaN NaN
C NaN NaN
D NaN NaN
```
These examples don't work.
``` python
df.loc['2014-01-01', 'Col1'] += 1
df.loc['2014-02-01', 'Col2'] = df.loc['2014-01-01', 'Col2']
>>> df
Col1 Col2
ts cat
2014-01-01 A NaN 1
B NaN 2
C NaN 3
D NaN 4
2014-02-01 A NaN NaN
B NaN NaN
C NaN NaN
D NaN NaN
```
It doesn't seem to be a "setting a value on a copy" issue. Instead, Pandas is writing the NaNs.
My current workaround is to unstack each column into a DataFrame with simple indexes. This works, but I have lots of columns to work with. One dataframe is much easier to work with than a pile of dataframes.
The computations for each month depend on the values computed in the previous month, hence why it can't be done fully vectorized on an entire column.
| {
"+1": 7,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 7,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10440/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10440/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10441 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10441/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10441/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10441/events | https://github.com/pandas-dev/pandas/pull/10441 | 91,033,287 | MDExOlB1bGxSZXF1ZXN0Mzg1NzQ4MTU= | 10,441 | BUG: Bug fix implement __reduce__/__setstate__ for Period pickle support | {
"avatar_url": "https://avatars.githubusercontent.com/u/8050761?v=4",
"events_url": "https://api.github.com/users/scarrucciu/events{/privacy}",
"followers_url": "https://api.github.com/users/scarrucciu/followers",
"following_url": "https://api.github.com/users/scarrucciu/following{/other_user}",
"gists_url": "https://api.github.com/users/scarrucciu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/scarrucciu",
"id": 8050761,
"login": "scarrucciu",
"node_id": "MDQ6VXNlcjgwNTA3NjE=",
"organizations_url": "https://api.github.com/users/scarrucciu/orgs",
"received_events_url": "https://api.github.com/users/scarrucciu/received_events",
"repos_url": "https://api.github.com/users/scarrucciu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/scarrucciu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/scarrucciu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/scarrucciu"
} | [
{
"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"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 8 | 2015-06-25T17:56:15Z | 2015-08-20T16:27:25Z | 2015-08-20T16:24:10Z | NONE | null | Fix Period pickle issue https://github.com/pydata/pandas/issues/10439
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10441/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10441/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10441.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10441",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10441.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10441"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10442 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10442/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10442/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10442/events | https://github.com/pandas-dev/pandas/issues/10442 | 91,047,613 | MDU6SXNzdWU5MTA0NzYxMw== | 10,442 | ENH: Convert datetimelike index to strings with astype(str) | {
"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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
]
| closed | false | null | []
| {
"closed_at": "2015-11-21T13:47:07Z",
"closed_issues": 216,
"created_at": "2015-09-10T14:30:44Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.17.0 of course!",
"due_on": "2015-11-21T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/37",
"id": 1299459,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37/labels",
"node_id": "MDk6TWlsZXN0b25lMTI5OTQ1OQ==",
"number": 37,
"open_issues": 0,
"state": "closed",
"title": "0.17.1",
"updated_at": "2016-07-21T16:02:53Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37"
} | 3 | 2015-06-25T19:00:18Z | 2015-10-16T22:07:39Z | 2015-10-16T22:07:39Z | MEMBER | null | xref #10110
- [x] Fix `.astype(str)` on `DatetimeIndex` to use call `.format()` (Index method)
~~\- [ ] Add `Series.dt.format()` accessor to call `.format()`~~ (#10110 does this with `.strftime`)
- [x] Change `Series.astype(str)` to call equiv of `Series.dt.format()` for `datetime64[ns]` dtype
Recently the ability to convert a datetimelike series to strings with `astype(str)` was introduced (#9758 by @evanpw):
```
In [27]: pd.Series(pd.date_range('2012-01-01', periods=3))
Out[27]:
0 2012-01-01
1 2012-01-02
2 2012-01-03
dtype: datetime64[ns]
In [28]: pd.Series(pd.date_range('2012-01-01', periods=3)).astype(str)
Out[28]:
0 2012-01-01T01:00:00.000000000+0100
1 2012-01-02T01:00:00.000000000+0100
2 2012-01-03T01:00:00.000000000+0100
dtype: object
```
it would be nice if this also possible on a index (now you still get the same error as previously for a series):
```
In [29]: pd.date_range('2012-01-01', periods=3).astype(str)
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-29-68a28f79c8e9> in <module>()
----> 1 pd.date_range('2012-01-01', periods=3).astype(str)
C:\Users\vdbosscj\Scipy\pandas-joris\pandas\tseries\index.py in astype(self, dty
pe)
692 return self.asi8.copy()
693 else: # pragma: no cover
--> 694 raise ValueError('Cannot cast DatetimeIndex to dtype %s' % d
type)
695
696 def _get_time_micros(self):
ValueError: Cannot cast DatetimeIndex to dtype |S0
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10442/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10442/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10443 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10443/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10443/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10443/events | https://github.com/pandas-dev/pandas/pull/10443 | 91,059,366 | MDExOlB1bGxSZXF1ZXN0Mzg1ODYxOTQ= | 10,443 | ENH: Simplify using read_hdf for HDF files with one dataset | {
"avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4",
"events_url": "https://api.github.com/users/bashtage/events{/privacy}",
"followers_url": "https://api.github.com/users/bashtage/followers",
"following_url": "https://api.github.com/users/bashtage/following{/other_user}",
"gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bashtage",
"id": 5585221,
"login": "bashtage",
"node_id": "MDQ6VXNlcjU1ODUyMjE=",
"organizations_url": "https://api.github.com/users/bashtage/orgs",
"received_events_url": "https://api.github.com/users/bashtage/received_events",
"repos_url": "https://api.github.com/users/bashtage/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bashtage/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bashtage"
} | [
{
"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": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 4 | 2015-06-25T19:53:00Z | 2015-07-13T13:22:12Z | 2015-07-13T10:56:10Z | CONTRIBUTOR | null | Allow read_hdf to be used without a key when a single pandas object
is stored in a HDF file. Raises if multiple pandas objects found.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10443/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10443/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10443.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10443",
"merged_at": "2015-07-13T10:56:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10443.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10443"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10444 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10444/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10444/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10444/events | https://github.com/pandas-dev/pandas/issues/10444 | 91,099,700 | MDU6SXNzdWU5MTA5OTcwMA== | 10,444 | Better error message when using DataFrame.hist() without numerical columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/581043?v=4",
"events_url": "https://api.github.com/users/goretkin/events{/privacy}",
"followers_url": "https://api.github.com/users/goretkin/followers",
"following_url": "https://api.github.com/users/goretkin/following{/other_user}",
"gists_url": "https://api.github.com/users/goretkin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/goretkin",
"id": 581043,
"login": "goretkin",
"node_id": "MDQ6VXNlcjU4MTA0Mw==",
"organizations_url": "https://api.github.com/users/goretkin/orgs",
"received_events_url": "https://api.github.com/users/goretkin/received_events",
"repos_url": "https://api.github.com/users/goretkin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/goretkin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/goretkin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/goretkin"
} | [
{
"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": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"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": "2019-07-19T00:34:29Z",
"closed_issues": 1289,
"created_at": "2018-10-23T02:34:15Z",
"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": "2019-07-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/61",
"id": 3759483,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels",
"node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==",
"number": 61,
"open_issues": 0,
"state": "closed",
"title": "0.25.0",
"updated_at": "2020-01-02T15:10:40Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61"
} | 12 | 2015-06-25T23:08:57Z | 2019-05-24T15:47:02Z | 2019-05-24T15:47:02Z | NONE | null | pandas version: 0.16.2
matplotlib version 1.4.3 (and produced different error message on older version)
``` python
import numpy as np
import pandas as pd
df = pd.DataFrame(np.random.rand(10,2))
df_o = df.astype(np.object)
df_o.hist()
```
```
ValueError Traceback (most recent call last)
<ipython-input-1-26253737011d> in <module>()
4 df = pd.DataFrame(np.random.rand(10,2))
5 df_o = df.astype(np.object)
----> 6 df_o.hist()
/usr/local/lib/python2.7/dist-packages/pandas/tools/plotting.pyc in hist_frame(data, column, by, grid, xlabelsize, xrot, ylabelsize, yrot, ax, sharex, sharey, figsize, layout, bins, **kwds)
2764 fig, axes = _subplots(naxes=naxes, ax=ax, squeeze=False,
2765 sharex=sharex, sharey=sharey, figsize=figsize,
-> 2766 layout=layout)
2767 _axes = _flatten(axes)
2768
/usr/local/lib/python2.7/dist-packages/pandas/tools/plotting.pyc in _subplots(naxes, sharex, sharey, squeeze, subplot_kw, ax, layout, layout_type, **fig_kw)
3244
3245 # Create first subplot separately, so we can share it if requested
-> 3246 ax0 = fig.add_subplot(nrows, ncols, 1, **subplot_kw)
3247
3248 if sharex:
/usr/local/lib/python2.7/dist-packages/matplotlib/figure.pyc in add_subplot(self, *args, **kwargs)
962 self._axstack.remove(ax)
963
--> 964 a = subplot_class_factory(projection_class)(self, *args, **kwargs)
965
966 self._axstack.add(key, a)
/usr/local/lib/python2.7/dist-packages/matplotlib/axes/_subplots.pyc in __init__(self, fig, *args, **kwargs)
62 raise ValueError(
63 "num must be 0 <= num <= {maxn}, not {num}".format(
---> 64 maxn=rows*cols, num=num))
65 if num == 0:
66 warnings.warn("The use of 0 (which ends up being the "
ValueError: num must be 0 <= num <= 0, not 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/10444/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10444/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10445 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10445/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10445/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10445/events | https://github.com/pandas-dev/pandas/issues/10445 | 91,223,026 | MDU6SXNzdWU5MTIyMzAyNg== | 10,445 | Cannot fill in empty Panel with DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/812050?v=4",
"events_url": "https://api.github.com/users/ycopin/events{/privacy}",
"followers_url": "https://api.github.com/users/ycopin/followers",
"following_url": "https://api.github.com/users/ycopin/following{/other_user}",
"gists_url": "https://api.github.com/users/ycopin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ycopin",
"id": 812050,
"login": "ycopin",
"node_id": "MDQ6VXNlcjgxMjA1MA==",
"organizations_url": "https://api.github.com/users/ycopin/orgs",
"received_events_url": "https://api.github.com/users/ycopin/received_events",
"repos_url": "https://api.github.com/users/ycopin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ycopin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ycopin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ycopin"
} | [
{
"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": 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"
} | 2 | 2015-06-26T10:52:48Z | 2018-07-06T20:21:07Z | 2017-07-10T21:07:10Z | NONE | null | I'm not sure this is a bug, but it bit me recently.
I can fill-in an empty `DataFrame` with a `Series`:
```
In [1]: import pandas as pd
In [2]: d = pd.DataFrame()
In [3]: d[0] = pd.Series([1,2,3])
In [4]: d
Out[4]:
0
0 1
1 2
2 3
```
However, I cannot do the same for a `Panel`, even though it fails silently:
```
In [5]: p = pd.Panel()
In [6]: p[0] = d
In [7]: p
Out[7]:
<class 'pandas.core.panel.Panel'>
Dimensions: 1 (items) x 0 (major_axis) x 0 (minor_axis)
Items axis: 0 to 0
Major_axis axis: None
Minor_axis axis: None
In [8]: p.values
Out[8]: array([], shape=(1, 0, 0), dtype=float64)
```
I did not find a way to fill-in the empty panel once created empty.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10445/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10445/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10446 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10446/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10446/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10446/events | https://github.com/pandas-dev/pandas/issues/10446 | 91,243,447 | MDU6SXNzdWU5MTI0MzQ0Nw== | 10,446 | DOC: splitting the IO docs into separate pages | {
"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"
},
{
"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"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 1 | 2015-06-26T12:55:57Z | 2019-10-21T20:06:20Z | null | MEMBER | null | The documentation on the extensive pandas IO tools is currently one big page: http://pandas.pydata.org/pandas-docs/stable/io.html.
I propose to split this in several files: a page with a general introduction to the IO tools, and then one page per format (writer/reader combo).
(this could be seen as a first start for #6000)
Splitting this shouldn't be that hard (I was just a bit experimenting if it would be possible to keep git blame working for all splitted files, but not that important probably ..), but an issue I would like to get some feedback for: **What do we do with all existing links? How do we keep them working?**
Anybody who has some experience with such issues when restructuring a website what the best way is to deal with 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/10446/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10446/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10447 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10447/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10447/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10447/events | https://github.com/pandas-dev/pandas/issues/10447 | 91,266,915 | MDU6SXNzdWU5MTI2NjkxNQ== | 10,447 | BUG: Cannot store complex valued Series/DataFrame/Panel/Panel4D as 'table' to hdf | {
"avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4",
"events_url": "https://api.github.com/users/bashtage/events{/privacy}",
"followers_url": "https://api.github.com/users/bashtage/followers",
"following_url": "https://api.github.com/users/bashtage/following{/other_user}",
"gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bashtage",
"id": 5585221,
"login": "bashtage",
"node_id": "MDQ6VXNlcjU1ODUyMjE=",
"organizations_url": "https://api.github.com/users/bashtage/orgs",
"received_events_url": "https://api.github.com/users/bashtage/received_events",
"repos_url": "https://api.github.com/users/bashtage/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bashtage/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bashtage"
} | [
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "009800",
"default": false,
"description": "Complex Numbers",
"id": 172091424,
"name": "Complex",
"node_id": "MDU6TGFiZWwxNzIwOTE0MjQ=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Complex"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 2 | 2015-06-26T14:33:41Z | 2015-07-13T12:42:41Z | 2015-07-13T12:42:41Z | CONTRIBUTOR | null | Attempting to store a Panel4D of complext128 results in an error. This is true if I use table or fixed formats (different errors) [I am showing the last call from pandas as well as the actual error]
``` python
pd.Panel4D(np.tile(np.array([1+1j,2+2j]),[2,2,2,1])).to_hdf('complex.h5','complex',format='t')
Traceback (most recent call last):
...
File "/miniconda/envs/py34/lib/python3.4/site-packages/pandas/io/pytables.py", line 1930, in get_atom_data
return self.get_atom_coltype(kind=kind)(shape=block.shape[0])
...
File "/miniconda/envs/py34/lib/python3.4/site-packages/tables/atom.py", line 740, in __init__
"to avoid confusions with PyTables 1.X complex atom names, "
TypeError: to avoid confusions with PyTables 1.X complex atom names, please use ``ComplexAtom(itemsize=N)``, where N=8 for single precision complex atoms, and N=16 for double precision complex atoms
```
```
INSTALLED VERSIONS
------------------
commit: None
python: 3.4.3.final.0
python-bits: 64
OS: Linux
OS-release: 2.6.32-504.16.2.el6.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.16.2
nose: 1.3.7
Cython: 0.22
numpy: 1.9.2
scipy: None
statsmodels: None
IPython: 3.1.0
sphinx: None
patsy: 0.3.0
dateutil: 2.4.2
pytz: 2015.4
bottleneck: None
tables: 3.1.1
numexpr: 2.3.1
matplotlib: None
openpyxl: 2.0.2
xlrd: 0.9.3
xlwt: 1.0.0
xlsxwriter: 0.7.3
lxml: 3.4.4
bs4: 4.3.2
html5lib: 0.999
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
```
If you try fixed, you get
```
TypeError: cannot properly create the storer for: [_STORER_MAP] [group->/complex (Group) '',value-><class 'pandas.core.panelnd.Panel4D'>,format->fixed,append->False,kwargs->{'encoding': None}]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10447/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10447/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10448 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10448/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10448/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10448/events | https://github.com/pandas-dev/pandas/issues/10448 | 91,289,783 | MDU6SXNzdWU5MTI4OTc4Mw== | 10,448 | Cython function group_var_float64 may return small negative values | {
"avatar_url": "https://avatars.githubusercontent.com/u/537559?v=4",
"events_url": "https://api.github.com/users/jvkersch/events{/privacy}",
"followers_url": "https://api.github.com/users/jvkersch/followers",
"following_url": "https://api.github.com/users/jvkersch/following{/other_user}",
"gists_url": "https://api.github.com/users/jvkersch/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jvkersch",
"id": 537559,
"login": "jvkersch",
"node_id": "MDQ6VXNlcjUzNzU1OQ==",
"organizations_url": "https://api.github.com/users/jvkersch/orgs",
"received_events_url": "https://api.github.com/users/jvkersch/received_events",
"repos_url": "https://api.github.com/users/jvkersch/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jvkersch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jvkersch/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jvkersch"
} | [
{
"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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 2 | 2015-06-26T16:14:25Z | 2015-07-08T14:19:57Z | 2015-06-26T18:07:27Z | CONTRIBUTOR | null | For certain well-chosen inputs, `group_var_float64` may return small negative values due to roundoff error. This then interferes with e.g. computing aggregate standard deviations:
``` python
>>> import pandas as pd
>>> import numpy as np
>>> df = pd.DataFrame({'a': (0, 0, 0), 'b': 0.832845131556193 * np.ones(3)})
>>> df.groupby('a').std()
b
a
0 NaN
```
To see the cause of this in isolation, consider
``` python
import numpy as np
from pandas.algos import group_var_float64
out = np.array([[0.0]], dtype=np.float64)
counts = np.array([0])
values = 0.832845131556193 * np.ones((3, 1), dtype=np.float64)
labels = np.zeros(3, dtype=np.int)
group_var_float64(out, counts, values, labels)
print out # This prints [[ -1.48029737e-16]] on my machine.
```
The fix for this should be easy (round up negative values to zero). I can provide a fix (+ tests) if needed.
## INSTALLED VERSIONS
commit: None
python: 2.7.6.final.0
python-bits: 64
OS: Darwin
OS-release: 14.3.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: nl_BE.UTF-8
pandas: 0.16.1
nose: 1.3.4
Cython: 0.22
numpy: 1.9.2
scipy: 0.15.1
statsmodels: None
IPython: 3.1.0
sphinx: 1.3.1
patsy: None
dateutil: 2.4.2
pytz: 2014.9
bottleneck: None
tables: 3.1.1
numexpr: 2.4
matplotlib: 1.4.3
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: 4.3.2
html5lib: 0.999
httplib2: None
apiclient: None
sqlalchemy: 1.0.4
pymysql: None
psycopg2: None
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10448/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10448/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10449 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10449/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10449/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10449/events | https://github.com/pandas-dev/pandas/issues/10449 | 91,326,292 | MDU6SXNzdWU5MTMyNjI5Mg== | 10,449 | Upsampling a time-series is missing an option to properly deal with the end | {
"avatar_url": "https://avatars.githubusercontent.com/u/30848?v=4",
"events_url": "https://api.github.com/users/filmor/events{/privacy}",
"followers_url": "https://api.github.com/users/filmor/followers",
"following_url": "https://api.github.com/users/filmor/following{/other_user}",
"gists_url": "https://api.github.com/users/filmor/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/filmor",
"id": 30848,
"login": "filmor",
"node_id": "MDQ6VXNlcjMwODQ4",
"organizations_url": "https://api.github.com/users/filmor/orgs",
"received_events_url": "https://api.github.com/users/filmor/received_events",
"repos_url": "https://api.github.com/users/filmor/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/filmor/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/filmor/subscriptions",
"type": "User",
"url": "https://api.github.com/users/filmor"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
},
{
"color": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 10 | 2015-06-26T18:21:09Z | 2020-05-11T02:05:55Z | null | CONTRIBUTOR | null | Consider the following:
```
index = pd.date_range("2015-01-01", "2015-01-01 02:00", freq="1H", closed="left")
s = pd.Series(1, index=index)
s.resample("15T", fill_method="ffill", closed="left")
```
The result looks like this
<pre>2015-01-01 00:00:00 1
2015-01-01 00:15:00 1
2015-01-01 00:30:00 1
2015-01-01 00:45:00 1
2015-01-01 01:00:00 1
Freq: 15T, dtype: int64</pre>
What I actually want is
<pre>2015-01-01 00:00:00 1
2015-01-01 00:15:00 1
2015-01-01 00:30:00 1
2015-01-01 00:45:00 1
2015-01-01 01:00:00 1
2015-01-01 01:15:00 1
2015-01-01 01:30:00 1
2015-01-01 01:45:00 1
Freq: 15T, dtype: int64</pre>
Currently it seems that you always have to do the resampling yourself by creating a new index of the new frequency from the same `begin` and `end` values, reindexing, and forward filling.
Actually, I would have expected `closed` to work like this. Any hints on a reasonable parameter so I can try to prepare a PR for 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/10449/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10449/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10450 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10450/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10450/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10450/events | https://github.com/pandas-dev/pandas/pull/10450 | 91,349,078 | MDExOlB1bGxSZXF1ZXN0Mzg2ODQyODQ= | 10,450 | DOC: GH10414 Missing example in NA values in GroupBy | {
"avatar_url": "https://avatars.githubusercontent.com/u/6428892?v=4",
"events_url": "https://api.github.com/users/harshnisar/events{/privacy}",
"followers_url": "https://api.github.com/users/harshnisar/followers",
"following_url": "https://api.github.com/users/harshnisar/following{/other_user}",
"gists_url": "https://api.github.com/users/harshnisar/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/harshnisar",
"id": 6428892,
"login": "harshnisar",
"node_id": "MDQ6VXNlcjY0Mjg4OTI=",
"organizations_url": "https://api.github.com/users/harshnisar/orgs",
"received_events_url": "https://api.github.com/users/harshnisar/received_events",
"repos_url": "https://api.github.com/users/harshnisar/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/harshnisar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/harshnisar/subscriptions",
"type": "User",
"url": "https://api.github.com/users/harshnisar"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 5 | 2015-06-26T20:04:35Z | 2015-07-01T10:58:05Z | 2015-07-01T10:58:05Z | CONTRIBUTOR | null | closes #10414
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10450/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10450/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10450.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10450",
"merged_at": "2015-07-01T10:58:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10450.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10450"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10451 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10451/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10451/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10451/events | https://github.com/pandas-dev/pandas/issues/10451 | 91,459,326 | MDU6SXNzdWU5MTQ1OTMyNg== | 10,451 | BUG: display.precision option seems off-by-one | {
"avatar_url": "https://avatars.githubusercontent.com/u/5356340?v=4",
"events_url": "https://api.github.com/users/rosnfeld/events{/privacy}",
"followers_url": "https://api.github.com/users/rosnfeld/followers",
"following_url": "https://api.github.com/users/rosnfeld/following{/other_user}",
"gists_url": "https://api.github.com/users/rosnfeld/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rosnfeld",
"id": 5356340,
"login": "rosnfeld",
"node_id": "MDQ6VXNlcjUzNTYzNDA=",
"organizations_url": "https://api.github.com/users/rosnfeld/orgs",
"received_events_url": "https://api.github.com/users/rosnfeld/received_events",
"repos_url": "https://api.github.com/users/rosnfeld/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rosnfeld/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rosnfeld/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rosnfeld"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 9 | 2015-06-27T12:39:39Z | 2015-08-02T21:26:30Z | 2015-08-02T21:26:30Z | CONTRIBUTOR | null | I may very well be wrong on this, given how common an option it seems, but I am surprised that the "display.precision" option seems to limit the digits after the decimal to one less than specified.
``` python
In [1]: x = pd.Series(np.random.randn(5))
In [2]: x
Out[2]:
0 -0.163960
1 1.016273
2 0.861317
3 -0.521916
4 -0.069322
dtype: float64
In [3]: pd.set_option('display.precision', 3)
In [4]: x
Out[4]:
0 -0.16
1 1.02
2 0.86
3 -0.52
4 -0.07
dtype: float64
```
I can't see where in the code this is happening. At first glance, this looks like what the code is doing:
```
In [13]: fmt_str = '%% .%dg' % 3
In [14]: fmt_str % x[0]
Out[14]: '-0.164'
```
but clearly something else is happening.
numpy's precision seems fine/meets my expectations:
``` python
In [10]: np.set_printoptions(precision=3)
In [11]: np.random.randn(5)
Out[11]: array([ 0.569, -2.638, 0.707, 0.675, 1.191])
```
So is this a bug? (if so it's been around for a long time) Or are my expectations off?
This was tested on current pandas master (as of writing) with numpy 1.9.2 and python 3.4.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10451/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10451/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10452 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10452/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10452/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10452/events | https://github.com/pandas-dev/pandas/issues/10452 | 91,465,788 | MDU6SXNzdWU5MTQ2NTc4OA== | 10,452 | API/BUG: SparseSeries.shape ignores fill_value | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"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": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "009800",
"default": false,
"description": "Sparse Data Type",
"id": 49182326,
"name": "Sparse",
"node_id": "MDU6TGFiZWw0OTE4MjMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse"
}
]
| closed | false | null | []
| {
"closed_at": "2016-05-05T00:34:40Z",
"closed_issues": 306,
"created_at": "2016-02-08T15:29:59Z",
"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.18.0 of course!",
"due_on": "2016-05-04T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/38",
"id": 1570594,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/38/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NA==",
"number": 38,
"open_issues": 0,
"state": "closed",
"title": "0.18.1",
"updated_at": "2017-08-10T09:01:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/38"
} | 3 | 2015-06-27T13:43:35Z | 2016-03-30T12:39:02Z | 2016-03-30T12:39:02Z | MEMBER | null | `SparseSeries.shape` seems to return incorrect result ignoring shapes filled by `fill_value`.
```
s = pd.SparseSeries([0, 0, 1, 0], fill_value=0)
s
#0 0
#1 0
#2 1
#3 0
# dtype: int64
# BlockIndex
# Block locations: array([2], dtype=int32)
# Block lengths: array([1], dtype=int32)
len(s)
#4
# must be (4, )?
s.shape
# (1,)
# OK
s._data.shape
# (4,)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10452/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10452/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10453 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10453/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10453/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10453/events | https://github.com/pandas-dev/pandas/pull/10453 | 91,475,152 | MDExOlB1bGxSZXF1ZXN0Mzg3MTA0MjE= | 10,453 | DOC: fixed docstrings for StringMethods ljust and rjust | {
"avatar_url": "https://avatars.githubusercontent.com/u/1642081?v=4",
"events_url": "https://api.github.com/users/mortada/events{/privacy}",
"followers_url": "https://api.github.com/users/mortada/followers",
"following_url": "https://api.github.com/users/mortada/following{/other_user}",
"gists_url": "https://api.github.com/users/mortada/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mortada",
"id": 1642081,
"login": "mortada",
"node_id": "MDQ6VXNlcjE2NDIwODE=",
"organizations_url": "https://api.github.com/users/mortada/orgs",
"received_events_url": "https://api.github.com/users/mortada/received_events",
"repos_url": "https://api.github.com/users/mortada/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mortada/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mortada/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mortada"
} | [
{
"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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 1 | 2015-06-27T14:36:26Z | 2015-06-27T14:40:08Z | 2015-06-27T14:39:07Z | CONTRIBUTOR | null | Very minor fix but `str.ljust()` and `str.rjust()` have broken links in the docstrings.
You can see in http://pandas.pydata.org/pandas-docs/version/0.16.2/generated/pandas.Series.str.ljust.html#pandas.Series.str.ljust that it should be linking to `str.ljust()` instead of `str.right()` (which doesn't exist)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10453/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10453/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10453.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10453",
"merged_at": "2015-06-27T14:39:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10453.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10453"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10454 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10454/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10454/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10454/events | https://github.com/pandas-dev/pandas/pull/10454 | 91,478,138 | MDExOlB1bGxSZXF1ZXN0Mzg3MTA1NTg= | 10,454 | Attempt to fix issue #10366 encoding and categoricals hdf serialization. | {
"avatar_url": "https://avatars.githubusercontent.com/u/223276?v=4",
"events_url": "https://api.github.com/users/cottrell/events{/privacy}",
"followers_url": "https://api.github.com/users/cottrell/followers",
"following_url": "https://api.github.com/users/cottrell/following{/other_user}",
"gists_url": "https://api.github.com/users/cottrell/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cottrell",
"id": 223276,
"login": "cottrell",
"node_id": "MDQ6VXNlcjIyMzI3Ng==",
"organizations_url": "https://api.github.com/users/cottrell/orgs",
"received_events_url": "https://api.github.com/users/cottrell/received_events",
"repos_url": "https://api.github.com/users/cottrell/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cottrell/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cottrell/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cottrell"
} | [
{
"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": "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_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 9 | 2015-06-27T14:47:44Z | 2015-08-22T20:21:50Z | 2015-08-22T20:21:50Z | CONTRIBUTOR | null | closes #10366 .
Probably not quite the right approach but want to run travis. Tests are a bit weak at this point (just testing for non-exceptions). Encoding issues might be relevant to other types besides categoricals (but categoricals raise exceptions when strings to mangled to non-uniqueness).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10454/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10454/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10454.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10454",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10454.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10454"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10455 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10455/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10455/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10455/events | https://github.com/pandas-dev/pandas/pull/10455 | 91,485,419 | MDExOlB1bGxSZXF1ZXN0Mzg3MTEzNzc= | 10,455 | Add odo to ecosystem docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | {
"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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 4 | 2015-06-27T15:53:09Z | 2015-06-27T19:04:43Z | 2015-06-27T19:04:42Z | MEMBER | null | closes ContinuumIO/odo#244
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10455/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10455/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10455.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10455",
"merged_at": "2015-06-27T19:04:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10455.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10455"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10456 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10456/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10456/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10456/events | https://github.com/pandas-dev/pandas/pull/10456 | 91,523,220 | MDExOlB1bGxSZXF1ZXN0Mzg3MTY0MTk= | 10,456 | DOC: Add warning for newbs not to edit auto-generated file | {
"avatar_url": "https://avatars.githubusercontent.com/u/6614695?v=4",
"events_url": "https://api.github.com/users/Garrett-R/events{/privacy}",
"followers_url": "https://api.github.com/users/Garrett-R/followers",
"following_url": "https://api.github.com/users/Garrett-R/following{/other_user}",
"gists_url": "https://api.github.com/users/Garrett-R/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Garrett-R",
"id": 6614695,
"login": "Garrett-R",
"node_id": "MDQ6VXNlcjY2MTQ2OTU=",
"organizations_url": "https://api.github.com/users/Garrett-R/orgs",
"received_events_url": "https://api.github.com/users/Garrett-R/received_events",
"repos_url": "https://api.github.com/users/Garrett-R/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Garrett-R/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Garrett-R/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Garrett-R"
} | [
{
"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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 9 | 2015-06-27T22:17:06Z | 2015-07-07T17:40:57Z | 2015-07-07T16:36:14Z | CONTRIBUTOR | null | @jreback, here is the proposed changed we talked about in [this PR](https://github.com/pydata/pandas/pull/10337#issuecomment-111822584) for other fellow newbs that make the same mistake I did.
You said "and more importantly prob a note in `internals.rst` about how/what to change", but I didn't understand that. `internals.rst` is not auto-generated, right? So, why would I add a note there? Perhaps you wanted a note to appear in `internals.html`? That seems unnecessary since if the user has that file on their machine, they must have intentionally generated 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/10456/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10456/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10456.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10456",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10456.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10456"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10457 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10457/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10457/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10457/events | https://github.com/pandas-dev/pandas/issues/10457 | 91,526,129 | MDU6SXNzdWU5MTUyNjEyOQ== | 10,457 | Can't get it to read a csv | {
"avatar_url": "https://avatars.githubusercontent.com/u/12983450?v=4",
"events_url": "https://api.github.com/users/nscaramuzzo/events{/privacy}",
"followers_url": "https://api.github.com/users/nscaramuzzo/followers",
"following_url": "https://api.github.com/users/nscaramuzzo/following{/other_user}",
"gists_url": "https://api.github.com/users/nscaramuzzo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nscaramuzzo",
"id": 12983450,
"login": "nscaramuzzo",
"node_id": "MDQ6VXNlcjEyOTgzNDUw",
"organizations_url": "https://api.github.com/users/nscaramuzzo/orgs",
"received_events_url": "https://api.github.com/users/nscaramuzzo/received_events",
"repos_url": "https://api.github.com/users/nscaramuzzo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nscaramuzzo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nscaramuzzo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nscaramuzzo"
} | []
| closed | false | null | []
| null | 14 | 2015-06-27T22:53:48Z | 2018-09-01T02:23:51Z | 2015-06-28T00:46:52Z | NONE | null | Typed in
pd.read_csv('Department_of_Recreation_and_Parks_Facility_and_Park_Information.csv')
and get this back:
-bash: syntax error near unexpected token `'Department_of_Recreation_and_Parks__Facility_and_Park_Information.csv''
The file exists in the folder
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10457/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10457/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10458 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10458/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10458/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10458/events | https://github.com/pandas-dev/pandas/pull/10458 | 91,530,816 | MDExOlB1bGxSZXF1ZXN0Mzg3MTc2NjA= | 10,458 | TST/CLN: remove assert_isinstance | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 1 | 2015-06-28T00:04:07Z | 2015-06-30T13:03:04Z | 2015-06-30T10:46:13Z | MEMBER | null | `testing.py` has `assert_isinstance` and `assertIsInstance` duplicately, and each test case uses either of them by choice.
Changed to use `assertIsInstance` in all cases, and make `assert_isinstance` show warning.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10458/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10458/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10458.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10458",
"merged_at": "2015-06-30T10:46:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10458.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10458"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10459 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10459/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10459/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10459/events | https://github.com/pandas-dev/pandas/issues/10459 | 91,534,047 | MDU6SXNzdWU5MTUzNDA0Nw== | 10,459 | Timestamp.to_datetime() crashes with win32timezone.TimeZoneInfo objects | {
"avatar_url": "https://avatars.githubusercontent.com/u/2797735?v=4",
"events_url": "https://api.github.com/users/mcg1969/events{/privacy}",
"followers_url": "https://api.github.com/users/mcg1969/followers",
"following_url": "https://api.github.com/users/mcg1969/following{/other_user}",
"gists_url": "https://api.github.com/users/mcg1969/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mcg1969",
"id": 2797735,
"login": "mcg1969",
"node_id": "MDQ6VXNlcjI3OTc3MzU=",
"organizations_url": "https://api.github.com/users/mcg1969/orgs",
"received_events_url": "https://api.github.com/users/mcg1969/received_events",
"repos_url": "https://api.github.com/users/mcg1969/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mcg1969/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mcg1969/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mcg1969"
} | [
{
"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": "Windows OS",
"id": 57186974,
"name": "Windows",
"node_id": "MDU6TGFiZWw1NzE4Njk3NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows"
},
{
"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": 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"
} | 4 | 2015-06-28T00:32:29Z | 2020-01-01T16:02:30Z | 2020-01-01T15:57:28Z | NONE | null | Thanks to the wonders of duck typing, `pandas.Timestamp` happily accepts `pywintypes.TimeType` objects (otherwise known as `pywintypes.datetime`), including those that employ the `win32timezone.TimeZoneInfo` object. And most methods work.
For some reason, `to_datetime` does not, and indeed it crashes:
```
import pandas as pd
from win32timezone import TimeZoneInfo
from pywintypes import TimeType
x = TimeType(2012,12,1,0,0,tzinfo=TimeZoneInfo('GMT Standard TIme'))
y = pd.Timestamp(x)
print(y)
y.tzinfo
y.utcoffset()
y.to_datetime64()
y.to_datetime()
```
This occurs with Anaconda installed win64 Python 3.4.3 and Pandas 0.16.2.
I'm going to see if I can't dig down to find a key source of failure. Stay tuned
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10459/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10459/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10460 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10460/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10460/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10460/events | https://github.com/pandas-dev/pandas/issues/10460 | 91,536,972 | MDU6SXNzdWU5MTUzNjk3Mg== | 10,460 | BUG/API: MultiIndex.get_level_values created from Categorical raises AttributeError | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 1 | 2015-06-28T00:58:28Z | 2015-07-01T13:46:10Z | 2015-07-01T13:46:10Z | MEMBER | null | ```
import pandas as pd
import numpy as np
levels = ['foo', 'bar', 'baz', 'qux']
codes = np.random.randint(0, 4, size=100)
cats = pd.Categorical.from_codes(codes, levels, name='myfactor', ordered=True)
data = pd.DataFrame(np.random.randn(100, 4))
grouped = data.groupby(cats)
desc_result = grouped.describe()
desc_result.index.get_level_values(0)
# AttributeError: 'Categorical' object has no attribute 'flags'
```
Changing below line to use `.get_values()` looks fix the issue.
- https://github.com/pydata/pandas/blob/master/pandas/core/index.py#L4241
### After the above change
```
desc_result.index.get_level_values(0)
CategoricalIndex([u'foo', u'foo', u'foo', u'foo', u'foo', u'foo', u'foo',
u'foo', u'bar', u'bar', u'bar', u'bar', u'bar', u'bar',
u'bar', u'bar', u'baz', u'baz', u'baz', u'baz', u'baz',
u'baz', u'baz', u'baz', u'qux', u'qux', u'qux', u'qux',
u'qux', u'qux', u'qux', u'qux'],
categories=[u'bar', u'baz', u'foo', u'qux'], ordered=False, name=u'myfactor', dtype='category')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10460/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10460/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10461 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10461/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10461/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10461/events | https://github.com/pandas-dev/pandas/issues/10461 | 91,537,468 | MDU6SXNzdWU5MTUzNzQ2OA== | 10,461 | API: MultiIndex.get_level_values should have label only / level only mode? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 9 | 2015-06-28T01:04:10Z | 2021-04-18T07:09:14Z | null | MEMBER | null | Currently, `MultiIndex.get_level_values` handles both names and levels, it return different levels depending on its name (like `.ix`). Adding an option (or separate method) like `.loc` and `.iloc` to avoid any unexpected results?
```
idx = pd.MultiIndex.from_tuples([(1, 'A'), (2, 'B')])
idx.get_level_values(0)
# Int64Index([1, 2], dtype='int64')
idx = idx.set_names([1, 0])
idx.get_level_values(0)
# Index([u'A', u'B'], dtype='object', name=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/10461/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10461/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10462 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10462/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10462/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10462/events | https://github.com/pandas-dev/pandas/pull/10462 | 91,559,942 | MDExOlB1bGxSZXF1ZXN0Mzg3MjA4MDU= | 10,462 | BUG: #10445 cannot add DataFrame to empty Panel | {
"avatar_url": "https://avatars.githubusercontent.com/u/6614695?v=4",
"events_url": "https://api.github.com/users/Garrett-R/events{/privacy}",
"followers_url": "https://api.github.com/users/Garrett-R/followers",
"following_url": "https://api.github.com/users/Garrett-R/following{/other_user}",
"gists_url": "https://api.github.com/users/Garrett-R/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Garrett-R",
"id": 6614695,
"login": "Garrett-R",
"node_id": "MDQ6VXNlcjY2MTQ2OTU=",
"organizations_url": "https://api.github.com/users/Garrett-R/orgs",
"received_events_url": "https://api.github.com/users/Garrett-R/received_events",
"repos_url": "https://api.github.com/users/Garrett-R/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Garrett-R/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Garrett-R/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Garrett-R"
} | [
{
"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": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 10 | 2015-06-28T06:11:29Z | 2015-10-12T01:32:14Z | 2015-10-11T16:00:58Z | CONTRIBUTOR | null | closes #10445
I based this bugfix off how DataFrame handles the analogous situation ‒ being intialized to empty and then having a series added (cf. [DataFrame._ensure_valid_index](https://github.com/pydata/pandas/blob/master/pandas/core/frame.py#L2167))
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10462/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10462/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10462.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10462",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10462.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10462"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10463 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10463/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10463/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10463/events | https://github.com/pandas-dev/pandas/issues/10463 | 91,582,007 | MDU6SXNzdWU5MTU4MjAwNw== | 10,463 | Feature proposal: pandas vectorize decorator | {
"avatar_url": "https://avatars.githubusercontent.com/u/674200?v=4",
"events_url": "https://api.github.com/users/twiecki/events{/privacy}",
"followers_url": "https://api.github.com/users/twiecki/followers",
"following_url": "https://api.github.com/users/twiecki/following{/other_user}",
"gists_url": "https://api.github.com/users/twiecki/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/twiecki",
"id": 674200,
"login": "twiecki",
"node_id": "MDQ6VXNlcjY3NDIwMA==",
"organizations_url": "https://api.github.com/users/twiecki/orgs",
"received_events_url": "https://api.github.com/users/twiecki/received_events",
"repos_url": "https://api.github.com/users/twiecki/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/twiecki/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/twiecki/subscriptions",
"type": "User",
"url": "https://api.github.com/users/twiecki"
} | []
| closed | false | null | []
| null | 13 | 2015-06-28T10:10:14Z | 2015-06-28T11:57:45Z | 2015-06-28T10:57:04Z | CONTRIBUTOR | null | `numpy` has a very useful `vectorize` decorator: http://docs.scipy.org/doc/numpy/reference/generated/numpy.vectorize.html that allows writing a function for scalars and then pass in arrays transparently. Under the hood, the function is called multiple times on subsets of the data.
I'm currently writing code that operates on a `Series` object. Some of those functions can also be passed in DataFrames and still work the same while some would require special logic. I think a pandas vectorize decorator could be very useful for these cases. In my specific case, I can just write that myself easily but I thought I'd bring it up. Perhaps this already exists and I just don't know about 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/10463/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10463/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10464 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10464/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10464/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10464/events | https://github.com/pandas-dev/pandas/pull/10464 | 91,586,068 | MDExOlB1bGxSZXF1ZXN0Mzg3MjM2NTQ= | 10,464 | BUG: Series.map using categorical Series raises AttributeError | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 8 | 2015-06-28T11:03:24Z | 2015-07-01T13:47:52Z | 2015-07-01T13:46:10Z | MEMBER | null | Closes #10324. Closes #10460.
Based on #9848, using `.get_values` should be avoided?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10464/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10464/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10464.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10464",
"merged_at": "2015-07-01T13:46:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10464.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10464"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10465 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10465/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10465/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10465/events | https://github.com/pandas-dev/pandas/pull/10465 | 91,588,454 | MDExOlB1bGxSZXF1ZXN0Mzg3MjM4NjI= | 10,465 | BUG: MultiIndex.get_level_values created from Categorical raises AttributeError | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 1 | 2015-06-28T11:22:03Z | 2015-06-28T13:22:06Z | 2015-06-28T13:18:30Z | MEMBER | null | Closes #10460.
xref: #10464.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10465/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10465/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10465.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10465",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10465.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10465"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10466 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10466/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10466/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10466/events | https://github.com/pandas-dev/pandas/pull/10466 | 91,631,913 | MDExOlB1bGxSZXF1ZXN0Mzg3MzA4MTc= | 10,466 | ENH: Add pipe method to GroupBy (fixes #10353) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1400021?v=4",
"events_url": "https://api.github.com/users/ghl3/events{/privacy}",
"followers_url": "https://api.github.com/users/ghl3/followers",
"following_url": "https://api.github.com/users/ghl3/following{/other_user}",
"gists_url": "https://api.github.com/users/ghl3/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghl3",
"id": 1400021,
"login": "ghl3",
"node_id": "MDQ6VXNlcjE0MDAwMjE=",
"organizations_url": "https://api.github.com/users/ghl3/orgs",
"received_events_url": "https://api.github.com/users/ghl3/received_events",
"repos_url": "https://api.github.com/users/ghl3/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghl3/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghl3/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghl3"
} | [
{
"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": 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"
} | 21 | 2015-06-28T19:51:19Z | 2015-12-06T19:09:55Z | 2015-12-06T19:09:55Z | NONE | null | closes #10353, extends the "pipe" method to a GroupBy object to allow one to chain it with NDFrame.pipe calls
- Moves the functionality of "pipe" from NDFrame into generics._pipe to avoid code duplication
- Leverages this in GroupBy object
- Adds unit 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/10466/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10466/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10466.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10466",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10466.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10466"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10467 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10467/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10467/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10467/events | https://github.com/pandas-dev/pandas/issues/10467 | 91,767,392 | MDU6SXNzdWU5MTc2NzM5Mg== | 10,467 | BUG: read_csv: invalid index from header-only input file with multiindex. | {
"avatar_url": "https://avatars.githubusercontent.com/u/45137?v=4",
"events_url": "https://api.github.com/users/santegoeds/events{/privacy}",
"followers_url": "https://api.github.com/users/santegoeds/followers",
"following_url": "https://api.github.com/users/santegoeds/following{/other_user}",
"gists_url": "https://api.github.com/users/santegoeds/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/santegoeds",
"id": 45137,
"login": "santegoeds",
"node_id": "MDQ6VXNlcjQ1MTM3",
"organizations_url": "https://api.github.com/users/santegoeds/orgs",
"received_events_url": "https://api.github.com/users/santegoeds/received_events",
"repos_url": "https://api.github.com/users/santegoeds/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/santegoeds/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/santegoeds/subscriptions",
"type": "User",
"url": "https://api.github.com/users/santegoeds"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 3 | 2015-06-29T10:28:49Z | 2015-07-07T09:30:45Z | 2015-07-07T09:30:45Z | CONTRIBUTOR | null | ``` Python
import pandas as pd
import cStringIO as stringio
df = pd.read_csv(stringio.StringIO("x,y,z"), index_col=["x", "y"])
print df.columns
print df.index.names
```
Output:
```
$ python x.py
Index([u'y'], dtype='object')
[u'x', u'y']
```
Expected column name is "z".
## INSTALLED VERSIONS
commit: 01995b2c2c759c66b208dc0bd8a35f5f23c39b9f
python: 2.7.3.final.0
python-bits: 64
OS: Linux
OS-release: 2.6.18-400.1.1.el5
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_GB
pandas: 0.16.2-58-g01995b2
nose: 1.3.0
Cython: 0.22
numpy: 1.9.2
scipy: 0.9.0
statsmodels: None
IPython: 3.2.0
sphinx: None
patsy: None
dateutil: 2.4.2
pytz: 2015.2
bottleneck: 0.6.0
tables: 3.2.0
numexpr: 2.4.3
matplotlib: 1.3.1
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: 4.2.1
html5lib: 0.90
httplib2: $Rev$
apiclient: None
sqlalchemy: 0.9.4
pymysql: None
psycopg2: None
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10467/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10467/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10468 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10468/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10468/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10468/events | https://github.com/pandas-dev/pandas/issues/10468 | 91,768,396 | MDU6SXNzdWU5MTc2ODM5Ng== | 10,468 | Iterating over groups skips groups with nan in the name | {
"avatar_url": "https://avatars.githubusercontent.com/u/7300030?v=4",
"events_url": "https://api.github.com/users/fabianrost84/events{/privacy}",
"followers_url": "https://api.github.com/users/fabianrost84/followers",
"following_url": "https://api.github.com/users/fabianrost84/following{/other_user}",
"gists_url": "https://api.github.com/users/fabianrost84/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fabianrost84",
"id": 7300030,
"login": "fabianrost84",
"node_id": "MDQ6VXNlcjczMDAwMzA=",
"organizations_url": "https://api.github.com/users/fabianrost84/orgs",
"received_events_url": "https://api.github.com/users/fabianrost84/received_events",
"repos_url": "https://api.github.com/users/fabianrost84/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fabianrost84/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fabianrost84/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fabianrost84"
} | [
{
"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": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
]
| closed | false | null | []
| null | 8 | 2015-06-29T10:35:38Z | 2017-12-19T20:06:47Z | 2015-06-29T11:07:26Z | CONTRIBUTOR | null | Today I discovered a strange behaviour when iterating over groups where the group name contains a nan. Take the following data frame and group it. As expected there are two groups:
``` python
In [1]: df = pd.DataFrame([['a', 1, 1], ['b', sp.nan, 2]], columns = ['a', 'b', 'c'])
In [2]: grouped = df.groupby(['a', 'b'])
In [3]: print grouped.groups
{('a', 1.0): [0], ('b', nan): [1]}
```
Now, if I iterate over the groups the second group is missing:
``` python
In [4]: for name, group in grouped:
...: print name
('a', 1.0)
```
I would expect that the iteration works like this:
``` python
In [5]: for name, group in grouped.groups.items():
...: print name
('a', 1.0)
('b', nan)
```
pandas version:
``` python
In [6]: pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.6.final.0
python-bits: 64
OS: Linux
OS-release: 3.13.0-55-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.15.2
nose: 1.3.1
Cython: 0.20.1post0
numpy: 1.9.1
scipy: 0.13.3
statsmodels: 0.5.0
IPython: 3.2.0
sphinx: None
patsy: 0.3.0
dateutil: 2.4.0
pytz: 2014.10
bottleneck: None
tables: 3.1.1
numexpr: 2.2.2
matplotlib: 1.3.1
openpyxl: 1.7.0
xlrd: 0.9.2
xlwt: 0.7.5
xlsxwriter: None
lxml: 3.3.3
bs4: 4.2.1
html5lib: 0.999
httplib2: 0.8
apiclient: None
rpy2: 2.3.9
sqlalchemy: 0.8.4
pymysql: None
psycopg2: 2.4.5 (dt dec mx pq3 ext)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10468/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10468/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10469 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10469/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10469/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10469/events | https://github.com/pandas-dev/pandas/pull/10469 | 91,806,906 | MDExOlB1bGxSZXF1ZXN0Mzg3NzQ3NTU= | 10,469 | BUG: Fix csv_read bugs when using empty input. GH10467 & GH10413 | {
"avatar_url": "https://avatars.githubusercontent.com/u/45137?v=4",
"events_url": "https://api.github.com/users/santegoeds/events{/privacy}",
"followers_url": "https://api.github.com/users/santegoeds/followers",
"following_url": "https://api.github.com/users/santegoeds/following{/other_user}",
"gists_url": "https://api.github.com/users/santegoeds/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/santegoeds",
"id": 45137,
"login": "santegoeds",
"node_id": "MDQ6VXNlcjQ1MTM3",
"organizations_url": "https://api.github.com/users/santegoeds/orgs",
"received_events_url": "https://api.github.com/users/santegoeds/received_events",
"repos_url": "https://api.github.com/users/santegoeds/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/santegoeds/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/santegoeds/subscriptions",
"type": "User",
"url": "https://api.github.com/users/santegoeds"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_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-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 6 | 2015-06-29T13:45:00Z | 2015-07-07T09:30:45Z | 2015-07-07T09:30:45Z | CONTRIBUTOR | null | closes #10413
closes #10467
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10469/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10469/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10469.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10469",
"merged_at": "2015-07-07T09:30:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10469.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10469"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10470 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10470/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10470/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10470/events | https://github.com/pandas-dev/pandas/issues/10470 | 91,828,422 | MDU6SXNzdWU5MTgyODQyMg== | 10,470 | CLN: StringIO from io instead of from StringIO | {
"avatar_url": "https://avatars.githubusercontent.com/u/10709573?v=4",
"events_url": "https://api.github.com/users/kawochen/events{/privacy}",
"followers_url": "https://api.github.com/users/kawochen/followers",
"following_url": "https://api.github.com/users/kawochen/following{/other_user}",
"gists_url": "https://api.github.com/users/kawochen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kawochen",
"id": 10709573,
"login": "kawochen",
"node_id": "MDQ6VXNlcjEwNzA5NTcz",
"organizations_url": "https://api.github.com/users/kawochen/orgs",
"received_events_url": "https://api.github.com/users/kawochen/received_events",
"repos_url": "https://api.github.com/users/kawochen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kawochen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kawochen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kawochen"
} | [
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2019-07-19T00:34:29Z",
"closed_issues": 1289,
"created_at": "2018-10-23T02:34:15Z",
"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": "2019-07-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/61",
"id": 3759483,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels",
"node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==",
"number": 61,
"open_issues": 0,
"state": "closed",
"title": "0.25.0",
"updated_at": "2020-01-02T15:10:40Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61"
} | 8 | 2015-06-29T14:56:39Z | 2019-04-05T06:54:16Z | 2019-04-05T06:54:05Z | CONTRIBUTOR | null | It looks like `io` is available from 2.6 onward. Can I move the importing out of `compat` (and replaces any `cStringIO` with `StringIO`)? `StringIO.StringIO` doesn't always do the same thing as `io.StringIO`.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10470/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10470/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10471 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10471/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10471/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10471/events | https://github.com/pandas-dev/pandas/issues/10471 | 91,860,776 | MDU6SXNzdWU5MTg2MDc3Ng== | 10,471 | test_set_locale fails if LC_ALL is set outside | {
"avatar_url": "https://avatars.githubusercontent.com/u/39889?v=4",
"events_url": "https://api.github.com/users/yarikoptic/events{/privacy}",
"followers_url": "https://api.github.com/users/yarikoptic/followers",
"following_url": "https://api.github.com/users/yarikoptic/following{/other_user}",
"gists_url": "https://api.github.com/users/yarikoptic/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yarikoptic",
"id": 39889,
"login": "yarikoptic",
"node_id": "MDQ6VXNlcjM5ODg5",
"organizations_url": "https://api.github.com/users/yarikoptic/orgs",
"received_events_url": "https://api.github.com/users/yarikoptic/received_events",
"repos_url": "https://api.github.com/users/yarikoptic/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yarikoptic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yarikoptic/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yarikoptic"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "f9c1b1",
"default": false,
"description": "Linux OS",
"id": 1233745380,
"name": "Linux",
"node_id": "MDU6TGFiZWwxMjMzNzQ1Mzgw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Linux"
}
]
| closed | false | null | []
| null | 1 | 2015-06-29T17:19:03Z | 2021-04-18T07:13:19Z | 2021-04-18T07:13:19Z | CONTRIBUTOR | null | ```
~/pandas-0.16.2+git58-g01995b2# LC_ALL=C.UTF-8 nosetests3 -s -v /tmp/buildd/pandas-0.16.2+git58-g01995b2/debian/tmp/usr/lib/python3/dist-packages/pandas/tools/tests/test_util.py
test_datetimeindex (pandas.tools.tests.test_util.TestCartesianProduct) ... ok
test_simple (pandas.tools.tests.test_util.TestCartesianProduct) ... ok
test_get_locales (pandas.tools.tests.test_util.TestLocaleUtils) ... ok
test_get_locales_prefix (pandas.tools.tests.test_util.TestLocaleUtils) ... ok
test_set_locale (pandas.tools.tests.test_util.TestLocaleUtils) ... FAIL
======================================================================
FAIL: test_set_locale (pandas.tools.tests.test_util.TestLocaleUtils)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/buildd/pandas-0.16.2+git58-g01995b2/debian/tmp/usr/lib/python3/dist-packages/pandas/tools/tests/test_util.py", line 90, in test_set_locale
self.assertEqual(current_locale, CURRENT_LOCALE)
AssertionError: Tuples differ: (None, None) != ('en_US', 'UTF-8')
First differing element 0:
None
en_US
- (None, None)
+ ('en_US', 'UTF-8')
----------------------------------------------------------------------
Ran 5 tests in 0.047s
FAILED (failures=1)
~/pandas-0.16.2+git58-g01995b2# nosetests3 -s -v /tmp/buildd/pandas-0.16.2+git58-g01995b2/debian/tmp/usr/lib/python3/dist-packages/pandas/tools/tests/test_util.py
test_datetimeindex (pandas.tools.tests.test_util.TestCartesianProduct) ... ok
test_simple (pandas.tools.tests.test_util.TestCartesianProduct) ... ok
test_get_locales (pandas.tools.tests.test_util.TestLocaleUtils) ... ok
test_get_locales_prefix (pandas.tools.tests.test_util.TestLocaleUtils) ... ok
test_set_locale (pandas.tools.tests.test_util.TestLocaleUtils) ... ok
----------------------------------------------------------------------
Ran 5 tests in 0.039s
OK
```
and I need to set LC_ALL so that tests like read_html pass while decoding unicode correctly
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10471/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10471/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10472 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10472/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10472/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10472/events | https://github.com/pandas-dev/pandas/pull/10472 | 91,861,641 | MDExOlB1bGxSZXF1ZXN0Mzg3OTY3MzI= | 10,472 | ENH: Make group_var_ use Welford's algorithm. | {
"avatar_url": "https://avatars.githubusercontent.com/u/537559?v=4",
"events_url": "https://api.github.com/users/jvkersch/events{/privacy}",
"followers_url": "https://api.github.com/users/jvkersch/followers",
"following_url": "https://api.github.com/users/jvkersch/following{/other_user}",
"gists_url": "https://api.github.com/users/jvkersch/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jvkersch",
"id": 537559,
"login": "jvkersch",
"node_id": "MDQ6VXNlcjUzNzU1OQ==",
"organizations_url": "https://api.github.com/users/jvkersch/orgs",
"received_events_url": "https://api.github.com/users/jvkersch/received_events",
"repos_url": "https://api.github.com/users/jvkersch/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jvkersch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jvkersch/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jvkersch"
} | [
{
"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": "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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 6 | 2015-06-29T17:23:27Z | 2015-07-08T21:19:54Z | 2015-07-08T14:19:41Z | CONTRIBUTOR | null | closes #10448
This PR reimplements the Cython functions `group_var_float64` and `group_var_float32` to use Welford's algorithm, rather than the sum-of-squares method, which is numerically unstable. This came up in #10448; see also #10242 for more discussion.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10472/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10472/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10472.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10472",
"merged_at": "2015-07-08T14:19:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10472.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10472"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10473 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10473/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10473/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10473/events | https://github.com/pandas-dev/pandas/pull/10473 | 91,887,694 | MDExOlB1bGxSZXF1ZXN0Mzg4MDgzMjE= | 10,473 | BUG: Enable complex values to be written to HDF | {
"avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4",
"events_url": "https://api.github.com/users/bashtage/events{/privacy}",
"followers_url": "https://api.github.com/users/bashtage/followers",
"following_url": "https://api.github.com/users/bashtage/following{/other_user}",
"gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bashtage",
"id": 5585221,
"login": "bashtage",
"node_id": "MDQ6VXNlcjU1ODUyMjE=",
"organizations_url": "https://api.github.com/users/bashtage/orgs",
"received_events_url": "https://api.github.com/users/bashtage/received_events",
"repos_url": "https://api.github.com/users/bashtage/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bashtage/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bashtage"
} | [
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "009800",
"default": false,
"description": "Complex Numbers",
"id": 172091424,
"name": "Complex",
"node_id": "MDU6TGFiZWwxNzIwOTE0MjQ=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Complex"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 5 | 2015-06-29T19:27:56Z | 2015-07-13T13:22:09Z | 2015-07-13T12:42:41Z | CONTRIBUTOR | null | Enable table format to be used to store complex values
in DataFrames, Panels and Panel4Ds.
Add tests for both fixed and panel.
Add exception when attempting to write Series with complex values.
closes #10447
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10473/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10473/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10473.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10473",
"merged_at": "2015-07-13T12:42:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10473.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10473"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10474 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10474/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10474/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10474/events | https://github.com/pandas-dev/pandas/issues/10474 | 91,917,441 | MDU6SXNzdWU5MTkxNzQ0MQ== | 10,474 | Feature Request: Add support for 'Allow Large Results' to BigQuery connector | {
"avatar_url": "https://avatars.githubusercontent.com/u/13002833?v=4",
"events_url": "https://api.github.com/users/ptthompsonzul/events{/privacy}",
"followers_url": "https://api.github.com/users/ptthompsonzul/followers",
"following_url": "https://api.github.com/users/ptthompsonzul/following{/other_user}",
"gists_url": "https://api.github.com/users/ptthompsonzul/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ptthompsonzul",
"id": 13002833,
"login": "ptthompsonzul",
"node_id": "MDQ6VXNlcjEzMDAyODMz",
"organizations_url": "https://api.github.com/users/ptthompsonzul/orgs",
"received_events_url": "https://api.github.com/users/ptthompsonzul/received_events",
"repos_url": "https://api.github.com/users/ptthompsonzul/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ptthompsonzul/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ptthompsonzul/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ptthompsonzul"
} | [
{
"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": 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 | 2015-06-29T21:44:36Z | 2017-02-26T20:22:29Z | 2017-02-26T20:11:08Z | NONE | null | gbq.py currently returns an error if the result of a query is what Google considers to be 'Large'. The google api allows jobs to be sent with a flag to allow large results. It would be very beneficial to provide this as an option in the BigQuery connector.
| {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10474/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10474/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10475 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10475/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10475/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10475/events | https://github.com/pandas-dev/pandas/issues/10475 | 92,090,515 | MDU6SXNzdWU5MjA5MDUxNQ== | 10,475 | Series.shift speed up | {
"avatar_url": "https://avatars.githubusercontent.com/u/2299446?v=4",
"events_url": "https://api.github.com/users/httassadar/events{/privacy}",
"followers_url": "https://api.github.com/users/httassadar/followers",
"following_url": "https://api.github.com/users/httassadar/following{/other_user}",
"gists_url": "https://api.github.com/users/httassadar/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/httassadar",
"id": 2299446,
"login": "httassadar",
"node_id": "MDQ6VXNlcjIyOTk0NDY=",
"organizations_url": "https://api.github.com/users/httassadar/orgs",
"received_events_url": "https://api.github.com/users/httassadar/received_events",
"repos_url": "https://api.github.com/users/httassadar/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/httassadar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/httassadar/subscriptions",
"type": "User",
"url": "https://api.github.com/users/httassadar"
} | [
{
"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": "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": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
]
| closed | false | null | []
| {
"closed_at": 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"
} | 3 | 2015-06-30T13:14:38Z | 2020-03-31T04:55:31Z | 2020-03-31T04:55:31Z | NONE | null | Series.shift() is slow when freq parameter is supplied
```
ts = pd.util.testing.makeTimeSeries(10000)
ts.shift(5, 'D') # takes 0.5 sec
ts.shift(5, np.timedelta64(1, 'D')) # takes 0.16 sec
ts2 = ts.copy()
ts2.index = ts.index + np.timedelta64(5, 'D') # takes < 0.001 sec
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10475/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10475/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10476 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10476/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10476/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10476/events | https://github.com/pandas-dev/pandas/issues/10476 | 92,127,551 | MDU6SXNzdWU5MjEyNzU1MQ== | 10,476 | read_csv python engine errors | {
"avatar_url": "https://avatars.githubusercontent.com/u/69774?v=4",
"events_url": "https://api.github.com/users/michaelaye/events{/privacy}",
"followers_url": "https://api.github.com/users/michaelaye/followers",
"following_url": "https://api.github.com/users/michaelaye/following{/other_user}",
"gists_url": "https://api.github.com/users/michaelaye/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/michaelaye",
"id": 69774,
"login": "michaelaye",
"node_id": "MDQ6VXNlcjY5Nzc0",
"organizations_url": "https://api.github.com/users/michaelaye/orgs",
"received_events_url": "https://api.github.com/users/michaelaye/received_events",
"repos_url": "https://api.github.com/users/michaelaye/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/michaelaye/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michaelaye/subscriptions",
"type": "User",
"url": "https://api.github.com/users/michaelaye"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_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": "2016-10-03T08:52:13Z",
"closed_issues": 733,
"created_at": "2016-03-11T21:24:45Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2016-09-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/40",
"id": 1639795,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels",
"node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==",
"number": 40,
"open_issues": 0,
"state": "closed",
"title": "0.19.0",
"updated_at": "2017-11-06T02:01:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40"
} | 4 | 2015-06-30T15:40:42Z | 2016-05-25T12:09:25Z | 2016-05-25T12:09:25Z | CONTRIBUTOR | null | Only thing I changed from my usually working reduction pipeline is to try `engine="python"` (because I wanted to use `nrows` for a smaller test-read, but that fails as well, and I thought maybe the python engine is buggy currently):
``` python
$ python reduction.py ~/data/planet4/2015-06-21_planet_four_classifications.csv
INFO:Starting reduction.
Traceback (most recent call last):
File "reduction.py", line 258, in <module>
args.test_n_rows, args.remove_duplicates)
File "reduction.py", line 182, in main
data = [chunk for chunk in reader]
File "reduction.py", line 182, in <listcomp>
data = [chunk for chunk in reader]
File "/Users/klay6683/miniconda3/lib/python3.4/site-packages/pandas-0.16.2_58_g01995b2-py3.4-macosx-10.5-x86_64.egg/pandas/io/parsers.py", line 697, in __iter__
yield self.read(self.chunksize)
File "/Users/klay6683/miniconda3/lib/python3.4/site-packages/pandas-0.16.2_58_g01995b2-py3.4-macosx-10.5-x86_64.egg/pandas/io/parsers.py", line 721, in read
ret = self._engine.read(nrows)
File "/Users/klay6683/miniconda3/lib/python3.4/site-packages/pandas-0.16.2_58_g01995b2-py3.4-macosx-10.5-x86_64.egg/pandas/io/parsers.py", line 1556, in read
content = self._get_lines(rows)
File "/Users/klay6683/miniconda3/lib/python3.4/site-packages/pandas-0.16.2_58_g01995b2-py3.4-macosx-10.5-x86_64.egg/pandas/io/parsers.py", line 2007, in _get_lines
for _ in range(rows):
TypeError: 'float' object cannot be interpreted as an integer
```
My function call is this:
``` python
# as chunksize and nrows cannot be used together yet, i switch chunksize
# to None if I want test_n_rows for a small test database:
if test_n_rows:
chunks = None
else:
chunks = 1e6
# creating reader object with pandas interface for csv parsing
# doing this in chunks as its faster. Also, later will do a split
# into multiple processes to do this.
reader = pd.read_csv(fname, chunksize=chunks, na_values=['null'],
usecols=analysis_cols, nrows=test_n_rows,
engine='c')
```
Using pandas-0.16.2_58_g01995b2-py3.4
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10476/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10476/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10477 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10477/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10477/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10477/events | https://github.com/pandas-dev/pandas/pull/10477 | 92,128,274 | MDExOlB1bGxSZXF1ZXN0Mzg4OTI2MjU= | 10,477 | API: add DatetimeBlockTZ #8260 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"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": "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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 78 | 2015-06-30T15:44:09Z | 2015-09-05T16:17:23Z | 2015-09-05T16:17:23Z | CONTRIBUTOR | null | closes #8260
closes #10763
ToDos:
- [x] doc updates
- [x] test with `Series.dt.*`
- [x] test with csv/HDF5
- [x] nat setting borked ATM
- [x] HDF5 example from 0.16.2
~~\- [ ] get_values/values - make consistent~~
~~\- [ ] maybe move `DatetimeTZBlock.shift` mostly to `DatetimeIndex.shift`~~
Also
- This cleans up the internal blocks calling conventions a bit
- Fixes a bug in `DatetimeIndex` and localizing when NaT's are present
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
timestamp_tz_ops_diff1 | 0.1804 | 159.4527 | 0.0011 | # note these are 10k element
timestamp_tz_ops_diff2 | 2.5350 | 156.4047 | 0.0162 | # note these are 10k elements
timeseries_timestamp_downsample_mean | 3.1467 | 3.3040 | 0.9524 |
timestamp_series_compare | 9.0797 | 9.1290 | 0.9946 |
timestamp_ops_diff2 | 19.7570 | 19.6819 | 1.0038 | # this is 1M elements
series_timestamp_compare | 9.3430 | 9.0226 | 1.0355 |
timestamp_ops_diff1 | 9.7457 | 9.0450 | 1.0775 | # this is 1M elements
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
Ratio < 1.0 means the target commit is faster then the baseline.
Seed used: 1234
Target [8502474] : API: add Block.make_block
API: add DatetimeBlockWithTZ #8260
Base [16a44ad] : Merge pull request #10199 from jreback/gil
PERF: releasing the GIL, #8882
```
Demo
```
In [1]: df = DataFrame({'A' : date_range('20130101',periods=3),
...: 'B' : date_range('20130101',periods=3,tz='US/Eastern'),
...: 'C' : date_range('20130101',periods=3,tz='CET')})
In [2]: df
Out[2]:
A B C
0 2013-01-01 2013-01-01 05:00:00 2012-12-31 23:00:00
1 2013-01-02 2013-01-02 05:00:00 2013-01-01 23:00:00
2 2013-01-03 2013-01-03 05:00:00 2013-01-02 23:00:00
In [3]: df.dtypes
Out[3]:
A datetime64[ns]
B datetime64[ns, US/Eastern]
C datetime64[ns, CET]
dtype: object
In [4]: df.B
Out[4]:
0 2013-01-01 00:00:00-05:00
1 2013-01-02 00:00:00-05:00
2 2013-01-03 00:00:00-05:00
Name: B, dtype: datetime64[ns, US/Eastern]
In [5]: df.B.dt.tz_localize(None)
Out[5]:
0 2013-01-01
1 2013-01-02
2 2013-01-03
dtype: datetime64[ns]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10477/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10477/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10477.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10477",
"merged_at": "2015-09-05T16:17:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10477.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10477"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10478 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10478/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10478/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10478/events | https://github.com/pandas-dev/pandas/issues/10478 | 92,184,629 | MDU6SXNzdWU5MjE4NDYyOQ== | 10,478 | test_concat_categorical fails on 32bit | {
"avatar_url": "https://avatars.githubusercontent.com/u/39889?v=4",
"events_url": "https://api.github.com/users/yarikoptic/events{/privacy}",
"followers_url": "https://api.github.com/users/yarikoptic/followers",
"following_url": "https://api.github.com/users/yarikoptic/following{/other_user}",
"gists_url": "https://api.github.com/users/yarikoptic/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yarikoptic",
"id": 39889,
"login": "yarikoptic",
"node_id": "MDQ6VXNlcjM5ODg5",
"organizations_url": "https://api.github.com/users/yarikoptic/orgs",
"received_events_url": "https://api.github.com/users/yarikoptic/received_events",
"repos_url": "https://api.github.com/users/yarikoptic/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yarikoptic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yarikoptic/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yarikoptic"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 1 | 2015-06-30T19:55:38Z | 2015-06-30T21:21:14Z | 2015-06-30T21:21:01Z | CONTRIBUTOR | null | ``` ======================================================================
FAIL: test_concat_categorical (pandas.tests.test_categorical.TestCategoricalAsBlock)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/buildd/pandas-0.16.2+git58-g01995b2/debian/tmp/usr/lib/python2.7/dist-packages/pandas/tests/test_categorical.py", line 2985, in test_concat_categorical
tm.assert_frame_equal(df_expected, df_concat)
File "/tmp/buildd/pandas-0.16.2+git58-g01995b2/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/testing.py", line 746, in assert_frame_equal
check_names=check_names)
File "/tmp/buildd/pandas-0.16.2+git58-g01995b2/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/testing.py", line 675, in assert_series_equal
assert_attr_equal('dtype', left, right)
File "/tmp/buildd/pandas-0.16.2+git58-g01995b2/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/testing.py", line 552, in assert_attr_equal
assert_equal(left_attr,right_attr,"attr is not equal [{0}]" .format(attr))
File "/tmp/buildd/pandas-0.16.2+git58-g01995b2/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/testing.py", line 533, in assert_equal
assert a == b, "%s: %r != %r" % (msg.format(a,b), a, b)
AssertionError: attr is not equal [dtype]: dtype('int64') != dtype('int32')
```
got while building 0.16.2+git58-g01995b2
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10478/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10478/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10479 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10479/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10479/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10479/events | https://github.com/pandas-dev/pandas/pull/10479 | 92,268,336 | MDExOlB1bGxSZXF1ZXN0Mzg5NDgxNTQ= | 10,479 | Fix docstring for na_values in parsers | {
"avatar_url": "https://avatars.githubusercontent.com/u/1250388?v=4",
"events_url": "https://api.github.com/users/jaidevd/events{/privacy}",
"followers_url": "https://api.github.com/users/jaidevd/followers",
"following_url": "https://api.github.com/users/jaidevd/following{/other_user}",
"gists_url": "https://api.github.com/users/jaidevd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jaidevd",
"id": 1250388,
"login": "jaidevd",
"node_id": "MDQ6VXNlcjEyNTAzODg=",
"organizations_url": "https://api.github.com/users/jaidevd/orgs",
"received_events_url": "https://api.github.com/users/jaidevd/received_events",
"repos_url": "https://api.github.com/users/jaidevd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jaidevd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jaidevd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jaidevd"
} | [
{
"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": "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-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 4 | 2015-07-01T04:52:03Z | 2015-07-02T04:17:15Z | 2015-07-01T10:53:21Z | CONTRIBUTOR | null | I discovered entirely by accident that the `na_values` in `pd.read_*` can be a string. According to the docstring, it can only be a sequence or a dict. This PR fixes that.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10479/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10479/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10479.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10479",
"merged_at": "2015-07-01T10:53:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10479.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10479"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10480 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10480/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10480/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10480/events | https://github.com/pandas-dev/pandas/issues/10480 | 92,328,222 | MDU6SXNzdWU5MjMyODIyMg== | 10,480 | numeric_only inconsistency with pandas Series | {
"avatar_url": "https://avatars.githubusercontent.com/u/70800?v=4",
"events_url": "https://api.github.com/users/Wilfred/events{/privacy}",
"followers_url": "https://api.github.com/users/Wilfred/followers",
"following_url": "https://api.github.com/users/Wilfred/following{/other_user}",
"gists_url": "https://api.github.com/users/Wilfred/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Wilfred",
"id": 70800,
"login": "Wilfred",
"node_id": "MDQ6VXNlcjcwODAw",
"organizations_url": "https://api.github.com/users/Wilfred/orgs",
"received_events_url": "https://api.github.com/users/Wilfred/received_events",
"repos_url": "https://api.github.com/users/Wilfred/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Wilfred/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Wilfred/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Wilfred"
} | [
{
"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": "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": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2016-10-03T08:52:13Z",
"closed_issues": 733,
"created_at": "2016-03-11T21:24:45Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2016-09-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/40",
"id": 1639795,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels",
"node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==",
"number": 40,
"open_issues": 0,
"state": "closed",
"title": "0.19.0",
"updated_at": "2017-11-06T02:01:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40"
} | 11 | 2015-07-01T09:32:27Z | 2018-01-01T12:16:33Z | 2016-09-28T10:08:51Z | CONTRIBUTOR | null | ```
In [1]: import pandas as pd
In [2]: pd.Series([1,2,3]).sum(numeric_only=False)
Out[2]: 6
In [3]: pd.Series([1,2,3]).sum(numeric_only=True)
---------------------------------------------------------------------------
NotImplementedError Traceback (most recent call last)
<ipython-input-3-2c46bd289e26> in <module>()
----> 1 pd.Series([1,2,3]).sum(numeric_only=True)
/users/is/whughes/pyenvs/research/lib/python2.7/site-packages/pandas-0.16.2_ahl1-py2.7-linux-x86_64.egg/pandas/core/generic.pyc in stat_func(self, axis, skipna, level, numeric_only, **kwargs)
4253 skipna=skipna)
4254 return self._reduce(f, name, axis=axis,
-> 4255 skipna=skipna, numeric_only=numeric_only)
4256 stat_func.__name__ = name
4257 return stat_func
/users/is/whughes/pyenvs/research/lib/python2.7/site-packages/pandas-0.16.2_ahl1-py2.7-linux-x86_64.egg/pandas/core/series.pyc in _reduce(self, op, name, axis, skipna, numeric_only, filter_type, **kwds)
2081 if numeric_only:
2082 raise NotImplementedError(
-> 2083 'Series.{0} does not implement numeric_only.'.format(name))
2084 return op(delegate, skipna=skipna, **kwds)
2085
NotImplementedError: Series.sum does not implement numeric_only.
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10480/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10480/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10481 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10481/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10481/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10481/events | https://github.com/pandas-dev/pandas/issues/10481 | 92,350,424 | MDU6SXNzdWU5MjM1MDQyNA== | 10,481 | DOC: na_fvalues argument for read_csv not documented in docstring | {
"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"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 4 | 2015-07-01T11:00:12Z | 2015-07-13T13:14:25Z | 2015-07-13T13:14:25Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10481/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10481/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/10482 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10482/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10482/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10482/events | https://github.com/pandas-dev/pandas/issues/10482 | 92,400,857 | MDU6SXNzdWU5MjQwMDg1Nw== | 10,482 | BUG: Index doesn't take over the Categorical name | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"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": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 5 | 2015-07-01T14:34:48Z | 2015-07-20T01:46:53Z | 2015-07-20T01:46:53Z | MEMBER | null | `Series` can take over the `Categorical.name`.
```
import pandas as pd
c = pd.Categorical([1, 2, 3], name='xxx')
pd.Series(c)
#0 1
#1 2
#2 3
# Name: xxx, dtype: category
# Categories (3, int64): [1, 2, 3]
```
But `Index` doesn't.
```
pd.Index(c)
# CategoricalIndex([1, 2, 3], categories=[1, 2, 3], ordered=False, dtype='category')
pd.CategoricalIndex(c)
# CategoricalIndex([1, 2, 3], categories=[1, 2, 3], ordered=False, dtype='category')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10482/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10482/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10483 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10483/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10483/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10483/events | https://github.com/pandas-dev/pandas/pull/10483 | 92,470,164 | MDExOlB1bGxSZXF1ZXN0MzkwMTgxNjA= | 10,483 | Series.from_csv not loading header names | {
"avatar_url": "https://avatars.githubusercontent.com/u/2941720?v=4",
"events_url": "https://api.github.com/users/lewisacidic/events{/privacy}",
"followers_url": "https://api.github.com/users/lewisacidic/followers",
"following_url": "https://api.github.com/users/lewisacidic/following{/other_user}",
"gists_url": "https://api.github.com/users/lewisacidic/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lewisacidic",
"id": 2941720,
"login": "lewisacidic",
"node_id": "MDQ6VXNlcjI5NDE3MjA=",
"organizations_url": "https://api.github.com/users/lewisacidic/orgs",
"received_events_url": "https://api.github.com/users/lewisacidic/received_events",
"repos_url": "https://api.github.com/users/lewisacidic/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lewisacidic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lewisacidic/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lewisacidic"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_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-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 4 | 2015-07-01T19:47:21Z | 2015-07-07T15:52:31Z | 2015-07-07T15:52:31Z | CONTRIBUTOR | null | Series.from_csv at the moment does not load the series.name and series.index.name when the header keyword argument is stated.
This was introduced in 6078fba9410918baa486ca008cc9e3ba066c03ec. The issue was that `Series.from_csv` uses `DataFrame.from_csv`, which automatically indexes columns (in practice, the index column gets labelled 0 and the values column gets labelled 1). Converting this to a series will then cause the `series.name` to be 1, and the `series.index.name` to be 0. The fix was to explicitly set the names in Series.from_csv to `None`.
This caused the headers to be deleted even if they were provided by setting the header kwarg.
The fix is simple, to check if the headers are provided, and only setting the names to None if they are not.
I included some tests, please let me know if this is enough as I am new to open-source and pandas.
Thanks!
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10483/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10483/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10483.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10483",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10483.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10483"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10484 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10484/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10484/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10484/events | https://github.com/pandas-dev/pandas/issues/10484 | 92,504,973 | MDU6SXNzdWU5MjUwNDk3Mw== | 10,484 | BUG: partial nan levels missing when grouping | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 1 | 2015-07-01T23:15:31Z | 2019-10-21T20:07:56Z | null | CONTRIBUTOR | null | from #10468
```
In [40]: df = DataFrame({'A' : [1,2,3]},index=pd.MultiIndex.from_tuples([(1,np.nan),(1,1),(2,1)],names=['first','second']))
In [41]: df
Out[41]:
A
first second
1 NaN 1
1 2
2 1 3
In [42]: df.groupby(level='second').sum()
Out[42]:
A
second
1 5
In [43]: df.groupby(level=['first','second']).sum()
Out[43]:
A
first second
1 1 2
2 1 3
```
I suppose that [43] is missing the `(1,nan)` group here.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10484/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10484/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10485 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10485/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10485/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10485/events | https://github.com/pandas-dev/pandas/issues/10485 | 92,505,488 | MDU6SXNzdWU5MjUwNTQ4OA== | 10,485 | More descriptive ylabel for Series.hist() | {
"avatar_url": "https://avatars.githubusercontent.com/u/5356122?v=4",
"events_url": "https://api.github.com/users/clarkfitzg/events{/privacy}",
"followers_url": "https://api.github.com/users/clarkfitzg/followers",
"following_url": "https://api.github.com/users/clarkfitzg/following{/other_user}",
"gists_url": "https://api.github.com/users/clarkfitzg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/clarkfitzg",
"id": 5356122,
"login": "clarkfitzg",
"node_id": "MDQ6VXNlcjUzNTYxMjI=",
"organizations_url": "https://api.github.com/users/clarkfitzg/orgs",
"received_events_url": "https://api.github.com/users/clarkfitzg/received_events",
"repos_url": "https://api.github.com/users/clarkfitzg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/clarkfitzg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/clarkfitzg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/clarkfitzg"
} | [
{
"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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 5 | 2015-07-01T23:19:02Z | 2015-07-15T11:13:35Z | 2015-07-15T11:13:35Z | CONTRIBUTOR | null | ```
s = pd.Series(np.random.randn(100))
s.plot(kind='hist')
s.hist()
```
Running `s.plot(kind='hist')` labels the y axis with the word 'Degree'. A more informative label might be 'count', 'frequency', or 'density'.
Also, it seems strange that `s.plot(kind='hist')` and `s.hist()` produce plots with different labels / gridlines.
Looks like this came from PR #7809. cc @sinhrks, @jreback
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10485/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10485/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10486 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10486/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10486/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10486/events | https://github.com/pandas-dev/pandas/issues/10486 | 92,510,433 | MDU6SXNzdWU5MjUxMDQzMw== | 10,486 | BUG: query with invalid dtypes should fallback to python engine | {
"avatar_url": "https://avatars.githubusercontent.com/u/8426290?v=4",
"events_url": "https://api.github.com/users/DSLituiev/events{/privacy}",
"followers_url": "https://api.github.com/users/DSLituiev/followers",
"following_url": "https://api.github.com/users/DSLituiev/following{/other_user}",
"gists_url": "https://api.github.com/users/DSLituiev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DSLituiev",
"id": 8426290,
"login": "DSLituiev",
"node_id": "MDQ6VXNlcjg0MjYyOTA=",
"organizations_url": "https://api.github.com/users/DSLituiev/orgs",
"received_events_url": "https://api.github.com/users/DSLituiev/received_events",
"repos_url": "https://api.github.com/users/DSLituiev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DSLituiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DSLituiev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DSLituiev"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
]
| closed | false | null | []
| {
"closed_at": "2016-10-03T08:52:13Z",
"closed_issues": 733,
"created_at": "2016-03-11T21:24:45Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2016-09-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/40",
"id": 1639795,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels",
"node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==",
"number": 40,
"open_issues": 0,
"state": "closed",
"title": "0.19.0",
"updated_at": "2017-11-06T02:01:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40"
} | 1 | 2015-07-01T23:50:49Z | 2016-05-07T17:12:30Z | 2016-05-07T17:12:30Z | NONE | null | The following call of `df.query()` produces an error:
```
...
File "/Applications/anaconda/lib/python3.4/site-packages/numexpr/necompiler.py", line 629, in getType
raise ValueError("unkown type %s" % a.dtype.name)
ValueError: unkown type str128
```
in pandas 0.15.2
```
# -*- coding: utf-8 -*-
import re
import pandas as pd
def get_gene_site(tp):
site = re.sub('T.$', '',tp)
gene = site.split('%%')[0]
t = int(re.search(r'T(\d+)$',tp).group(1))
return gene, site, t
sub_sample_list = ['Actb%%qeqwT0',
'Actb%%qeqwT1',
'Actb%%qeqwT2',
'Actb%%qeqwT3',
'Actb%%tralalaT0',
'Actb%%tralalaT1',
'Actb%%tralalaT2',
'Actb%%tralalaT3',
'Dummy%%rrrrT0',
'Dummy%%rrrrT1',
'Dummy%%rrrrT2',
'Dummy%%rrrrT3',
]
dict_samples = {'sample':[], 'gene':[], 'site':[], 'timepoint':[]}
for tp in sub_sample_list:
gene, site, t = get_gene_site(tp)
dict_samples['sample'].append(tp)
dict_samples['gene'].append(str(gene))
dict_samples[ 'site'].append(site)
dict_samples['timepoint'].append(t)
df = pd.DataFrame(dict_samples ,
columns = ['sample', 'gene', 'site', 'timepoint'])
df.query('gene = "Actb"')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10486/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10486/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10487 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10487/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10487/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10487/events | https://github.com/pandas-dev/pandas/pull/10487 | 92,537,011 | MDExOlB1bGxSZXF1ZXN0MzkwNDU0MTA= | 10,487 | Small style consistency fix | {
"avatar_url": "https://avatars.githubusercontent.com/u/6314241?v=4",
"events_url": "https://api.github.com/users/ETF/events{/privacy}",
"followers_url": "https://api.github.com/users/ETF/followers",
"following_url": "https://api.github.com/users/ETF/following{/other_user}",
"gists_url": "https://api.github.com/users/ETF/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ETF",
"id": 6314241,
"login": "ETF",
"node_id": "MDQ6VXNlcjYzMTQyNDE=",
"organizations_url": "https://api.github.com/users/ETF/orgs",
"received_events_url": "https://api.github.com/users/ETF/received_events",
"repos_url": "https://api.github.com/users/ETF/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ETF/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ETF/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ETF"
} | []
| closed | false | null | []
| null | 1 | 2015-07-02T03:25:40Z | 2015-07-02T07:11:17Z | 2015-07-02T07:11:14Z | CONTRIBUTOR | null | Removed unneeded spaces in kwargs related to read_gbq()
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10487/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10487/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10487.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10487",
"merged_at": "2015-07-02T07:11:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10487.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10487"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10488 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10488/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10488/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10488/events | https://github.com/pandas-dev/pandas/pull/10488 | 92,543,643 | MDExOlB1bGxSZXF1ZXN0MzkwNDcxMzc= | 10,488 | DOC: Better explain the behaviour of na_values | {
"avatar_url": "https://avatars.githubusercontent.com/u/1250388?v=4",
"events_url": "https://api.github.com/users/jaidevd/events{/privacy}",
"followers_url": "https://api.github.com/users/jaidevd/followers",
"following_url": "https://api.github.com/users/jaidevd/following{/other_user}",
"gists_url": "https://api.github.com/users/jaidevd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jaidevd",
"id": 1250388,
"login": "jaidevd",
"node_id": "MDQ6VXNlcjEyNTAzODg=",
"organizations_url": "https://api.github.com/users/jaidevd/orgs",
"received_events_url": "https://api.github.com/users/jaidevd/received_events",
"repos_url": "https://api.github.com/users/jaidevd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jaidevd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jaidevd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jaidevd"
} | [
{
"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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 1 | 2015-07-02T04:17:02Z | 2015-07-02T07:42:55Z | 2015-07-02T07:42:55Z | CONTRIBUTOR | null | According to the suggestion of @jorisvandenbossche from https://github.com/pydata/pandas/pull/10479, changing some wording in the docs.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10488/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10488/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10488.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10488",
"merged_at": "2015-07-02T07:42:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10488.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10488"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10489 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10489/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10489/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10489/events | https://github.com/pandas-dev/pandas/issues/10489 | 92,560,196 | MDU6SXNzdWU5MjU2MDE5Ng== | 10,489 | Pandas: why pandas.Series.std() is quite different from numpy.std() | {
"avatar_url": "https://avatars.githubusercontent.com/u/712148?v=4",
"events_url": "https://api.github.com/users/infozyzhang/events{/privacy}",
"followers_url": "https://api.github.com/users/infozyzhang/followers",
"following_url": "https://api.github.com/users/infozyzhang/following{/other_user}",
"gists_url": "https://api.github.com/users/infozyzhang/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/infozyzhang",
"id": 712148,
"login": "infozyzhang",
"node_id": "MDQ6VXNlcjcxMjE0OA==",
"organizations_url": "https://api.github.com/users/infozyzhang/orgs",
"received_events_url": "https://api.github.com/users/infozyzhang/received_events",
"repos_url": "https://api.github.com/users/infozyzhang/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/infozyzhang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/infozyzhang/subscriptions",
"type": "User",
"url": "https://api.github.com/users/infozyzhang"
} | []
| closed | false | null | []
| null | 1 | 2015-07-02T06:30:27Z | 2015-07-02T07:15:40Z | 2015-07-02T07:15:40Z | NONE | null | I got two snippets code as follows.
> > numpy.std([766897346, 766897346, 766897346, 766897346, 766897346, 766897346, 766897346, 766897346, 766897346, 766897346])
> >
> > 0
> >
> > pd.Series([766897346, 766897346, 766897346, 766897346, 766897346, 766897346, 766897346, 766897346, 766897346, 766897346]).std(ddof=0)
> >
> > 10.119288512538814
The two lists are identical but the result are quite different. I think the pandas' result must be wrong. I work on the latest version 0.16.2 with Python 3.4.
May I ask why? Is it a bug?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10489/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10489/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10490 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10490/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10490/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10490/events | https://github.com/pandas-dev/pandas/pull/10490 | 92,627,947 | MDExOlB1bGxSZXF1ZXN0MzkwNzgzMzY= | 10,490 | TST/ERR: GH10369 read_msgpack checks argument type | {
"avatar_url": "https://avatars.githubusercontent.com/u/10709573?v=4",
"events_url": "https://api.github.com/users/kawochen/events{/privacy}",
"followers_url": "https://api.github.com/users/kawochen/followers",
"following_url": "https://api.github.com/users/kawochen/following{/other_user}",
"gists_url": "https://api.github.com/users/kawochen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kawochen",
"id": 10709573,
"login": "kawochen",
"node_id": "MDQ6VXNlcjEwNzA5NTcz",
"organizations_url": "https://api.github.com/users/kawochen/orgs",
"received_events_url": "https://api.github.com/users/kawochen/received_events",
"repos_url": "https://api.github.com/users/kawochen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kawochen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kawochen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kawochen"
} | [
{
"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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 5 | 2015-07-02T12:44:12Z | 2015-07-03T11:58:57Z | 2015-07-03T11:58:52Z | CONTRIBUTOR | null | To close #10369
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10490/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10490/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10490.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10490",
"merged_at": "2015-07-03T11:58:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10490.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10490"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10491 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10491/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10491/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10491/events | https://github.com/pandas-dev/pandas/issues/10491 | 92,678,009 | MDU6SXNzdWU5MjY3ODAwOQ== | 10,491 | DOC: cookbook for in-memory HDFStores usage | {
"avatar_url": "https://avatars.githubusercontent.com/u/5648645?v=4",
"events_url": "https://api.github.com/users/joshlk/events{/privacy}",
"followers_url": "https://api.github.com/users/joshlk/followers",
"following_url": "https://api.github.com/users/joshlk/following{/other_user}",
"gists_url": "https://api.github.com/users/joshlk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/joshlk",
"id": 5648645,
"login": "joshlk",
"node_id": "MDQ6VXNlcjU2NDg2NDU=",
"organizations_url": "https://api.github.com/users/joshlk/orgs",
"received_events_url": "https://api.github.com/users/joshlk/received_events",
"repos_url": "https://api.github.com/users/joshlk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/joshlk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joshlk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/joshlk"
} | [
{
"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": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 5 | 2015-07-02T16:25:38Z | 2018-11-28T21:03:51Z | null | NONE | null | When writing a DataFrame to hdf format ('to_hdf' method) you cannot pass a file handle instead of a string. i.e. you can't:
``` python
with open('test.hdf') as f:
df.to_hdf(f, "df")
```
This raises an error:
```
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
File "C:\Anaconda\lib\site-packages\pandas\core\generic.py", line 896, in to_hdf
return pytables.to_hdf(path_or_buf, key, self, **kwargs)
File "C:\Anaconda\lib\site-packages\pandas\io\pytables.py", line 286, in to_hdf
f(path_or_buf)
File "C:\Anaconda\lib\site-packages\pandas\io\pytables.py", line 279, in <lambda>
f = lambda store: store.put(key, value, **kwargs)
AttributeError: 'file' object has no attribute 'put'
```
This is inconsistent with the 'to_csv' method where you can do this. In the docs it states that you can pass a file buffer to both 'to_hdf' and 'to_csv'.
pd.show_versions(False)
```
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.5.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 45 Stepping 7, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.14.1
nose: 1.3.4
Cython: 0.22
numpy: 1.9.2
scipy: 0.15.1
statsmodels: None
IPython: 3.0.0
sphinx: 1.2.3
patsy: 0.3.0
scikits.timeseries: None
dateutil: 2.4.1
pytz: 2015.2
bottleneck: None
tables: 3.1.1
numexpr: 2.3.1
matplotlib: 1.4.3
openpyxl: 1.8.5
xlrd: 0.9.3
xlwt: 0.7.5
xlsxwriter: 0.6.7
lxml: 3.4.2
bs4: 4.3.2
html5lib: None
httplib2: 0.9
apiclient: None
rpy2: 2.5.6
sqlalchemy: 0.9.9
pymysql: None
psycopg2: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10491/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10491/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10492 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10492/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10492/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10492/events | https://github.com/pandas-dev/pandas/issues/10492 | 92,685,259 | MDU6SXNzdWU5MjY4NTI1OQ== | 10,492 | DOC: Distinguish between different types of boolean indexing | {
"avatar_url": "https://avatars.githubusercontent.com/u/4466763?v=4",
"events_url": "https://api.github.com/users/jcjf/events{/privacy}",
"followers_url": "https://api.github.com/users/jcjf/followers",
"following_url": "https://api.github.com/users/jcjf/following{/other_user}",
"gists_url": "https://api.github.com/users/jcjf/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jcjf",
"id": 4466763,
"login": "jcjf",
"node_id": "MDQ6VXNlcjQ0NjY3NjM=",
"organizations_url": "https://api.github.com/users/jcjf/orgs",
"received_events_url": "https://api.github.com/users/jcjf/received_events",
"repos_url": "https://api.github.com/users/jcjf/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jcjf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jcjf/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jcjf"
} | [
{
"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": "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 | {
"avatar_url": "https://avatars.githubusercontent.com/u/26526439?v=4",
"events_url": "https://api.github.com/users/junjunjunk/events{/privacy}",
"followers_url": "https://api.github.com/users/junjunjunk/followers",
"following_url": "https://api.github.com/users/junjunjunk/following{/other_user}",
"gists_url": "https://api.github.com/users/junjunjunk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/junjunjunk",
"id": 26526439,
"login": "junjunjunk",
"node_id": "MDQ6VXNlcjI2NTI2NDM5",
"organizations_url": "https://api.github.com/users/junjunjunk/orgs",
"received_events_url": "https://api.github.com/users/junjunjunk/received_events",
"repos_url": "https://api.github.com/users/junjunjunk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/junjunjunk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/junjunjunk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/junjunjunk"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/26526439?v=4",
"events_url": "https://api.github.com/users/junjunjunk/events{/privacy}",
"followers_url": "https://api.github.com/users/junjunjunk/followers",
"following_url": "https://api.github.com/users/junjunjunk/following{/other_user}",
"gists_url": "https://api.github.com/users/junjunjunk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/junjunjunk",
"id": 26526439,
"login": "junjunjunk",
"node_id": "MDQ6VXNlcjI2NTI2NDM5",
"organizations_url": "https://api.github.com/users/junjunjunk/orgs",
"received_events_url": "https://api.github.com/users/junjunjunk/received_events",
"repos_url": "https://api.github.com/users/junjunjunk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/junjunjunk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/junjunjunk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/junjunjunk"
}
]
| {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"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": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 4 | 2015-07-02T17:00:45Z | 2020-10-08T01:23:14Z | 2020-10-08T01:23:14Z | CONTRIBUTOR | null | It's not clear from the docs that indexing with a boolean `ndarray` isn't the same as indexing with a boolean `Series`. It took me a while to realise that:
``` python
import pandas as pd
df = pd.DataFrame([[1, 2], [3, 4], [5, 6]], list('abc'), ['one', 'two'])
sr = (df['one'] > 2)
df.loc[sr, 'two'] # This is ok
df.iloc[sr, 1] # But this is not
df.iloc[sr.values, 1] # The right way to use iloc
```
I've since read through #3631 and it makes sense to me. However, even though the docs emphasise that `.iloc` is **purely integer-based**, it didn't click at the time that indexability of `Series` was the problem I was facing.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10492/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10492/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10493 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10493/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10493/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10493/events | https://github.com/pandas-dev/pandas/pull/10493 | 92,691,938 | MDExOlB1bGxSZXF1ZXN0MzkxMDczMzg= | 10,493 | ENH: GH10485 'Frequency' label for Series.plot | {
"avatar_url": "https://avatars.githubusercontent.com/u/5356122?v=4",
"events_url": "https://api.github.com/users/clarkfitzg/events{/privacy}",
"followers_url": "https://api.github.com/users/clarkfitzg/followers",
"following_url": "https://api.github.com/users/clarkfitzg/following{/other_user}",
"gists_url": "https://api.github.com/users/clarkfitzg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/clarkfitzg",
"id": 5356122,
"login": "clarkfitzg",
"node_id": "MDQ6VXNlcjUzNTYxMjI=",
"organizations_url": "https://api.github.com/users/clarkfitzg/orgs",
"received_events_url": "https://api.github.com/users/clarkfitzg/received_events",
"repos_url": "https://api.github.com/users/clarkfitzg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/clarkfitzg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/clarkfitzg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/clarkfitzg"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 6 | 2015-07-02T17:36:05Z | 2015-07-11T06:45:10Z | 2015-07-11T06:45:10Z | CONTRIBUTOR | null | More informative label for histogram.
Conversation in #10485
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10493/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10493/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10493.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10493",
"merged_at": "2015-07-11T06:45:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10493.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10493"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10494 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10494/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10494/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10494/events | https://github.com/pandas-dev/pandas/issues/10494 | 92,827,760 | MDU6SXNzdWU5MjgyNzc2MA== | 10,494 | BUG: convert_objects(convert_dates='coerce') fails on single-valued series | {
"avatar_url": "https://avatars.githubusercontent.com/u/6959349?v=4",
"events_url": "https://api.github.com/users/jmenglund/events{/privacy}",
"followers_url": "https://api.github.com/users/jmenglund/followers",
"following_url": "https://api.github.com/users/jmenglund/following{/other_user}",
"gists_url": "https://api.github.com/users/jmenglund/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jmenglund",
"id": 6959349,
"login": "jmenglund",
"node_id": "MDQ6VXNlcjY5NTkzNDk=",
"organizations_url": "https://api.github.com/users/jmenglund/orgs",
"received_events_url": "https://api.github.com/users/jmenglund/received_events",
"repos_url": "https://api.github.com/users/jmenglund/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jmenglund/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jmenglund/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jmenglund"
} | [
{
"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 | 1 | 2015-07-03T09:02:39Z | 2015-07-03T11:57:42Z | 2015-07-03T11:57:26Z | NONE | null | With an unconvertible value (like e.g. "2014-12-32"), `convert_objects(convert_dates='coerce')` is supposed to return `NaT`. When run on a series with a single unconvertible value it gives back the original string instead.
``` python
>>> from pandas import Series
>>> Series(['2014-12-32']).convert_objects(convert_dates='coerce')
0 2014-12-32
dtype: object
```
#### INSTALLED VERSIONS
commit: None
python: 3.4.1.final.0
python-bits: 64
OS: Darwin
OS-release: 13.4.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: sv_SE.UTF-8
pandas: 0.16.2
nose: 1.3.6
Cython: None
numpy: 1.9.2
scipy: 0.15.1
statsmodels: None
IPython: 3.1.0
sphinx: None
patsy: None
dateutil: 2.4.2
pytz: 2015.4
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.4.3
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: 0.6.6.None
psycopg2: None
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10494/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10494/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10495 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10495/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10495/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10495/events | https://github.com/pandas-dev/pandas/issues/10495 | 92,871,047 | MDU6SXNzdWU5Mjg3MTA0Nw== | 10,495 | .shift() on Categorical raises "'Categorical' object has no attribute 'flags'" | {
"avatar_url": "https://avatars.githubusercontent.com/u/223276?v=4",
"events_url": "https://api.github.com/users/cottrell/events{/privacy}",
"followers_url": "https://api.github.com/users/cottrell/followers",
"following_url": "https://api.github.com/users/cottrell/following{/other_user}",
"gists_url": "https://api.github.com/users/cottrell/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cottrell",
"id": 223276,
"login": "cottrell",
"node_id": "MDQ6VXNlcjIyMzI3Ng==",
"organizations_url": "https://api.github.com/users/cottrell/orgs",
"received_events_url": "https://api.github.com/users/cottrell/received_events",
"repos_url": "https://api.github.com/users/cottrell/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cottrell/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cottrell/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cottrell"
} | [
{
"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": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 1 | 2015-07-03T13:01:56Z | 2015-07-06T12:44:38Z | 2015-07-06T12:44:38Z | CONTRIBUTOR | null | Not sure if this is related to #10324 .
Running master with python 3.4.3.
``` python
import pandas
values = ['a', 'b', 'c', 'd']
a = pandas.Series(values)
b = pandas.Series(values, dtype='category')
print(a.shift()) # ok
print(b.shift()) # error
```
Error looks like this:
```
$ python f.py
0 NaN
1 a
2 b
3 c
dtype: object
Traceback (most recent call last):
File "f.py", line 8, in <module>
print(b.shift()) # error
File "/Users/davidcottrell/dev/pandas.git/pandas/core/series.py", line 2165, in shift
axis=axis, **kwargs)
File "/Users/davidcottrell/dev/pandas.git/pandas/core/generic.py", line 3688, in shift
new_data = self._data.shift(periods=periods, axis=block_axis)
File "/Users/davidcottrell/dev/pandas.git/pandas/core/internals.py", line 2498, in shift
return self.apply('shift', **kwargs)
File "/Users/davidcottrell/dev/pandas.git/pandas/core/internals.py", line 2462, in apply
applied = getattr(b, f)(**kwargs)
File "/Users/davidcottrell/dev/pandas.git/pandas/core/internals.py", line 890, in shift
f_ordered = new_values.flags.f_contiguous
AttributeError: 'Categorical' object has no attribute 'flags'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10495/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10495/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10496 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10496/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10496/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10496/events | https://github.com/pandas-dev/pandas/issues/10496 | 92,877,970 | MDU6SXNzdWU5Mjg3Nzk3MA== | 10,496 | read_table / read_csv with duplicate names leads to column duplication | {
"avatar_url": "https://avatars.githubusercontent.com/u/10050167?v=4",
"events_url": "https://api.github.com/users/jens-k/events{/privacy}",
"followers_url": "https://api.github.com/users/jens-k/followers",
"following_url": "https://api.github.com/users/jens-k/following{/other_user}",
"gists_url": "https://api.github.com/users/jens-k/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jens-k",
"id": 10050167,
"login": "jens-k",
"node_id": "MDQ6VXNlcjEwMDUwMTY3",
"organizations_url": "https://api.github.com/users/jens-k/orgs",
"received_events_url": "https://api.github.com/users/jens-k/received_events",
"repos_url": "https://api.github.com/users/jens-k/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jens-k/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jens-k/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jens-k"
} | [
{
"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": 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"
} | 8 | 2015-07-03T13:35:55Z | 2015-07-17T16:15:56Z | 2015-07-17T16:15:55Z | NONE | null | When reading a table while specifying duplicate column names - let's say two different names - pandas 0.16.1 will copy the last two columns of the data over and over again.
I opened a thread on this here:
http://stackoverflow.com/questions/31207560/pandas-read-table-with-duplicate-names
Is this a bug or an intended behavior?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10496/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10496/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10497 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10497/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10497/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10497/events | https://github.com/pandas-dev/pandas/pull/10497 | 92,879,144 | MDExOlB1bGxSZXF1ZXN0MzkxNzYyMTM= | 10,497 | BUG: CategoricalBlock shift GH9416 | {
"avatar_url": "https://avatars.githubusercontent.com/u/4094953?v=4",
"events_url": "https://api.github.com/users/bwillers/events{/privacy}",
"followers_url": "https://api.github.com/users/bwillers/followers",
"following_url": "https://api.github.com/users/bwillers/following{/other_user}",
"gists_url": "https://api.github.com/users/bwillers/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bwillers",
"id": 4094953,
"login": "bwillers",
"node_id": "MDQ6VXNlcjQwOTQ5NTM=",
"organizations_url": "https://api.github.com/users/bwillers/orgs",
"received_events_url": "https://api.github.com/users/bwillers/received_events",
"repos_url": "https://api.github.com/users/bwillers/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bwillers/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bwillers/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bwillers"
} | [
{
"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": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 4 | 2015-07-03T13:42:01Z | 2015-07-18T00:03:30Z | 2015-07-18T00:03:27Z | CONTRIBUTOR | null | Should resolve #9416.
CategoricalBlocks always seem to have ndim=1, even if multiple
categoricals are in a frame with the same categories. This simplifies
the axis shift logic somewhat.
Note that dataframe shift with axis=1 still doesn't work with multiple
categorical columns, since they are each a different block.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10497/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10497/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10497.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10497",
"merged_at": "2015-07-18T00:03:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10497.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10497"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10498 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10498/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10498/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10498/events | https://github.com/pandas-dev/pandas/pull/10498 | 92,879,181 | MDExOlB1bGxSZXF1ZXN0MzkxNzYyMjc= | 10,498 | Add test and fix for categorical series .shift #10495. | {
"avatar_url": "https://avatars.githubusercontent.com/u/223276?v=4",
"events_url": "https://api.github.com/users/cottrell/events{/privacy}",
"followers_url": "https://api.github.com/users/cottrell/followers",
"following_url": "https://api.github.com/users/cottrell/following{/other_user}",
"gists_url": "https://api.github.com/users/cottrell/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cottrell",
"id": 223276,
"login": "cottrell",
"node_id": "MDQ6VXNlcjIyMzI3Ng==",
"organizations_url": "https://api.github.com/users/cottrell/orgs",
"received_events_url": "https://api.github.com/users/cottrell/received_events",
"repos_url": "https://api.github.com/users/cottrell/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cottrell/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cottrell/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cottrell"
} | [
{
"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": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 3 | 2015-07-03T13:42:13Z | 2015-07-06T12:45:10Z | 2015-07-06T12:45:10Z | CONTRIBUTOR | null | #10495
Waiting for Travis and will review further.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10498/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10498/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10498.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10498",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10498.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10498"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10499 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10499/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10499/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10499/events | https://github.com/pandas-dev/pandas/pull/10499 | 92,880,365 | MDExOlB1bGxSZXF1ZXN0MzkxNzY4MzQ= | 10,499 | Updated to_hdf doc string | {
"avatar_url": "https://avatars.githubusercontent.com/u/5648645?v=4",
"events_url": "https://api.github.com/users/joshlk/events{/privacy}",
"followers_url": "https://api.github.com/users/joshlk/followers",
"following_url": "https://api.github.com/users/joshlk/following{/other_user}",
"gists_url": "https://api.github.com/users/joshlk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/joshlk",
"id": 5648645,
"login": "joshlk",
"node_id": "MDQ6VXNlcjU2NDg2NDU=",
"organizations_url": "https://api.github.com/users/joshlk/orgs",
"received_events_url": "https://api.github.com/users/joshlk/received_events",
"repos_url": "https://api.github.com/users/joshlk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/joshlk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joshlk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/joshlk"
} | [
{
"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": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 1 | 2015-07-03T13:50:30Z | 2015-07-03T19:36:00Z | 2015-07-03T19:35:54Z | NONE | null | Updated the docstring to make clear that a HDFStore is required for a buffer, if a path is not directly passed. See issue #10491
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10499/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10499/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10499.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10499",
"merged_at": "2015-07-03T19:35:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10499.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10499"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10500 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10500/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10500/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10500/events | https://github.com/pandas-dev/pandas/pull/10500 | 92,892,258 | MDExOlB1bGxSZXF1ZXN0MzkxODIwODk= | 10,500 | TST: DataFrame.quantile should have Float64Index | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 2 | 2015-07-03T15:04:30Z | 2015-07-04T12:49:42Z | 2015-07-04T11:29:41Z | MEMBER | null | The result of `DataFrame.quantile` should have `Float64Index` as below, but current test case doesn't check it.
```
import pandas as pd
pd.DataFrame([1, 2, 3, 4]).quantile([0.5, 0.75]).index
# Float64Index([0.5, 0.75], dtype='float64')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10500/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10500/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10500.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10500",
"merged_at": "2015-07-04T11:29:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10500.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10500"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10501 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10501/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10501/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10501/events | https://github.com/pandas-dev/pandas/pull/10501 | 92,894,021 | MDExOlB1bGxSZXF1ZXN0MzkxODI4MTU= | 10,501 | TST: Fix test for datetime categorical | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 2 | 2015-07-03T15:15:40Z | 2015-07-06T12:59:19Z | 2015-07-06T12:54:05Z | MEMBER | null | Related to #10465, but different part.
Current `test_groupby_datetime_categorical` in `test_groupby.py` is incorrect, the actual result returns `CategoricalIndex` as level 0, otherwise expected result uses `DatetimeIndex` as level 0. Changed to use the same dtype and added explicit comparison.
### Actual Result (current test case)
```
levels = pd.date_range('2014-01-01', periods=4)
codes = np.random.randint(0, 4, size=100)
cats = pd.Categorical.from_codes(codes, levels, name='myfactor', ordered=True)
data = pd.DataFrame(np.random.randn(100, 4))
grouped = data.groupby(cats)
desc_result = grouped.describe()
desc_result.index.get_level_values(0)
# CategoricalIndex([2014-01-01T09:00:00.000000000+0900,
# ...
# 2014-01-04T09:00:00.000000000+0900],
# categories=[2014-01-01 00:00:00, 2014-01-02 00:00:00, 2014-01-03 00:00:00, 2014-01-04 00:00:00],
# ordered=True, name=u'myfactor', dtype='category')
```
### Expected Result (current test case)
It must be `CategoricalIndex`.
```
idx = cats.codes.argsort()
ord_labels = np.asarray(cats).take(idx)
ord_data = data.take(idx)
expected = ord_data.groupby(ord_labels, sort=False).describe()
expected.index.names = ['myfactor', None]
expected.index.get_level_values(0)
# DatetimeIndex(['2014-01-01', '2014-01-01', '2014-01-01', '2014-01-01',
# ...
# '2014-01-04', '2014-01-04', '2014-01-04', '2014-01-04'],
# dtype='datetime64[ns]', name=u'myfactor', freq=None, tz=None)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10501/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10501/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10501.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10501",
"merged_at": "2015-07-06T12:54:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10501.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10501"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10502 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10502/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10502/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10502/events | https://github.com/pandas-dev/pandas/pull/10502 | 92,898,558 | MDExOlB1bGxSZXF1ZXN0MzkxODQ1MDE= | 10,502 | CLN: remove na_fvalues from TextFileReader (read_csv et al) signature (GH10481) | {
"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"
},
{
"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-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 2 | 2015-07-03T15:41:16Z | 2015-07-13T13:14:25Z | 2015-07-13T13:14:25Z | MEMBER | null | Closes #10481
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10502/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10502/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10502.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10502",
"merged_at": "2015-07-13T13:14:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10502.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10502"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.