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/4601 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4601/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4601/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4601/events | https://github.com/pandas-dev/pandas/issues/4601 | 18,209,640 | MDU6SXNzdWUxODIwOTY0MA== | 4,601 | Type inference code coerces float column into datetime | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 1 | 2013-08-18T16:19:58Z | 2013-09-20T22:34:04Z | 2013-09-20T22:34:04Z | NONE | null | ```
In [10]: ix = [-352.737091, 183.575577]
...: df=pd.DataFrame([0,1],index=ix)
...: df.to_csv("/tmp/1.csv")
...: df2=pd.DataFrame.from_csv("/tmp/1.csv",parse_dates=True)
...: print df
...: print df2
0
-352.737091 0
183.575577 1
0
2105-11-21 22:43:41.128654 0
1936-11-21 22:43:41.128654 1
```
Moved from https://github.com/pydata/pandas/issues/3171.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4601/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4601/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4602 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4602/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4602/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4602/events | https://github.com/pandas-dev/pandas/pull/4602 | 18,210,986 | MDExOlB1bGxSZXF1ZXN0NzY4MzU5NA== | 4,602 | Fixes issue with TextFileReader using python engine and thousands != "," | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 13 | 2013-08-18T18:03:34Z | 2014-06-13T17:28:42Z | 2013-09-19T12:24:50Z | CONTRIBUTOR | null | Fixes #4596
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4602/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4602/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4602.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4602",
"merged_at": "2013-09-19T12:24:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4602.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4602"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4603 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4603/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4603/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4603/events | https://github.com/pandas-dev/pandas/issues/4603 | 18,211,594 | MDU6SXNzdWUxODIxMTU5NA== | 4,603 | BUG: python - c “import pandas” crashing python.exe on exit | {
"avatar_url": "https://avatars.githubusercontent.com/u/1822965?v=4",
"events_url": "https://api.github.com/users/lorifan/events{/privacy}",
"followers_url": "https://api.github.com/users/lorifan/followers",
"following_url": "https://api.github.com/users/lorifan/following{/other_user}",
"gists_url": "https://api.github.com/users/lorifan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lorifan",
"id": 1822965,
"login": "lorifan",
"node_id": "MDQ6VXNlcjE4MjI5NjU=",
"organizations_url": "https://api.github.com/users/lorifan/orgs",
"received_events_url": "https://api.github.com/users/lorifan/received_events",
"repos_url": "https://api.github.com/users/lorifan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lorifan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lorifan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lorifan"
} | [] | closed | false | null | [] | null | 4 | 2013-08-18T18:49:43Z | 2016-08-05T20:41:05Z | 2013-08-18T21:28:05Z | NONE | null | I usually run my python code in an interpreter. There running import pandas works fine and I have been able to use pandas functions regulary.
However, I am not able to use pandas from cmd line: for instance the below crashes python after half a second (it crashes when exiting):
> python -c "import pandas"
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
I can import other modules fine this way. Any idea how to solve this? Pandas is the only one with this behavior.
My config is: Win32 / Python 2.7.5 / pandas 0.12.0 / GCC 4.7.2 (I also tried 0.13.0 dev and experience the same issue)
See stackoverflow question for more info: http://stackoverflow.com/questions/18293838/python-c-import-pandas-is-crashing-python-exe-on-exit
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4603/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4603/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4604 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4604/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4604/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4604/events | https://github.com/pandas-dev/pandas/issues/4604 | 18,216,392 | MDU6SXNzdWUxODIxNjM5Mg== | 4,604 | BUG: reindex strange behaviour | {
"avatar_url": "https://avatars.githubusercontent.com/u/188258?v=4",
"events_url": "https://api.github.com/users/alefnula/events{/privacy}",
"followers_url": "https://api.github.com/users/alefnula/followers",
"following_url": "https://api.github.com/users/alefnula/following{/other_user}",
"gists_url": "https://api.github.com/users/alefnula/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alefnula",
"id": 188258,
"login": "alefnula",
"node_id": "MDQ6VXNlcjE4ODI1OA==",
"organizations_url": "https://api.github.com/users/alefnula/orgs",
"received_events_url": "https://api.github.com/users/alefnula/received_events",
"repos_url": "https://api.github.com/users/alefnula/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alefnula/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alefnula/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alefnula"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 4 | 2013-08-18T22:45:56Z | 2013-08-21T12:44:43Z | 2013-08-21T12:44:43Z | CONTRIBUTOR | null | When I try to reindex a Series object I get a really weird result.
``` python
>>> s = pd.Series([1,2,3,4,5], index=['a', 'b', 'c', 'd', 'e'])
>>> s.reindex(['a', 'g', 'c', 'f'], method='ffill')
a 1
g 5
c NaN
f 5
dtype: float64
```
According to the documentation I should have got something like:
``` python
a 1
g 1
c 3
f 3
dtype: float64
```
So either the documentation is not valid, or reindex is not working correctly or I haven't understood how this beast works?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4604/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4604/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4605 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4605/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4605/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4605/events | https://github.com/pandas-dev/pandas/issues/4605 | 18,243,829 | MDU6SXNzdWUxODI0MzgyOQ== | 4,605 | Inconsistent behaviour of rename for MultiIndexed DataFrames and Series | {
"avatar_url": "https://avatars.githubusercontent.com/u/188258?v=4",
"events_url": "https://api.github.com/users/alefnula/events{/privacy}",
"followers_url": "https://api.github.com/users/alefnula/followers",
"following_url": "https://api.github.com/users/alefnula/following{/other_user}",
"gists_url": "https://api.github.com/users/alefnula/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alefnula",
"id": 188258,
"login": "alefnula",
"node_id": "MDQ6VXNlcjE4ODI1OA==",
"organizations_url": "https://api.github.com/users/alefnula/orgs",
"received_events_url": "https://api.github.com/users/alefnula/received_events",
"repos_url": "https://api.github.com/users/alefnula/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alefnula/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alefnula/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alefnula"
} | [
{
"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": "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"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 12 | 2013-08-19T14:53:41Z | 2013-08-21T23:46:11Z | 2013-08-21T23:46:11Z | CONTRIBUTOR | null | If I try to rename a MultiIndexed DataFrame, everything works correctly:
``` python
In [3]: pd.DataFrame([11,21,31],
index=pd.MultiIndex.from_tuples([("A",x) for x in ["a","B","c"]])).rename(str.lower)
Out[3]:
0
a a 11
b 21
c 31
```
But if I do the same thing with the Series, it doesn't work:
``` python
In [4]: pd.Series([11,21,31],
index=pd.MultiIndex.from_tuples([("A",x) for x in ["a","B","c"]])).rename(str.lower)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-4-aa25b537c1df> in <module>()
----> 1 pd.Series([11,21,31],index=pd.MultiIndex.from_tuples([("A",x) for x in ["a","B","c"]])).rename(str.lower)
/home/viktor/pandas/pandas/core/series.py in rename(self, mapper, inplace)
3187 result = self if inplace else self.copy()
3188 result.index = Index([mapper_f(x)
-> 3189 for x in self.index], name=self.index.name)
3190
3191 if not inplace:
TypeError: descriptor 'lower' requires a 'str' object but received a 'tuple'
```
This behavior is observed in 0.12 and in the master branch.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4605/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4605/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4606 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4606/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4606/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4606/events | https://github.com/pandas-dev/pandas/issues/4606 | 18,252,484 | MDU6SXNzdWUxODI1MjQ4NA== | 4,606 | API: unpickle problems with pd.NaT | {
"avatar_url": "https://avatars.githubusercontent.com/u/73973?v=4",
"events_url": "https://api.github.com/users/mariusvniekerk/events{/privacy}",
"followers_url": "https://api.github.com/users/mariusvniekerk/followers",
"following_url": "https://api.github.com/users/mariusvniekerk/following{/other_user}",
"gists_url": "https://api.github.com/users/mariusvniekerk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mariusvniekerk",
"id": 73973,
"login": "mariusvniekerk",
"node_id": "MDQ6VXNlcjczOTcz",
"organizations_url": "https://api.github.com/users/mariusvniekerk/orgs",
"received_events_url": "https://api.github.com/users/mariusvniekerk/received_events",
"repos_url": "https://api.github.com/users/mariusvniekerk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mariusvniekerk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mariusvniekerk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mariusvniekerk"
} | [
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "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": "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": "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"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 1 | 2013-08-19T17:34:41Z | 2014-03-31T14:37:16Z | 2014-03-31T14:36:58Z | NONE | null | Error when reading a pickled pd.NaT value.
Example
``` python
In [1]: import pandas as pd
In [2]: test_val = pd.NaT
In [3]: from cPickle import loads, dumps
In [4]: loads(dumps(test_val))
```
```
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-12-8e4233b9b57a> in <module>()
----> 1 loads(dumps(pd.NaT))
TypeError: ('__new__() takes exactly one argument (2 given)', <class 'pandas.tslib.NaTType'>, ('\x00\x01\xff\xff\x00\x00\x00\x00\x00\x00',))
```
For the more common usage case
`loads(dumps(pd.to_datetime(['2013-01-01', pd.NaT, '2014-01-06'])))`
works as expected.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4606/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4606/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4607 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4607/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4607/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4607/events | https://github.com/pandas-dev/pandas/issues/4607 | 18,260,489 | MDU6SXNzdWUxODI2MDQ4OQ== | 4,607 | Add Clarification in Docs about Business DateOffset | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
},
{
"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": 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 | 2013-08-19T20:05:44Z | 2020-05-26T13:07:03Z | 2020-05-26T13:07:03Z | CONTRIBUTOR | null | Add clarification in docs about business `DateOffset` (for example BMonthEnd and BQuarterEnd).
How are these `DateOffset`s defined?
The docstring is not particularly helpful:
> DateOffset increments between business EOM dates
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4607/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4607/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4608 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4608/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4608/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4608/events | https://github.com/pandas-dev/pandas/issues/4608 | 18,264,099 | MDU6SXNzdWUxODI2NDA5OQ== | 4,608 | ER: Uninformative error message when concat-ing Series with frames | {
"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": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 2 | 2013-08-19T21:13:21Z | 2013-09-27T21:29:12Z | 2013-09-27T21:29:12Z | MEMBER | null | ```
In [164]: df = DataFrame(randn(10, 1))
In [165]: concat([df[0], df], axis=1)
```
throws an `AttributeError`. It should just say something about incompatible types in `concat`.
I wonder if it's worth allowing mixed types where it makes sense. E.g., `concat`-ing a `Series` and a `DataFrame`. It might be more consistent with the fact that `Series` is now an `NDFrame`.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4608/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4608/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4609 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4609/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4609/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4609/events | https://github.com/pandas-dev/pandas/issues/4609 | 18,266,299 | MDU6SXNzdWUxODI2NjI5OQ== | 4,609 | CLN: CacheableOffset not Properly Used | {
"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": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 4 | 2013-08-19T21:56:10Z | 2013-08-24T00:11:41Z | 2013-08-24T00:11:41Z | CONTRIBUTOR | null | I believe that many of the `DateOffset`s that extend `CacheableOffset` do so incorrectly.
Looking at `pandas.tseries.offsets`, there are some subclasses of `DateOffset` are declared as `class Foo(DateOffset, CacheableOffset)` and some as `class Foo(CacheableOffset, DateOffset)`.
All that `CacheableOffset` does is to set the class field `_cacheable = True`. `DateOffset` sets `_cacheable = False`. Therefore, depending on the order of the parent classes, in some cases `_cacheable` will be `False` and some cases `True`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4609/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4609/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4610 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4610/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4610/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4610/events | https://github.com/pandas-dev/pandas/pull/4610 | 18,267,236 | MDExOlB1bGxSZXF1ZXN0NzcxMTIyNw== | 4,610 | CLN: refactor Series.reindex to core/generic | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 51 | 2013-08-19T22:16:17Z | 2014-06-18T12:22:45Z | 2013-08-21T12:44:43Z | CONTRIBUTOR | null | closes #4604, #3317, #4618
Incorrect results
```
In [1]: s = pd.Series([1,2,3,4,5], index=['a', 'b', 'c', 'd', 'e'])
In [2]: s.reindex(['a', 'g', 'c', 'f'], method='ffill')
Out[2]:
a 1
g 5
c NaN
f 5
dtype: float64
```
Fixed (and happens to automatically cast as well back to the original dtype)
(this was broken in 0.12)
```
In [2]: s.reindex(['a', 'g', 'c', 'f'], method='ffill')
Out[2]:
a 1
g 1
c 3
f 3
dtype: int64
```
This does NOT automatically downcast here as this is a major
performance bottleneck if we did (this is the same result as in 0.12)
```
In [3]: >>> s.reindex(['a', 'g', 'c', 'f']).ffill()
Out[3]:
a 1
g 1
c 3
f 3
dtype: float64
```
You can force downcasting by passing 'infer' if you want
(this option was not available in 0.12 for Series)
```
In [4]: >>> s.reindex(['a', 'g', 'c', 'f']).ffill(downcast='infer')
Out[4]:
a 1
g 1
c 3
f 3
dtype: int64
```
TST: GH4604, reindexing with a method of 'ffill' gives incorrect results
BUG/CLN: (GH4604) Refactor Series.reindex to core/generic.py allow method= in reindexing
on a Series to work
API/CLN: GH4604 Infer and downcast dtype if appropriate on ffill/bfill
this is for consistency when doing: df.reindex().ffill() and df.reindex(method='ffill')
CLN: allow backfill/pad/interpolate to operate on integers (by float conversion)
provide downcasting back to original dtype where needed core.internals.interpolate
ENH: provide core.index.identical method to compare values and attributes similar to .equals
API: changed back to pre-GH3482 where a reindex with no args will by default copy
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4610/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4610/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4610.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4610",
"merged_at": "2013-08-21T12:44:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4610.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4610"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4611 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4611/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4611/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4611/events | https://github.com/pandas-dev/pandas/issues/4611 | 18,269,735 | MDU6SXNzdWUxODI2OTczNQ== | 4,611 | Examples of SQL -> pandas | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 1 | 2013-08-19T23:21:29Z | 2013-08-20T00:24:39Z | 2013-08-20T00:24:31Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4611/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4611/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/4612 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4612/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4612/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4612/events | https://github.com/pandas-dev/pandas/issues/4612 | 18,275,158 | MDU6SXNzdWUxODI3NTE1OA== | 4,612 | Cache repeated mapping and apply | {
"avatar_url": "https://avatars.githubusercontent.com/u/2712782?v=4",
"events_url": "https://api.github.com/users/NigelCleland/events{/privacy}",
"followers_url": "https://api.github.com/users/NigelCleland/followers",
"following_url": "https://api.github.com/users/NigelCleland/following{/other_user}",
"gists_url": "https://api.github.com/users/NigelCleland/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/NigelCleland",
"id": 2712782,
"login": "NigelCleland",
"node_id": "MDQ6VXNlcjI3MTI3ODI=",
"organizations_url": "https://api.github.com/users/NigelCleland/orgs",
"received_events_url": "https://api.github.com/users/NigelCleland/received_events",
"repos_url": "https://api.github.com/users/NigelCleland/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/NigelCleland/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/NigelCleland/subscriptions",
"type": "User",
"url": "https://api.github.com/users/NigelCleland"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 6 | 2013-08-20T02:48:56Z | 2014-02-14T13:11:12Z | 2014-02-14T13:11:12Z | NONE | null | I'm not sure if this functionality exists but it is boiler plate which I need to use quite often.
Typically I need to work with very large datasets, e.g. 10mil rows or more.
On these datasets performing a calculations such as taking a date in a specific string format can be sped up incredibly by assessing what needs to be done first.
As such I find myself writing the following boiler plate code for a lot of functions.
```
def map_strptime(series, format=None):
mapping = {x: datetime.strptime(x, format) for x in set(series)}
return series.map(mapping)
```
Now comparing this implementation v.s a more naive implementation just using the standard apply function, e.g.
```
def nonmap_strptime(x, format=None):
return datetime.strptime(x, format)
```
Usage:
```
df["Date"] = map_strptime(df["Trading Date"], format="%Y-%m-%d")
# vs.
df["Date"] = df["Trading Date"].apply(nonmap_strptime, format="%Y-%m-%d")
```
Assessing these two implementations for performance I get the following.
Note, my Dataset has 10 million rows across 365 days, e.g. a lot of repeated calculations.
```
# Mapped version
>>>> %timeit df["Date"] = map_strptime(df["Trading Date"], format="%Y-%m-%d")
>>>> 900 ms
# Nonmapped version
>>>> %timeit df["Date"] = df["Trading Date"].apply(nonmap_strptime, format="%Y-%m-%d")
>>>> (Still hasn't finished in the time it has taken me to write this issue, 10min plus)
```
As you can see for some use cases, e.g. when a calculation is being repeated often a simple set - map type wrapper around the operation could improve the performance substantially.
However, if a large number of non-duplicates exists then this would obviously slow the operation down quite substantially as first the calculation would be performed, then the mapping in two steps rather than one.
To get around this the number of unique items and non-unique items could be computed. If a large difference between them exists then a shift to the mapping implementation could impart large performance gains.
I'm not sure as to the best implementation, but something along the lines of:
```
df.memoapply(*args, **kargs):
if len(set(df[cols]) >> len(df[cols]):
# use memo version
else:
# Use standard versions.
```
This works best for one to one type operations, I'm unsure how well it would work for one to many or for many to one type applications.
Could possible be extended by using the inbuilt merge operations of Pandas and using a multi indexed series for the result?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4612/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4612/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4613 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4613/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4613/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4613/events | https://github.com/pandas-dev/pandas/pull/4613 | 18,275,865 | MDExOlB1bGxSZXF1ZXN0NzcxNTg1NQ== | 4,613 | CLN: Refactor series datetime arithmetic | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 15 | 2013-08-20T03:15:21Z | 2014-06-12T13:19:05Z | 2013-08-27T13:39:59Z | CONTRIBUTOR | null | This is a prelude to the larger refactoring of arithmetic into core/ops,
etc. It doesn't change any external behavior (and I'm relatively confident that
the test suite covers all the branches).
The complexity of the time arithmetic code was making it hard to tweak,
so I decided to change it up. It's not that complicated, but wanted to
run it by you all in an easy-to-read diff before I change its files.
Specifically it:
1. Moves Series time arithmetic out of `_arith_method` into a encapsulated `_TimeOp` class.
2. Consolidates the previously repeated type conversions into one.
3. Separates validations from type conversions, which makes the function
easier to follow and write.
4. Changes all obscure character codes to clear ones.
5. Removes the unnecessary `set()` calls in convert_to_array.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4613/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4613/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4613.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4613",
"merged_at": "2013-08-27T13:39:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4613.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4613"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4614 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4614/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4614/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4614/events | https://github.com/pandas-dev/pandas/pull/4614 | 18,276,933 | MDExOlB1bGxSZXF1ZXN0NzcxNjMyNw== | 4,614 | Fixes usage of CacheableOffset | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 34 | 2013-08-20T04:07:57Z | 2014-06-21T13:19:40Z | 2013-08-24T00:11:41Z | CONTRIBUTOR | null | `CacheableOffset` should be first parent class when sub-classing both `CacheableOffset` and `DateOffset`
Closes #4609
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4614/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4614/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4614.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4614",
"merged_at": "2013-08-24T00:11:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4614.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4614"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4615 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4615/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4615/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4615/events | https://github.com/pandas-dev/pandas/issues/4615 | 18,279,376 | MDU6SXNzdWUxODI3OTM3Ng== | 4,615 | Inconsistent comparisons between Series and 2-D ndarray | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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 | {
"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"
},
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
] | {
"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 | 2013-08-20T06:08:16Z | 2021-04-11T03:05:37Z | 2021-04-11T03:05:37Z | MEMBER | null | related: #4585
```
In [5]: randn(10, 2) == Series(randn(2))
Out[5]:
array([[False, False],
[False, False],
[False, False],
[False, False],
[False, False],
[False, False],
[False, False],
[False, False],
[False, False],
[False, False]], dtype=bool)
```
but
```
In [6]: randn(10, 2) <= Series(randn(2))
```
throws an `Exception`.
got a PR in the works
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4615/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4615/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4616 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4616/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4616/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4616/events | https://github.com/pandas-dev/pandas/issues/4616 | 18,302,926 | MDU6SXNzdWUxODMwMjkyNg== | 4,616 | index where, first_index_where, first_value_where, first_valid_value | {
"avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4",
"events_url": "https://api.github.com/users/hayd/events{/privacy}",
"followers_url": "https://api.github.com/users/hayd/followers",
"following_url": "https://api.github.com/users/hayd/following{/other_user}",
"gists_url": "https://api.github.com/users/hayd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hayd",
"id": 1931852,
"login": "hayd",
"node_id": "MDQ6VXNlcjE5MzE4NTI=",
"organizations_url": "https://api.github.com/users/hayd/orgs",
"received_events_url": "https://api.github.com/users/hayd/received_events",
"repos_url": "https://api.github.com/users/hayd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hayd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hayd"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "be21f2",
"default": false,
"description": "May be closeable, needs more eyeballs",
"id": 2365504893,
"name": "Closing Candidate",
"node_id": "MDU6TGFiZWwyMzY1NTA0ODkz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 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"
} | 2 | 2013-08-20T15:35:22Z | 2021-04-11T03:06:25Z | 2021-04-11T03:06:25Z | CONTRIBUTOR | null | I've thrown in a few functions which I think are similar (but I've seen a few times asked about). e.g. this [SO question](http://stackoverflow.com/questions/18327624/find-elements-index-in-pandas-series).
User wants to get the index where a criteria is true:
```
import pandas as pd
myseries = pd.Series([1,4,0,7,5], index=[0,1,2,3,4])
print myseries.find(7) # should output 3
```
I guess the usual way is to use:
```
s[msk].index
s[msk].index[0]
```
Or as @jreback suggests (in this simple example):
```
pd.index(s).get_loc(7)
```
Perhaps there should be some methods to grab these out efficiently (i.e. short-circuit in cython)... maybe it makes more sense to have a crit function rather than a mask.
cc @cpcloud
_also similar to idxmax and idxmin._
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4616/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4616/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4617 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4617/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4617/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4617/events | https://github.com/pandas-dev/pandas/issues/4617 | 18,307,097 | MDU6SXNzdWUxODMwNzA5Nw== | 4,617 | Set difference in Pandas | {
"avatar_url": "https://avatars.githubusercontent.com/u/599274?v=4",
"events_url": "https://api.github.com/users/rsmith31415/events{/privacy}",
"followers_url": "https://api.github.com/users/rsmith31415/followers",
"following_url": "https://api.github.com/users/rsmith31415/following{/other_user}",
"gists_url": "https://api.github.com/users/rsmith31415/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rsmith31415",
"id": 599274,
"login": "rsmith31415",
"node_id": "MDQ6VXNlcjU5OTI3NA==",
"organizations_url": "https://api.github.com/users/rsmith31415/orgs",
"received_events_url": "https://api.github.com/users/rsmith31415/received_events",
"repos_url": "https://api.github.com/users/rsmith31415/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rsmith31415/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rsmith31415/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rsmith31415"
} | [
{
"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": "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": 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"
} | 15 | 2013-08-20T16:49:05Z | 2014-05-29T07:57:59Z | 2014-05-29T07:57:59Z | NONE | null | I posted this question <a href="http://stackoverflow.com/questions/18180763/set-difference-for-pandas/18187648?noredirect=1">set difference for pandas</a> in SO but the answer I received produces some loss of precision.
The basic idea is that if you have two dataframes df1, df2, you should be able to get the rows in df1 that are not included in df2. That is, the set difference of df1 and df2.
I think this would be a good feature request in case it's not possible to solve this easily using Panda's current capabilities
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4617/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4617/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4618 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4618/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4618/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4618/events | https://github.com/pandas-dev/pandas/issues/4618 | 18,335,248 | MDU6SXNzdWUxODMzNTI0OA== | 4,618 | BUG: shift() on Series of dtype bool makes dtype into object, so HDFStore won't append | {
"avatar_url": "https://avatars.githubusercontent.com/u/1799409?v=4",
"events_url": "https://api.github.com/users/bigtonylewis/events{/privacy}",
"followers_url": "https://api.github.com/users/bigtonylewis/followers",
"following_url": "https://api.github.com/users/bigtonylewis/following{/other_user}",
"gists_url": "https://api.github.com/users/bigtonylewis/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bigtonylewis",
"id": 1799409,
"login": "bigtonylewis",
"node_id": "MDQ6VXNlcjE3OTk0MDk=",
"organizations_url": "https://api.github.com/users/bigtonylewis/orgs",
"received_events_url": "https://api.github.com/users/bigtonylewis/received_events",
"repos_url": "https://api.github.com/users/bigtonylewis/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bigtonylewis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bigtonylewis/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bigtonylewis"
} | [
{
"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": "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 | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 2 | 2013-08-21T04:09:09Z | 2013-08-21T12:45:22Z | 2013-08-21T12:45:22Z | NONE | null | ``` python
import pandas as pd
# '0.11.0'
print pd.__version__
df = pd.DataFrame(index=range(0,5), columns=['mybool'])
df.mybool = False
store = pd.HDFStore('shiftedbool.h5')
# this works
store.append('noshiftedbool', df)
# now add a shifted bool, backfilled
df['shiftedbool'] = df.mybool.shift(1).fillna(method='bfill')
print df
# causes exception:
store.append('shiftedbool', df)
```
This can be worked around; for now I'm using 0.0 and 1.0. But this seems like an issue that could be improved.
My first issue submitted; I hope it's up to scratch
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4618/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4618/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4619 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4619/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4619/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4619/events | https://github.com/pandas-dev/pandas/issues/4619 | 18,336,072 | MDU6SXNzdWUxODMzNjA3Mg== | 4,619 | Unexpected result/segmentation fault with .ix/.loc (0.12.0) | {
"avatar_url": "https://avatars.githubusercontent.com/u/746408?v=4",
"events_url": "https://api.github.com/users/gdraps/events{/privacy}",
"followers_url": "https://api.github.com/users/gdraps/followers",
"following_url": "https://api.github.com/users/gdraps/following{/other_user}",
"gists_url": "https://api.github.com/users/gdraps/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gdraps",
"id": 746408,
"login": "gdraps",
"node_id": "MDQ6VXNlcjc0NjQwOA==",
"organizations_url": "https://api.github.com/users/gdraps/orgs",
"received_events_url": "https://api.github.com/users/gdraps/received_events",
"repos_url": "https://api.github.com/users/gdraps/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gdraps/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gdraps/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gdraps"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 1 | 2013-08-21T04:54:02Z | 2013-08-21T18:22:24Z | 2013-08-21T18:22:24Z | CONTRIBUTOR | null | Hitting a seg fault on a specific usage of .ix/.loc with release 0.12.0 (and current master). Any help is greatly appreciated. Let me know if I can provide any more info.
Here's an example produced with pandas 0.12.0 and numpy 1.7.1.
```
>>> df = pd.DataFrame({"A": [0, 1, 2]})
>>> print df.ix[[0,8,0]] # unexpected results
A
0 0.000000e+00
8 NaN
0 4.677219e+12
>>> df = pd.DataFrame({"A": list('abc')})
>>> print df.ix[[0,8,0]]
Segmentation fault (core dumped)
```
(.loc in place of .ix fails in the same way)
For comparison, here's the behavior with 0.11.0:
```
>>> df = pd.DataFrame({"A": [0, 1, 2]})
>>> print df.ix[[0,8,0]]
A
0 0
8 NaN
0 0
>>> df = pd.DataFrame({"A": list('abc')})
>>> print df.ix[[0,8,0]]
A
0 a
8 NaN
0 a
```
System info
```
i686 GNU/Linux
```
Python info
```
Python 2.7.3 (default, Apr 10 2013, 05:09:49)
[GCC 4.7.2] on linux2
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4619/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4619/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4620 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4620/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4620/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4620/events | https://github.com/pandas-dev/pandas/issues/4620 | 18,361,750 | MDU6SXNzdWUxODM2MTc1MA== | 4,620 | Groupby filter doesn't work with repeated index | {
"avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4",
"events_url": "https://api.github.com/users/hayd/events{/privacy}",
"followers_url": "https://api.github.com/users/hayd/followers",
"following_url": "https://api.github.com/users/hayd/following{/other_user}",
"gists_url": "https://api.github.com/users/hayd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hayd",
"id": 1931852,
"login": "hayd",
"node_id": "MDQ6VXNlcjE5MzE4NTI=",
"organizations_url": "https://api.github.com/users/hayd/orgs",
"received_events_url": "https://api.github.com/users/hayd/received_events",
"repos_url": "https://api.github.com/users/hayd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hayd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hayd"
} | [
{
"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": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 6 | 2013-08-21T15:33:38Z | 2013-11-01T18:34:35Z | 2013-11-01T18:34:35Z | CONTRIBUTOR | null | Example:
```
In [1]: data = pandas.DataFrame(
{'pid' : [1,1,1,2,2,3,3,3],
'tag' : [23,45,62,24,45,34,25,62],
}, index=[0] * 8)
In [2]: g = data.groupby('tag')
In [3]: g.filter(lambda x: len(x) > 1)
Exception: Reindexing only valid with uniquely valued Index objects
```
cc #3680
_(I had thought there was also a similar behaviour with transform, but that seems ok.)_
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4620/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4620/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4621 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4621/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4621/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4621/events | https://github.com/pandas-dev/pandas/issues/4621 | 18,362,038 | MDU6SXNzdWUxODM2MjAzOA== | 4,621 | Groupby filter changes ordering | {
"avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4",
"events_url": "https://api.github.com/users/hayd/events{/privacy}",
"followers_url": "https://api.github.com/users/hayd/followers",
"following_url": "https://api.github.com/users/hayd/following{/other_user}",
"gists_url": "https://api.github.com/users/hayd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hayd",
"id": 1931852,
"login": "hayd",
"node_id": "MDQ6VXNlcjE5MzE4NTI=",
"organizations_url": "https://api.github.com/users/hayd/orgs",
"received_events_url": "https://api.github.com/users/hayd/received_events",
"repos_url": "https://api.github.com/users/hayd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hayd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hayd"
} | [
{
"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": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 9 | 2013-08-21T15:38:17Z | 2013-10-15T00:55:05Z | 2013-10-15T00:55:05Z | CONTRIBUTOR | null | At the moment filter reorders wrt the groups.
Example:
```
In [1]: data = pd.DataFrame(
{'pid' : [1,1,1,2,2,3,3,3],
'tag' : [23,45,62,24,45,34,25,62],
})
In [2]: g = data.groupby('tag')
In [3]: g.filter(lambda x: len(x) > 1)
Out[3]:
pid tag
1 1 45
4 2 45
2 1 62
7 3 62
```
If there is a way to efficiently keep the order that would be ideal I think, failing that sort back afterwards (but being wary of sorting with dupe/unordered indexes).
cc #3680
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4621/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4621/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4622 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4622/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4622/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4622/events | https://github.com/pandas-dev/pandas/pull/4622 | 18,363,360 | MDExOlB1bGxSZXF1ZXN0Nzc2MjM3MA== | 4,622 | BUG: Fix selection with ``ix/loc`` and non_unique selectors (GH4619) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-08-21T16:00:40Z | 2014-06-23T06:54:56Z | 2013-08-21T18:22:24Z | CONTRIBUTOR | null | closes #4619
```
In [7]: df = DataFrame({"A": [0, 1, 2]})
In [8]: df
Out[8]:
A
0 0
1 1
2 2
In [9]: df.ix[[0,8,0]]
Out[9]:
A
0 0
8 NaN
0 0
In [10]: df = DataFrame({"A": list('abc')})
In [12]: df
Out[12]:
A
0 a
1 b
2 c
In [11]: df.ix[[0,8,0]]
Out[11]:
A
0 a
8 NaN
0 a
```
and this beauty here!
```
In [13]: df = DataFrame({'test': [5,7,9,11]}, index=['A','A','B','C'])
In [14]: df
Out[14]:
test
A 5
A 7
B 9
C 11
In [15]: df.ix[['A','A','E']]
Out[15]:
test
A 5
A 7
A 5
A 7
E 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/4622/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4622/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4622.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4622",
"merged_at": "2013-08-21T18:22:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4622.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4622"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4623 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4623/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4623/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4623/events | https://github.com/pandas-dev/pandas/issues/4623 | 18,378,509 | MDU6SXNzdWUxODM3ODUwOQ== | 4,623 | first line comments on a read_csv | {
"avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4",
"events_url": "https://api.github.com/users/hayd/events{/privacy}",
"followers_url": "https://api.github.com/users/hayd/followers",
"following_url": "https://api.github.com/users/hayd/following{/other_user}",
"gists_url": "https://api.github.com/users/hayd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hayd",
"id": 1931852,
"login": "hayd",
"node_id": "MDQ6VXNlcjE5MzE4NTI=",
"organizations_url": "https://api.github.com/users/hayd/orgs",
"received_events_url": "https://api.github.com/users/hayd/received_events",
"repos_url": "https://api.github.com/users/hayd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hayd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hayd"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"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"
} | 5 | 2013-08-21T20:31:20Z | 2016-08-03T10:15:47Z | 2016-08-03T10:15:47Z | CONTRIBUTOR | null | related #4505
It seems that commenting on the first line is a little buggy (or perhaps not well-defined):
```
In [11]: s1 = '# notes\na,b,c\n# more notes\n1,2,3'
In [12]: s2 = 'a,b,c\n# more notes\n1,2,3'
In [13]: pd.read_csv(StringIO(s1), comment='#')
Out[13]:
Unnamed: 0
a b c
NaN NaN NaN
1 2 3
In [14]: pd.read_csv(StringIO(s2), comment='#')
Out[14]:
a b c
0 NaN NaN NaN
1 1 2 3
```
If you ignore the header:
```
In [15]: pd.read_csv(StringIO(s1), comment='#', header=None)
CParserError: Error tokenizing data. C error: Expected 1 fields in line 2, saw 3
```
related #3001 and from [this SO question](http://stackoverflow.com/questions/18366797/pandas-read-csv-how-to-skip-comment-lines).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4623/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4623/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4624 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4624/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4624/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4624/events | https://github.com/pandas-dev/pandas/pull/4624 | 18,378,974 | MDExOlB1bGxSZXF1ZXN0Nzc3MTM1Mg== | 4,624 | API/CLN: setitem in Series now consistent with DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 4 | 2013-08-21T20:40:34Z | 2014-06-16T23:53:39Z | 2013-08-21T23:15:01Z | CONTRIBUTOR | null | closes #4312
setitem in a frame that can change dtype
setitem_with_indexer now uses the Block.setitem machinery
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4624/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4624/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4624.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4624",
"merged_at": "2013-08-21T23:15:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4624.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4624"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4625 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4625/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4625/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4625/events | https://github.com/pandas-dev/pandas/issues/4625 | 18,381,434 | MDU6SXNzdWUxODM4MTQzNA== | 4,625 | API: HDFStore will drop a row that is completely all-nan | {
"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": "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": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-08-21T21:24:48Z | 2013-09-20T18:05:33Z | 2013-08-31T14:09:35Z | CONTRIBUTOR | null | maybe `dropna='` as default (current behavior), and allow values: `None`,`all`,False, where `all` is equivalent of `None` (current behavior), maybe settable by a `set_option` as well
related: https://github.com/pydata/pandas/pull/3013
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4625/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4625/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4626 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4626/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4626/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4626/events | https://github.com/pandas-dev/pandas/issues/4626 | 18,383,120 | MDU6SXNzdWUxODM4MzEyMA== | 4,626 | BUG: read_stata ignoring encoding? | {
"avatar_url": "https://avatars.githubusercontent.com/u/296164?v=4",
"events_url": "https://api.github.com/users/jseabold/events{/privacy}",
"followers_url": "https://api.github.com/users/jseabold/followers",
"following_url": "https://api.github.com/users/jseabold/following{/other_user}",
"gists_url": "https://api.github.com/users/jseabold/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jseabold",
"id": 296164,
"login": "jseabold",
"node_id": "MDQ6VXNlcjI5NjE2NA==",
"organizations_url": "https://api.github.com/users/jseabold/orgs",
"received_events_url": "https://api.github.com/users/jseabold/received_events",
"repos_url": "https://api.github.com/users/jseabold/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jseabold/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jseabold/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jseabold"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-08-21T21:57:28Z | 2013-08-26T15:21:56Z | 2013-08-26T15:21:56Z | CONTRIBUTOR | null | I don't have time to debug right now, and maybe my expectations are just off, but it looks like `read_stata` doesn't respect the encoding keyword. I'm also not sure it's needed. AFAIK, Stata doesn't (and likely won't) support unicode. It always uses latin-1, so we can always use the latin-1 encoding for strings (maybe not desirable though).
https://www.dropbox.com/s/hq42trq4327ker8/encoding_issue.dta
```
dta = pd.read_stata("./encoding_issue.dta")
dta.head()
dta = pd.read_stata("./encoding_issue.dta", encoding="latin-1")
dta.head()
dta = pd.read_stata("./encoding_issue.dta")
dta.kreis1849.str.decode("latin-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/4626/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4626/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4627 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4627/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4627/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4627/events | https://github.com/pandas-dev/pandas/pull/4627 | 18,385,543 | MDExOlB1bGxSZXF1ZXN0Nzc3NTE3Mg== | 4,627 | API/CLN: make rename and copy consistent across NDFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | null | 0 | 2013-08-21T22:53:40Z | 2014-06-12T11:52:22Z | 2013-08-21T23:46:11Z | CONTRIBUTOR | null | verifies #2721, #4039
closes #4605
TST: add tests/test_generic.py
API/CLN: Refactor rename methods to core/generic.py; fixes Series.rename for (GH4605), and adds rename
with the same signature for `Panel`
API/CLN: Refactor Series.copy to core/generic.py; removes the order argument from Series.copy (inconsistent)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4627/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4627/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4627.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4627",
"merged_at": "2013-08-21T23:46:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4627.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4627"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4628 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4628/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4628/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4628/events | https://github.com/pandas-dev/pandas/issues/4628 | 18,385,801 | MDU6SXNzdWUxODM4NTgwMQ== | 4,628 | ENH: Support rename on MultiIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 3 | 2013-08-21T23:00:22Z | 2013-09-17T03:24:43Z | 2013-09-01T01:21:37Z | CONTRIBUTOR | null | Change up `MultiIndex.rename` to be an alias for `MultiIndex.set_names`.
- `Index.rename` : takes single object
- `MultiIndex.set_names`, `Index.set_names` - same type signature: take list of names [Index.set_names can only take iterable of length 1)
- `MultiIndex.rename` - synonym for `set_names`
So if you want to do something generically, you should use `set_names` (just like you would with other attributes). If you expect a non-MI index, then you could use `rename` with a string, etc.
cc @jreback
I personally think that this behavior is how it should work for Index. Everyone okay with this? I'd prefer not to do type sniffing if at all possible.
``` python
ind = Index(range(10))
ind.rename(["apple"], inplace=True)
print(ind.name) # ['apple']
print(ind.names) # [['apple']]
ind.set_names('apple') # Fails with error that it's too long
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4628/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4628/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4629 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4629/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4629/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4629/events | https://github.com/pandas-dev/pandas/issues/4629 | 18,385,857 | MDU6SXNzdWUxODM4NTg1Nw== | 4,629 | API: arithmetic ops could accept an index as appropriate | {
"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": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 6 | 2013-08-21T23:01:57Z | 2013-08-24T00:15:29Z | 2013-08-24T00:15:29Z | CONTRIBUTOR | null | Not sure if this will cause weirdness but haveing the arithmetic operations able to accept an index (when appropriate type), e.g. a datecolumn should be able to interact with a DatetimeIndex, but prob should prohibit an int column from interacting with a IntIndex?
e.g. in below `df['date']-df.index` should work
This actually DOES work now! (and I take it back, does make some sense)
should `df[1]-df.reset_index().index` work????
http://stackoverflow.com/questions/18368442/how-to-directly-use-pandas-date-time-index-in-calculations/18368793?noredirect=1#comment26971689_18368793
```
In [1]: df = DataFrame(randn(5,2),index=date_range('20130101',periods=5))
In [3]: df['date'] = Timestamp('20130102')
In [4]: df
Out[4]:
0 1 date
2013-01-01 2.406932 -0.313473 2013-01-02 00:00:00
2013-01-02 0.034162 -0.708450 2013-01-02 00:00:00
2013-01-03 -1.585031 0.587243 2013-01-02 00:00:00
2013-01-04 1.454818 1.089208 2013-01-02 00:00:00
2013-01-05 -0.778016 -0.994242 2013-01-02 00:00:00
In [5]: df['td'] = df['date']-df.index.to_series()
In [6]: df
Out[6]:
0 1 date td
2013-01-01 2.406932 -0.313473 2013-01-02 00:00:00 1 days, 00:00:00
2013-01-02 0.034162 -0.708450 2013-01-02 00:00:00 00:00:00
2013-01-03 -1.585031 0.587243 2013-01-02 00:00:00 -1 days, 00:00:00
2013-01-04 1.454818 1.089208 2013-01-02 00:00:00 -2 days, 00:00:00
2013-01-05 -0.778016 -0.994242 2013-01-02 00:00:00 -3 days, 00:00:00
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4629/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4629/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4630 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4630/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4630/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4630/events | https://github.com/pandas-dev/pandas/issues/4630 | 18,386,444 | MDU6SXNzdWUxODM4NjQ0NA== | 4,630 | DOC: Add Clarification to Groupby.Filter for DataFrames | {
"avatar_url": "https://avatars.githubusercontent.com/u/3707229?v=4",
"events_url": "https://api.github.com/users/quaintm/events{/privacy}",
"followers_url": "https://api.github.com/users/quaintm/followers",
"following_url": "https://api.github.com/users/quaintm/following{/other_user}",
"gists_url": "https://api.github.com/users/quaintm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/quaintm",
"id": 3707229,
"login": "quaintm",
"node_id": "MDQ6VXNlcjM3MDcyMjk=",
"organizations_url": "https://api.github.com/users/quaintm/orgs",
"received_events_url": "https://api.github.com/users/quaintm/received_events",
"repos_url": "https://api.github.com/users/quaintm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/quaintm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/quaintm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/quaintm"
} | [
{
"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": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 8 | 2013-08-21T23:19:55Z | 2013-10-08T14:51:18Z | 2013-10-08T14:51:18Z | NONE | null | All of the examples in the docs for [Groupby.Filter](http://pandas.pydata.org/pandas-docs/dev/groupby.html#filtration) showcase examples in which the GroupBy collapses into a series, and is evaluated in a single dimension.
I'd like to suggest adding (or amending the third example) to include a case in which the initial dataframe has > 2 columns, and thereby the GroupBy retains two dimensions.
An additional example might look like:
```
In [86]: df3 = DataFrame({'A': np.arange(8), 'B': list('aabbbbcc'), 'C': np.arange(8)})
In [86]: df3.groupby('B').filter(lambda x: len(x['C']) > 2)
A B C
2 2 b 2
3 3 b 3
4 4 b 4
5 5 b 5
```
I suggest this because I struggled with the amusing errors generated by not specifying a column for most of the afternoon.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4630/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4630/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4631 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4631/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4631/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4631/events | https://github.com/pandas-dev/pandas/pull/4631 | 18,387,310 | MDExOlB1bGxSZXF1ZXN0Nzc3NjE4Mw== | 4,631 | excel reader & skip row between data & header & docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/11860?v=4",
"events_url": "https://api.github.com/users/timmie/events{/privacy}",
"followers_url": "https://api.github.com/users/timmie/followers",
"following_url": "https://api.github.com/users/timmie/following{/other_user}",
"gists_url": "https://api.github.com/users/timmie/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/timmie",
"id": 11860,
"login": "timmie",
"node_id": "MDQ6VXNlcjExODYw",
"organizations_url": "https://api.github.com/users/timmie/orgs",
"received_events_url": "https://api.github.com/users/timmie/received_events",
"repos_url": "https://api.github.com/users/timmie/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/timmie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timmie/subscriptions",
"type": "User",
"url": "https://api.github.com/users/timmie"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 45 | 2013-08-21T23:44:51Z | 2013-10-08T16:27:17Z | 2013-09-25T17:12:44Z | CONTRIBUTOR | null | the merge conflict chaos was too hard ;-(
This is a continuation of:
https://github.com/pydata/pandas/pull/4404
Because:
- we hit aparently a GitHub bug
- the branches diverged too much.
I shall fix:
- in the excel.py there is a fix enabling reading xlsx files with both
datemodes: (see #4332)
- in the parsers.py there is the fix for readinh the header even if there
are additional rows (to be skipped) between a header and the data (see: #4340)
- a few doc improvements
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4631/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4631/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4631.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4631",
"merged_at": "2013-09-25T17:12:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4631.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4631"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4632 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4632/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4632/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4632/events | https://github.com/pandas-dev/pandas/pull/4632 | 18,390,411 | MDExOlB1bGxSZXF1ZXN0Nzc3Nzg0Mg== | 4,632 | now sectionwise: date_converter: delta / time | {
"avatar_url": "https://avatars.githubusercontent.com/u/11860?v=4",
"events_url": "https://api.github.com/users/timmie/events{/privacy}",
"followers_url": "https://api.github.com/users/timmie/followers",
"following_url": "https://api.github.com/users/timmie/following{/other_user}",
"gists_url": "https://api.github.com/users/timmie/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/timmie",
"id": 11860,
"login": "timmie",
"node_id": "MDQ6VXNlcjExODYw",
"organizations_url": "https://api.github.com/users/timmie/orgs",
"received_events_url": "https://api.github.com/users/timmie/received_events",
"repos_url": "https://api.github.com/users/timmie/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/timmie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timmie/subscriptions",
"type": "User",
"url": "https://api.github.com/users/timmie"
} | [] | closed | false | null | [] | {
"closed_at": "2014-02-03T05:17:36Z",
"closed_issues": 314,
"created_at": "2013-08-26T22:11:58Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
},
"description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.",
"due_on": "2014-02-04T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/23",
"id": 412013,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels",
"node_id": "MDk6TWlsZXN0b25lNDEyMDEz",
"number": 23,
"open_issues": 0,
"state": "closed",
"title": "0.13.1",
"updated_at": "2014-02-03T05:18:00Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23"
} | 2 | 2013-08-22T01:32:19Z | 2014-07-30T21:47:46Z | 2014-01-01T03:41:02Z | CONTRIBUTOR | null | Date converters used for testing the resolution of #4332
See also: #4631
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4632/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4632/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4632.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4632",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4632.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4632"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4633 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4633/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4633/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4633/events | https://github.com/pandas-dev/pandas/issues/4633 | 18,390,566 | MDU6SXNzdWUxODM5MDU2Ng== | 4,633 | Now boolean operators work with NDFrames? | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 22 | 2013-08-22T01:38:33Z | 2014-04-25T17:06:59Z | 2013-08-31T17:51:58Z | MEMBER | null | Awkward side effect of the new and improved `Series` probably, I typed something wrong and was shocked to not get the usual `numpy` `ValueError` barf:
```
In [57]: a, b = Series(rand(10) > 0.5), Series(rand(10) > 0.5)
In [58]: a
Out[58]:
0 True
1 True
2 False
3 False
4 True
5 False
6 False
7 True
8 True
9 True
dtype: bool
In [59]: b
Out[59]:
0 True
1 True
2 True
3 True
4 False
5 True
6 False
7 True
8 True
9 True
dtype: bool
In [60]: a and b # what?! no way!!
Out[60]:
0 True
1 True
2 True
3 True
4 False
5 True
6 False
7 True
8 True
9 True
dtype: bool
In [61]: a & b # whew
Out[61]:
0 True
1 True
2 False
3 False
4 False
5 False
6 False
7 True
8 True
9 True
dtype: bool
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4633/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4633/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4634 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4634/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4634/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4634/events | https://github.com/pandas-dev/pandas/pull/4634 | 18,390,918 | MDExOlB1bGxSZXF1ZXN0Nzc3ODA5MQ== | 4,634 | now sectionwise: excel / date_parser #4332 | {
"avatar_url": "https://avatars.githubusercontent.com/u/11860?v=4",
"events_url": "https://api.github.com/users/timmie/events{/privacy}",
"followers_url": "https://api.github.com/users/timmie/followers",
"following_url": "https://api.github.com/users/timmie/following{/other_user}",
"gists_url": "https://api.github.com/users/timmie/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/timmie",
"id": 11860,
"login": "timmie",
"node_id": "MDQ6VXNlcjExODYw",
"organizations_url": "https://api.github.com/users/timmie/orgs",
"received_events_url": "https://api.github.com/users/timmie/received_events",
"repos_url": "https://api.github.com/users/timmie/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/timmie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timmie/subscriptions",
"type": "User",
"url": "https://api.github.com/users/timmie"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 3 | 2013-08-22T01:55:08Z | 2013-09-28T19:31:48Z | 2013-09-28T19:31:48Z | CONTRIBUTOR | null | This is the second part of the fix.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4634/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4634/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4634.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4634",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4634.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4634"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4635 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4635/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4635/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4635/events | https://github.com/pandas-dev/pandas/issues/4635 | 18,393,493 | MDU6SXNzdWUxODM5MzQ5Mw== | 4,635 | Exception: tables cannot write this data -> | {
"avatar_url": "https://avatars.githubusercontent.com/u/1627433?v=4",
"events_url": "https://api.github.com/users/smartexpert/events{/privacy}",
"followers_url": "https://api.github.com/users/smartexpert/followers",
"following_url": "https://api.github.com/users/smartexpert/following{/other_user}",
"gists_url": "https://api.github.com/users/smartexpert/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/smartexpert",
"id": 1627433,
"login": "smartexpert",
"node_id": "MDQ6VXNlcjE2Mjc0MzM=",
"organizations_url": "https://api.github.com/users/smartexpert/orgs",
"received_events_url": "https://api.github.com/users/smartexpert/received_events",
"repos_url": "https://api.github.com/users/smartexpert/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/smartexpert/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/smartexpert/subscriptions",
"type": "User",
"url": "https://api.github.com/users/smartexpert"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 7 | 2013-08-22T03:48:28Z | 2013-09-20T17:24:17Z | 2013-09-20T17:24:17Z | NONE | null | I have been encountering this error when reading a large csv file and writing to HDFStore table. Initially this error would occur if I would read a large chunk from csv for e.g. > 200000 rows on the sencond or third chunk. Hence I resorted to reading a smaller chunk of 100000 and appending to table and program seemed to run fine upto the 178th chunk thus indicating that there isn't any problem with the data in the first few 100,000's of rows that would cause the exception to be raised.
Please refer to http://stackoverflow.com/questions/18343726/pandas-hdfstore-append-data-columns-after-append-operation for the code I'm running.
Traceback (most recent call last):
File "D:\AIMS\csvtohdf.py", line 99, in <module>
f.append('df', chunk) #, dtype=dt, data_columns = ['MONTH', 'COD', 'FLNLOCCOD', 'ISO', 'OR', 'DES', 'MAIN', 'SHARE', 'TYPE'])
File "D:\Python27\lib\site-packages\pandas\io\pytables.py", line 658, in append
self._write_to_group(key, value, table=True, append=True, *_kwargs)
File "D:\Python27\lib\site-packages\pandas\io\pytables.py", line 923, in _write_to_group
s.write(obj = value, append=append, complib=complib, *_kwargs)
File "D:\Python27\lib\site-packages\pandas\io\pytables.py", line 3012, in write
self.write_data(chunksize)
File "D:\Python27\lib\site-packages\pandas\io\pytables.py", line 3056, in write_data
values=[v[start_i:end_i] for v in values])
File "D:\Python27\lib\site-packages\pandas\io\pytables.py", line 3079, in write_data_chunk
raise Exception("tables cannot write this data -> %s" % str(detail))
Exception: tables cannot write this data ->
I am using Windows 7 with a 32-bit version of both windows and python.
## INSTALLED VERSIONS
Python: 2.7.3.final.0
Cython: 0.19.1
Numpy: 1.7.1
Scipy: Not installed
statsmodels: Not installed
patsy: Not installed
scikits.timeseries: Not installed
dateutil: 1.5
pytz: Not installed
bottleneck: Not installed
PyTables: 3.0.0
numexpr: 2.1
matplotlib: Not installed
openpyxl: 1.5.7
xlrd: 0.7.1
xlwt: Not installed
sqlalchemy: 0.6.6
lxml: Not installed
bs4: 4.1.3
html5lib: Not installed
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4635/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4635/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4636 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4636/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4636/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4636/events | https://github.com/pandas-dev/pandas/issues/4636 | 18,404,545 | MDU6SXNzdWUxODQwNDU0NQ== | 4,636 | Cannot update boxplot via axes | {
"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": "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": "2014-07-11T00:02:53Z",
"closed_issues": 306,
"created_at": "2014-04-27T23:40:28Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "bug fixes from 0.14.0",
"due_on": "2014-07-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/27",
"id": 641843,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels",
"node_id": "MDk6TWlsZXN0b25lNjQxODQz",
"number": 27,
"open_issues": 0,
"state": "closed",
"title": "0.14.1",
"updated_at": "2014-09-05T10:24:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27"
} | 4 | 2013-08-22T10:12:16Z | 2014-06-05T01:13:47Z | 2014-06-05T01:13:47Z | MEMBER | null | When I construct a boxplot with pandas, e.g. like this:
``` python
df = pd.DataFrame({'A':[1,3,2,5,4,7,6], 'B':[1,1,1,1,2,2,2]})
fig, ax = plt.subplots()
df.boxplot('A', 'B', ax=ax)
```
I cannnot change the plot anymore via `ax`, e.g. `ax.set_ylim(0,20)` or `ax.set_ylabel("Something")` has no effect on the figure.
Complete example: http://nbviewer.ipython.org/5868420/bug_pandas-boxplot-set-ylim.ipynb
I tested it on the dev version of pandas (and I know it worked previously, but cannot check which version exactly anymore).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4636/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4636/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4637 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4637/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4637/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4637/events | https://github.com/pandas-dev/pandas/issues/4637 | 18,409,360 | MDU6SXNzdWUxODQwOTM2MA== | 4,637 | LastWeekOfMonth DateOffset | {
"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": "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": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 5 | 2013-08-22T12:18:49Z | 2015-04-13T19:05:36Z | 2014-02-18T22:42:42Z | CONTRIBUTOR | null | Create a `DateOffset` that represents the a weekday in last week of the month, such as "the last Tuesday of each month"
Currently there is a `WeekOfMonth` `DateOffset` but that class only takes `week : {0, 1, 2, 3, ...}`. What we actually want is `week=-1`
I will submit a PR.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4637/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4637/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4638 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4638/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4638/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4638/events | https://github.com/pandas-dev/pandas/issues/4638 | 18,409,535 | MDU6SXNzdWUxODQwOTUzNQ== | 4,638 | REPR: kwds in DateOffset | {
"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": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "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": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 3 | 2013-08-22T12:23:31Z | 2013-09-27T03:50:38Z | 2013-09-27T03:50:38Z | CONTRIBUTOR | null | Currently the signature for constructing most `DateOffset` is `(n, **kwds)`.
Optional ags are then read using `get(key)` from the `kwds` and required args using `[key]`. This is fine, but it leaves what was extracted from `kwds` still in `kwds` leading to a redundant `str` or `repr`:
```
Week(weekday=0)
<1 Week: kwds={'weekday': 0}, weekday=0>
```
I would recommend using `pop` instead of `get` and using `del` after reading required values.
Thoughts?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4638/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4638/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4639 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4639/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4639/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4639/events | https://github.com/pandas-dev/pandas/pull/4639 | 18,409,748 | MDExOlB1bGxSZXF1ZXN0Nzc4ODAxNA== | 4,639 | PERF: optimize __getitem__ in DataFrame for columns lookup | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-08-22T12:28:40Z | 2014-07-14T11:47:18Z | 2013-08-23T01:43:33Z | CONTRIBUTOR | null | ```
In [1]: df2 = DataFrame(randn(3000,1),columns=['A'])
In [2]: df3 = DataFrame(randn(3000,1))
In [3]: def h():
...: for i in xrange(10000):
...: df2['A']
...:
In [4]: def j():
...: for i in xrange(10000):
...: df3[0]
...:
```
0.12
```
In [5]: %timeit h()
%time10 loops, best of 3: 39.8 ms per loop
In [6]: %timeit j()
10 loops, best of 3: 31.8 ms per loop
```
with PR
```
In [8]: %timeit h()
10 loops, best of 3: 25.5 ms per loop
In [9]: %timeit j()
10 loops, best of 3: 27.4 ms per loop
```
and the vbench
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
frame_getitem_single_column | 25.5514 | 43.3776 | 0.5890 |
frame_getitem_single_column2 | 27.3627 | 32.4320 | 0.8437 |
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4639/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4639/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4639.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4639",
"merged_at": "2013-08-23T01:43:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4639.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4639"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4640 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4640/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4640/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4640/events | https://github.com/pandas-dev/pandas/issues/4640 | 18,413,030 | MDU6SXNzdWUxODQxMzAzMA== | 4,640 | DOC: tslib.monthrange | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "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": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 6 | 2013-08-22T13:37:09Z | 2015-03-03T01:25:30Z | 2015-03-03T01:25:30Z | CONTRIBUTOR | null | Does Pandas have its own `tslib.monthrange` rather than using `calendar.monthrange` for performance reasons?
If so, I will toss some comments on it indicating such.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4640/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4640/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4641 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4641/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4641/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4641/events | https://github.com/pandas-dev/pandas/pull/4641 | 18,419,884 | MDExOlB1bGxSZXF1ZXN0Nzc5MzI4OQ== | 4,641 | ENH: (GH4629) Support for using a DatetimeIndex/PeriodsIndex directly in a datelike calculation | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 5 | 2013-08-22T15:23:10Z | 2014-07-16T08:24:21Z | 2013-08-24T00:15:30Z | CONTRIBUTOR | null | closes #4629
```
In [1]: s = Series(date_range('20130101',periods=5),index=date_range('20130102',periods=5))
In [2]: s
Out[2]:
2013-01-02 2013-01-01 00:00:00
2013-01-03 2013-01-02 00:00:00
2013-01-04 2013-01-03 00:00:00
2013-01-05 2013-01-04 00:00:00
2013-01-06 2013-01-05 00:00:00
Freq: D, dtype: datetime64[ns]
In [3]: s-s.index
Out[3]:
2013-01-02 -1 days, 00:00:00
2013-01-03 -1 days, 00:00:00
2013-01-04 -1 days, 00:00:00
2013-01-05 -1 days, 00:00:00
2013-01-06 -1 days, 00:00:00
Freq: D, dtype: timedelta64[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/4641/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4641/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4641.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4641",
"merged_at": "2013-08-24T00:15:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4641.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4641"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4642 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4642/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4642/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4642/events | https://github.com/pandas-dev/pandas/pull/4642 | 18,425,886 | MDExOlB1bGxSZXF1ZXN0Nzc5NjE5OA== | 4,642 | BUG/ER: Stricter testing of 'monotocity' when reindexing with ffill (GH4483) | {
"avatar_url": "https://avatars.githubusercontent.com/u/4680320?v=4",
"events_url": "https://api.github.com/users/prossahl/events{/privacy}",
"followers_url": "https://api.github.com/users/prossahl/followers",
"following_url": "https://api.github.com/users/prossahl/following{/other_user}",
"gists_url": "https://api.github.com/users/prossahl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/prossahl",
"id": 4680320,
"login": "prossahl",
"node_id": "MDQ6VXNlcjQ2ODAzMjA=",
"organizations_url": "https://api.github.com/users/prossahl/orgs",
"received_events_url": "https://api.github.com/users/prossahl/received_events",
"repos_url": "https://api.github.com/users/prossahl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/prossahl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/prossahl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/prossahl"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 3 | 2013-08-22T16:55:45Z | 2014-07-16T08:24:23Z | 2013-09-15T12:00:10Z | CONTRIBUTOR | null | This fixes up an earlier pull request and closes #4484.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4642/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4642/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4642.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4642",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4642.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4642"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4643 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4643/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4643/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4643/events | https://github.com/pandas-dev/pandas/pull/4643 | 18,428,353 | MDExOlB1bGxSZXF1ZXN0Nzc5NzQ5Nw== | 4,643 | BUG: (GH4626) Fix decoding based on a passed in non-default encoding in pd.read_stata | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 6 | 2013-08-22T17:41:00Z | 2014-06-24T15:12:52Z | 2013-08-26T15:21:56Z | CONTRIBUTOR | null | closes #4626
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4643/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4643/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4643.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4643",
"merged_at": "2013-08-26T15:21:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4643.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4643"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4644 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4644/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4644/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4644/events | https://github.com/pandas-dev/pandas/pull/4644 | 18,434,598 | MDExOlB1bGxSZXF1ZXN0NzgwMTA1Ng== | 4,644 | test_perf fixes, restore clobbered pickle compare cmdargs, restore back_compat | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [] | closed | false | null | [] | null | 0 | 2013-08-22T19:36:36Z | 2014-06-26T11:55:38Z | 2013-08-22T19:36:42Z | NONE | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4644/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4644/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4644.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4644",
"merged_at": "2013-08-22T19:36:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4644.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4644"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/4645 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4645/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4645/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4645/events | https://github.com/pandas-dev/pandas/pull/4645 | 18,443,155 | MDExOlB1bGxSZXF1ZXN0NzgwNTU4Mw== | 4,645 | API: remove the table keyword, replaced by fmt='s|t' | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 13 | 2013-08-22T22:05:30Z | 2014-06-13T00:06:16Z | 2013-08-26T12:43:52Z | CONTRIBUTOR | null | - API: the `fmt` keyword now replaces the table keyword; allowed values are `s|t`
the same defaults as prior < 0.13.0 remain, e.g. `put` implies 's' (Storer) format
and `append` imples 't' (Table) format
closes #4584 as well
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4645/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4645/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4645.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4645",
"merged_at": "2013-08-26T12:43:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4645.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4645"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4646 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4646/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4646/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4646/events | https://github.com/pandas-dev/pandas/issues/4646 | 18,447,522 | MDU6SXNzdWUxODQ0NzUyMg== | 4,646 | groupby enumerate method | {
"avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4",
"events_url": "https://api.github.com/users/hayd/events{/privacy}",
"followers_url": "https://api.github.com/users/hayd/followers",
"following_url": "https://api.github.com/users/hayd/following{/other_user}",
"gists_url": "https://api.github.com/users/hayd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hayd",
"id": 1931852,
"login": "hayd",
"node_id": "MDQ6VXNlcjE5MzE4NTI=",
"organizations_url": "https://api.github.com/users/hayd/orgs",
"received_events_url": "https://api.github.com/users/hayd/received_events",
"repos_url": "https://api.github.com/users/hayd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hayd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hayd"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "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 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4",
"events_url": "https://api.github.com/users/hayd/events{/privacy}",
"followers_url": "https://api.github.com/users/hayd/followers",
"following_url": "https://api.github.com/users/hayd/following{/other_user}",
"gists_url": "https://api.github.com/users/hayd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hayd",
"id": 1931852,
"login": "hayd",
"node_id": "MDQ6VXNlcjE5MzE4NTI=",
"organizations_url": "https://api.github.com/users/hayd/orgs",
"received_events_url": "https://api.github.com/users/hayd/received_events",
"repos_url": "https://api.github.com/users/hayd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hayd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hayd"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4",
"events_url": "https://api.github.com/users/hayd/events{/privacy}",
"followers_url": "https://api.github.com/users/hayd/followers",
"following_url": "https://api.github.com/users/hayd/following{/other_user}",
"gists_url": "https://api.github.com/users/hayd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hayd",
"id": 1931852,
"login": "hayd",
"node_id": "MDQ6VXNlcjE5MzE4NTI=",
"organizations_url": "https://api.github.com/users/hayd/orgs",
"received_events_url": "https://api.github.com/users/hayd/received_events",
"repos_url": "https://api.github.com/users/hayd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hayd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hayd"
}
] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 37 | 2013-08-23T00:05:27Z | 2013-11-29T08:32:04Z | 2013-11-14T22:04:00Z | CONTRIBUTOR | null | I'm not sure what a good word for this is (count is taken, order means sort)!
But it's quite an often used thing to create a column which enumerates the items in each group / counts their occurrences.
You can hack it:
```
In [1]: df = pd.DataFrame([[1, 2], [2, 3], [1, 4], [1, 5], [2, 6]])
In [2]: g = df.groupby(0)
In [3]: g.apply(lambda x: pd.Series(np.arange(len(x)), x.index))
Out[3]:
0 0
1 0
2 1
3 2
4 1
dtype: int64
In [5]: df['order'] = _
In [6]: df
Out[6]:
0 1 order
0 1 2 0
1 2 3 0
2 1 4 1
3 1 5 2
4 2 6 1
```
_I've seen this in a few SO questions, here's just [one](http://stackoverflow.com/questions/18392283/pandas-return-first-item-in-dataframe-grouped-by-user)._
cc @cpcloud (and I've seen @jreback answer a question 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/4646/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4646/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4647 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4647/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4647/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4647/events | https://github.com/pandas-dev/pandas/issues/4647 | 18,447,555 | MDU6SXNzdWUxODQ0NzU1NQ== | 4,647 | API: read_csv timedelta parsing | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 1 | 2013-08-23T00:06:53Z | 2013-08-23T00:09:33Z | 2013-08-23T00:09:33Z | CONTRIBUTOR | null | if passing a `dtype= { 'column_that_is_a_timedelta' : lambda x: the_td64_parser_of_doom(x) }`
this could provide a specific dtype parser for a column
alternatively, maybe provide a `parse_timedelta` option?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4647/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4647/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4648 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4648/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4648/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4648/events | https://github.com/pandas-dev/pandas/issues/4648 | 18,447,850 | MDU6SXNzdWUxODQ0Nzg1MA== | 4,648 | as_index is only applied to aggregators | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"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/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 1 | 2013-08-23T00:16:52Z | 2013-08-27T00:20:23Z | 2013-08-27T00:20:23Z | MEMBER | null | `as_index` doesn't seem to work for non reductive operations
**Note:** I've only tested with `head`
```
In [7]: df = pd.DataFrame({'item_id': ['b', 'b', 'a', 'c', 'a', 'b'], 'user_id': [1,2,1,1,3,1], 'time': ra
nge(6)})
In [8]: df.groupby('user_id', as_index=False).sum()
Out[8]:
user_id time
0 1 10
1 2 1
2 3 4
In [9]: df.groupby('user_id', as_index=False).head()
Out[9]:
item_id time user_id
user_id
1 0 b 0 1
2 a 2 1
3 c 3 1
5 b 5 1
2 1 b 1 2
3 4 a 4 3
```
from [this SO question](http://stackoverflow.com/q/18392283/564538)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4648/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4648/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4649 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4649/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4649/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4649/events | https://github.com/pandas-dev/pandas/pull/4649 | 18,449,680 | MDExOlB1bGxSZXF1ZXN0NzgwOTMwMw== | 4,649 | BUG: allow as_index=False for non aggregating groupby methods | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 11 | 2013-08-23T01:32:16Z | 2014-06-22T10:18:48Z | 2013-08-27T00:20:23Z | MEMBER | null | closes #4648
closes #3417
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4649/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4649/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4649.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4649",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4649.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4649"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4650 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4650/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4650/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4650/events | https://github.com/pandas-dev/pandas/issues/4650 | 18,449,913 | MDU6SXNzdWUxODQ0OTkxMw== | 4,650 | API: add parse_timedelta kw for read_csv | {
"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": "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_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"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-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 2 | 2013-08-23T01:41:53Z | 2014-09-06T20:40:40Z | 2014-09-06T20:40:40Z | CONTRIBUTOR | null | similar to `parse_dates`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4650/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4650/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4651 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4651/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4651/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4651/events | https://github.com/pandas-dev/pandas/issues/4651 | 18,450,049 | MDU6SXNzdWUxODQ1MDA0OQ== | 4,651 | REPR: empty series not printing name in repr | {
"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": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 1 | 2013-08-23T01:48:08Z | 2013-11-02T20:58:35Z | 2013-11-02T20:58:35Z | CONTRIBUTOR | null | related #4236
maybe should print as:
`Series([], name: foo, dtype: int64)` ?
```
In [9]: s = Series([], dtype=np.int64, name='foo')
In [10]: s
Out[10]: Series([], dtype: int64)
```
```
In [7]: s2 = Series([1,2],name='foo')
In [8]: s2
Out[8]:
0 1
1 2
Name: foo, dtype: int64
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4651/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4651/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4652 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4652/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4652/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4652/events | https://github.com/pandas-dev/pandas/issues/4652 | 18,451,110 | MDU6SXNzdWUxODQ1MTExMA== | 4,652 | np.where(pd.Series) returns np.ndarray | {
"avatar_url": "https://avatars.githubusercontent.com/u/610115?v=4",
"events_url": "https://api.github.com/users/dalejung/events{/privacy}",
"followers_url": "https://api.github.com/users/dalejung/followers",
"following_url": "https://api.github.com/users/dalejung/following{/other_user}",
"gists_url": "https://api.github.com/users/dalejung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dalejung",
"id": 610115,
"login": "dalejung",
"node_id": "MDQ6VXNlcjYxMDExNQ==",
"organizations_url": "https://api.github.com/users/dalejung/orgs",
"received_events_url": "https://api.github.com/users/dalejung/received_events",
"repos_url": "https://api.github.com/users/dalejung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dalejung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dalejung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dalejung"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 5 | 2013-08-23T02:34:07Z | 2013-08-23T12:58:09Z | 2013-08-23T05:10:29Z | CONTRIBUTOR | null | ```
import pandas as pd
import numpy as np
s = pd.Series(range(10))
wh = np.where(s, s > 5, 0)
```
In 12.0 this returns a pd.Series. In master it returns an ndarray.
Is the old behavior not possible now that Series doesn't subclass ndarray?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4652/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4652/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4653 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4653/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4653/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4653/events | https://github.com/pandas-dev/pandas/issues/4653 | 18,458,607 | MDU6SXNzdWUxODQ1ODYwNw== | 4,653 | Inconsistent slicing with hierarchical indexing | {
"avatar_url": "https://avatars.githubusercontent.com/u/4789270?v=4",
"events_url": "https://api.github.com/users/mvds314/events{/privacy}",
"followers_url": "https://api.github.com/users/mvds314/followers",
"following_url": "https://api.github.com/users/mvds314/following{/other_user}",
"gists_url": "https://api.github.com/users/mvds314/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mvds314",
"id": 4789270,
"login": "mvds314",
"node_id": "MDQ6VXNlcjQ3ODkyNzA=",
"organizations_url": "https://api.github.com/users/mvds314/orgs",
"received_events_url": "https://api.github.com/users/mvds314/received_events",
"repos_url": "https://api.github.com/users/mvds314/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mvds314/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mvds314/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mvds314"
} | [] | closed | false | null | [] | null | 3 | 2013-08-23T08:12:39Z | 2013-08-23T11:56:09Z | 2013-08-23T11:56:09Z | NONE | null | Running the following code:
``` python
import pandas as pd
frame = pd.DataFrame(np.arange(6*6).reshape((6,6)),\
index=[['a', 'a', 'b', 'b', 'c', 'c'], [1, 2, 1, 2, 1, 2]],\
columns=[['a', 'a', 'b', 'b', 'c', 'c'], [1, 2, 1, 2,1,2]])
print frame['a']
print frame['a':'b']
print frame[['a','b']]
```
gives as output:
```
1 2
```
a 1 0 1
2 6 7
b 1 12 13
2 18 19
c 1 24 25
2 30 31
a b c
1 2 1 2 1 2
a 1 0 1 2 3 4 5
2 6 7 8 9 10 11
b 1 12 13 14 15 16 17
2 18 19 20 21 22 23
a b
1 2 1 2
a 1 0 1 2 3
2 6 7 8 9
b 1 12 13 14 15
2 18 19 20 21
c 1 24 25 26 27
2 30 31 32 33
If I understand correctly how this should work. frame[...] should be selecting from the columns. However, as can be seen, the result of the second print statement selects rows from the dataframe.
Thus print frame['a':'b'] does not give the correct output.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4653/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4653/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4654 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4654/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4654/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4654/events | https://github.com/pandas-dev/pandas/issues/4654 | 18,460,424 | MDU6SXNzdWUxODQ2MDQyNA== | 4,654 | broken generation of short revision hashes in test_perf.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/563314?v=4",
"events_url": "https://api.github.com/users/wuan/events{/privacy}",
"followers_url": "https://api.github.com/users/wuan/followers",
"following_url": "https://api.github.com/users/wuan/following{/other_user}",
"gists_url": "https://api.github.com/users/wuan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wuan",
"id": 563314,
"login": "wuan",
"node_id": "MDQ6VXNlcjU2MzMxNA==",
"organizations_url": "https://api.github.com/users/wuan/orgs",
"received_events_url": "https://api.github.com/users/wuan/received_events",
"repos_url": "https://api.github.com/users/wuan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wuan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wuan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wuan"
} | [] | closed | false | null | [] | null | 1 | 2013-08-23T09:07:32Z | 2013-12-04T00:40:35Z | 2013-08-23T19:55:17Z | CONTRIBUTOR | null | Short git revision hashes are generated by reducing the length of the long hash to 7 characters which working most of the time, but not in all cases.
Examples:
```
0958d5f7fff105a593108aeab81413551e5e63c2 -> 0958d5f (7 characters)
8625aaeefdc89549b9a1017efcee4abb68840b06 -> 8625aaee (8 characters)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4654/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4654/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4655 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4655/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4655/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4655/events | https://github.com/pandas-dev/pandas/pull/4655 | 18,460,878 | MDExOlB1bGxSZXF1ZXN0NzgxNDkzMw== | 4,655 | fix generation of short revision hashes in test_perf | {
"avatar_url": "https://avatars.githubusercontent.com/u/563314?v=4",
"events_url": "https://api.github.com/users/wuan/events{/privacy}",
"followers_url": "https://api.github.com/users/wuan/followers",
"following_url": "https://api.github.com/users/wuan/following{/other_user}",
"gists_url": "https://api.github.com/users/wuan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wuan",
"id": 563314,
"login": "wuan",
"node_id": "MDQ6VXNlcjU2MzMxNA==",
"organizations_url": "https://api.github.com/users/wuan/orgs",
"received_events_url": "https://api.github.com/users/wuan/received_events",
"repos_url": "https://api.github.com/users/wuan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wuan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wuan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wuan"
} | [] | closed | false | null | [] | null | 2 | 2013-08-23T09:17:59Z | 2013-08-23T20:34:07Z | 2013-08-23T19:54:52Z | CONTRIBUTOR | null | This PR fixes the broken generation of short revision hashes of test_perf.py described in #4654.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4655/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4655/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4655.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4655",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4655.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4655"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4656 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4656/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4656/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4656/events | https://github.com/pandas-dev/pandas/issues/4656 | 18,462,188 | MDU6SXNzdWUxODQ2MjE4OA== | 4,656 | UnicodeDecodeError with unicode column names in version 0.12 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1622906?v=4",
"events_url": "https://api.github.com/users/bmu/events{/privacy}",
"followers_url": "https://api.github.com/users/bmu/followers",
"following_url": "https://api.github.com/users/bmu/following{/other_user}",
"gists_url": "https://api.github.com/users/bmu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bmu",
"id": 1622906,
"login": "bmu",
"node_id": "MDQ6VXNlcjE2MjI5MDY=",
"organizations_url": "https://api.github.com/users/bmu/orgs",
"received_events_url": "https://api.github.com/users/bmu/received_events",
"repos_url": "https://api.github.com/users/bmu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bmu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bmu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bmu"
} | [] | closed | false | null | [] | null | 3 | 2013-08-23T09:51:33Z | 2013-08-25T09:20:48Z | 2013-08-23T11:52:36Z | NONE | null | I can't give an example as I only get the error in some cases and I can't really reproduce it.
However I get this error from the `_repr_footer` method of `TimeSeries`. By comparing this method with `_repr_footer` of `Series` I saw that Series uses `com.pprint_thing` to get `namestr`, while TimeSeries uses `str`.
Changing the line
``` python
namestr = u"Name: %s, " % str(
```
in `TimeSeries._repr_footer` to
``` python
namestr = u"Name: %s, " % com.pprint_thing(
```
resolves the issue.
Not sure, if this relevant any more, as Series inherits from NDFrame now.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4656/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4656/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4657 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4657/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4657/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4657/events | https://github.com/pandas-dev/pandas/pull/4657 | 18,468,125 | MDExOlB1bGxSZXF1ZXN0NzgxODk3Mw== | 4,657 | API: GH4633, bool(obj) behavior, raise on __nonzero__ always | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 13 | 2013-08-23T12:42:55Z | 2014-06-12T13:11:07Z | 2013-08-31T17:51:58Z | CONTRIBUTOR | null | closes #4633
this is a revert to #1073/#1069
now a call to `__nonzero__` raises `ValueError` ALWAYS
The following is the behavior
```
In [17]: s = Series(randn(4))
In [18]: df = DataFrame(randn(10,2))
In [19]: s_empty = Series()
In [20]: df_empty = DataFrame()
In [5]: bool(s)
Out[5]: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
In [6]: bool(s_empty)
Out[6]: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
In [7]: bool(df)
Out[7]: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
In [8]: bool(df_empty)
Out[8]: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
```
And prevents these fun ones (same for Series/Panel)
```
In [4]: df1 = DataFrame(np.ones((4,4)))
In [5]: df2 = DataFrame(np.zeros((4,4)))
In [6]: df1 and df2
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
In [7]: df1 or df2
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
In [8]: not df1
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
In [9]: def f():
...: if df1:
...: print("this is cool")
...:
In [10]: f()
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4657/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4657/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4657.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4657",
"merged_at": "2013-08-31T17:51:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4657.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4657"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4658 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4658/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4658/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4658/events | https://github.com/pandas-dev/pandas/pull/4658 | 18,468,851 | MDExOlB1bGxSZXF1ZXN0NzgxOTMxOQ== | 4,658 | Boolean indexing on an empty series loses index names (rebase of 4236) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4",
"events_url": "https://api.github.com/users/hayd/events{/privacy}",
"followers_url": "https://api.github.com/users/hayd/followers",
"following_url": "https://api.github.com/users/hayd/following{/other_user}",
"gists_url": "https://api.github.com/users/hayd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hayd",
"id": 1931852,
"login": "hayd",
"node_id": "MDQ6VXNlcjE5MzE4NTI=",
"organizations_url": "https://api.github.com/users/hayd/orgs",
"received_events_url": "https://api.github.com/users/hayd/received_events",
"repos_url": "https://api.github.com/users/hayd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hayd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hayd"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-08-23T13:00:50Z | 2014-06-18T16:11:49Z | 2013-08-23T13:03:32Z | CONTRIBUTOR | null | Fixes #4235.
This just adds a release note to #4236: Boolean indexing on an empty series loses index names.
Actually that commit really just adds tests for this, since they now already pass in master. It also, fixes behaviour of `infer_dtype` with empty arrays.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4658/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4658/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4658.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4658",
"merged_at": "2013-08-23T13:03:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4658.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4658"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4659 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4659/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4659/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4659/events | https://github.com/pandas-dev/pandas/pull/4659 | 18,470,516 | MDExOlB1bGxSZXF1ZXN0NzgyMDE1Mw== | 4,659 | BUG: Series.reshape to own shape raises TypeError | {
"avatar_url": "https://avatars.githubusercontent.com/u/1676326?v=4",
"events_url": "https://api.github.com/users/goyodiaz/events{/privacy}",
"followers_url": "https://api.github.com/users/goyodiaz/followers",
"following_url": "https://api.github.com/users/goyodiaz/following{/other_user}",
"gists_url": "https://api.github.com/users/goyodiaz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/goyodiaz",
"id": 1676326,
"login": "goyodiaz",
"node_id": "MDQ6VXNlcjE2NzYzMjY=",
"organizations_url": "https://api.github.com/users/goyodiaz/orgs",
"received_events_url": "https://api.github.com/users/goyodiaz/received_events",
"repos_url": "https://api.github.com/users/goyodiaz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/goyodiaz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/goyodiaz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/goyodiaz"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 13 | 2013-08-23T13:39:07Z | 2014-06-20T13:45:34Z | 2013-09-29T22:07:33Z | CONTRIBUTOR | null | closes #4554
I just fixed the call to ndarray.reshape with order as a positional argument, which is wrong. Please note that I had to remove a test.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4659/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4659/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4659.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4659",
"merged_at": "2013-09-29T22:07:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4659.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4659"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4660 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4660/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4660/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4660/events | https://github.com/pandas-dev/pandas/pull/4660 | 18,471,515 | MDExOlB1bGxSZXF1ZXN0NzgyMDY3Nw== | 4,660 | BUG: GH4273, appending a 0-len table to HDFStore was raising | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-08-23T14:00:48Z | 2014-06-20T17:03:22Z | 2013-08-23T14:33:19Z | CONTRIBUTOR | null | closes #4273
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4660/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4660/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4660.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4660",
"merged_at": "2013-08-23T14:33:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4660.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4660"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4661 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4661/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4661/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4661/events | https://github.com/pandas-dev/pandas/issues/4661 | 18,481,125 | MDU6SXNzdWUxODQ4MTEyNQ== | 4,661 | ExcelWriter | {
"avatar_url": "https://avatars.githubusercontent.com/u/5296433?v=4",
"events_url": "https://api.github.com/users/itaraday/events{/privacy}",
"followers_url": "https://api.github.com/users/itaraday/followers",
"following_url": "https://api.github.com/users/itaraday/following{/other_user}",
"gists_url": "https://api.github.com/users/itaraday/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/itaraday",
"id": 5296433,
"login": "itaraday",
"node_id": "MDQ6VXNlcjUyOTY0MzM=",
"organizations_url": "https://api.github.com/users/itaraday/orgs",
"received_events_url": "https://api.github.com/users/itaraday/received_events",
"repos_url": "https://api.github.com/users/itaraday/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/itaraday/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/itaraday/subscriptions",
"type": "User",
"url": "https://api.github.com/users/itaraday"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 1 | 2013-08-23T17:04:36Z | 2013-09-20T17:11:34Z | 2013-09-20T17:11:34Z | NONE | null | Been trying to use ExcelWriter and getting the error:
writer = pd.ExcelWriter(filename)
" File "C:\Anaconda\lib\site-packages\pandas\io\excel.py", line 350, in **init**
from openpyxl.workbook import Workbook
ImportError: No module named openpyxl.workbook"
I'm using Python 2.7 and updated Pandas to 0.12.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/4661/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4661/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4662 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4662/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4662/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4662/events | https://github.com/pandas-dev/pandas/pull/4662 | 18,489,767 | MDExOlB1bGxSZXF1ZXN0NzgzMDczNw== | 4,662 | Added Stata 13 support | {
"avatar_url": "https://avatars.githubusercontent.com/u/731902?v=4",
"events_url": "https://api.github.com/users/PKEuS/events{/privacy}",
"followers_url": "https://api.github.com/users/PKEuS/followers",
"following_url": "https://api.github.com/users/PKEuS/following{/other_user}",
"gists_url": "https://api.github.com/users/PKEuS/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/PKEuS",
"id": 731902,
"login": "PKEuS",
"node_id": "MDQ6VXNlcjczMTkwMg==",
"organizations_url": "https://api.github.com/users/PKEuS/orgs",
"received_events_url": "https://api.github.com/users/PKEuS/received_events",
"repos_url": "https://api.github.com/users/PKEuS/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/PKEuS/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/PKEuS/subscriptions",
"type": "User",
"url": "https://api.github.com/users/PKEuS"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 18 | 2013-08-23T20:01:27Z | 2014-06-25T22:52:46Z | 2013-09-21T23:29:27Z | CONTRIBUTOR | null | Added initial Stata 13 .dta file format support. Newly added string features ("strls") and writing are not supported. Fixes #4291.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4662/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4662/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4662.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4662",
"merged_at": "2013-09-21T23:29:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4662.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4662"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4663 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4663/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4663/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4663/events | https://github.com/pandas-dev/pandas/issues/4663 | 18,494,043 | MDU6SXNzdWUxODQ5NDA0Mw== | 4,663 | API: add sort keyword to resample (like in groupby) to not sort data to the function | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "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": 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"
} | 0 | 2013-08-23T21:39:42Z | 2021-04-11T03:07:37Z | null | CONTRIBUTOR | null | http://stackoverflow.com/questions/18411110/python-pandas-timeseries-resample-giving-unexpected-results/18411516?noredirect=1#comment27046758_18411516
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4663/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4663/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4664 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4664/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4664/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4664/events | https://github.com/pandas-dev/pandas/pull/4664 | 18,494,940 | MDExOlB1bGxSZXF1ZXN0NzgzMzkwNg== | 4,664 | ENH: In HDFStore, handle a passed Series in table format (GH4330) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-08-23T22:02:42Z | 2014-06-27T09:10:17Z | 2013-08-24T00:12:34Z | CONTRIBUTOR | null | closes #4330
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4664/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4664/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4664.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4664",
"merged_at": "2013-08-24T00:12:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4664.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4664"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4665 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4665/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4665/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4665/events | https://github.com/pandas-dev/pandas/issues/4665 | 18,505,455 | MDU6SXNzdWUxODUwNTQ1NQ== | 4,665 | astype() for timedelta64 is broken in 0.12 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1324881?v=4",
"events_url": "https://api.github.com/users/vfilimonov/events{/privacy}",
"followers_url": "https://api.github.com/users/vfilimonov/followers",
"following_url": "https://api.github.com/users/vfilimonov/following{/other_user}",
"gists_url": "https://api.github.com/users/vfilimonov/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vfilimonov",
"id": 1324881,
"login": "vfilimonov",
"node_id": "MDQ6VXNlcjEzMjQ4ODE=",
"organizations_url": "https://api.github.com/users/vfilimonov/orgs",
"received_events_url": "https://api.github.com/users/vfilimonov/received_events",
"repos_url": "https://api.github.com/users/vfilimonov/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vfilimonov/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vfilimonov/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vfilimonov"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 2 | 2013-08-24T11:51:03Z | 2013-08-25T00:56:27Z | 2013-08-25T00:56:27Z | CONTRIBUTOR | null | The following code (or with any other frequency instead of ms):
```
t1 = pd.Series(pd.date_range('1/1/2011', periods=10, freq='H'))
t2 = pd.Series(pd.date_range('1/1/2011 01:02:03', periods=10, freq='H'))
x = t2-t1
x.astype('m8[ms]')
```
works well in pandas-0.11.0 (numpy-1.7.1), however raises an error in pandas-0.12.0:
```
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/vladimir/.virtual_envs/system/lib/python2.7/site-packages/pandas/core/series.py", line 934, in astype
values = com._astype_nansafe(self.values, dtype)
File "/Users/vladimir/.virtual_envs/system/lib/python2.7/site-packages/pandas/core/common.py", line 1653, in _astype_nansafe
raise TypeError("cannot astype a timedelta from [%s] to [%s]" % (arr.dtype,dtype))
TypeError: cannot astype a timedelta from [timedelta64[ns]] to [timedelta64[ms]]
```
At the same time astype for a single element (which is numpy.timedelta64)
```
x[1].astype('m8[ms]')
```
obviously works well.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4665/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4665/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4666 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4666/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4666/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4666/events | https://github.com/pandas-dev/pandas/issues/4666 | 18,510,685 | MDU6SXNzdWUxODUxMDY4NQ== | 4,666 | should dot optionally handle nans? | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "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": "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 | {
"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": 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"
} | 6 | 2013-08-24T18:55:24Z | 2021-06-24T04:43:41Z | 2021-06-24T04:43:40Z | MEMBER | null | related: https://github.com/pydata/pandas/issues/3513
[related SO question](http://stackoverflow.com/questions/18419657/dataframe-merge-in-pandas)
would probably have to write our own nan-handling dot since multiply-and-sum is inefficient for large frames.
cc @hayd
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4666/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4666/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4667 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4667/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4667/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4667/events | https://github.com/pandas-dev/pandas/issues/4667 | 18,514,313 | MDU6SXNzdWUxODUxNDMxMw== | 4,667 | Setting float_series[bool_index] = None errors | {
"avatar_url": "https://avatars.githubusercontent.com/u/610115?v=4",
"events_url": "https://api.github.com/users/dalejung/events{/privacy}",
"followers_url": "https://api.github.com/users/dalejung/followers",
"following_url": "https://api.github.com/users/dalejung/following{/other_user}",
"gists_url": "https://api.github.com/users/dalejung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dalejung",
"id": 610115,
"login": "dalejung",
"node_id": "MDQ6VXNlcjYxMDExNQ==",
"organizations_url": "https://api.github.com/users/dalejung/orgs",
"received_events_url": "https://api.github.com/users/dalejung/received_events",
"repos_url": "https://api.github.com/users/dalejung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dalejung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dalejung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dalejung"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 3 | 2013-08-25T00:04:15Z | 2014-07-03T14:52:51Z | 2013-08-26T15:18:22Z | CONTRIBUTOR | null | ``` python
s = pd.Series(range(10)).astype(float)
s[s > 8] = None
s
```
```
/Users/datacaliber/Dropbox/Projects/trading/python/externals/pandas/pandas/core/internals.py in create_block(v, m, n, item, reshape)
596 # change the dtype
597 if nv is None:
--> 598 dtype, _ = com._maybe_promote(n.dtype)
599 nv = v.astype(dtype)
600 try:
AttributeError: 'NoneType' object has no attribute 'dtype'
```
This is on latest master.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4667/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4667/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4668 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4668/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4668/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4668/events | https://github.com/pandas-dev/pandas/issues/4668 | 18,516,754 | MDU6SXNzdWUxODUxNjc1NA== | 4,668 | custom formatters for to_csv | {
"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": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "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": "fbca04",
"default": false,
"description": "High level tracker for similar issues",
"id": 183784729,
"name": "Master Tracker",
"node_id": "MDU6TGFiZWwxODM3ODQ3Mjk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Master%20Tracker"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 20 | 2013-08-25T05:14:47Z | 2021-04-11T03:09:18Z | 2021-04-11T03:09:17Z | MEMBER | null | - [ ] date formatting #2583, PR #4313, #6797
- [ ] string spacing (justification?) #4158
- [ ] float format #2502, #2069
- [ ] int format, #6502
- [ ] timedelta fromat #6783
[SO question](http://stackoverflow.com/questions/18425400/printing-to-csv-file-with-automatic-width)
something like
``` python
df.to_csv(format='%10.4f', sep=' ')
```
| {
"+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/4668/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4668/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4669 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4669/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4669/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4669/events | https://github.com/pandas-dev/pandas/issues/4669 | 18,520,810 | MDU6SXNzdWUxODUyMDgxMA== | 4,669 | add axis argument to unstack | {
"avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4",
"events_url": "https://api.github.com/users/hayd/events{/privacy}",
"followers_url": "https://api.github.com/users/hayd/followers",
"following_url": "https://api.github.com/users/hayd/following{/other_user}",
"gists_url": "https://api.github.com/users/hayd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hayd",
"id": 1931852,
"login": "hayd",
"node_id": "MDQ6VXNlcjE5MzE4NTI=",
"organizations_url": "https://api.github.com/users/hayd/orgs",
"received_events_url": "https://api.github.com/users/hayd/received_events",
"repos_url": "https://api.github.com/users/hayd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hayd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hayd"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] | closed | false | null | [] | null | 4 | 2013-08-25T13:19:16Z | 2013-08-25T14:26:29Z | 2013-08-25T14:26:29Z | CONTRIBUTOR | null | I occasionally find myself wanting to unstack on the columns rather than index, a workaround is to do it on the transpose and then transpose again:
```
frame = pd.DataFrame({
'home' : ['CHI', 'ATL', 'SEA', 'DET', 'STL','HOU' ,'CHI','CHI'],
'away' : ['DET', 'CHI', 'HOU', 'TOR', 'DAL', 'STL', 'MIA', 'SEA'],
'awayPTS' : [88, 75, 105, 99, 110, 85, 95, 100],
'homePTS' : [92, 88, 95, 97, 100, 74, 98, 110],
})
frame.columns=[['away', 'away', 'home', 'home'], ['team', 'PTS', 'team', 'PTS']]
In [11]: frame.T.unstack(0).T
Out[11]:
PTS team
0 away 88 DET
home 92 CHI
1 away 75 CHI
home 88 ATL
2 away 105 HOU
home 95 SEA
3 away 99 TOR
home 97 DET
4 away 110 DAL
home 100 STL
5 away 85 STL
home 74 HOU
6 away 95 MIA
home 98 CHI
7 away 100 SEA
home 110 CHI
```
Annoying thing is that this will change the dtypes (because the transpose has mixed dtype).
```
In [12]: frame.T.unstack(0).T.dtypes
Out[12]:
PTS object
team object
dtype: object
```
_see this [SO answer](http://stackoverflow.com/a/18429210/1240268)_
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4669/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4669/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4670 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4670/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4670/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4670/events | https://github.com/pandas-dev/pandas/pull/4670 | 18,525,628 | MDExOlB1bGxSZXF1ZXN0Nzg0NjAxOA== | 4,670 | Groupby as index | {
"avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4",
"events_url": "https://api.github.com/users/hayd/events{/privacy}",
"followers_url": "https://api.github.com/users/hayd/followers",
"following_url": "https://api.github.com/users/hayd/following{/other_user}",
"gists_url": "https://api.github.com/users/hayd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hayd",
"id": 1931852,
"login": "hayd",
"node_id": "MDQ6VXNlcjE5MzE4NTI=",
"organizations_url": "https://api.github.com/users/hayd/orgs",
"received_events_url": "https://api.github.com/users/hayd/received_events",
"repos_url": "https://api.github.com/users/hayd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hayd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hayd"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 2 | 2013-08-25T19:42:22Z | 2014-06-24T02:01:04Z | 2013-08-27T00:20:23Z | CONTRIBUTOR | null | closes #4648
closes #3417
closes #4649 (pr)
```
In [1]: df = pd.DataFrame([[1, 2], [2, 3], [1, 4], [1, 5], [2, 6]], index=list('abcde'))
In [2]: g = df.groupby(0, as_index=False)
In [3]: g.apply(lambda x: x)
Out[3]:
0 1
a 1 2
b 2 3
c 1 4
d 1 5
e 2 6
In [4]: g.head(2)
Out[4]:
0 1
a 1 2
c 1 4
b 2 3
e 2 6
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4670/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4670/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4670.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4670",
"merged_at": "2013-08-27T00:20:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4670.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4670"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4671 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4671/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4671/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4671/events | https://github.com/pandas-dev/pandas/issues/4671 | 18,527,859 | MDU6SXNzdWUxODUyNzg1OQ== | 4,671 | Truncated floating point formatting with DataFrame output | {
"avatar_url": "https://avatars.githubusercontent.com/u/895458?v=4",
"events_url": "https://api.github.com/users/mwtoews/events{/privacy}",
"followers_url": "https://api.github.com/users/mwtoews/followers",
"following_url": "https://api.github.com/users/mwtoews/following{/other_user}",
"gists_url": "https://api.github.com/users/mwtoews/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mwtoews",
"id": 895458,
"login": "mwtoews",
"node_id": "MDQ6VXNlcjg5NTQ1OA==",
"organizations_url": "https://api.github.com/users/mwtoews/orgs",
"received_events_url": "https://api.github.com/users/mwtoews/received_events",
"repos_url": "https://api.github.com/users/mwtoews/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mwtoews/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mwtoews/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mwtoews"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 4 | 2013-08-25T22:36:44Z | 2018-03-12T02:20:33Z | 2013-09-28T19:27:13Z | CONTRIBUTOR | null | The display output of a DataFrame may truncate floats, for example:
``` python
from pandas import DataFrame
import numpy as np
dat_dtype = {
'names' : ('column_one', 'col_two'),
'formats' : ('i', 'd')}
dat = np.zeros(4, dat_dtype)
dat['column_one'] = 10**(np.arange(4))
dat['col_two'] = 10**(-np.arange(4, dtype='d') - 4)
print(DataFrame(dat))
```
shows
```
column_one col_two
0 1 0.000100
1 10 0.000010
2 100 0.000001
3 1000 0.000000
```
The last number in `col_two` has been truncated from `0.0000001` to `0.000000`. I consider this formatting deceptive and unacceptable.
---
As a side note, here is tabular output for the same data from different programs.
Using [prettytable](https://code.google.com/p/prettytable/wiki/Tutorial):
``` python
from prettytable import PrettyTable
x = PrettyTable(dat.dtype.names)
for row in dat:
x.add_row(row)
x.align = 'r'
print(x)
```
showing
```
+------------+---------+
| column_one | col_two |
+------------+---------+
| 1 | 0.0001 |
| 10 | 1e-05 |
| 100 | 1e-06 |
| 1000 | 1e-07 |
+------------+---------+
```
PostgreSQL is similar:
```
postgres=# select * from dat;
column_one | col_two
------------+---------
1 | 0.0001
10 | 1e-005
100 | 1e-006
1000 | 1e-007
(4 rows)
```
R formats the whole column using scientific exponential formatting:
```
> dat
> dat <- data.frame(column_one=10**(0:4), col_two=10**(0:-4 - 4))
column_one col_two
1 1 1e-04
2 10 1e-05
3 100 1e-06
4 1000 1e-07
5 10000 1e-08
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4671/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4671/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4672 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4672/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4672/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4672/events | https://github.com/pandas-dev/pandas/issues/4672 | 18,531,859 | MDU6SXNzdWUxODUzMTg1OQ== | 4,672 | get_effective_cell for getting the contents of Excel cell when the cell is merged | {
"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": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] | closed | false | null | [] | {
"closed_at": "2014-02-03T05:17:36Z",
"closed_issues": 314,
"created_at": "2013-08-26T22:11:58Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
},
"description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.",
"due_on": "2014-02-04T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/23",
"id": 412013,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels",
"node_id": "MDk6TWlsZXN0b25lNDEyMDEz",
"number": 23,
"open_issues": 0,
"state": "closed",
"title": "0.13.1",
"updated_at": "2014-02-03T05:18:00Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23"
} | 3 | 2013-08-26T02:56:51Z | 2013-09-28T19:39:59Z | 2013-09-28T19:39:59Z | CONTRIBUTOR | null | Create method `get_effective_cell` that takes `sheet`, `cellx`, `rowx` and returns the Excel `cell` at that location taking in to account merged cells.
I will submit PR
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4672/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4672/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4673 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4673/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4673/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4673/events | https://github.com/pandas-dev/pandas/pull/4673 | 18,532,079 | MDExOlB1bGxSZXF1ZXN0Nzg0ODM1Mg== | 4,673 | get_effective_cell for getting the contents of Excel cell when the cell is merged | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [] | closed | false | null | [] | null | 21 | 2013-08-26T03:11:14Z | 2013-08-28T03:21:48Z | 2013-08-26T22:46:35Z | CONTRIBUTOR | null | Closes #4672
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4673/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4673/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4673.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4673",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4673.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4673"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4674 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4674/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4674/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4674/events | https://github.com/pandas-dev/pandas/issues/4674 | 18,550,177 | MDU6SXNzdWUxODU1MDE3Nw== | 4,674 | ENH: Add decimal parameter to to_numeric | {
"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": "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"
}
] | 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"
} | 39 | 2013-08-26T13:59:28Z | 2019-12-28T05:07:47Z | null | CONTRIBUTOR | null | Create a class / method for number parsing. This would be a generalization of the code that remove the thousands separators from numbers (see: https://github.com/cancan101/pandas/blob/1703ef44cd6b98e17c785c9120e29bbeefdefd1c/pandas/io/parsers.py#L1502).
Other items include:
1. Alternative decimal point
2. Using parenthesis for negative numbers
3. Stripping currency character
I can submit PR for this. Do people have other suggestions 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/4674/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4674/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4675 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4675/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4675/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4675/events | https://github.com/pandas-dev/pandas/pull/4675 | 18,550,354 | MDExOlB1bGxSZXF1ZXN0Nzg1NzU5NA== | 4,675 | CLN/API: Refactor of _get_numeric_data/_get_bool_data to core/generic.py, allowing Series/Panel functionaility | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-08-26T14:02:38Z | 2014-07-16T08:25:04Z | 2013-08-26T14:42:20Z | CONTRIBUTOR | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4675/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4675/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4675.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4675",
"merged_at": "2013-08-26T14:42:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4675.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4675"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/4676 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4676/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4676/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4676/events | https://github.com/pandas-dev/pandas/pull/4676 | 18,553,718 | MDExOlB1bGxSZXF1ZXN0Nzg1OTI1Nw== | 4,676 | BUG: GH 4667 setitem error/dtype wrong with Series/Frame when setting with None | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-08-26T15:03:13Z | 2014-06-23T23:12:27Z | 2013-08-26T15:18:22Z | CONTRIBUTOR | null | closes #4667
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4676/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4676/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4676.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4676",
"merged_at": "2013-08-26T15:18:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4676.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4676"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4677 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4677/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4677/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4677/events | https://github.com/pandas-dev/pandas/pull/4677 | 18,568,281 | MDExOlB1bGxSZXF1ZXN0Nzg2NjgzMA== | 4,677 | BUG: preserve empty dtype if possible when creating an empty BlockManager | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-08-26T19:24:58Z | 2014-07-16T08:25:08Z | 2013-08-26T19:42:24Z | CONTRIBUTOR | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4677/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4677/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4677.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4677",
"merged_at": "2013-08-26T19:42:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4677.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4677"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/4678 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4678/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4678/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4678/events | https://github.com/pandas-dev/pandas/issues/4678 | 18,568,899 | MDU6SXNzdWUxODU2ODg5OQ== | 4,678 | Dates are parsed with read_csv thousand seperator | {
"avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4",
"events_url": "https://api.github.com/users/hayd/events{/privacy}",
"followers_url": "https://api.github.com/users/hayd/followers",
"following_url": "https://api.github.com/users/hayd/following{/other_user}",
"gists_url": "https://api.github.com/users/hayd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hayd",
"id": 1931852,
"login": "hayd",
"node_id": "MDQ6VXNlcjE5MzE4NTI=",
"organizations_url": "https://api.github.com/users/hayd/orgs",
"received_events_url": "https://api.github.com/users/hayd/received_events",
"repos_url": "https://api.github.com/users/hayd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hayd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hayd"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 5 | 2013-08-26T19:37:21Z | 2013-09-26T01:03:38Z | 2013-09-26T01:03:38Z | CONTRIBUTOR | null | When reading a csv with a date column, the date is sometimes parsed as a number:
```
In [1]: s = '06.02.2013;13:00;1.000,215;0,215;0,185;0,205;0,00'
In [2]: pd.read_csv(StringIO(s), sep=';', header=None, parse_dates={'Dates': [0, 1]}, index_col=0, decimal=',', thousands='.')
Out[2]:
2 3 4 5 6
Dates
6022013 13:00 1.000,215 0.215 0.185 0.205 0
```
Here `06.02.2013` is read as a number `0602013` before the date is parsed (which fails)... I think [dates are sometimes written this way on the continent](http://en.wikipedia.org/wiki/Date_and_time_notation_in_Europe) (along with . thousands).
This was found in #4322 (but that issue was more about . being ignored), I guess another test case would be with `-`:
```
In [3]: s = '06-02-2013;13:00;1.000,215;0,215;0,185;0,205;0,00'
In [4]: pd.read_csv(StringIO(s), sep=';', header=None, parse_dates={'Dates': [0, 1]}, decimal=',', thousands='-')
Out[4]:
Dates 2 3 4 5 6
0 6022013 13:00 1.000,215 0.215 0.185 0.205 0
```
@jreback suggests:
> but it should ignore dates columns entirely (for thousands parsing...)
cc #4598 @guyrt
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4678/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4678/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4679 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4679/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4679/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4679/events | https://github.com/pandas-dev/pandas/issues/4679 | 18,575,759 | MDU6SXNzdWUxODU3NTc1OQ== | 4,679 | ENH: Excel - allow for multiple rows to be treated as hierarchical columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "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": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] | closed | false | null | [] | {
"closed_at": "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"
} | 52 | 2013-08-26T21:52:25Z | 2015-09-09T12:06:09Z | 2015-09-09T12:06:09Z | CONTRIBUTOR | null | related #4468
Add keyword argument to ExcelFile parser to take an integer / list for the rows to interpret as header rows. If more than one, interpret as hierarchical columns / MultiIndex.
Presumably this would also allow you to round-trip Data Frame with hierarchical columns.
Basically, if you have something spanning two columns, just converts to two cells with the data in the original cell, ending up just like what you need for csv reader.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4679/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4679/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4680 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4680/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4680/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4680/events | https://github.com/pandas-dev/pandas/pull/4680 | 18,577,017 | MDExOlB1bGxSZXF1ZXN0Nzg3MjA0MQ== | 4,680 | ENH: add PostgreSQL and MySQL support for pandas.io.sql.get_schema | {
"avatar_url": "https://avatars.githubusercontent.com/u/704919?v=4",
"events_url": "https://api.github.com/users/adamgreenhall/events{/privacy}",
"followers_url": "https://api.github.com/users/adamgreenhall/followers",
"following_url": "https://api.github.com/users/adamgreenhall/following{/other_user}",
"gists_url": "https://api.github.com/users/adamgreenhall/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/adamgreenhall",
"id": 704919,
"login": "adamgreenhall",
"node_id": "MDQ6VXNlcjcwNDkxOQ==",
"organizations_url": "https://api.github.com/users/adamgreenhall/orgs",
"received_events_url": "https://api.github.com/users/adamgreenhall/received_events",
"repos_url": "https://api.github.com/users/adamgreenhall/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/adamgreenhall/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adamgreenhall/subscriptions",
"type": "User",
"url": "https://api.github.com/users/adamgreenhall"
} | [
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 9 | 2013-08-26T22:22:14Z | 2014-06-12T12:36:30Z | 2014-02-16T22:09:22Z | CONTRIBUTOR | null | Simple changes to add PostgreSQL syntax to pandas.io.sql.get_schema. Added data type cases for get_sqltype() and a columns "flavor" for get_schema().
The logic of `get_schema` seems simple enough at the moment (though it still doesn't support Oracle). Should it be replaced by SQLAlchemy integration?
ref: https://github.com/pydata/pandas/issues/4163
old pr: https://github.com/pydata/pandas/pull/4574
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4680/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4680/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4680.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4680",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4680.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4680"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4681 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4681/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4681/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4681/events | https://github.com/pandas-dev/pandas/issues/4681 | 18,577,477 | MDU6SXNzdWUxODU3NzQ3Nw== | 4,681 | read_csv() result column holds same item with different types from 'c' engine only | {
"avatar_url": "https://avatars.githubusercontent.com/u/101264?v=4",
"events_url": "https://api.github.com/users/floux/events{/privacy}",
"followers_url": "https://api.github.com/users/floux/followers",
"following_url": "https://api.github.com/users/floux/following{/other_user}",
"gists_url": "https://api.github.com/users/floux/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/floux",
"id": 101264,
"login": "floux",
"node_id": "MDQ6VXNlcjEwMTI2NA==",
"organizations_url": "https://api.github.com/users/floux/orgs",
"received_events_url": "https://api.github.com/users/floux/received_events",
"repos_url": "https://api.github.com/users/floux/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/floux/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/floux/subscriptions",
"type": "User",
"url": "https://api.github.com/users/floux"
} | [
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 2 | 2013-08-26T22:33:32Z | 2013-09-28T19:25:53Z | 2013-09-28T19:25:53Z | NONE | null | dupe of #3866
The same item occurs in one column of dtype object with different types. This can cause problems in later operations that rely on the same item having the same type for all its occurrences, for example, groupby.
In the example below, nothing in the file data.csv is quoted. I have been trying to reproduce this with a simulated dataset but have not been able so far to do so. However, this problem does not exist if I only read a subset of the 3.5 million rows of data.csv.
The problem also doesn't exist when the 'python' engine is used instead of the 'c' engine, see below.
```
In [204]: df = pd.read_csv('data.csv', index_col=0)
In [205]: df
Out[205]:
<class 'pandas.core.frame.DataFrame'>
Int64Index: 3774283 entries, 0 to 3774282
Columns: 4 entries, sym to name
dtypes: int64(1), object(3)
In [206]: df.dtypes
Out[206]:
sym object
id int64
pid object
name object
dtype: object
In [207]: df[df.pid == 135].shape # <-- number 135
Out[207]: (311, 4)
In [208]: df[df.pid == '135'].shape # <-- string '135'
Out[208]: (74, 4)
In [209]: for n, g in grouped:
if n in ('135', 135):
print(n, g.shape)
.....:
(135, (311, 4))
('135', (74, 4))
In [210]: min(df[df.pid.isin([135, '135'])].index)
Out[210]: 1966006
# get 4000 lines around the area of the 385 entries with pid=135
In [211]: !head -n 1968006 data.csv | tail -n4000 > small.csv
In [212]: df = pd.read_csv('small.csv', index_col=0, names=['sym', 'id', 'pid', 'name'])
In [213]: df[df.pid == 135].shape
Out[213]: (385, 4)
In [214]: df[df.pid == '135'].shape
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-214-070d5748621c> in <module>()
----> 1 df[df.pid == '135'].shape
/usr/local/lib/python2.7/site-packages/pandas/core/series.pyc in wrapper(self, other)
238 if np.isscalar(res):
239 raise TypeError('Could not compare %s type with Series'
--> 240 % type(other))
241 return Series(na_op(values, other),
242 index=self.index, name=self.name)
TypeError: Could not compare <type 'str'> type with Series
In [215]: df.dtypes
Out[215]:
sym object
id int64
pid int64
name object
dtype: object
In [216]: df = pd.read_csv('data.csv', index_col=0, engine='python')
In [217]: df[df.pid == 135].shape
Out[217]: (0, 4)
In [218]: df[df.pid == '135'].shape
Out[218]: (385, 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/4681/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4681/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4682 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4682/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4682/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4682/events | https://github.com/pandas-dev/pandas/issues/4682 | 18,577,971 | MDU6SXNzdWUxODU3Nzk3MQ== | 4,682 | ENH: HTML - parse multiple rows in header as MultiIndex columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [] | closed | false | null | [] | null | 1 | 2013-08-26T22:44:57Z | 2013-08-26T22:51:42Z | 2013-08-26T22:46:14Z | CONTRIBUTOR | null | Add keyword argument to HTML parser to take an integer / list for the rows to interpret as header rows. If more than one, interpret as hierarchical columns / MultiIndex.
Presumably this would also allow you to round-trip Data Frame with hierarchical columns.
I don't think this already exists.
related #4468
related #4679
related #4673
See for example: http://www.sec.gov/Archives/edgar/data/47217/000104746913006802/a2215416z10-q.htm#CCSCI
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4682/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4682/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4683 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4683/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4683/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4683/events | https://github.com/pandas-dev/pandas/issues/4683 | 18,579,598 | MDU6SXNzdWUxODU3OTU5OA== | 4,683 | Support for Merging Columns in HTML Parser | {
"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": "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": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 7 | 2013-08-26T23:29:29Z | 2021-04-11T03:11:54Z | 2021-04-11T03:11:54Z | CONTRIBUTOR | null | See the table here: http://www.sec.gov/Archives/edgar/data/47217/000104746913006802/a2215416z10-q.htm#CCSE
the trailing ")" and the leading "$" are in different columns (aka td's / cells) from the number..
There should be an option to merge all column under a given heading (#4679).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4683/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4683/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4684 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4684/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4684/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4684/events | https://github.com/pandas-dev/pandas/pull/4684 | 18,583,657 | MDExOlB1bGxSZXF1ZXN0Nzg3NTYzNw== | 4,684 | ENH: GH3371 support timedelta fillna | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 6 | 2013-08-27T01:48:45Z | 2014-09-05T14:39:46Z | 2013-09-08T19:46:53Z | CONTRIBUTOR | null | closes #3371
- ENH: GH3371 support timedelta fillna
- BUG: add support for datetime64 ffill/bfill
- INT: add TimeDeltaBlock support in internals
```
In [3]: s = Series([Timestamp('20130101'),Timestamp('20130101'),
Timestamp('20130102'),Timestamp('20130103 9:01:01')])
In [4]: td = s.diff()
In [5]: td
Out[5]:
0 NaT
1 00:00:00
2 1 days, 00:00:00
3 1 days, 09:01:01
dtype: timedelta64[ns]
In [6]: td.fillna(0)
Out[6]:
0 00:00:00
1 00:00:00
2 1 days, 00:00:00
3 1 days, 09:01:01
dtype: timedelta64[ns]
In [7]: from datetime import timedelta
In [8]: td.fillna(timedelta(days=3,seconds=5))
Out[8]:
0 3 days, 00:00:05
1 00:00:00
2 1 days, 00:00:00
3 1 days, 09:01:01
dtype: timedelta64[ns]
```
ffill
```
In [9]: td[2] = np.nan
In [10]: td
Out[10]:
0 NaT
1 00:00:00
2 NaT
3 1 days, 09:01:01
dtype: timedelta64[ns]
In [11]: td.ffill()
Out[11]:
0 NaT
1 00:00:00
2 00:00:00
3 1 days, 09:01:01
dtype: timedelta64[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/4684/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4684/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4684.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4684",
"merged_at": "2013-09-08T19:46:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4684.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4684"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4685 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4685/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4685/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4685/events | https://github.com/pandas-dev/pandas/issues/4685 | 18,588,075 | MDU6SXNzdWUxODU4ODA3NQ== | 4,685 | ENH: More convenient regex? | {
"avatar_url": "https://avatars.githubusercontent.com/u/2279598?v=4",
"events_url": "https://api.github.com/users/danielballan/events{/privacy}",
"followers_url": "https://api.github.com/users/danielballan/followers",
"following_url": "https://api.github.com/users/danielballan/following{/other_user}",
"gists_url": "https://api.github.com/users/danielballan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/danielballan",
"id": 2279598,
"login": "danielballan",
"node_id": "MDQ6VXNlcjIyNzk1OTg=",
"organizations_url": "https://api.github.com/users/danielballan/orgs",
"received_events_url": "https://api.github.com/users/danielballan/received_events",
"repos_url": "https://api.github.com/users/danielballan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/danielballan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danielballan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/danielballan"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 9 | 2013-08-27T04:57:44Z | 2013-09-28T17:26:33Z | 2013-09-20T14:37:39Z | CONTRIBUTOR | null | How about circumventing annoying match objects by providing an additional, somewhat redundant string method?
```
s.str.extract(pattern)
```
as a shortcut for
```
s.str.match(pattern).str.get(0)
```
If the pattern contains multiple groups, a DataFrame should be returned. Thoughts? Maybe @hayd would be into this one.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4685/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4685/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4686 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4686/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4686/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4686/events | https://github.com/pandas-dev/pandas/issues/4686 | 18,589,535 | MDU6SXNzdWUxODU4OTUzNQ== | 4,686 | "AttributeError: _ref_locs" while assigning non-contiguous MultiIndex columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/746408?v=4",
"events_url": "https://api.github.com/users/gdraps/events{/privacy}",
"followers_url": "https://api.github.com/users/gdraps/followers",
"following_url": "https://api.github.com/users/gdraps/following{/other_user}",
"gists_url": "https://api.github.com/users/gdraps/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gdraps",
"id": 746408,
"login": "gdraps",
"node_id": "MDQ6VXNlcjc0NjQwOA==",
"organizations_url": "https://api.github.com/users/gdraps/orgs",
"received_events_url": "https://api.github.com/users/gdraps/received_events",
"repos_url": "https://api.github.com/users/gdraps/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gdraps/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gdraps/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gdraps"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 1 | 2013-08-27T06:06:56Z | 2013-09-10T19:54:07Z | 2013-09-10T19:54:07Z | CONTRIBUTOR | null | Hitting an exception with the following code on 0.12.0 (and current master). Copied 0.11.0 behavior for reference, but feel free to reject if assignment to non-contiguous columns of a MultiIndex using a partial label is illegal/unsupported.
```
import numpy as np
import pandas as pd
df = pd.DataFrame(
np.ones((1, 3)),
columns=pd.MultiIndex.from_tuples(
[('A', '1'), ('B', '1'), ('A', '2')]
),
dtype=object
)
print 'Before:'
print df.dtypes
df['A'] = df['A'].astype(float)
print 'After:'
print df.dtypes
```
0.11.0 output:
```
Before:
A 1 object
B 1 object
A 2 object
dtype: object
After:
A 1 float64
B 1 object
A 2 float64
dtype: object
```
0.12.0 output:
```
Before:
A 1 object
B 1 object
A 2 object
dtype: object
Traceback (most recent call last):
File "repro.py", line 15, in <module>
df['A'] = df['A'].astype(float)
File "/home/gmd/ENV/pandas-master/lib/python2.7/site-packages/pandas-0.12.0_270_ge3c71f2-py2.7-linux-i686.egg/pandas/core/frame.py", line 1929, in __setitem__
self._set_item(key, value)
File "/home/gmd/ENV/pandas-master/lib/python2.7/site-packages/pandas-0.12.0_270_ge3c71f2-py2.7-linux-i686.egg/pandas/core/frame.py", line 1977, in _set_item
NDFrame._set_item(self, key, value)
File "/home/gmd/ENV/pandas-master/lib/python2.7/site-packages/pandas-0.12.0_270_ge3c71f2-py2.7-linux-i686.egg/pandas/core/generic.py", line 798, in _set_item
self._data.set(key, value)
File "/home/gmd/ENV/pandas-master/lib/python2.7/site-packages/pandas-0.12.0_270_ge3c71f2-py2.7-linux-i686.egg/pandas/core/internals.py", line 2448, in set
self._reset_ref_locs()
File "/home/gmd/ENV/pandas-master/lib/python2.7/site-packages/pandas-0.12.0_270_ge3c71f2-py2.7-linux-i686.egg/pandas/core/internals.py", line 1644, in _reset_ref_locs
self._rebuild_ref_locs()
File "/home/gmd/ENV/pandas-master/lib/python2.7/site-packages/pandas-0.12.0_270_ge3c71f2-py2.7-linux-i686.egg/pandas/core/internals.py", line 1652, in _rebuild_ref_locs
if self._ref_locs is not None:
AttributeError: _ref_locs
```
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/4686/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4686/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4687 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4687/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4687/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4687/events | https://github.com/pandas-dev/pandas/issues/4687 | 18,597,469 | MDU6SXNzdWUxODU5NzQ2OQ== | 4,687 | Inconsistent index specification with hierarchical indexing should generate error upon creation | {
"avatar_url": "https://avatars.githubusercontent.com/u/4789270?v=4",
"events_url": "https://api.github.com/users/mvds314/events{/privacy}",
"followers_url": "https://api.github.com/users/mvds314/followers",
"following_url": "https://api.github.com/users/mvds314/following{/other_user}",
"gists_url": "https://api.github.com/users/mvds314/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mvds314",
"id": 4789270,
"login": "mvds314",
"node_id": "MDQ6VXNlcjQ3ODkyNzA=",
"organizations_url": "https://api.github.com/users/mvds314/orgs",
"received_events_url": "https://api.github.com/users/mvds314/received_events",
"repos_url": "https://api.github.com/users/mvds314/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mvds314/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mvds314/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mvds314"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 2 | 2013-08-27T09:53:05Z | 2016-10-12T23:04:09Z | 2013-09-28T19:55:36Z | NONE | null | The following code
```
import numpy as np
import pandas as pd
hor= [str(k) for k in range(3)]
columns=[ 'A','B','C', 'D' ]
ind1=np.repeat(hor, len(columns))
ind2=np.tile(columns,4)
df=pd.DataFrame(index=[ind1,ind2],columns=columns)
print(df)
print(df.xs('A',level=1))
```
generates an error when trying to trying to slice the dataframe. The slicing syntax is correct, but the issue appears because the dataframe is invalid:
len(ind1)= 12 and len(ind2)=16.
I think an error should be generated upon creation of the dataframe.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4687/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4687/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4688 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4688/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4688/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4688/events | https://github.com/pandas-dev/pandas/issues/4688 | 18,613,300 | MDU6SXNzdWUxODYxMzMwMA== | 4,688 | ENH: Add dateutil timezone support | {
"avatar_url": "https://avatars.githubusercontent.com/u/4680320?v=4",
"events_url": "https://api.github.com/users/prossahl/events{/privacy}",
"followers_url": "https://api.github.com/users/prossahl/followers",
"following_url": "https://api.github.com/users/prossahl/following{/other_user}",
"gists_url": "https://api.github.com/users/prossahl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/prossahl",
"id": 4680320,
"login": "prossahl",
"node_id": "MDQ6VXNlcjQ2ODAzMjA=",
"organizations_url": "https://api.github.com/users/prossahl/orgs",
"received_events_url": "https://api.github.com/users/prossahl/received_events",
"repos_url": "https://api.github.com/users/prossahl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/prossahl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/prossahl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/prossahl"
} | [
{
"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": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
},
{
"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": 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"
} | 7 | 2013-08-27T15:05:21Z | 2014-06-04T12:46:42Z | 2014-06-04T12:46:42Z | CONTRIBUTOR | null | This enhancement allows Pandas to use `dateutil` timezones as well as the default `pytz` ones. The `Timestamp`'s would be inter-operable.
It has required a bit of coding in `tslib.pyx` to discriminate between `pytz` and `dateutil` tzinfo objects and load the appropriate data into the cache.
I'll create 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/4688/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4688/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4689 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4689/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4689/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4689/events | https://github.com/pandas-dev/pandas/pull/4689 | 18,618,625 | MDExOlB1bGxSZXF1ZXN0Nzg5MzQ2NA== | 4,689 | ENH: Add dateutil timezone support (GH4688) | {
"avatar_url": "https://avatars.githubusercontent.com/u/4680320?v=4",
"events_url": "https://api.github.com/users/prossahl/events{/privacy}",
"followers_url": "https://api.github.com/users/prossahl/followers",
"following_url": "https://api.github.com/users/prossahl/following{/other_user}",
"gists_url": "https://api.github.com/users/prossahl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/prossahl",
"id": 4680320,
"login": "prossahl",
"node_id": "MDQ6VXNlcjQ2ODAzMjA=",
"organizations_url": "https://api.github.com/users/prossahl/orgs",
"received_events_url": "https://api.github.com/users/prossahl/received_events",
"repos_url": "https://api.github.com/users/prossahl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/prossahl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/prossahl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/prossahl"
} | [] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 24 | 2013-08-27T16:31:45Z | 2014-06-18T23:18:32Z | 2014-02-16T12:08:19Z | CONTRIBUTOR | null | This adds `dateutil` time zone support as a compliment to `pytz`. The tests are designed to demonstrate that the same result is obtained using either library except where the libraries themselves differ (at the onset of DST).
There is a fair amount of tricky coding here in `tslib.pyx` as it is accessing private members of the time zone object, cacheing them and performing calculations on those cached values.
This should close #4688.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4689/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4689/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4689.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4689",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4689.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4689"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4690 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4690/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4690/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4690/events | https://github.com/pandas-dev/pandas/issues/4690 | 18,620,759 | MDU6SXNzdWUxODYyMDc1OQ== | 4,690 | DatetimeIndex.intersection should preserve timezone | {
"avatar_url": "https://avatars.githubusercontent.com/u/2857308?v=4",
"events_url": "https://api.github.com/users/sboehler/events{/privacy}",
"followers_url": "https://api.github.com/users/sboehler/followers",
"following_url": "https://api.github.com/users/sboehler/following{/other_user}",
"gists_url": "https://api.github.com/users/sboehler/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sboehler",
"id": 2857308,
"login": "sboehler",
"node_id": "MDQ6VXNlcjI4NTczMDg=",
"organizations_url": "https://api.github.com/users/sboehler/orgs",
"received_events_url": "https://api.github.com/users/sboehler/received_events",
"repos_url": "https://api.github.com/users/sboehler/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sboehler/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sboehler/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sboehler"
} | [
{
"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": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] | closed | false | null | [] | {
"closed_at": "2014-07-11T00:02:53Z",
"closed_issues": 306,
"created_at": "2014-04-27T23:40:28Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "bug fixes from 0.14.0",
"due_on": "2014-07-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/27",
"id": 641843,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels",
"node_id": "MDk6TWlsZXN0b25lNjQxODQz",
"number": 27,
"open_issues": 0,
"state": "closed",
"title": "0.14.1",
"updated_at": "2014-09-05T10:24:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27"
} | 0 | 2013-08-27T17:11:33Z | 2014-06-14T14:30:36Z | 2014-06-14T14:30:36Z | NONE | null | pandas' intersection method on DatetimeIndex should preserve the timezone. I had some cases where it works, and some where it doesn't. Example that does not work:
```
In [75]: a = pd.date_range('2012-01-01', '2012-01-20', freq='D', tz='CET')
In [76]: b = pd.date_range('2012-01-01', '2012-01-19', freq='D', tz='CET')
In [77]: a.intersection(b)
Out[77]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2011-12-31 23:00:00, ..., 2012-01-18 23:00:00]
Length: 19, Freq: D, Timezone: None
In [78]: pd.__version__
Out[78]: '0.12.0'
```
I would expect Timezone: CET in the output of line [77], and the times to be correctly displayed in CET.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4690/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4690/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4691 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4691/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4691/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4691/events | https://github.com/pandas-dev/pandas/issues/4691 | 18,620,868 | MDU6SXNzdWUxODYyMDg2OA== | 4,691 | BUG: read_csv dtype inferrence is inconsistent for string columns with some integers | {
"avatar_url": "https://avatars.githubusercontent.com/u/1170234?v=4",
"events_url": "https://api.github.com/users/amcpherson/events{/privacy}",
"followers_url": "https://api.github.com/users/amcpherson/followers",
"following_url": "https://api.github.com/users/amcpherson/following{/other_user}",
"gists_url": "https://api.github.com/users/amcpherson/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/amcpherson",
"id": 1170234,
"login": "amcpherson",
"node_id": "MDQ6VXNlcjExNzAyMzQ=",
"organizations_url": "https://api.github.com/users/amcpherson/orgs",
"received_events_url": "https://api.github.com/users/amcpherson/received_events",
"repos_url": "https://api.github.com/users/amcpherson/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/amcpherson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amcpherson/subscriptions",
"type": "User",
"url": "https://api.github.com/users/amcpherson"
} | [
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 4 | 2013-08-27T17:13:45Z | 2013-09-28T19:26:14Z | 2013-09-28T19:26:14Z | CONTRIBUTOR | null | Large tsv files with columns that are mixed integers and strings are not consistently converted to the same data type. Some of the integers are interpreted as integers and identical entries are interpreted as strings. Transition seems to happen at power of 2 indices indicating something is being done in chunks but not for all chunks.
```
In [1]: import pandas as pd
In [2]: df = pd.DataFrame({'a':['1']*100000 + ['X']*100000 + ['1']*100000, 'b':['b']*300000})
In [3]: df.to_csv('test', sep='\t', index=False, na_rep='NA')
In [4]: df2 = pd.read_csv('test', sep='\t')
In [5]: print df2['a'].unique()
['1' 'X' 1]
In [6]: for a in df2['a'][262140:262150]:
...: print repr(a)
...:
'1'
'1'
'1'
'1'
1
1
1
1
1
1
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4691/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4691/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4692 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4692/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4692/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4692/events | https://github.com/pandas-dev/pandas/issues/4692 | 18,622,518 | MDU6SXNzdWUxODYyMjUxOA== | 4,692 | read_csv example tricks parser dtypes | {
"avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4",
"events_url": "https://api.github.com/users/hayd/events{/privacy}",
"followers_url": "https://api.github.com/users/hayd/followers",
"following_url": "https://api.github.com/users/hayd/following{/other_user}",
"gists_url": "https://api.github.com/users/hayd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hayd",
"id": 1931852,
"login": "hayd",
"node_id": "MDQ6VXNlcjE5MzE4NTI=",
"organizations_url": "https://api.github.com/users/hayd/orgs",
"received_events_url": "https://api.github.com/users/hayd/received_events",
"repos_url": "https://api.github.com/users/hayd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hayd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hayd"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"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 | [] | null | 2 | 2013-08-27T17:43:59Z | 2013-08-27T17:56:10Z | 2013-08-27T17:56:10Z | CONTRIBUTOR | null | Poster has an example which tricks read_csv into thinking column a is a int, but then throws it lots of strings (and it then infers 1s as strings).
```
import pandas as pd
df = pd.DataFrame({'a':['1']*100000 + ['X']*100000 + ['1']*100000, 'b':['b']*300000})
df.to_csv('test', sep='\t', index=False, na_rep='NA')
df2 = pd.read_csv('test', sep='\t')
print df2['a'].unique()
```
http://stackoverflow.com/questions/18471859/pandas-read-csv-dtype-inference-issue
I think this is rather an edge case tbh. :)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4692/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4692/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4693 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4693/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4693/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4693/events | https://github.com/pandas-dev/pandas/issues/4693 | 18,625,382 | MDU6SXNzdWUxODYyNTM4Mg== | 4,693 | “Invalid value for segment.” | {
"avatar_url": "https://avatars.githubusercontent.com/u/2342995?v=4",
"events_url": "https://api.github.com/users/sk8asd123/events{/privacy}",
"followers_url": "https://api.github.com/users/sk8asd123/followers",
"following_url": "https://api.github.com/users/sk8asd123/following{/other_user}",
"gists_url": "https://api.github.com/users/sk8asd123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sk8asd123",
"id": 2342995,
"login": "sk8asd123",
"node_id": "MDQ6VXNlcjIzNDI5OTU=",
"organizations_url": "https://api.github.com/users/sk8asd123/orgs",
"received_events_url": "https://api.github.com/users/sk8asd123/received_events",
"repos_url": "https://api.github.com/users/sk8asd123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sk8asd123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sk8asd123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sk8asd123"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 1 | 2013-08-27T18:30:20Z | 2013-08-28T16:49:33Z | 2013-08-28T16:49:33Z | NONE | null | I'm using Python 2.7.5 (64-bit)
Pandas 0.12.0
on Windows 8
I'm trying to access the boolean value 'containsSampledData' per Google documentation here:
https://developers.google.com/analytics/devguides/reporting/core/v3/reference#sampling
so I run:
```
from pandas.io.ga import GAnalytics
gAnalytics = GAnalytics()
z = gAnalytics.create_query(‘web id’, ‘pageviewsPerVisit’, ’2013-08-12′,’2013-08-14′, ‘date, 'segment id'’).execute().get(‘containsSampledData’)
```
but the segment causes this error:
“Invalid value ‘ga:1234′ for segment.”
running this also causes the same error:
```
gAnalytics.create_query('web id', 'pageviews', '2013-08-12','2013-08-14', 'date', 'segment id').execute().get('rows', [])
```
When I take the segment out, I get the expected results that match the Google Analytics web portal. The reason I would like to access segments is so I can test a case where I get an expected value of 'true' returned from 'containsSampledData' since segment pretty much always uses sampled data.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4693/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4693/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4694 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4694/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4694/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4694/events | https://github.com/pandas-dev/pandas/issues/4694 | 18,627,696 | MDU6SXNzdWUxODYyNzY5Ng== | 4,694 | string getitem methods are slow | {
"avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4",
"events_url": "https://api.github.com/users/hayd/events{/privacy}",
"followers_url": "https://api.github.com/users/hayd/followers",
"following_url": "https://api.github.com/users/hayd/following{/other_user}",
"gists_url": "https://api.github.com/users/hayd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hayd",
"id": 1931852,
"login": "hayd",
"node_id": "MDQ6VXNlcjE5MzE4NTI=",
"organizations_url": "https://api.github.com/users/hayd/orgs",
"received_events_url": "https://api.github.com/users/hayd/received_events",
"repos_url": "https://api.github.com/users/hayd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hayd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hayd"
} | [
{
"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": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
] | 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"
} | 11 | 2013-08-27T19:11:12Z | 2020-02-15T02:41:45Z | null | CONTRIBUTOR | null | related #2802
It seems that str[1] is significantly slower than `.apply(lambda x: x[1])`
See this So answer http://stackoverflow.com/a/18473330/1240268
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4694/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4694/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4695 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4695/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4695/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4695/events | https://github.com/pandas-dev/pandas/issues/4695 | 18,629,265 | MDU6SXNzdWUxODYyOTI2NQ== | 4,695 | wrong error diagnostic message | {
"avatar_url": "https://avatars.githubusercontent.com/u/1068000?v=4",
"events_url": "https://api.github.com/users/MathiasF/events{/privacy}",
"followers_url": "https://api.github.com/users/MathiasF/followers",
"following_url": "https://api.github.com/users/MathiasF/following{/other_user}",
"gists_url": "https://api.github.com/users/MathiasF/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MathiasF",
"id": 1068000,
"login": "MathiasF",
"node_id": "MDQ6VXNlcjEwNjgwMDA=",
"organizations_url": "https://api.github.com/users/MathiasF/orgs",
"received_events_url": "https://api.github.com/users/MathiasF/received_events",
"repos_url": "https://api.github.com/users/MathiasF/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MathiasF/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MathiasF/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MathiasF"
} | [] | closed | false | null | [] | null | 3 | 2013-08-27T19:39:49Z | 2013-08-27T20:14:53Z | 2013-08-27T19:56:00Z | NONE | null | There is a confusion at the diagnostic level. When calling
> pd.io.parsers.ExcelFile.parse(xl)
where xl is of type pd.ExcelFile()
I get the message: _TypeError_: unbound method parse() must be called with ExcelFile instance as first argument (got ExcelFile instance instead)
and the message should read: unbound method parse() must be called with _ExcelSheet name_ as first argument
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4695/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4695/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4696 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4696/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4696/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4696/events | https://github.com/pandas-dev/pandas/pull/4696 | 18,630,067 | MDExOlB1bGxSZXF1ZXN0Nzg5OTcwNw== | 4,696 | ENH: Series.str.extract returns regex matches more conveniently | {
"avatar_url": "https://avatars.githubusercontent.com/u/2279598?v=4",
"events_url": "https://api.github.com/users/danielballan/events{/privacy}",
"followers_url": "https://api.github.com/users/danielballan/followers",
"following_url": "https://api.github.com/users/danielballan/following{/other_user}",
"gists_url": "https://api.github.com/users/danielballan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/danielballan",
"id": 2279598,
"login": "danielballan",
"node_id": "MDQ6VXNlcjIyNzk1OTg=",
"organizations_url": "https://api.github.com/users/danielballan/orgs",
"received_events_url": "https://api.github.com/users/danielballan/received_events",
"repos_url": "https://api.github.com/users/danielballan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/danielballan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danielballan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/danielballan"
} | [] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
}
] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 37 | 2013-08-27T19:54:13Z | 2014-06-19T09:46:22Z | 2013-09-20T14:37:40Z | CONTRIBUTOR | null | Closes #4685
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4696/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4696/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4696.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4696",
"merged_at": "2013-09-20T14:37:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4696.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4696"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4697 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4697/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4697/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4697/events | https://github.com/pandas-dev/pandas/issues/4697 | 18,632,403 | MDU6SXNzdWUxODYzMjQwMw== | 4,697 | Refactor read_html to use TextParser | {
"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": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 3 | 2013-08-27T20:36:23Z | 2013-10-03T02:26:05Z | 2013-10-03T02:26:05Z | MEMBER | null | related: #4679
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4697/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4697/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4698 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4698/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4698/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4698/events | https://github.com/pandas-dev/pandas/pull/4698 | 18,641,521 | MDExOlB1bGxSZXF1ZXN0NzkwNjQxOA== | 4,698 | HDFStore.append_to_multiple doesn't write rows that are all np.nan | {
"avatar_url": "https://avatars.githubusercontent.com/u/860369?v=4",
"events_url": "https://api.github.com/users/adgaudio/events{/privacy}",
"followers_url": "https://api.github.com/users/adgaudio/followers",
"following_url": "https://api.github.com/users/adgaudio/following{/other_user}",
"gists_url": "https://api.github.com/users/adgaudio/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/adgaudio",
"id": 860369,
"login": "adgaudio",
"node_id": "MDQ6VXNlcjg2MDM2OQ==",
"organizations_url": "https://api.github.com/users/adgaudio/orgs",
"received_events_url": "https://api.github.com/users/adgaudio/received_events",
"repos_url": "https://api.github.com/users/adgaudio/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/adgaudio/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adgaudio/subscriptions",
"type": "User",
"url": "https://api.github.com/users/adgaudio"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 19 | 2013-08-27T23:52:04Z | 2014-06-13T04:34:46Z | 2013-09-03T11:08:14Z | CONTRIBUTOR | null | Hi,
Using HDFStore.append_to_multiple, if an entire row written to any one table consists entirely of np.nan, the row is not written to the table, but is written to the other tables. The following code reproduces and fixes the issue.
I would prefer that append_to_multiple maintain synchronized rows across tables, and to my knowledge, the best way to do that is drop that row from the other tables. We would probably need a fix that looks something like this PR.
I'm not sure if this is the best way to do this, and would love some feedback!
Thanks,
Alex
The Fix:
```
# setup
d = {'table1': ['col1', 'col2'], 'table2': ['col3', 'col4']}
value = pandas.DataFrame([[1,2,3,4], [5,6,None, None]], columns=['col1', 'col2', 'col3', 'col4'])
# fix (as in PR)
dfs = (value[cols] for cols in d.values())
valid_index = reduce(
lambda index1, index2: index2.intersection(index1),
[df.dropna(how='all').index for df in dfs])
value = value.ix[valid_index]
```
To reproduce the error:
```
In [1]: from pandas import DataFrame, HDFStore
In [2]: store = HDFStore('tmp1.h5')
In [3]: df = DataFrame([[1,2], [3,None]], columns=['a', 'b'])
In [4]: store.append_to_multiple({'table1': ['a'], 'table2': ['b']}, df, 'table1')
In [5]: store
Out[5]:
<class 'pandas.io.pytables.HDFStore'>
File path: tmp1.h5
/table1 frame_table (typ->appendable,nrows->2,ncols->1,indexers->[index],dc->[a])
/table2 frame_table (typ->appendable,nrows->1,ncols->1,indexers->[index])
store.select_as_multiple(['table1', 'table2'])
In [6]: store.select_as_multiple(['table1', 'table2'])
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-6-1a2861fcaa34> in <module>()
----> 1 store.select_as_multiple(['table1', 'table2'])
/Users/alexgaudio/.virtualenvs/ds/lib/python2.7/site-packages/pandas/io/pytables.pyc in select_as_multiple(self, keys, where, selector, columns, start, stop, iterator, chunksize, auto_close, **kwargs)
540 nrows = t.nrows
541 elif t.nrows != nrows:
--> 542 raise ValueError("all tables must have exactly the same nrows!")
543
544 # select coordinates from the selector table
ValueError: all tables must have exactly the same nrows!
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4698/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4698/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4698.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4698",
"merged_at": "2013-09-03T11:08:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4698.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4698"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4699 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4699/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4699/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4699/events | https://github.com/pandas-dev/pandas/issues/4699 | 18,660,653 | MDU6SXNzdWUxODY2MDY1Mw== | 4,699 | Period() docstring inconsistent with code when freq has a mult != 1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/460756?v=4",
"events_url": "https://api.github.com/users/JackKelly/events{/privacy}",
"followers_url": "https://api.github.com/users/JackKelly/followers",
"following_url": "https://api.github.com/users/JackKelly/following{/other_user}",
"gists_url": "https://api.github.com/users/JackKelly/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/JackKelly",
"id": 460756,
"login": "JackKelly",
"node_id": "MDQ6VXNlcjQ2MDc1Ng==",
"organizations_url": "https://api.github.com/users/JackKelly/orgs",
"received_events_url": "https://api.github.com/users/JackKelly/received_events",
"repos_url": "https://api.github.com/users/JackKelly/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/JackKelly/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JackKelly/subscriptions",
"type": "User",
"url": "https://api.github.com/users/JackKelly"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2014-02-03T05:17:36Z",
"closed_issues": 314,
"created_at": "2013-08-26T22:11:58Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
},
"description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.",
"due_on": "2014-02-04T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/23",
"id": 412013,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels",
"node_id": "MDk6TWlsZXN0b25lNDEyMDEz",
"number": 23,
"open_issues": 0,
"state": "closed",
"title": "0.13.1",
"updated_at": "2014-02-03T05:18:00Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23"
} | 2 | 2013-08-28T10:33:28Z | 2013-10-04T12:50:04Z | 2013-10-04T12:50:04Z | CONTRIBUTOR | null | (I love Pandas! Great work! One small issue...)
The docstring for the `Period` constructor reads:
```
freq : str, default None
e.g., 'B' for businessday, ('T', 5) or '5T' for 5 minutes
```
i.e. the docstring says that `freq` can be multiples of a period code (e.g. 5 minutes).
But if we try to use `mult != 1` then we get an exception:
``` Python
In [43]: pd.Period('2013-01-01', freq='5T')
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-43-770fd8956b5c> in <module>()
----> 1 pd.Period('2013-01-01', freq='5T')
/usr/local/lib/python2.7/dist-packages/pandas/tseries/period.pyc in __init__(self, value, freq, ordinal, year, month, quarter, day, hour, minute, second)
120 base, mult = _gfc(freq)
121 if mult != 1:
--> 122 raise ValueError('Only mult == 1 supported')
123
124 if self.ordinal is None:
ValueError: Only mult == 1 supported
```
This same error is given if we provide `freq` as a tuple like `freq=('T', 5)`
So either the code can't handle `mult != 1` (in which case the docstring is wrong). Or, if the docstring is _correct_ (the code _can_ handle a `mult != 1`) then the exception is wrong.
(For my own work, I would love to be able to use arbitrary-length `Period` instances. Here's a related StackOverflow question that I have just asked: [Irregular, non-contiguous Periods in Pandas](http://stackoverflow.com/questions/18486106/irregular-non-contiguous-periods-in-pandas))
(I'm using Pandas 0.12)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4699/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4699/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4700 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4700/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4700/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4700/events | https://github.com/pandas-dev/pandas/issues/4700 | 18,665,960 | MDU6SXNzdWUxODY2NTk2MA== | 4,700 | inconsistency of header argument of read_html with other read_* functions | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "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 | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-08-28T12:40:23Z | 2013-10-03T02:26:05Z | 2013-10-03T02:26:05Z | MEMBER | null | see https://github.com/pydata/pandas/issues/4679#issuecomment-23410759
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4700/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4700/timeline | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.