url
stringlengths 55
59
| repository_url
stringclasses 1
value | labels_url
stringlengths 69
73
| comments_url
stringlengths 64
68
| events_url
stringlengths 62
66
| html_url
stringlengths 44
49
| id
int64 338k
1.06B
| node_id
stringlengths 18
32
| number
int64 1
44.6k
| title
stringlengths 1
590
| user
dict | labels
listlengths 0
9
| state
stringclasses 2
values | locked
bool 2
classes | assignee
dict | assignees
listlengths 0
5
| milestone
dict | comments
int64 0
477
| created_at
unknown | updated_at
unknown | closed_at
unknown | author_association
stringclasses 3
values | active_lock_reason
stringclasses 4
values | body
stringlengths 0
251k
⌀ | reactions
dict | timeline_url
stringlengths 64
68
| performed_via_github_app
float64 | draft
float64 0
1
⌀ | pull_request
dict |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/pandas-dev/pandas/issues/2501 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2501/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2501/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2501/events | https://github.com/pandas-dev/pandas/issues/2501 | 9,209,763 | MDU6SXNzdWU5MjA5NzYz | 2,501 | pivot tables should provide "weighted" statistics | {
"avatar_url": "https://avatars.githubusercontent.com/u/1175927?v=4",
"events_url": "https://api.github.com/users/benjello/events{/privacy}",
"followers_url": "https://api.github.com/users/benjello/followers",
"following_url": "https://api.github.com/users/benjello/following{/other_user}",
"gists_url": "https://api.github.com/users/benjello/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/benjello",
"id": 1175927,
"login": "benjello",
"node_id": "MDQ6VXNlcjExNzU5Mjc=",
"organizations_url": "https://api.github.com/users/benjello/orgs",
"received_events_url": "https://api.github.com/users/benjello/received_events",
"repos_url": "https://api.github.com/users/benjello/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/benjello/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/benjello/subscriptions",
"type": "User",
"url": "https://api.github.com/users/benjello"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 1 | "2012-12-12T09:05:45Z" | "2019-12-25T05:12:45Z" | null | CONTRIBUTOR | null | It would be really nice to allow for a weight argument to be passed to allow computatio of weighted statistics (mean, media, quantile etc) in pivot-table. Could be really convenient when you deal with weighted survey 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/2501/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2501/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2502 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2502/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2502/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2502/events | https://github.com/pandas-dev/pandas/issues/2502 | 9,210,494 | MDU6SXNzdWU5MjEwNDk0 | 2,502 | Float format syntax | {
"avatar_url": "https://avatars.githubusercontent.com/u/761677?v=4",
"events_url": "https://api.github.com/users/jorgsk/events{/privacy}",
"followers_url": "https://api.github.com/users/jorgsk/followers",
"following_url": "https://api.github.com/users/jorgsk/following{/other_user}",
"gists_url": "https://api.github.com/users/jorgsk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorgsk",
"id": 761677,
"login": "jorgsk",
"node_id": "MDQ6VXNlcjc2MTY3Nw==",
"organizations_url": "https://api.github.com/users/jorgsk/orgs",
"received_events_url": "https://api.github.com/users/jorgsk/received_events",
"repos_url": "https://api.github.com/users/jorgsk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorgsk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorgsk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorgsk"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 3 | "2012-12-12T09:39:16Z" | "2013-09-28T19:36:29Z" | "2013-09-28T19:36:29Z" | NONE | null | In for exampe DataFrame.to_csv there is the option "float_format" with the following description:
```
float_format : string, default None
Format string for floating point numbers
```
The currently allowed format in Pandas follows the "old" Python style of '%.2f' % 1.234, so you have to write
float_format = '%.df'.
Being used to 2.7 and 3.x formatting style of Python, I expected that just ':.2f' or even '.2f' would be valid.
To keep up with the new formatting style, should these two last variants (or one of them) also be accepted in Pandas? If not, it should be specified in the documentation, perhaps with an example, that the '%'-style is required.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2502/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2502/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2503 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2503/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2503/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2503/events | https://github.com/pandas-dev/pandas/issues/2503 | 9,212,401 | MDU6SXNzdWU5MjEyNDAx | 2,503 | Ginput giving wrong date for datetimeindex plot | {
"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": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | {
"closed_at": "2015-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"
} | 7 | "2012-12-12T10:59:05Z" | "2014-06-09T02:24:52Z" | "2014-06-09T02:24:52Z" | CONTRIBUTOR | null | I rewrote this [StackOverflow question](http://stackoverflow.com/questions/13832938/how-use-ginput-method-get-the-correct-points) to include an example. I think this looks like a bug (possibly in `num2date` or `date2num`)?
---
I read-in a file and plot it with pandas `DataFrame`. The index is DatetimeIndex, and then I use `ginput(1)` method to get one point, however the coordinate which I get is wrong.
The code is as follows:
```
import pandas as pd
from matplotlib.dates import num2date, date2num
ts = pd.date_range('2012-04-12,16:13:09', '2012-04-14,00:13:09', freq='H')
df = pd.DataFrame(index=ts)
df[0] = 20.6
```
I then plot and click on the graph using [ginput](http://glowingpython.blogspot.co.uk/2011/08/how-to-use-ginput.html):
```
df.plot()
t = pylab.ginput(n=1) #click somewhere near 13-APR-2012
```
However, the first item appears to be a float
```
In [8]: x = t[0][0] # ~ 370631.67741935479
In [9]: num2date(x)
Out[9]: datetime.datetime(1015, 10, 3, 16, 15, 29, 32253, tzinfo=<matplotlib.dates._UTC object at 0x104196550>)
# this is way out!
```
The docs suggest that it should be using these floats (from [`datetonum`](http://matplotlib.org/api/dates_api.html#matplotlib.dates.date2num)):
```
In [10]: dt = pd.to_datetime('13-4-2012', dayfirst=True)
In [11]: date2num(dt)
Out[11]: 734606.0
```
What is this float, and how can I convert it to a datetime?
_Note: If I remove one of the rows from the dataframe this works correctly:_
```
df1 = df.drop(ts[1], axis=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/2503/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2503/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2504 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2504/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2504/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2504/events | https://github.com/pandas-dev/pandas/pull/2504 | 9,213,294 | MDExOlB1bGxSZXF1ZXN0MzMzNTcxMA== | 2,504 | option callback on value change, use an option to control use_inf_as_null | {
"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 | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 2 | "2012-12-12T11:36:20Z" | "2014-07-08T14:50:42Z" | "2012-12-13T14:50:39Z" | NONE | null | I'm not married to the "mode.X" option key, but be aware that the dynamic generated
docstrings for the options API favour a small number of top level keys with multiple keys
under them and so i consolidated `test.interactive` into `mode.sim_interactive`.
Some sane taxonomy needs to be established early on to keep things tidy,
Be an option-naming fascist I say.
http://martinfowler.com/bliki/TwoHardThings.html
related: #1919
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2504/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2504/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2504.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2504",
"merged_at": "2012-12-13T14:50:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/2504.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2504"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2505 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2505/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2505/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2505/events | https://github.com/pandas-dev/pandas/pull/2505 | 9,216,690 | MDExOlB1bGxSZXF1ZXN0MzMzNzUzMw== | 2,505 | vivify issue links in RELEASE.rst | {
"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 | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-12-12T14:07:57Z" | "2012-12-13T14:52:22Z" | "2012-12-13T14:52:22Z" | NONE | null | rebased on top of #2504, merge that first.
see here: https://github.com/y-p/pandas/blob/prettify_release/RELEASE.rst
related #842.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2505/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2505/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2505.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2505",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2505.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2505"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2506 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2506/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2506/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2506/events | https://github.com/pandas-dev/pandas/issues/2506 | 9,218,395 | MDU6SXNzdWU5MjE4Mzk1 | 2,506 | read_csv fails when a column ends in a quote. | {
"avatar_url": "https://avatars.githubusercontent.com/u/95922?v=4",
"events_url": "https://api.github.com/users/jvangael/events{/privacy}",
"followers_url": "https://api.github.com/users/jvangael/followers",
"following_url": "https://api.github.com/users/jvangael/following{/other_user}",
"gists_url": "https://api.github.com/users/jvangael/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jvangael",
"id": 95922,
"login": "jvangael",
"node_id": "MDQ6VXNlcjk1OTIy",
"organizations_url": "https://api.github.com/users/jvangael/orgs",
"received_events_url": "https://api.github.com/users/jvangael/received_events",
"repos_url": "https://api.github.com/users/jvangael/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jvangael/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jvangael/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jvangael"
} | [
{
"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-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 2 | "2012-12-12T14:59:59Z" | "2012-12-12T15:18:45Z" | "2012-12-12T15:18:45Z" | NONE | null | I use pandas to read csv files that I get from mysql. Using pandas 0.9 and 0.10 beta, the following files give unexpected results when using read_csv
> "A","B"
> "row_1","foo\""
> "row_2","bar"
output is
> row_1 foo\"\nrow_2" bar
When I add a space after the first quote after foo,
> "A","B"
> "row_1","foo\" "
> "row_2","bar"
we do get the correct number of rows back but output is still unexpected
> 0 row_1 foo\ "
> 1 row_2 bar
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2506/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2506/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2507 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2507/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2507/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2507/events | https://github.com/pandas-dev/pandas/issues/2507 | 9,220,686 | MDU6SXNzdWU5MjIwNjg2 | 2,507 | Options API enhancements | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 4 | "2012-12-12T16:01:17Z" | "2016-10-12T23:03:24Z" | "2012-12-14T05:22:26Z" | CONTRIBUTOR | null | getitem/setitem magic:
`pd.options['expand'] = True`
context manager for temporary options setting:
```
with pd.set_option('expand', False):
...
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2507/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2507/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2508 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2508/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2508/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2508/events | https://github.com/pandas-dev/pandas/pull/2508 | 9,222,273 | MDExOlB1bGxSZXF1ZXN0MzM0MDQ1Ng== | 2,508 | BUG: fix type spec bug in roll_window | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [] | closed | false | null | [] | null | 1 | "2012-12-12T16:42:33Z" | "2014-06-30T15:08:57Z" | "2012-12-12T16:44:47Z" | 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/2508/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2508/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2508.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2508",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2508.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2508"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/2509 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2509/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2509/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2509/events | https://github.com/pandas-dev/pandas/issues/2509 | 9,236,934 | MDU6SXNzdWU5MjM2OTM0 | 2,509 | pandas does not build | {
"avatar_url": "https://avatars.githubusercontent.com/u/25457?v=4",
"events_url": "https://api.github.com/users/paulproteus/events{/privacy}",
"followers_url": "https://api.github.com/users/paulproteus/followers",
"following_url": "https://api.github.com/users/paulproteus/following{/other_user}",
"gists_url": "https://api.github.com/users/paulproteus/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/paulproteus",
"id": 25457,
"login": "paulproteus",
"node_id": "MDQ6VXNlcjI1NDU3",
"organizations_url": "https://api.github.com/users/paulproteus/orgs",
"received_events_url": "https://api.github.com/users/paulproteus/received_events",
"repos_url": "https://api.github.com/users/paulproteus/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/paulproteus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/paulproteus/subscriptions",
"type": "User",
"url": "https://api.github.com/users/paulproteus"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 11 | "2012-12-12T23:48:07Z" | "2012-12-13T03:58:52Z" | "2012-12-13T01:42:35Z" | NONE | null | The repo seems to be missing a file called pandas/index.c.
Build log, on a Debian GNU/Linux system:
$ python setup.py build
running build
running build_py
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/pandas
copying pandas/version.py -> build/lib.linux-x86_64-2.7/pandas
copying pandas/**init**.py -> build/lib.linux-x86_64-2.7/pandas
copying pandas/info.py -> build/lib.linux-x86_64-2.7/pandas
creating build/lib.linux-x86_64-2.7/pandas/compat
copying pandas/compat/**init**.py -> build/lib.linux-x86_64-2.7/pandas/compat
copying pandas/compat/scipy.py -> build/lib.linux-x86_64-2.7/pandas/compat
creating build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/config_init.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/sparse.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/format.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/frame.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/matrix.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/categorical.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/api.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/reshape.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/internals.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/panelnd.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/panel4d.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/strings.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/**init**.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/algorithms.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/indexing.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/datetools.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/nanops.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/groupby.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/config.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/panel.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/daterange.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/index.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/generic.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/common.py -> build/lib.linux-x86_64-2.7/pandas/core
copying pandas/core/series.py -> build/lib.linux-x86_64-2.7/pandas/core
creating build/lib.linux-x86_64-2.7/pandas/io
copying pandas/io/**init**.py -> build/lib.linux-x86_64-2.7/pandas/io
copying pandas/io/ga.py -> build/lib.linux-x86_64-2.7/pandas/io
copying pandas/io/parsers.py -> build/lib.linux-x86_64-2.7/pandas/io
copying pandas/io/date_converters.py -> build/lib.linux-x86_64-2.7/pandas/io
copying pandas/io/data.py -> build/lib.linux-x86_64-2.7/pandas/io
copying pandas/io/auth.py -> build/lib.linux-x86_64-2.7/pandas/io
copying pandas/io/pytables.py -> build/lib.linux-x86_64-2.7/pandas/io
copying pandas/io/sql.py -> build/lib.linux-x86_64-2.7/pandas/io
creating build/lib.linux-x86_64-2.7/pandas/rpy
copying pandas/rpy/base.py -> build/lib.linux-x86_64-2.7/pandas/rpy
copying pandas/rpy/**init**.py -> build/lib.linux-x86_64-2.7/pandas/rpy
copying pandas/rpy/mass.py -> build/lib.linux-x86_64-2.7/pandas/rpy
copying pandas/rpy/vars.py -> build/lib.linux-x86_64-2.7/pandas/rpy
copying pandas/rpy/common.py -> build/lib.linux-x86_64-2.7/pandas/rpy
creating build/lib.linux-x86_64-2.7/pandas/sandbox
copying pandas/sandbox/**init**.py -> build/lib.linux-x86_64-2.7/pandas/sandbox
copying pandas/sandbox/qtpandas.py -> build/lib.linux-x86_64-2.7/pandas/sandbox
creating build/lib.linux-x86_64-2.7/pandas/sparse
copying pandas/sparse/frame.py -> build/lib.linux-x86_64-2.7/pandas/sparse
copying pandas/sparse/api.py -> build/lib.linux-x86_64-2.7/pandas/sparse
copying pandas/sparse/**init**.py -> build/lib.linux-x86_64-2.7/pandas/sparse
copying pandas/sparse/list.py -> build/lib.linux-x86_64-2.7/pandas/sparse
copying pandas/sparse/panel.py -> build/lib.linux-x86_64-2.7/pandas/sparse
copying pandas/sparse/array.py -> build/lib.linux-x86_64-2.7/pandas/sparse
copying pandas/sparse/series.py -> build/lib.linux-x86_64-2.7/pandas/sparse
creating build/lib.linux-x86_64-2.7/pandas/sparse/tests
copying pandas/sparse/tests/test_list.py -> build/lib.linux-x86_64-2.7/pandas/sparse/tests
copying pandas/sparse/tests/test_sparse.py -> build/lib.linux-x86_64-2.7/pandas/sparse/tests
copying pandas/sparse/tests/test_libsparse.py -> build/lib.linux-x86_64-2.7/pandas/sparse/tests
copying pandas/sparse/tests/**init**.py -> build/lib.linux-x86_64-2.7/pandas/sparse/tests
copying pandas/sparse/tests/test_array.py -> build/lib.linux-x86_64-2.7/pandas/sparse/tests
creating build/lib.linux-x86_64-2.7/pandas/stats
copying pandas/stats/plm.py -> build/lib.linux-x86_64-2.7/pandas/stats
copying pandas/stats/api.py -> build/lib.linux-x86_64-2.7/pandas/stats
copying pandas/stats/interface.py -> build/lib.linux-x86_64-2.7/pandas/stats
copying pandas/stats/moments.py -> build/lib.linux-x86_64-2.7/pandas/stats
copying pandas/stats/ols.py -> build/lib.linux-x86_64-2.7/pandas/stats
copying pandas/stats/var.py -> build/lib.linux-x86_64-2.7/pandas/stats
copying pandas/stats/**init**.py -> build/lib.linux-x86_64-2.7/pandas/stats
copying pandas/stats/misc.py -> build/lib.linux-x86_64-2.7/pandas/stats
copying pandas/stats/math.py -> build/lib.linux-x86_64-2.7/pandas/stats
copying pandas/stats/common.py -> build/lib.linux-x86_64-2.7/pandas/stats
copying pandas/stats/fama_macbeth.py -> build/lib.linux-x86_64-2.7/pandas/stats
creating build/lib.linux-x86_64-2.7/pandas/util
copying pandas/util/compat.py -> build/lib.linux-x86_64-2.7/pandas/util
copying pandas/util/py3compat.py -> build/lib.linux-x86_64-2.7/pandas/util
copying pandas/util/counter.py -> build/lib.linux-x86_64-2.7/pandas/util
copying pandas/util/**init**.py -> build/lib.linux-x86_64-2.7/pandas/util
copying pandas/util/decorators.py -> build/lib.linux-x86_64-2.7/pandas/util
copying pandas/util/testing.py -> build/lib.linux-x86_64-2.7/pandas/util
copying pandas/util/misc.py -> build/lib.linux-x86_64-2.7/pandas/util
copying pandas/util/clipboard.py -> build/lib.linux-x86_64-2.7/pandas/util
copying pandas/util/terminal.py -> build/lib.linux-x86_64-2.7/pandas/util
creating build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/test_multilevel.py -> build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/test_panelnd.py -> build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/test_reshape.py -> build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/test_internals.py -> build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/test_series.py -> build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/test_panel.py -> build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/test_common.py -> build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/test_panel4d.py -> build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/test_algos.py -> build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/test_factor.py -> build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/**init**.py -> build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/test_tseries.py -> build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/test_index.py -> build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/test_stats.py -> build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/test_ndframe.py -> build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/test_groupby.py -> build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/test_graphics.py -> build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/test_strings.py -> build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/test_config.py -> build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/test_frame.py -> build/lib.linux-x86_64-2.7/pandas/tests
copying pandas/tests/test_format.py -> build/lib.linux-x86_64-2.7/pandas/tests
creating build/lib.linux-x86_64-2.7/pandas/tools
copying pandas/tools/plotting.py -> build/lib.linux-x86_64-2.7/pandas/tools
copying pandas/tools/describe.py -> build/lib.linux-x86_64-2.7/pandas/tools
copying pandas/tools/tile.py -> build/lib.linux-x86_64-2.7/pandas/tools
copying pandas/tools/**init**.py -> build/lib.linux-x86_64-2.7/pandas/tools
copying pandas/tools/util.py -> build/lib.linux-x86_64-2.7/pandas/tools
copying pandas/tools/merge.py -> build/lib.linux-x86_64-2.7/pandas/tools
copying pandas/tools/pivot.py -> build/lib.linux-x86_64-2.7/pandas/tools
creating build/lib.linux-x86_64-2.7/pandas/tools/tests
copying pandas/tools/tests/test_merge.py -> build/lib.linux-x86_64-2.7/pandas/tools/tests
copying pandas/tools/tests/**init**.py -> build/lib.linux-x86_64-2.7/pandas/tools/tests
copying pandas/tools/tests/test_tile.py -> build/lib.linux-x86_64-2.7/pandas/tools/tests
copying pandas/tools/tests/test_pivot.py -> build/lib.linux-x86_64-2.7/pandas/tools/tests
copying pandas/tools/tests/test_tools.py -> build/lib.linux-x86_64-2.7/pandas/tools/tests
creating build/lib.linux-x86_64-2.7/pandas/tseries
copying pandas/tseries/frequencies.py -> build/lib.linux-x86_64-2.7/pandas/tseries
copying pandas/tseries/plotting.py -> build/lib.linux-x86_64-2.7/pandas/tseries
copying pandas/tseries/api.py -> build/lib.linux-x86_64-2.7/pandas/tseries
copying pandas/tseries/offsets.py -> build/lib.linux-x86_64-2.7/pandas/tseries
copying pandas/tseries/interval.py -> build/lib.linux-x86_64-2.7/pandas/tseries
copying pandas/tseries/tools.py -> build/lib.linux-x86_64-2.7/pandas/tseries
copying pandas/tseries/**init**.py -> build/lib.linux-x86_64-2.7/pandas/tseries
copying pandas/tseries/converter.py -> build/lib.linux-x86_64-2.7/pandas/tseries
copying pandas/tseries/util.py -> build/lib.linux-x86_64-2.7/pandas/tseries
copying pandas/tseries/resample.py -> build/lib.linux-x86_64-2.7/pandas/tseries
copying pandas/tseries/period.py -> build/lib.linux-x86_64-2.7/pandas/tseries
copying pandas/tseries/index.py -> build/lib.linux-x86_64-2.7/pandas/tseries
creating build/lib.linux-x86_64-2.7/pandas/tseries/tests
copying pandas/tseries/tests/test_frequencies.py -> build/lib.linux-x86_64-2.7/pandas/tseries/tests
copying pandas/tseries/tests/test_util.py -> build/lib.linux-x86_64-2.7/pandas/tseries/tests
copying pandas/tseries/tests/test_offsets.py -> build/lib.linux-x86_64-2.7/pandas/tseries/tests
copying pandas/tseries/tests/test_daterange.py -> build/lib.linux-x86_64-2.7/pandas/tseries/tests
copying pandas/tseries/tests/test_timeseries.py -> build/lib.linux-x86_64-2.7/pandas/tseries/tests
copying pandas/tseries/tests/test_plotting.py -> build/lib.linux-x86_64-2.7/pandas/tseries/tests
copying pandas/tseries/tests/test_period.py -> build/lib.linux-x86_64-2.7/pandas/tseries/tests
copying pandas/tseries/tests/**init**.py -> build/lib.linux-x86_64-2.7/pandas/tseries/tests
copying pandas/tseries/tests/test_cursor.py -> build/lib.linux-x86_64-2.7/pandas/tseries/tests
copying pandas/tseries/tests/test_resample.py -> build/lib.linux-x86_64-2.7/pandas/tseries/tests
copying pandas/tseries/tests/test_converter.py -> build/lib.linux-x86_64-2.7/pandas/tseries/tests
copying pandas/tseries/tests/test_timezones.py -> build/lib.linux-x86_64-2.7/pandas/tseries/tests
creating build/lib.linux-x86_64-2.7/pandas/io/tests
copying pandas/io/tests/test_excel.py -> build/lib.linux-x86_64-2.7/pandas/io/tests
copying pandas/io/tests/test_ga.py -> build/lib.linux-x86_64-2.7/pandas/io/tests
copying pandas/io/tests/**init**.py -> build/lib.linux-x86_64-2.7/pandas/io/tests
copying pandas/io/tests/test_cparser.py -> build/lib.linux-x86_64-2.7/pandas/io/tests
copying pandas/io/tests/test_yahoo.py -> build/lib.linux-x86_64-2.7/pandas/io/tests
copying pandas/io/tests/test_pytables.py -> build/lib.linux-x86_64-2.7/pandas/io/tests
copying pandas/io/tests/test_parsers.py -> build/lib.linux-x86_64-2.7/pandas/io/tests
copying pandas/io/tests/test_sql.py -> build/lib.linux-x86_64-2.7/pandas/io/tests
copying pandas/io/tests/test_date_converters.py -> build/lib.linux-x86_64-2.7/pandas/io/tests
creating build/lib.linux-x86_64-2.7/pandas/stats/tests
copying pandas/stats/tests/test_math.py -> build/lib.linux-x86_64-2.7/pandas/stats/tests
copying pandas/stats/tests/test_fama_macbeth.py -> build/lib.linux-x86_64-2.7/pandas/stats/tests
copying pandas/stats/tests/test_moments.py -> build/lib.linux-x86_64-2.7/pandas/stats/tests
copying pandas/stats/tests/test_ols.py -> build/lib.linux-x86_64-2.7/pandas/stats/tests
copying pandas/stats/tests/**init**.py -> build/lib.linux-x86_64-2.7/pandas/stats/tests
copying pandas/stats/tests/test_var.py -> build/lib.linux-x86_64-2.7/pandas/stats/tests
copying pandas/stats/tests/common.py -> build/lib.linux-x86_64-2.7/pandas/stats/tests
copying pandas/io/tests/legacy_table.h5 -> build/lib.linux-x86_64-2.7/pandas/io/tests
copying pandas/io/tests/legacy.h5 -> build/lib.linux-x86_64-2.7/pandas/io/tests
copying pandas/io/tests/test1.csv -> build/lib.linux-x86_64-2.7/pandas/io/tests
copying pandas/io/tests/test2.csv -> build/lib.linux-x86_64-2.7/pandas/io/tests
copying pandas/io/tests/utf16_ex.txt -> build/lib.linux-x86_64-2.7/pandas/io/tests
copying pandas/io/tests/test2.xls -> build/lib.linux-x86_64-2.7/pandas/io/tests
copying pandas/io/tests/test.xls -> build/lib.linux-x86_64-2.7/pandas/io/tests
copying pandas/io/tests/test3.xls -> build/lib.linux-x86_64-2.7/pandas/io/tests
copying pandas/io/tests/test.xlsx -> build/lib.linux-x86_64-2.7/pandas/io/tests
copying pandas/io/tests/salary.table -> build/lib.linux-x86_64-2.7/pandas/io/tests
creating build/lib.linux-x86_64-2.7/pandas/tests/data
copying pandas/tests/data/mindex_073.pickle -> build/lib.linux-x86_64-2.7/pandas/tests/data
copying pandas/tests/data/multiindex_v1.pickle -> build/lib.linux-x86_64-2.7/pandas/tests/data
copying pandas/tests/data/iris.csv -> build/lib.linux-x86_64-2.7/pandas/tests/data
copying pandas/tests/data/unicode_series.csv -> build/lib.linux-x86_64-2.7/pandas/tests/data
copying pandas/tools/tests/cut_data.csv -> build/lib.linux-x86_64-2.7/pandas/tools/tests
creating build/lib.linux-x86_64-2.7/pandas/tseries/tests/data
copying pandas/tseries/tests/data/daterange_073.pickle -> build/lib.linux-x86_64-2.7/pandas/tseries/tests/data
copying pandas/tseries/tests/data/series.pickle -> build/lib.linux-x86_64-2.7/pandas/tseries/tests/data
copying pandas/tseries/tests/data/frame.pickle -> build/lib.linux-x86_64-2.7/pandas/tseries/tests/data
copying pandas/tseries/tests/data/series_daterange0.pickle -> build/lib.linux-x86_64-2.7/pandas/tseries/tests/data
running build_ext
building 'pandas.index' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/lib/pymodules/python2.7/numpy/core/include -Ipandas/src/klib -Ipandas/src -I/usr/include/python2.7 -c pandas/index.c -o build/temp.linux-x86_64-2.7/pandas/index.o
gcc: error: pandas/index.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
error: command 'gcc' failed with exit status 4
I can reproduce the problem on Windows, but I imagine you're happier with a bug report on Debian.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2509/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2509/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2510 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2510/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2510/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2510/events | https://github.com/pandas-dev/pandas/issues/2510 | 9,237,901 | MDU6SXNzdWU5MjM3OTAx | 2,510 | Error installing 0.10.0b1 from Github with pip | {
"avatar_url": "https://avatars.githubusercontent.com/u/686573?v=4",
"events_url": "https://api.github.com/users/pikeas/events{/privacy}",
"followers_url": "https://api.github.com/users/pikeas/followers",
"following_url": "https://api.github.com/users/pikeas/following{/other_user}",
"gists_url": "https://api.github.com/users/pikeas/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pikeas",
"id": 686573,
"login": "pikeas",
"node_id": "MDQ6VXNlcjY4NjU3Mw==",
"organizations_url": "https://api.github.com/users/pikeas/orgs",
"received_events_url": "https://api.github.com/users/pikeas/received_events",
"repos_url": "https://api.github.com/users/pikeas/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pikeas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pikeas/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pikeas"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 5 | "2012-12-13T00:32:46Z" | "2012-12-13T05:21:05Z" | "2012-12-13T03:57:51Z" | NONE | null | I tried installing today's release of 0.10.0.b1 in a virtualenv with:
```
pip install git+https://github.com/pydata/pandas.git
```
This fails after src/datetime:
```
i686-apple-darwin11-llvm-gcc-4.2: pandas/index.c: No such file or directory
i686-apple-darwin11-llvm-gcc-4.2: no input files
i686-apple-darwin11-llvm-gcc-4.2: pandas/index.c: No such file or directory
i686-apple-darwin11-llvm-gcc-4.2: no input files
lipo: can't figure out the architecture type of: /var/folders/cd/_zzqv0h90ms8k4s6skxvgt0w0000gp/T//cc7oTKEl.out
error: command 'llvm-gcc-4.2' failed with exit status 1
```
Should I be installing the new version of pandas in a different way?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2510/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2510/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2511 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2511/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2511/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2511/events | https://github.com/pandas-dev/pandas/issues/2511 | 9,240,591 | MDU6SXNzdWU5MjQwNTkx | 2,511 | read_csv() option to parse numeric columns to np.float32 or np.float16 | {
"avatar_url": "https://avatars.githubusercontent.com/u/2701562?v=4",
"events_url": "https://api.github.com/users/dragoljub/events{/privacy}",
"followers_url": "https://api.github.com/users/dragoljub/followers",
"following_url": "https://api.github.com/users/dragoljub/following{/other_user}",
"gists_url": "https://api.github.com/users/dragoljub/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dragoljub",
"id": 2701562,
"login": "dragoljub",
"node_id": "MDQ6VXNlcjI3MDE1NjI=",
"organizations_url": "https://api.github.com/users/dragoljub/orgs",
"received_events_url": "https://api.github.com/users/dragoljub/received_events",
"repos_url": "https://api.github.com/users/dragoljub/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dragoljub/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dragoljub/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dragoljub"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "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": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 1 | "2012-12-13T02:40:43Z" | "2018-01-12T11:09:03Z" | "2018-01-12T11:09:03Z" | NONE | null | I noticed in the documentation:
"
Specifying column data types
Starting with v0.10, you can indicate the data type for the whole DataFrame or individual columns:
"
This is indeed a great feature epically for numerical objects codes that would otherwise be parsed as integers with leading zeros removed.
From the example I was hoping I could specify reduced precision int or float for each column, but alas they are up-casted to the 64bit versions. :/ Except....
In [1]:
data = 'a,b,c\n1,2,3\n4,5,6\n7,8,9'
df = pd.read_csv(StringIO.StringIO(data), dtype={'a': object, 'b': np.float32, 'c': np.int16})
df.dtypes
Out[1]: <-- Upcasted to 64 bit
a object
b float64
c int64
The upcasting occurs even if I explicitly try to set a column to a 32bit float/int.
In [2]:
df['b'] = df['b'].astype(np.float32)
type(df['b'][0])
Out[2]: <-- Upcasted to 64 bit even with explicit column set.
numpy.float64
However, if I start with the object type, and then explicitly set the column to a float16/32 everything it seems to work.
In [3]:
data = 'a,b,c\nCat,2.3456789,3\nDog,5,6\nHat,8,9'
df = pd.read_csv(StringIO.StringIO(data), dtype={'a': object, 'b': object, 'c': np.int16})
df.dtypes
Out[3]:
a object
b object
c int64 <-- upcasting during read_csv
In [4]:
print type(df['b'][0])
df['b'][0]
<type 'str'> <-- here we have the string type object not parsed
Out[4]:
'2.3456789'
In [5]:
df['b'] = df['b'].astype(np.float16) <-- explicit casting and setting of Object to float16
In [6]:
print type(df['b'][0])
print df['b'][0]
print df.dtypes
<type 'numpy.float16'>
2.3457
a object
b float16 <-- Yay 16 bit!
c int64
<-- Correctly Cast Object into float32, with correct truncation of the data value.
Now my next question is does this have any possibly bad memory implications? When converting many Object columns to np.float32 or np.float16 does pandas properly take care to allow enough memory for the different width numbers? I'm assuming an entirely new column is created and the old object column is just freed from memory. This may be a good workaround for me since I often have several million low resolution real and int columns that are adding extra overhead for storing/reading/parsing/writing in 64bit wide format.
Thanks for any input,
-Gagi
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2511/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2511/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2512 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2512/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2512/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2512/events | https://github.com/pandas-dev/pandas/issues/2512 | 9,241,682 | MDU6SXNzdWU5MjQxNjgy | 2,512 | Investigate GIL-friendliness of C parser | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "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-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 1 | "2012-12-13T03:50:23Z" | "2012-12-17T15:21:50Z" | "2012-12-17T15:21:50Z" | MEMBER | null | I don't have much confidence that the GIL is released in the places that matter
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2512/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2512/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2513 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2513/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2513/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2513/events | https://github.com/pandas-dev/pandas/issues/2513 | 9,241,781 | MDU6SXNzdWU5MjQxNzgx | 2,513 | Series.str.split() behavior on multi-character patterns (pandas 0.9.1, py2.7) | {
"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"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 3 | "2012-12-13T03:58:53Z" | "2016-10-12T23:03:24Z" | "2012-12-13T16:47:43Z" | CONTRIBUTOR | null | Not sure if this is an issue in my setup or the intended behavior, but str.split behavior with multi-character patterns changed between 0.9.0 and 0.9.1, most likely due to #2119. Here is the original behavior going back to 0.8.1 as best I can tell.
```
In [1]: pd.__version__
Out[1]: '0.9.1.dev-c252129'
In [2]: s = pd.Series(["D0->D2"])
In [3]: s.str.split("->")
Out[3]: 0 [D0, D2]
```
In 0.9.1:
```
In [1]: pd.__version__
Out[1]: '0.9.1'
In [2]: s = pd.Series(["D0->D2"])
In [3]: s.str.split("->")
Out[3]: 0 [D0->D2]
```
Setting n=0 restores the behavior, on my Python install at least.
```
In [5]: s.str.split("->", n=0)
Out[5]: 0 [D0, D2]
```
Reproducible in 0.10.0b1.
```
In [1]: pd.__version__
Out[1]: '0.10.0b1'
In [2]: s = pd.Series(["D0->D2"])
In [3]: s.str.split("->")
Out[3]: 0 [D0->D2]
```
Python 2.7.2+ (default, Jul 20 2012, 22:12:53)
[GCC 4.6.1] on linux2
Any thoughts on changing the default n for str.split back to 0?
Many 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/2513/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2513/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2514 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2514/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2514/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2514/events | https://github.com/pandas-dev/pandas/issues/2514 | 9,242,529 | MDU6SXNzdWU5MjQyNTI5 | 2,514 | Trouble building | {
"avatar_url": "https://avatars.githubusercontent.com/u/683031?v=4",
"events_url": "https://api.github.com/users/nburke-salesforce/events{/privacy}",
"followers_url": "https://api.github.com/users/nburke-salesforce/followers",
"following_url": "https://api.github.com/users/nburke-salesforce/following{/other_user}",
"gists_url": "https://api.github.com/users/nburke-salesforce/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nburke-salesforce",
"id": 683031,
"login": "nburke-salesforce",
"node_id": "MDQ6VXNlcjY4MzAzMQ==",
"organizations_url": "https://api.github.com/users/nburke-salesforce/orgs",
"received_events_url": "https://api.github.com/users/nburke-salesforce/received_events",
"repos_url": "https://api.github.com/users/nburke-salesforce/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nburke-salesforce/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nburke-salesforce/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nburke-salesforce"
} | [] | closed | false | null | [] | null | 1 | "2012-12-13T04:55:31Z" | "2012-12-13T04:58:15Z" | "2012-12-13T04:57:51Z" | NONE | null | $ sudo python setup.py install
gcc: error: pandas/index.c: No such file or directory
I'm currently in the project root dir. There is a pandas/index.pyx, but no pandas/index.c
The only place where index.c is currently mentioned is in pandas.egg-info/SOURCES.txt (I am not very familiar with the c build tools)
I am running ubuntu and have the project installed in a virtualenv. numpy.**version** = 1.6.2
I am running gcc-4.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/2514/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2514/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2515 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2515/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2515/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2515/events | https://github.com/pandas-dev/pandas/issues/2515 | 9,242,842 | MDU6SXNzdWU5MjQyODQy | 2,515 | ENH: add line-width="auto" support | {
"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 | [] | {
"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 | "2012-12-13T05:25:41Z" | "2013-06-19T03:00:47Z" | "2013-06-19T03:00:47Z" | NONE | null | see #2076.
the recurring "not really a terminal" issue again (#2275).
will need to check for qtconsole, notebook and IDLE.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2515/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2515/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2516 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2516/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2516/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2516/events | https://github.com/pandas-dev/pandas/pull/2516 | 9,244,952 | MDExOlB1bGxSZXF1ZXN0MzM1MTU2Nw== | 2,516 | add option_context context manager | {
"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 | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-12-13T08:15:27Z" | "2014-07-11T02:59:46Z" | "2012-12-13T14:50:39Z" | NONE | null | #2507 (partial)
best merge this soonish to save constant rebasing and conflicts.
rebased on top of #2504
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2516/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2516/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2516.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2516",
"merged_at": "2012-12-13T14:50:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/2516.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2516"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2517 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2517/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2517/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2517/events | https://github.com/pandas-dev/pandas/issues/2517 | 9,247,131 | MDU6SXNzdWU5MjQ3MTMx | 2,517 | DataFrame.from_dict should respect OrderedDict | {
"avatar_url": "https://avatars.githubusercontent.com/u/171319?v=4",
"events_url": "https://api.github.com/users/akloster/events{/privacy}",
"followers_url": "https://api.github.com/users/akloster/followers",
"following_url": "https://api.github.com/users/akloster/following{/other_user}",
"gists_url": "https://api.github.com/users/akloster/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/akloster",
"id": 171319,
"login": "akloster",
"node_id": "MDQ6VXNlcjE3MTMxOQ==",
"organizations_url": "https://api.github.com/users/akloster/orgs",
"received_events_url": "https://api.github.com/users/akloster/received_events",
"repos_url": "https://api.github.com/users/akloster/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/akloster/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/akloster/subscriptions",
"type": "User",
"url": "https://api.github.com/users/akloster"
} | [
{
"color": "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-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 6 | "2012-12-13T10:01:57Z" | "2012-12-14T02:29:47Z" | "2012-12-14T02:29:40Z" | CONTRIBUTOR | null | Hi, I'm repeatedly running into an issue where I want a specific ordering of columns and rows. Often that won't work. I usually have to get around the restriction by converting this to lists etc., which makes everything a little messier than using dictionaries for indexing.
I more or less figured out why. In DataFrame.from_dict my OrderedDict is used to populate a OrderedDict(dict) class.
Do you think it would be a good idea to change this to "OrderedDict"?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2517/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2517/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2518 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2518/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2518/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2518/events | https://github.com/pandas-dev/pandas/pull/2518 | 9,248,106 | MDExOlB1bGxSZXF1ZXN0MzM1MzAwMg== | 2,518 | BUG: df.from_dict should respect OrderedDict | {
"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 | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-12-13T10:43:30Z" | "2014-06-19T10:31:02Z" | "2012-12-13T22:59:36Z" | NONE | null | related #2517
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2518/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2518/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2518.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2518",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2518.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2518"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2519 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2519/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2519/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2519/events | https://github.com/pandas-dev/pandas/pull/2519 | 9,254,648 | MDExOlB1bGxSZXF1ZXN0MzM1NjM4Nw== | 2,519 | Fixed DataFrame.any() docstring | {
"avatar_url": "https://avatars.githubusercontent.com/u/776593?v=4",
"events_url": "https://api.github.com/users/adamobeng/events{/privacy}",
"followers_url": "https://api.github.com/users/adamobeng/followers",
"following_url": "https://api.github.com/users/adamobeng/following{/other_user}",
"gists_url": "https://api.github.com/users/adamobeng/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/adamobeng",
"id": 776593,
"login": "adamobeng",
"node_id": "MDQ6VXNlcjc3NjU5Mw==",
"organizations_url": "https://api.github.com/users/adamobeng/orgs",
"received_events_url": "https://api.github.com/users/adamobeng/received_events",
"repos_url": "https://api.github.com/users/adamobeng/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/adamobeng/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adamobeng/subscriptions",
"type": "User",
"url": "https://api.github.com/users/adamobeng"
} | [] | closed | false | null | [] | null | 1 | "2012-12-13T15:12:09Z" | "2013-08-20T22:01:02Z" | "2012-12-13T15:33:21Z" | CONTRIBUTOR | null | Used to be the same as DataFrame.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/2519/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2519/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2519.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2519",
"merged_at": "2012-12-13T15:33:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/2519.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2519"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2520 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2520/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2520/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2520/events | https://github.com/pandas-dev/pandas/issues/2520 | 9,257,950 | MDU6SXNzdWU5MjU3OTUw | 2,520 | DOC: formatters in DataFrame.to_html cannot be list | {
"avatar_url": "https://avatars.githubusercontent.com/u/805293?v=4",
"events_url": "https://api.github.com/users/craustin/events{/privacy}",
"followers_url": "https://api.github.com/users/craustin/followers",
"following_url": "https://api.github.com/users/craustin/following{/other_user}",
"gists_url": "https://api.github.com/users/craustin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/craustin",
"id": 805293,
"login": "craustin",
"node_id": "MDQ6VXNlcjgwNTI5Mw==",
"organizations_url": "https://api.github.com/users/craustin/orgs",
"received_events_url": "https://api.github.com/users/craustin/received_events",
"repos_url": "https://api.github.com/users/craustin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/craustin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/craustin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/craustin"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 4 | "2012-12-13T16:47:27Z" | "2012-12-13T17:33:34Z" | "2012-12-13T17:33:34Z" | NONE | null | ```
pandas\core\frame.pyc in to_html(self, buf, columns, col_space, colSpace, header, index, na_rep, formatters, float_format, sparsify, index_names, justify, force_unicode, bold_rows, classes)
1537 header=header, index=index,
1538 bold_rows=bold_rows)
-> 1539 formatter.to_html(classes=classes)
1540
1541 if buf is None:
pandas\core\format.pyc in to_html(self, classes)
374 """
375 html_renderer = HTMLFormatter(self, classes=classes)
--> 376 html_renderer.write_result(self.buf)
377
378 def _get_formatted_column_labels(self):
pandas\core\format.pyc in write_result(self, buf)
549 indent += self.indent_delta
550 indent = self._write_header(indent)
--> 551 indent = self._write_body(indent)
552
553 self.write('</table>', indent)
pandas\core\format.pyc in _write_body(self, indent)
635 fmt_values = {}
636 for i in range(len(self.columns)):
--> 637 fmt_values[i] = self.fmt._format_col(i)
638
639 # write values
pandas\core\format.pyc in _format_col(self, i)
363 def _format_col(self, i):
364 col = self.columns[i]
--> 365 formatter = self.formatters.get(col)
366 return format_array(self.frame.icol(i).values, formatter,
367 float_format=self.float_format,
AttributeError: 'list' object has no attribute 'get'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2520/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2520/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2521 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2521/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2521/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2521/events | https://github.com/pandas-dev/pandas/issues/2521 | 9,259,593 | MDU6SXNzdWU5MjU5NTkz | 2,521 | More flexible binning/aggregation of time series data | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | 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"
} | 3 | "2012-12-13T17:37:44Z" | "2014-05-28T22:53:39Z" | null | MEMBER | null | from mailing list
``````
I have TimeSeries that has observations at the second level:
mport pandas as pd
import numpy as np
rng = pd.date_range('2012-01-01', '2012-01-10', freq='T')
s = pd.TimeSeries(np.random.randn(12961)*100, index=rng)
I now want to resample the data to daily at 17:59:59, so that I have the sum of positions at 17:59:59 for all days in range.
If I didn't care about the time I could just do:
s1 = s.resample('D',how='sum')
Does anyone have a suggestion?```
``````
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2521/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2521/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2522 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2522/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2522/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2522/events | https://github.com/pandas-dev/pandas/pull/2522 | 9,260,251 | MDExOlB1bGxSZXF1ZXN0MzM1OTQwNQ== | 2,522 | A typo for a DataFrame method | {
"avatar_url": "https://avatars.githubusercontent.com/u/98194?v=4",
"events_url": "https://api.github.com/users/garaud/events{/privacy}",
"followers_url": "https://api.github.com/users/garaud/followers",
"following_url": "https://api.github.com/users/garaud/following{/other_user}",
"gists_url": "https://api.github.com/users/garaud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/garaud",
"id": 98194,
"login": "garaud",
"node_id": "MDQ6VXNlcjk4MTk0",
"organizations_url": "https://api.github.com/users/garaud/orgs",
"received_events_url": "https://api.github.com/users/garaud/received_events",
"repos_url": "https://api.github.com/users/garaud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/garaud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/garaud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/garaud"
} | [] | closed | false | null | [] | null | 1 | "2012-12-13T17:58:52Z" | "2013-07-13T19:57:54Z" | "2012-12-13T18:13:17Z" | CONTRIBUTOR | null | Hi there,
I was reading this useful and very good doc. I saw an 'argmax' instead of 'idxmax' in the 'Essential basic functionality' part.
See you.
Damien
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2522/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2522/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2522.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2522",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2522.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2522"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2523 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2523/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2523/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2523/events | https://github.com/pandas-dev/pandas/issues/2523 | 9,261,005 | MDU6SXNzdWU5MjYxMDA1 | 2,523 | Exception using float as 'diff' periods | {
"avatar_url": "https://avatars.githubusercontent.com/u/805293?v=4",
"events_url": "https://api.github.com/users/craustin/events{/privacy}",
"followers_url": "https://api.github.com/users/craustin/followers",
"following_url": "https://api.github.com/users/craustin/following{/other_user}",
"gists_url": "https://api.github.com/users/craustin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/craustin",
"id": 805293,
"login": "craustin",
"node_id": "MDQ6VXNlcjgwNTI5Mw==",
"organizations_url": "https://api.github.com/users/craustin/orgs",
"received_events_url": "https://api.github.com/users/craustin/received_events",
"repos_url": "https://api.github.com/users/craustin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/craustin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/craustin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/craustin"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 2 | "2012-12-13T18:20:20Z" | "2012-12-14T03:19:46Z" | "2012-12-14T03:19:46Z" | NONE | null | from pandas import DataFrame
df = DataFrame({'US': [1, 2]}, index=[datetime(2012,1,1), datetime(2012,1,2)])
df.diff(1.)
This succeeded in 0.9.0. Now it raises:
pandas\core\frame.pyc in diff(self, periods)
3937 diffed : DataFrame
3938 """
-> 3939 new_blocks = [b.diff(periods) for b in self._data.blocks]
3940 new_data = BlockManager(new_blocks, [self.columns, self.index])
3941 return self._constructor(new_data)
pandas\core\internals.pyc in diff(self, n)
292
293 def diff(self, n):
--> 294 new_values = com.diff(self.values, n, axis=1)
295 return make_block(new_values, self.items, self.ref_items)
296
pandas\core\common.pyc in diff(arr, n, axis)
470 if arr.ndim == 2 and arr.dtype.name in _diff_special:
471 f = _diff_special[arr.dtype.name]
--> 472 f(arr, out_arr, n, axis)
473 else:
474 res_indexer = [slice(None)] \* arr.ndim
pandas\algos.pyd in pandas.algos.diff_2d_int64 (pandas\algos.c:14030)()
TypeError: 'float' object cannot be interpreted as an index
This might very well be a desired change - but it's something we'll have to work around. I'm just reporting it for completeness :-)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2523/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2523/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2524 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2524/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2524/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2524/events | https://github.com/pandas-dev/pandas/issues/2524 | 9,261,322 | MDU6SXNzdWU5MjYxMzIy | 2,524 | Don't make it impossible to get full DataFrame.info summary when lots of columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 1 | "2012-12-13T18:29:10Z" | "2016-10-12T23:03:25Z" | "2012-12-14T03:55:56Z" | MEMBER | null | Max is hard-coded to 100
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2524/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2524/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2525 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2525/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2525/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2525/events | https://github.com/pandas-dev/pandas/issues/2525 | 9,264,286 | MDU6SXNzdWU5MjY0Mjg2 | 2,525 | combine_first behavior change | {
"avatar_url": "https://avatars.githubusercontent.com/u/805293?v=4",
"events_url": "https://api.github.com/users/craustin/events{/privacy}",
"followers_url": "https://api.github.com/users/craustin/followers",
"following_url": "https://api.github.com/users/craustin/following{/other_user}",
"gists_url": "https://api.github.com/users/craustin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/craustin",
"id": 805293,
"login": "craustin",
"node_id": "MDQ6VXNlcjgwNTI5Mw==",
"organizations_url": "https://api.github.com/users/craustin/orgs",
"received_events_url": "https://api.github.com/users/craustin/received_events",
"repos_url": "https://api.github.com/users/craustin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/craustin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/craustin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/craustin"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 3 | "2012-12-13T19:58:00Z" | "2012-12-14T02:35:31Z" | "2012-12-14T02:35:31Z" | NONE | null | ``` python
from pandas import DataFrame
from datetime import datetime
df = DataFrame({'US': [1]}, index=[datetime(2012,1,1)])
df2 = DataFrame({}, columns=['EU'])
df.combine_first(df2)
```
In 0.9.0, this returns:
```
US
2012-01-01 1
```
In 0.10.0b1, this returns:
```
EU US
2012-01-01 NaN 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/2525/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2525/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2526 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2526/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2526/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2526/events | https://github.com/pandas-dev/pandas/issues/2526 | 9,264,938 | MDU6SXNzdWU5MjY0OTM4 | 2,526 | Segfault in read_table | {
"avatar_url": "https://avatars.githubusercontent.com/u/1422682?v=4",
"events_url": "https://api.github.com/users/louist87/events{/privacy}",
"followers_url": "https://api.github.com/users/louist87/followers",
"following_url": "https://api.github.com/users/louist87/following{/other_user}",
"gists_url": "https://api.github.com/users/louist87/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/louist87",
"id": 1422682,
"login": "louist87",
"node_id": "MDQ6VXNlcjE0MjI2ODI=",
"organizations_url": "https://api.github.com/users/louist87/orgs",
"received_events_url": "https://api.github.com/users/louist87/received_events",
"repos_url": "https://api.github.com/users/louist87/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/louist87/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/louist87/subscriptions",
"type": "User",
"url": "https://api.github.com/users/louist87"
} | [
{
"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-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 2 | "2012-12-13T20:19:43Z" | "2012-12-14T01:09:17Z" | "2012-12-14T01:09:17Z" | NONE | null | Hello,
I get a segfault in pandas version `0.10.0.dev` when attempting to import a tab-delimited file with `pandas.read_table`.
Here is the code that produces the bug:
``` python
# note: tf is a string containing the path to the file
pd.read_table(tf, names=range(1, 129) + ['ref'], header=None)
```
I tried loading the data into a list and then passing it to the `DataFrame` constructor and was successful. Here's what I did:
``` python
with open(filename, 'rt') as f:
# there is only one line because this file was encoded using '\r' instead of '\n'
data = f.readlines()[0]
# remove the empty strings that occasionally pop up
data = [[s for s in line.split('\t') if s] for line in data.split('\r') if line]
pd.DataFrame(data, columns=range(1, 129) + ['ref']) # works
```
[Here](https://dl.dropbox.com/u/6160029/data.txt) is some example data that you may use.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2526/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2526/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2527 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2527/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2527/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2527/events | https://github.com/pandas-dev/pandas/issues/2527 | 9,267,832 | MDU6SXNzdWU5MjY3ODMy | 2,527 | rolling_mean returns slightly-negative value on Series with only non-negative values | {
"avatar_url": "https://avatars.githubusercontent.com/u/805293?v=4",
"events_url": "https://api.github.com/users/craustin/events{/privacy}",
"followers_url": "https://api.github.com/users/craustin/followers",
"following_url": "https://api.github.com/users/craustin/following{/other_user}",
"gists_url": "https://api.github.com/users/craustin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/craustin",
"id": 805293,
"login": "craustin",
"node_id": "MDQ6VXNlcjgwNTI5Mw==",
"organizations_url": "https://api.github.com/users/craustin/orgs",
"received_events_url": "https://api.github.com/users/craustin/received_events",
"repos_url": "https://api.github.com/users/craustin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/craustin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/craustin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/craustin"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 2 | "2012-12-13T21:46:27Z" | "2012-12-13T22:21:57Z" | "2012-12-13T22:21:16Z" | NONE | null | Seeing this in a few cases. This is the simplest repro I can find:
``` python
from pandas import date_range, rolling_mean, Series
s = Series(index=date_range('1999-02-03','1999-04-05'))
s['1999-02-03'] = 0.00012456
s['1999-02-04'] = 0.0003
s['1999-04-05'] = 0
rolling_mean(s, 1)['1999-04-05']
```
Returns 0 in 0.9.0.
Returns -5E-20 in 0.10.0.
We found this issue because we do a sqrt on the result and expected 0s when the input was a 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/2527/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2527/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2528 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2528/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2528/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2528/events | https://github.com/pandas-dev/pandas/pull/2528 | 9,268,102 | MDExOlB1bGxSZXF1ZXN0MzM2MzUwNA== | 2,528 | ENH: vbench support for HDFStore | {
"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-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 7 | "2012-12-13T21:55:21Z" | "2014-06-26T11:13:06Z" | "2012-12-13T22:52:58Z" | CONTRIBUTOR | null | added benchmarcks to compare (100,000) rows:
- read/write store
- read/write store mixed
- read/write table
- read/write table wide (200 columns)
- read/write table mixed
- query wide/table
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2528/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2528/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2528.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2528",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2528.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2528"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2529 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2529/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2529/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2529/events | https://github.com/pandas-dev/pandas/pull/2529 | 9,268,176 | MDExOlB1bGxSZXF1ZXN0MzM2MzU0NA== | 2,529 | TST: refactoring to speed up test suite | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 1 | "2012-12-13T21:57:31Z" | "2014-06-27T11:27:29Z" | "2012-12-13T22:47:43Z" | CONTRIBUTOR | null | also marked a few tests as slow
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2529/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2529/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2529.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2529",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2529.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2529"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2530 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2530/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2530/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2530/events | https://github.com/pandas-dev/pandas/pull/2530 | 9,274,797 | MDExOlB1bGxSZXF1ZXN0MzM2NzEwNg== | 2,530 | DOC: add FAQ section on monkey-patching | {
"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 | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-12-14T02:58:38Z" | "2014-06-26T11:13:16Z" | "2012-12-14T03:45:44Z" | NONE | null | Added the requisite caveats,
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2530/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2530/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2530.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2530",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2530.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2530"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2531 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2531/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2531/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2531/events | https://github.com/pandas-dev/pandas/pull/2531 | 9,274,990 | MDExOlB1bGxSZXF1ZXN0MzM2NzE5NQ== | 2,531 | Weighted mean | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
}
] | 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"
} | 19 | "2012-12-14T03:15:44Z" | "2014-06-26T17:08:34Z" | "2014-03-09T15:06:03Z" | 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/2531/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2531/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2531.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2531",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2531.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2531"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/2532 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2532/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2532/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2532/events | https://github.com/pandas-dev/pandas/pull/2532 | 9,275,108 | MDExOlB1bGxSZXF1ZXN0MzM2NzI0OQ== | 2,532 | ENH: df.select uses bool(crit(x)) rather then crit(x) | {
"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 | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 1 | "2012-12-14T03:27:16Z" | "2014-06-23T02:50:20Z" | "2012-12-14T03:41:44Z" | NONE | null | closes #2487
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2532/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2532/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2532.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2532",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2532.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2532"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2533 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2533/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2533/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2533/events | https://github.com/pandas-dev/pandas/issues/2533 | 9,275,643 | MDU6SXNzdWU5Mjc1NjQz | 2,533 | "print" is a python keyword, shouldn't be used as options key | {
"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 | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 3 | "2012-12-14T04:10:10Z" | "2012-12-14T04:22:56Z" | "2012-12-14T04:22:56Z" | NONE | null | sorry about this change yet again, but this will
prevent implementing `pd.option.x.y = z` and tab-completion.
what's a good substitute - "disp"? "display"? back to "print_config"?
@wesm, @changhiskhan
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2533/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2533/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2534 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2534/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2534/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2534/events | https://github.com/pandas-dev/pandas/issues/2534 | 9,276,553 | MDU6SXNzdWU5Mjc2NTUz | 2,534 | Parser should strip whitespace around tokens | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [
{
"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-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 1 | "2012-12-14T05:33:19Z" | "2012-12-14T05:38:50Z" | "2012-12-14T05:38:50Z" | CONTRIBUTOR | null | spaces between column names for example:
a,b,c
vs
a, b,c
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2534/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2534/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2535 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2535/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2535/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2535/events | https://github.com/pandas-dev/pandas/issues/2535 | 9,287,458 | MDU6SXNzdWU5Mjg3NDU4 | 2,535 | read_csv, compression, and bad column names. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 4 | "2012-12-14T15:15:16Z" | "2012-12-23T21:44:50Z" | "2012-12-14T16:41:14Z" | CONTRIBUTOR | null | Hi. I've got a data set that I'm working with from [here](http://epp.eurostat.ec.europa.eu/NavTree_prod/everybody/BulkDownloadListing?dir=data&sort=1&sort=2&start=b), the `bop_its_det.tsv.gz` file. [Direct Link](http://epp.eurostat.ec.europa.eu/NavTree_prod/everybody/BulkDownloadListing?sort=1&file=data%2Fbop_its_det.tsv.gz). It's about 80 MB unzipped. I tried to create a csv of just the first 10 rows [here](https://www.dropbox.com/s/u1pz5gvbwwaupjn/test.csv) but I think I messed up some of the newlines. [Here's](https://gist.github.com/4286107) a gist of the plain text.
I want to say up front that I'm using pandas version `0.10.0.dev-16774b3`, which I think is from a couple days before the official 10.0 beta was released, so maybe this isn't an issue anymore.
Someone in the EU's stats department decided it would be a good idea to separate some column names by columns and others by tabs so the first line looks like
```
In [332]: f = open('BulkDownloadListing.tsv', 'r')
In [333]: f.readline()
Out[333]: 'currency,post,flow,partner,geo\\time\t2011 \t2010 \t2009 \t2008 \t2007 \t2006 \t2005 \t2004 \n'
```
read_csv can handle this fine with:
```
df = pd.read_csv('BulkDownloadListing.tsv', sep=',|s*\t', na_values=[':', ' :', ': '], nrows=10)
```
when I try with the compressed file `BulkDownloadListing.gz`:
```
df = pd.read_csv('BulkDownloadListing.gz', compression='gzip', sep=',|s*\t', na_values=[':', ' :', ': '], nrows=10)
```
I get
```
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-337-07c5e7dff532> in <module>()
----> 1 df = pd.read_csv('BulkDownloadListing.gz', compression='gzip', sep=',|s*\t', na_values=[':', ' :', ': '], nrows=10)
/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.10.0.dev_16774b3-py2.7-macosx-10.8-x86_64.egg/pandas/io/parsers.pyc in parser_f(filepath_or_buffer, sep, dialect, compression, doublequote, escapechar, quotechar, quoting, skipinitialspace, lineterminator, header, index_col, names, prefix, skiprows, skipfooter, skip_footer, na_values, true_values, false_values, delimiter, converters, dtype, usecols, engine, delim_whitespace, as_recarray, na_filter, compact_ints, use_unsigned, low_memory, buffer_lines, warn_bad_lines, error_bad_lines, keep_default_na, thousands, comment, decimal, parse_dates, keep_date_col, dayfirst, date_parser, memory_map, nrows, iterator, chunksize, verbose, encoding, squeeze)
392 buffer_lines=buffer_lines)
393
--> 394 return _read(filepath_or_buffer, kwds)
395
396 parser_f.__name__ = name
/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.10.0.dev_16774b3-py2.7-macosx-10.8-x86_64.egg/pandas/io/parsers.pyc in _read(filepath_or_buffer, kwds)
204
205 if nrows is not None:
--> 206 return parser.read(nrows)
207 elif chunksize or iterator:
208 return parser
/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.10.0.dev_16774b3-py2.7-macosx-10.8-x86_64.egg/pandas/io/parsers.pyc in read(self, nrows)
622 # self._engine.set_error_bad_lines(False)
623
--> 624 ret = self._engine.read(nrows)
625
626 if self.options.get('as_recarray'):
/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.10.0.dev_16774b3-py2.7-macosx-10.8-x86_64.egg/pandas/io/parsers.pyc in read(self, rows)
1238 content = content[1:]
1239
-> 1240 alldata = self._rows_to_cols(content)
1241 data = self._exclude_implicit_index(alldata)
1242
/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.10.0.dev_16774b3-py2.7-macosx-10.8-x86_64.egg/pandas/io/parsers.pyc in _rows_to_cols(self, content)
1454 msg = ('Expected %d fields in line %d, saw %d' %
1455 (col_len, row_num + 1, zip_len))
-> 1456 raise ValueError(msg)
1457
1458 return zipped_content
ValueError: Expected 5 fields in line 3, saw 11
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2535/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2535/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2536 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2536/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2536/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2536/events | https://github.com/pandas-dev/pandas/pull/2536 | 9,291,379 | MDExOlB1bGxSZXF1ZXN0MzM3NTMzNQ== | 2,536 | BUG: pytables minor changes | {
"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-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 1 | "2012-12-14T17:17:34Z" | "2014-06-17T10:09:37Z" | "2012-12-15T22:28:56Z" | CONTRIBUTOR | null | - ENH: moved Term to top-level panas namespace (like HDFStore)
- BUG: writing a Panel4D in cython (lib.pyx)
- BUG: interpreting axes paremeter to orient data
- BUG/ENH: allow appending of a different order of non_index_axes data
which then is ordered according to on-disk data
- DOC: explanation of how to orient data to provide optimal append/delete operations
- BUG/TST: more complete coverage of ndim and non-default axes ordering
- removed debugging memory calls
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2536/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2536/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2536.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2536",
"merged_at": "2012-12-15T22:28:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/2536.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2536"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2537 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2537/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2537/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2537/events | https://github.com/pandas-dev/pandas/issues/2537 | 9,292,632 | MDU6SXNzdWU5MjkyNjMy | 2,537 | TimeGrouper error on PanelGroupBy.agg with custom functions. | {
"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": "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-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 1 | "2012-12-14T18:01:02Z" | "2012-12-16T04:43:19Z" | "2012-12-16T04:43:19Z" | CONTRIBUTOR | null | http://nbviewer.ipython.org/4287202/
When using a regular groupby, custom agg functions will receive a Panel as expected. If you groupby with TimeGrouper, the agg function will receive a Series. The regular cython aggregates likes mean, sum work fine.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2537/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2537/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2538 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2538/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2538/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2538/events | https://github.com/pandas-dev/pandas/issues/2538 | 9,295,011 | MDU6SXNzdWU5Mjk1MDEx | 2,538 | date_range() alert user when using periods and end args? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1972276?v=4",
"events_url": "https://api.github.com/users/hugadams/events{/privacy}",
"followers_url": "https://api.github.com/users/hugadams/followers",
"following_url": "https://api.github.com/users/hugadams/following{/other_user}",
"gists_url": "https://api.github.com/users/hugadams/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hugadams",
"id": 1972276,
"login": "hugadams",
"node_id": "MDQ6VXNlcjE5NzIyNzY=",
"organizations_url": "https://api.github.com/users/hugadams/orgs",
"received_events_url": "https://api.github.com/users/hugadams/received_events",
"repos_url": "https://api.github.com/users/hugadams/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hugadams/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hugadams/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hugadams"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
}
] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 1 | "2012-12-14T19:31:37Z" | "2012-12-14T23:21:37Z" | "2012-12-14T23:21:36Z" | NONE | null | Hi all,
I am using date_range() and noticed that if the arguments start, end and period are all passed, the _period_ argument essentially overrides _end_.
For example, consider the following index created using start and end:
```
start = datetime(2011, 1, 1, 5, 3, 40)
end = datetime(2011, 1, 1, 8, 9, 40)
tmanual=date_range(start, end, freq='s')
>>>[2011-01-01 05:03:40, ..., 2011-01-01 08:09:40]
```
An alternative is to provide a start time, and then a number of periods.
```
tperiods=date_range(start, freq='s', periods=10)
>>> [2011-01-01 05:03:40, ..., 2011-01-01 05:03:49]
```
The weird part is when I pass all three arguments (start, end and periods). It actually defers to the output of tperiods.
```
tweird=date_range(start, end, freq='s', period=10)
>>>[2011-01-01 05:03:40, ..., 2011-01-01 05:03:49]
```
Thus, there is no difference between the following calls:
```
date_range(start, freq='s', periods=10)
date_range(start, end, freq='s', period=10)
```
IMO, I think this should at least yield an error or a flag. My preferred behavior would actually yield a DatetimeIndex that runs from start to end, sampling 10 times over the entire array of second-spaced data. One would be effectively defining a step size for sampling of length (start-end)/period, where start-end is an array spaced at second intervals.
What do you guys think? Here's an example of how the function could work:
```
def date_range(...):
........
if start and end and period:
tindex=date_range(start, end, freq=freq)
return tindex[0 :: period]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2538/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2538/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2539 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2539/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2539/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2539/events | https://github.com/pandas-dev/pandas/issues/2539 | 9,301,706 | MDU6SXNzdWU5MzAxNzA2 | 2,539 | read_csv backwards compatibility: set header to None when names is passed | {
"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": "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-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 4 | "2012-12-15T00:17:30Z" | "2012-12-16T16:14:59Z" | "2012-12-15T23:12:48Z" | CONTRIBUTOR | null | Given the awesome work on read_csv() pending for 0.10, this may be a necessary change, however, for backwards compatibility, can the `names` parameter change to implicitly set `header` to None again? The new behavior of `names` is clearly documented, so feel free to reject as the new default.
Up to and including 0.9.1, specifying the names parameter implied the first row is data, not header.
```
In [1]: pd.__version__
Out[1]: '0.9.1'
In [2]: pd.read_csv("sample.csv", names=['c0', 'c1'])
Out[2]:
c0 c1
0 abcd efghi
1 jkl mnop
```
It came as a surprise that this no longer worked -- easily worked around though.
```
In [1]: pd.__version__
Out[1]: '0.10.0b1'
In [2]: pd.read_csv("sample.csv", names=['c0', 'c1'])
Out[2]:
c0 c1
0 jkl mnop
In [3]: pd.read_csv("sample.csv", names=['c0', 'c1'], header=None)
Out[3]:
c0 c1
0 abcd efghi
1 jkl mnop
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2539/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2539/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2540 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2540/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2540/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2540/events | https://github.com/pandas-dev/pandas/pull/2540 | 9,303,545 | MDExOlB1bGxSZXF1ZXN0MzM4MTkyNA== | 2,540 | Fix compilation on MSVC, signbit not in math.h | {
"avatar_url": "https://avatars.githubusercontent.com/u/453086?v=4",
"events_url": "https://api.github.com/users/dieterv77/events{/privacy}",
"followers_url": "https://api.github.com/users/dieterv77/followers",
"following_url": "https://api.github.com/users/dieterv77/following{/other_user}",
"gists_url": "https://api.github.com/users/dieterv77/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dieterv77",
"id": 453086,
"login": "dieterv77",
"node_id": "MDQ6VXNlcjQ1MzA4Ng==",
"organizations_url": "https://api.github.com/users/dieterv77/orgs",
"received_events_url": "https://api.github.com/users/dieterv77/received_events",
"repos_url": "https://api.github.com/users/dieterv77/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dieterv77/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dieterv77/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dieterv77"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 1 | "2012-12-15T03:36:15Z" | "2014-06-27T11:49:27Z" | "2012-12-15T21:09:53Z" | CONTRIBUTOR | null | Another MSVC hack, this time to deal with the fact that signbit is not in math.h.
By using the _copysign, you can avoid potential issues with "negative zeros"
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2540/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2540/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2540.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2540",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2540.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2540"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2541 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2541/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2541/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2541/events | https://github.com/pandas-dev/pandas/issues/2541 | 9,309,944 | MDU6SXNzdWU5MzA5OTQ0 | 2,541 | DOC: Update the doc about Sql IO | {
"avatar_url": "https://avatars.githubusercontent.com/u/98194?v=4",
"events_url": "https://api.github.com/users/garaud/events{/privacy}",
"followers_url": "https://api.github.com/users/garaud/followers",
"following_url": "https://api.github.com/users/garaud/following{/other_user}",
"gists_url": "https://api.github.com/users/garaud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/garaud",
"id": 98194,
"login": "garaud",
"node_id": "MDQ6VXNlcjk4MTk0",
"organizations_url": "https://api.github.com/users/garaud/orgs",
"received_events_url": "https://api.github.com/users/garaud/received_events",
"repos_url": "https://api.github.com/users/garaud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/garaud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/garaud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/garaud"
} | [
{
"color": "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-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 1 | "2012-12-15T18:51:44Z" | "2013-01-20T01:43:00Z" | "2013-01-20T01:43:00Z" | CONTRIBUTOR | null | I don't know if the piece of code to read/write into SQL database such as Sqlite is robust enough to write something about this (great) feature in the doc (i.e "io.rst" file).
I would like to write a tiny section about 'execute', 'tquery' & 'read_frame' methods with some examples.
Do you think that it's relevant?
Cheers,
Damien
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2541/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2541/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2542 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2542/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2542/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2542/events | https://github.com/pandas-dev/pandas/issues/2542 | 9,310,598 | MDU6SXNzdWU5MzEwNTk4 | 2,542 | Updating DataFrame element silently fails | {
"avatar_url": "https://avatars.githubusercontent.com/u/81476?v=4",
"events_url": "https://api.github.com/users/fonnesbeck/events{/privacy}",
"followers_url": "https://api.github.com/users/fonnesbeck/followers",
"following_url": "https://api.github.com/users/fonnesbeck/following{/other_user}",
"gists_url": "https://api.github.com/users/fonnesbeck/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fonnesbeck",
"id": 81476,
"login": "fonnesbeck",
"node_id": "MDQ6VXNlcjgxNDc2",
"organizations_url": "https://api.github.com/users/fonnesbeck/orgs",
"received_events_url": "https://api.github.com/users/fonnesbeck/received_events",
"repos_url": "https://api.github.com/users/fonnesbeck/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fonnesbeck/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fonnesbeck/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fonnesbeck"
} | [] | closed | false | null | [] | null | 2 | "2012-12-15T20:17:02Z" | "2013-09-21T13:43:11Z" | "2012-12-15T20:25:11Z" | NONE | null | I have a DataFrame that I am using to keep track of student grades during a course. Here is a sample record:
```
In [18]: grades.ix[8]
Out[18]:
Unnamed: 0 8
Name Johnny Student
hw1 50
hw2 50
hw3 50
hw4 50
exam 100
grade 100
Name: 8
```
Let's say I want to update Johnny's exam score to 95:
```
In [19]: grades.ix[8]["exam"]
Out[19]: 100
In [20]: grades.ix[8]["exam"] = 95
In [21]: grades.ix[8]["exam"]
Out[21]: 100
```
Its not clear why this should fail, but more importantly, it should not fail silently.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2542/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2542/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2543 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2543/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2543/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2543/events | https://github.com/pandas-dev/pandas/issues/2543 | 9,310,992 | MDU6SXNzdWU5MzEwOTky | 2,543 | Label setting in x vs y plot | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | {
"closed_at": "2013-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 1 | "2012-12-15T21:07:25Z" | "2016-10-12T23:03:25Z" | "2012-12-28T18:47:23Z" | MEMBER | null | ``````
How can I change the label for a 'col1'-'col2'-plot of a DataFrame? pandas seems to set the label automatically, which then clashes with my label setting:
ch7[:21].plot('det','clat',label='ch7')
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-122-0f4833abff5e> in <module>()
1 clf()
----> 2 ch7[:21].plot('det','clat',label='ch7')
/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/pandas-0.10.0b1-py2.7-macosx-10.5-x86_64.egg/pandas/tools/plotting.pyc in plot_frame(frame, x, y, subplots, sharex, sharey, use_index, figsize, grid, legend, rot, ax, style, title, xlim, ylim, logy, xticks, yticks, kind, sort_columns, fontsize, secondary_y, **kwds)
1419 grid=grid, logy=logy, secondary_y=secondary_y,
1420 title=title, figsize=figsize, fontsize=fontsize,
-> 1421 **kwds)
1422
1423 plot_obj = klass(frame, kind=kind, subplots=subplots, rot=rot,
TypeError: plot_series() got multiple values for keyword argument 'label'
Version: '0.10.0b1'```
``````
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2543/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2543/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2544 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2544/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2544/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2544/events | https://github.com/pandas-dev/pandas/issues/2544 | 9,312,486 | MDU6SXNzdWU5MzEyNDg2 | 2,544 | ENH: squeeze - lower dimensionaility of a structure by removing exactly len 1 dims | {
"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": "DDDDDD",
"default": false,
"description": "Long-Term Enhancement Discussions",
"id": 157369,
"name": "Ideas",
"node_id": "MDU6TGFiZWwxNTczNjk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Ideas"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 1 | "2012-12-16T00:44:11Z" | "2013-01-23T16:10:46Z" | "2013-01-23T16:10:46Z" | CONTRIBUTOR | null | like numpy.sqeeze but returns the correct pandas object
add in core/generic?
anyone like squash better?
(prob a fair number of special cases where need to check, e.g. empty Series)...
so propose for 0.11
```
def squeeze(self):
""" squeeze length 1 dimensions """
return self.ix[tuple([ a[0] if len(a) == 1 else slice(None) for a in self.axes ])]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2544/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2544/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2545 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2545/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2545/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2545/events | https://github.com/pandas-dev/pandas/pull/2545 | 9,312,526 | MDExOlB1bGxSZXF1ZXN0MzM4NDc1MQ== | 2,545 | BUG: Pytables minor changes 2 | {
"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-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-12-16T00:50:02Z" | "2014-06-26T11:25:39Z" | "2012-12-16T17:34:32Z" | CONTRIBUTOR | null | ordering in returned data on an index axis if the selection (Term) has a lot of values
e.g. had > 61 fields that were specified in a Term (weird but 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/2545/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2545/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2545.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2545",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2545.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2545"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2546 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2546/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2546/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2546/events | https://github.com/pandas-dev/pandas/issues/2546 | 9,313,216 | MDU6SXNzdWU5MzEzMjE2 | 2,546 | BLD: add PyTables,Numexpr to Travis vbench build | {
"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 | 1 | "2012-12-16T03:17:16Z" | "2012-12-16T11:18:21Z" | "2012-12-16T11:18:21Z" | CONTRIBUTOR | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2546/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2546/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/2547 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2547/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2547/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2547/events | https://github.com/pandas-dev/pandas/issues/2547 | 9,315,263 | MDU6SXNzdWU5MzE1MjYz | 2,547 | Add vbench job to jenkins | {
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 3 | "2012-12-16T11:15:58Z" | "2013-07-22T20:01:05Z" | "2013-07-22T20:01:05Z" | NONE | null | a vbench jobs was added to travis (ae80d24e) 3 weeks ago,
Today I did some more work there, added some code to make it easy
to collect all that data back into a comfy dataframe,
Although I think this was a cool hack (and although using pandas
and statsmodels to fit a model and get some confidence intervals on the results
would make it even cooler), It basically looks like the results fluctuate too much
to make this a useful metric. The repeatability is awful,
@changhiskhan mentioned you have a jenkins server stowed somewhere,
all the building blocks are already in place for jenkins to test commits on master
and give a reliable alert when a performance regression occurs, It might be a good
idea to set that up.
I'll leave the VBENCH build active in travis, It's a poignant dataset to use in some
future pandas tutorial ( timeseries, plotting, parsing, aligning, cleaning, etc')
You can play with the data yourself if you're interested:
``` python
In [1]: cd ~/src/pandas/vb_suite/
In [3]: from perf_HEAD import get_all_results_joined
In [4]: df=get_all_results_joined()
In [27]: df
Out[27]:
<class 'pandas.core.frame.DataFrame'>
Index: 140 entries, append_frame_single_homogenous to write_csv_standard
Columns: 187 entries, 771 to 968
dtypes: float64(187)
In [28]: df.index[:5]
Out[28]: Index([append_frame_single_homogenous, append_frame_single_mixed, concat_series_axis1, concat_small_frames, ctor_index_array_string], dtype=object)
```

| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2547/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2547/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2548 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2548/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2548/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2548/events | https://github.com/pandas-dev/pandas/issues/2548 | 9,315,813 | MDU6SXNzdWU5MzE1ODEz | 2,548 | failing vbenches | {
"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 | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
}
] | {
"closed_at": "2013-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 4 | "2012-12-16T12:52:34Z" | "2013-01-20T23:58:28Z" | "2013-01-20T19:01:51Z" | NONE | null | https://travis-ci.org/pydata/pandas/jobs/3687471
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2548/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2548/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2549 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2549/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2549/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2549/events | https://github.com/pandas-dev/pandas/issues/2549 | 9,318,048 | MDU6SXNzdWU5MzE4MDQ4 | 2,549 | BUG: string output on PeriodIndex fails | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-12-16T18:17:49Z" | "2012-12-17T15:15:50Z" | "2012-12-17T15:15:50Z" | CONTRIBUTOR | null | used to work in 0.9.1.
this is on current master
```
In [1]: import numpy as np
In [2]: import pandas as pd
In [3]: index = pd.PeriodIndex(['2011-1', '2011-2', '2011-3'], freq='M')
In [4]: frame = pd.DataFrame(np.random.randn(3,4),index=index)
In [5]: frame.to_string()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-5-b6219037419a> in <module>()
----> 1 frame.to_string()
/mnt/home/jreback/pandas/pandas/core/frame.pyc in to_string(self, buf, columns, col_space, colSpace, header, index, na_rep, formatters, float_format, sparsify, nanRep, index_names, justify, force_unicode, line_width)
1501 header=header, index=index,
1502 line_width=line_width)
-> 1503 formatter.to_string()
1504
1505 if buf is None:
/mnt/home/jreback/pandas/pandas/core/format.pyc in to_string(self, force_unicode)
295 text = info_line
296 else:
--> 297 strcols = self._to_str_columns()
298 if self.line_width is None:
299 text = adjoin(1, *strcols)
/mnt/home/jreback/pandas/pandas/core/format.pyc in _to_str_columns(self)
240
241 # may include levels names also
--> 242 str_index = self._get_formatted_index()
243 str_columns = self._get_formatted_column_labels()
244
/mnt/home/jreback/pandas/pandas/core/format.pyc in _get_formatted_index(self)
444 formatter=fmt)
445 else:
--> 446 fmt_index = [index.format(name=show_index_names, formatter=fmt)]
447
448 adjoined = adjoin(1, *fmt_index).split('\n')
TypeError: format() got an unexpected keyword argument 'formatter'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2549/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2549/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2550 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2550/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2550/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2550/events | https://github.com/pandas-dev/pandas/issues/2550 | 9,319,267 | MDU6SXNzdWU5MzE5MjY3 | 2,550 | Use requirements.txt to manage dependencies needed for pandas? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1093207?v=4",
"events_url": "https://api.github.com/users/c0state/events{/privacy}",
"followers_url": "https://api.github.com/users/c0state/followers",
"following_url": "https://api.github.com/users/c0state/following{/other_user}",
"gists_url": "https://api.github.com/users/c0state/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/c0state",
"id": 1093207,
"login": "c0state",
"node_id": "MDQ6VXNlcjEwOTMyMDc=",
"organizations_url": "https://api.github.com/users/c0state/orgs",
"received_events_url": "https://api.github.com/users/c0state/received_events",
"repos_url": "https://api.github.com/users/c0state/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/c0state/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/c0state/subscriptions",
"type": "User",
"url": "https://api.github.com/users/c0state"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 1 | "2012-12-16T20:53:29Z" | "2014-05-28T22:52:36Z" | "2014-05-28T22:52:36Z" | NONE | null | For example,
requirements.txt:
nose==1.2.1
Cython==0.17.3
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2550/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2550/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2551 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2551/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2551/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2551/events | https://github.com/pandas-dev/pandas/pull/2551 | 9,320,136 | MDExOlB1bGxSZXF1ZXN0MzM4NzQzNQ== | 2,551 | BUG: fixed DataFrame.to_records() error with datetime64, #1908 | {
"avatar_url": "https://avatars.githubusercontent.com/u/77602?v=4",
"events_url": "https://api.github.com/users/svaksha/events{/privacy}",
"followers_url": "https://api.github.com/users/svaksha/followers",
"following_url": "https://api.github.com/users/svaksha/following{/other_user}",
"gists_url": "https://api.github.com/users/svaksha/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/svaksha",
"id": 77602,
"login": "svaksha",
"node_id": "MDQ6VXNlcjc3NjAy",
"organizations_url": "https://api.github.com/users/svaksha/orgs",
"received_events_url": "https://api.github.com/users/svaksha/received_events",
"repos_url": "https://api.github.com/users/svaksha/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/svaksha/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/svaksha/subscriptions",
"type": "User",
"url": "https://api.github.com/users/svaksha"
} | [] | closed | false | null | [] | null | 2 | "2012-12-16T22:30:37Z" | "2012-12-18T00:38:42Z" | "2012-12-18T00:34: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/2551/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2551/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2551.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2551",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2551.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2551"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/2552 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2552/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2552/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2552/events | https://github.com/pandas-dev/pandas/pull/2552 | 9,321,884 | MDExOlB1bGxSZXF1ZXN0MzM4NzkzMg== | 2,552 | New Pandas Cheat Sheet | {
"avatar_url": "https://avatars.githubusercontent.com/u/3051417?v=4",
"events_url": "https://api.github.com/users/rmauriello/events{/privacy}",
"followers_url": "https://api.github.com/users/rmauriello/followers",
"following_url": "https://api.github.com/users/rmauriello/following{/other_user}",
"gists_url": "https://api.github.com/users/rmauriello/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rmauriello",
"id": 3051417,
"login": "rmauriello",
"node_id": "MDQ6VXNlcjMwNTE0MTc=",
"organizations_url": "https://api.github.com/users/rmauriello/orgs",
"received_events_url": "https://api.github.com/users/rmauriello/received_events",
"repos_url": "https://api.github.com/users/rmauriello/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rmauriello/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rmauriello/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rmauriello"
} | [] | closed | false | null | [] | {
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
} | 10 | "2012-12-17T00:56:32Z" | "2017-03-02T10:36:16Z" | "2013-07-29T05:13:49Z" | NONE | null | Pandas cheatsheet
- created during the PyData Workshop-Sprint 2012
- Hannah Chen, Henry Chow, Eric Cox, Robert Mauriello
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2552/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2552/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2552.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2552",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2552.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2552"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2553 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2553/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2553/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2553/events | https://github.com/pandas-dev/pandas/issues/2553 | 9,331,715 | MDU6SXNzdWU5MzMxNzE1 | 2,553 | Slicing a DataFrame where index has tzinfo produces a DataFrame with index having no tzinfo | {
"avatar_url": "https://avatars.githubusercontent.com/u/33941?v=4",
"events_url": "https://api.github.com/users/hauptmech/events{/privacy}",
"followers_url": "https://api.github.com/users/hauptmech/followers",
"following_url": "https://api.github.com/users/hauptmech/following{/other_user}",
"gists_url": "https://api.github.com/users/hauptmech/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hauptmech",
"id": 33941,
"login": "hauptmech",
"node_id": "MDQ6VXNlcjMzOTQx",
"organizations_url": "https://api.github.com/users/hauptmech/orgs",
"received_events_url": "https://api.github.com/users/hauptmech/received_events",
"repos_url": "https://api.github.com/users/hauptmech/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hauptmech/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hauptmech/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hauptmech"
} | [
{
"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-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 1 | "2012-12-17T12:41:19Z" | "2012-12-17T15:19:33Z" | "2012-12-17T15:19:33Z" | NONE | null | When I slice a DataFrame with an index of datetimes that contains time zone info, the resulting DataFrame index is missing the timezone info.
> > > numpy.**version**
> > > '1.7.0b2'
> > > pandas.**version**
> > > '0.9.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/2553/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2553/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2554 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2554/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2554/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2554/events | https://github.com/pandas-dev/pandas/issues/2554 | 9,339,666 | MDU6SXNzdWU5MzM5NjY2 | 2,554 | Correction in DatetimeIndex in Time Series documentation | {
"avatar_url": "https://avatars.githubusercontent.com/u/1908226?v=4",
"events_url": "https://api.github.com/users/kentwait/events{/privacy}",
"followers_url": "https://api.github.com/users/kentwait/followers",
"following_url": "https://api.github.com/users/kentwait/following{/other_user}",
"gists_url": "https://api.github.com/users/kentwait/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kentwait",
"id": 1908226,
"login": "kentwait",
"node_id": "MDQ6VXNlcjE5MDgyMjY=",
"organizations_url": "https://api.github.com/users/kentwait/orgs",
"received_events_url": "https://api.github.com/users/kentwait/received_events",
"repos_url": "https://api.github.com/users/kentwait/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kentwait/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kentwait/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kentwait"
} | [] | closed | false | null | [] | null | 5 | "2012-12-17T17:10:09Z" | "2013-05-27T13:57:19Z" | "2012-12-17T17:43:43Z" | NONE | null | In the Time Series documentation (http://pandas.pydata.org/pandas-docs/stable/timeseries.html), DatetimeIndex is said to have the following functionality:
```
In [1118]: ts['2011']
Out[1118]:
2011-01-31 -1.281247
2011-02-28 -0.727707
2011-03-31 -0.121306
2011-04-29 -0.097883
2011-05-31 0.695775
2011-06-30 0.341734
2011-07-29 0.959726
2011-08-31 -1.110336
2011-09-30 -0.619976
2011-10-31 0.149748
2011-11-30 -0.732339
2011-12-30 0.687738
Freq: BM
In [1119]: ts['2011-6']
Out[1119]:
2011-06-30 0.341734
Freq: BM
```
I have tried it out in pandas 0.9.1 but it doesn't work.
What does work is `ts.ix['2011']` and `ts.ix['2011-6]`. I hope you correct this misleading mistake. There are a couple more examples of these on that page so please check it out.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2554/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2554/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2555 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2555/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2555/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2555/events | https://github.com/pandas-dev/pandas/pull/2555 | 9,346,025 | MDExOlB1bGxSZXF1ZXN0MzM5OTQ1MQ== | 2,555 | ENH: support for nanosecond time in offset and period | {
"avatar_url": "https://avatars.githubusercontent.com/u/563314?v=4",
"events_url": "https://api.github.com/users/wuan/events{/privacy}",
"followers_url": "https://api.github.com/users/wuan/followers",
"following_url": "https://api.github.com/users/wuan/following{/other_user}",
"gists_url": "https://api.github.com/users/wuan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wuan",
"id": 563314,
"login": "wuan",
"node_id": "MDQ6VXNlcjU2MzMxNA==",
"organizations_url": "https://api.github.com/users/wuan/orgs",
"received_events_url": "https://api.github.com/users/wuan/received_events",
"repos_url": "https://api.github.com/users/wuan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wuan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wuan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wuan"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 24 | "2012-12-17T20:13:15Z" | "2014-06-21T02:43:58Z" | "2013-03-14T11:37:05Z" | CONTRIBUTOR | null | This is my attempt to fix the so far missing nanosecond support for pd.DatetimeIndex (see issue #1812).
The Python modification should be relatively easy to review, but unfortunately I had to do a bigger refactoring of period.c in order to support subsecond times.
Im still working on adding more tests and I will try to include the tests on C level as well (test_period.c, which can only be used standalone so far).
I'm looking forward to your remarks and I will be happy to modify the code to fit it into the project.
Cheers
Andreas
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2555/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2555/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2555.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2555",
"merged_at": "2013-03-14T11:37:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/2555.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2555"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2556 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2556/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2556/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2556/events | https://github.com/pandas-dev/pandas/issues/2556 | 9,346,579 | MDU6SXNzdWU5MzQ2NTc5 | 2,556 | DataFrame sort not stable | {
"avatar_url": "https://avatars.githubusercontent.com/u/2807270?v=4",
"events_url": "https://api.github.com/users/jim22k/events{/privacy}",
"followers_url": "https://api.github.com/users/jim22k/followers",
"following_url": "https://api.github.com/users/jim22k/following{/other_user}",
"gists_url": "https://api.github.com/users/jim22k/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jim22k",
"id": 2807270,
"login": "jim22k",
"node_id": "MDQ6VXNlcjI4MDcyNzA=",
"organizations_url": "https://api.github.com/users/jim22k/orgs",
"received_events_url": "https://api.github.com/users/jim22k/received_events",
"repos_url": "https://api.github.com/users/jim22k/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jim22k/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jim22k/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jim22k"
} | [] | closed | false | null | [] | null | 2 | "2012-12-17T20:28:57Z" | "2012-12-18T22:09:32Z" | "2012-12-18T22:09:32Z" | NONE | null | Passing a list of strings to the DataFrame.sort() method is stable, but passing a string by itself causes the sort to be unstable.
I'm defining sort stability to mean row order is maintained for duplicate values in the sorted column.
## Code to recreate
```
>>>import pandas as pd
>>>df = pd.DataFrame(list('ABCDABCDABCD'), columns=['x'])
>>>print df.sort(['x'])
x
0 A
4 A
8 A
1 B
5 B
9 B
2 C
6 C
10 C
3 D
7 D
11 D
>>>print df.sort('x')
x
0 A
4 A
8 A
1 B
5 B
9 B
6 C
10 C
2 C
3 D
11 D
7 D
```
The index is out of order for C and D in the 2nd case.
pandas version 0.10.0
Python version 2.7.2
Windows 7, 64-bit
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2556/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2556/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2557 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2557/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2557/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2557/events | https://github.com/pandas-dev/pandas/pull/2557 | 9,352,950 | MDExOlB1bGxSZXF1ZXN0MzQwMzA3Ng== | 2,557 | Remove default method 'pad' from fillna docstring | {
"avatar_url": "https://avatars.githubusercontent.com/u/3067257?v=4",
"events_url": "https://api.github.com/users/herrfz/events{/privacy}",
"followers_url": "https://api.github.com/users/herrfz/followers",
"following_url": "https://api.github.com/users/herrfz/following{/other_user}",
"gists_url": "https://api.github.com/users/herrfz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/herrfz",
"id": 3067257,
"login": "herrfz",
"node_id": "MDQ6VXNlcjMwNjcyNTc=",
"organizations_url": "https://api.github.com/users/herrfz/orgs",
"received_events_url": "https://api.github.com/users/herrfz/received_events",
"repos_url": "https://api.github.com/users/herrfz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/herrfz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/herrfz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/herrfz"
} | [] | closed | false | null | [] | null | 3 | "2012-12-17T23:56:18Z" | "2012-12-18T00:21:16Z" | "2012-12-18T00:21:16Z" | 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/2557/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2557/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2557.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2557",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2557.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2557"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/2558 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2558/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2558/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2558/events | https://github.com/pandas-dev/pandas/pull/2558 | 9,353,465 | MDExOlB1bGxSZXF1ZXN0MzQwMzM2NQ== | 2,558 | Update default fillna method in the docstring | {
"avatar_url": "https://avatars.githubusercontent.com/u/3067257?v=4",
"events_url": "https://api.github.com/users/herrfz/events{/privacy}",
"followers_url": "https://api.github.com/users/herrfz/followers",
"following_url": "https://api.github.com/users/herrfz/following{/other_user}",
"gists_url": "https://api.github.com/users/herrfz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/herrfz",
"id": 3067257,
"login": "herrfz",
"node_id": "MDQ6VXNlcjMwNjcyNTc=",
"organizations_url": "https://api.github.com/users/herrfz/orgs",
"received_events_url": "https://api.github.com/users/herrfz/received_events",
"repos_url": "https://api.github.com/users/herrfz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/herrfz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/herrfz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/herrfz"
} | [] | closed | false | null | [] | null | 1 | "2012-12-18T00:20:23Z" | "2012-12-18T00:40:05Z" | "2012-12-18T00:39:56Z" | 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/2558/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2558/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2558.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2558",
"merged_at": "2012-12-18T00:39:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/2558.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2558"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/2559 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2559/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2559/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2559/events | https://github.com/pandas-dev/pandas/issues/2559 | 9,362,861 | MDU6SXNzdWU5MzYyODYx | 2,559 | What's new is not updated for 0.10 | {
"avatar_url": "https://avatars.githubusercontent.com/u/78306?v=4",
"events_url": "https://api.github.com/users/wsteitz/events{/privacy}",
"followers_url": "https://api.github.com/users/wsteitz/followers",
"following_url": "https://api.github.com/users/wsteitz/following{/other_user}",
"gists_url": "https://api.github.com/users/wsteitz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wsteitz",
"id": 78306,
"login": "wsteitz",
"node_id": "MDQ6VXNlcjc4MzA2",
"organizations_url": "https://api.github.com/users/wsteitz/orgs",
"received_events_url": "https://api.github.com/users/wsteitz/received_events",
"repos_url": "https://api.github.com/users/wsteitz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wsteitz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wsteitz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wsteitz"
} | [] | closed | false | null | [] | null | 0 | "2012-12-18T10:13:52Z" | "2012-12-18T23:28:08Z" | "2012-12-18T23:28:08Z" | NONE | null | clicking on what's new shows only the new features of 0.9.1 and older
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2559/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2559/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2560 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2560/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2560/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2560/events | https://github.com/pandas-dev/pandas/issues/2560 | 9,379,879 | MDU6SXNzdWU5Mzc5ODc5 | 2,560 | Adding lambda support inside of __getitem__ for DataFrame, Series, .. etc. | {
"avatar_url": "https://avatars.githubusercontent.com/u/744988?v=4",
"events_url": "https://api.github.com/users/spearsem/events{/privacy}",
"followers_url": "https://api.github.com/users/spearsem/followers",
"following_url": "https://api.github.com/users/spearsem/following{/other_user}",
"gists_url": "https://api.github.com/users/spearsem/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/spearsem",
"id": 744988,
"login": "spearsem",
"node_id": "MDQ6VXNlcjc0NDk4OA==",
"organizations_url": "https://api.github.com/users/spearsem/orgs",
"received_events_url": "https://api.github.com/users/spearsem/received_events",
"repos_url": "https://api.github.com/users/spearsem/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/spearsem/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/spearsem/subscriptions",
"type": "User",
"url": "https://api.github.com/users/spearsem"
} | [] | 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 | "2012-12-18T20:02:50Z" | "2013-09-16T18:59:14Z" | "2013-09-16T18:59:14Z" | NONE | null | To avoid the verbose syntax currently needed to select across many columns of a data frame, here's a suggestion. Inside of DataFrame's **getitem** function, make some special case logic to handle the case where a lambda function is passed in. If a lambda is passed in, then apply it to the dataframe itself and attempt to get the items based on the lambda's result.
Here's an example of what I mean. Suppose that I create a data frame named "dfrm" and it has columns A, B, C, D, and E. Then currently, the following syntax will work to sub-select across conditions on the A and B columns:
dfrm[(lambda x: (x.A < 0) & (x.B > 0))(dfrm)]
By adding the extra handling to **getitem**, you can remove the need for the the last set of parentheses where dfrm itself is passed as the argument to the lambda. **getitem** can check for a callable and just always pass itself to the callable, so that the syntax would look like this:
dfrm[(lambda x: (x.A < 0) & (x.B > 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/2560/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2560/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2561 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2561/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2561/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2561/events | https://github.com/pandas-dev/pandas/pull/2561 | 9,385,278 | MDExOlB1bGxSZXF1ZXN0MzQxOTg2Mw== | 2,561 | ENH: added support for data column queries | {
"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-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 8 | "2012-12-18T23:06:59Z" | "2014-06-12T15:36:20Z" | "2012-12-28T15:07:48Z" | CONTRIBUTOR | null | - can construct searches on the actual columns of the data, by passing keyword `data_columns` to `append`
e.g. store.select('df_dc',[ Term('B>0'), Term('string=foo') ])
(where B and string are columns in the frame)
- added `nan_rep` for supporting string columns with nan's in them
- corectly determine dtypes of data columns that we cannot deal with (date,unicode), raise UnImplementedError
- added support for datetime64 in columns
- added method `unique` to fast retrieval of indexables or data columns
- added keyword `index=True` to automagically create indicies on all indexables and data columns!
- performance enhancements on string columns
- added `chunksize` parameter to append to allow write chunking, significantly lower memory usage on writes
- added `expectedrows` parameter to append to allow specification of the TOTAL expected rows in a table (to optimize performance)
- added `start/stop` parameters to select to allow limiting of the selection space
- added multi-index dataframe support (closes GH #1277 )
- added `append_to_multple`, `select_as_multiple` and `select_as_coordinates` methods to support multiple-table creation & selection
- removed compression kw from put, replaced with complib (to make more consistent across library)
- Term parsing a little more robust
- more tests & docs for data columns
- added whatsnew 0.10.1 docs
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2561/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2561/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2561.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2561",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2561.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2561"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2562 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2562/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2562/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2562/events | https://github.com/pandas-dev/pandas/issues/2562 | 9,385,926 | MDU6SXNzdWU5Mzg1OTI2 | 2,562 | pytz/dateutil and matplotlib | {
"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"
} | [] | 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 | "2012-12-18T23:33:23Z" | "2014-01-25T01:07:34Z" | "2013-09-20T17:19:36Z" | CONTRIBUTOR | null | I just installed the python stack on a new system and replicated a problem I see often. I assume it comes from the fact that dateutil and pytz are installed by matplotlib and then pandas adds them to easy-install.pth because of the install_requires in setup.py. I see this message every time I start the interpreter due to my default imports. This gets quite old. Do others see this. Should I be doing something else? So far I just go in and delete the entries that pandas puts in easy-install.pth.
```
/usr/local/lib/python2.7/dist-packages/pytz/__init__.py:35: UserWarning: Module pytz was already imported from /usr/local/lib/python2.7/dist-packages/pytz/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/pytz-2012h-py2.7.egg is being added to sys.path
from pkg_resources import resource_stream
/usr/local/lib/python2.7/dist-packages/pytz/__init__.py:35: UserWarning: Module dateutil was already imported from /usr/local/lib/python2.7/dist-packages/dateutil/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/python_dateutil-2.1-py2.7.egg is being added to sys.path
from pkg_resources import resource_stream
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2562/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2562/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2563 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2563/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2563/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2563/events | https://github.com/pandas-dev/pandas/issues/2563 | 9,393,507 | MDU6SXNzdWU5MzkzNTA3 | 2,563 | DatetimeIndex.unique() returns datetime64 | {
"avatar_url": "https://avatars.githubusercontent.com/u/2418513?v=4",
"events_url": "https://api.github.com/users/aldanor/events{/privacy}",
"followers_url": "https://api.github.com/users/aldanor/followers",
"following_url": "https://api.github.com/users/aldanor/following{/other_user}",
"gists_url": "https://api.github.com/users/aldanor/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aldanor",
"id": 2418513,
"login": "aldanor",
"node_id": "MDQ6VXNlcjI0MTg1MTM=",
"organizations_url": "https://api.github.com/users/aldanor/orgs",
"received_events_url": "https://api.github.com/users/aldanor/received_events",
"repos_url": "https://api.github.com/users/aldanor/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aldanor/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aldanor/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aldanor"
} | [] | closed | false | null | [] | {
"closed_at": "2013-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 0 | "2012-12-19T08:19:01Z" | "2012-12-28T14:10:16Z" | "2012-12-28T14:10:16Z" | CONTRIBUTOR | null | ```
>>> pd.DatetimeIndex(['2011-01-01', '2011-01-02']).unique()
array([1970-01-15 104:00:00, 1970-01-15 128:00:00], dtype=datetime64[ns])
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2563/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2563/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2564 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2564/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2564/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2564/events | https://github.com/pandas-dev/pandas/issues/2564 | 9,396,575 | MDU6SXNzdWU5Mzk2NTc1 | 2,564 | read_csv should accept unicode objects as urls | {
"avatar_url": "https://avatars.githubusercontent.com/u/443100?v=4",
"events_url": "https://api.github.com/users/richbwood/events{/privacy}",
"followers_url": "https://api.github.com/users/richbwood/followers",
"following_url": "https://api.github.com/users/richbwood/following{/other_user}",
"gists_url": "https://api.github.com/users/richbwood/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/richbwood",
"id": 443100,
"login": "richbwood",
"node_id": "MDQ6VXNlcjQ0MzEwMA==",
"organizations_url": "https://api.github.com/users/richbwood/orgs",
"received_events_url": "https://api.github.com/users/richbwood/received_events",
"repos_url": "https://api.github.com/users/richbwood/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/richbwood/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/richbwood/subscriptions",
"type": "User",
"url": "https://api.github.com/users/richbwood"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "444444",
"default": false,
"description": "Unicode strings",
"id": 36380025,
"name": "Unicode",
"node_id": "MDU6TGFiZWwzNjM4MDAyNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode"
}
] | closed | false | null | [] | {
"closed_at": "2013-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 5 | "2012-12-19T10:40:41Z" | "2012-12-29T21:55:09Z" | "2012-12-29T21:54:50Z" | NONE | null | Hi,
I have tried the following with
pandas-f014b01af7bd2d03266697e672c2d41daded3fca.zip
and
pandas-0.10.0.tar.gz
The unit tests on my Pandas build are failing with:
#
## FAIL: test_read_csv (pandas.io.tests.test_parsers.TestCParserHighMemory)
Traceback (most recent call last):
File "/home/woodri/build/out/lib/python2.7/site-packages/pandas-0.10.0-py2.7-linux-x86_64.egg/pandas/io/tests/test_parsers.py", line 109, in test_read_csv
assert(False), "read_csv should accept unicode objects as urls"
AssertionError: read_csv should accept unicode objects as urls
#
## FAIL: test_read_csv (pandas.io.tests.test_parsers.TestCParserLowMemory)
Traceback (most recent call last):
File "/home/woodri/build/out/lib/python2.7/site-packages/pandas-0.10.0-py2.7-linux-x86_64.egg/pandas/io/tests/test_parsers.py", line 109, in test_read_csv
assert(False), "read_csv should accept unicode objects as urls"
AssertionError: read_csv should accept unicode objects as urls
#
## FAIL: test_read_csv (pandas.io.tests.test_parsers.TestPythonParser)
Traceback (most recent call last):
File "/home/woodri/build/out/lib/python2.7/site-packages/pandas-0.10.0-py2.7-linux-x86_64.egg/pandas/io/tests/test_parsers.py", line 109, in test_read_csv
assert(False), "read_csv should accept unicode objects as urls"
AssertionError: read_csv should accept unicode objects as urls
---
Ran 2934 tests in 193.600s
FAILED (SKIP=44, failures=3)
I have compiled python, cython, numpy, etc. myself. Are there any dependencies or compile options that I am likely to be missing?
Please let me know if there is any other information I can provide to help identify the problem.
Thank you
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2564/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2564/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2565 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2565/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2565/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2565/events | https://github.com/pandas-dev/pandas/pull/2565 | 9,399,168 | MDExOlB1bGxSZXF1ZXN0MzQyNjY0Nw== | 2,565 | logx for DataFrame.plot() and Series.plot() | {
"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-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 1 | "2012-12-19T12:40:27Z" | "2014-06-25T01:09:44Z" | "2012-12-28T15:22:34Z" | CONTRIBUTOR | null | Trivial but convenient, as discussed in https://github.com/pydata/pandas/issues/2327
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2565/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2565/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2565.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2565",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2565.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2565"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2566 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2566/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2566/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2566/events | https://github.com/pandas-dev/pandas/issues/2566 | 9,407,584 | MDU6SXNzdWU5NDA3NTg0 | 2,566 | Make pandas C parser xstrtod match float/np.float64 internal routine | {
"avatar_url": "https://avatars.githubusercontent.com/u/2735044?v=4",
"events_url": "https://api.github.com/users/yarivm/events{/privacy}",
"followers_url": "https://api.github.com/users/yarivm/followers",
"following_url": "https://api.github.com/users/yarivm/following{/other_user}",
"gists_url": "https://api.github.com/users/yarivm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yarivm",
"id": 2735044,
"login": "yarivm",
"node_id": "MDQ6VXNlcjI3MzUwNDQ=",
"organizations_url": "https://api.github.com/users/yarivm/orgs",
"received_events_url": "https://api.github.com/users/yarivm/received_events",
"repos_url": "https://api.github.com/users/yarivm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yarivm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yarivm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yarivm"
} | [] | 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 | "2012-12-19T17:12:35Z" | "2014-08-12T15:17:32Z" | "2013-09-21T13:36:53Z" | NONE | null | read_csv() converts the string '0.011277' into a np.float64 whose repr() is:
'0.011276999999999999' .
However, repr(np.float64('0.011277')) returns:
'0.011277000000000001'
Also, in Pandas v.0.9.0, read_csv() produced '0.011276999999999999', while in Pandas v.10.0 read_csv() produces '0.011277000000000001'.
This problem showed up when I truncated the number (with 1e-6 precision).
System setting:
Pandas v. 10.0,
Numpy v.1.7.0b2
Windows 7
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2566/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2566/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2567 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2567/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2567/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2567/events | https://github.com/pandas-dev/pandas/issues/2567 | 9,407,965 | MDU6SXNzdWU5NDA3OTY1 | 2,567 | Option for reshape order in lreshape | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 3 | "2012-12-19T17:24:38Z" | "2016-12-28T11:09:51Z" | "2016-12-28T11:09:51Z" | MEMBER | null | Currently is "F"-like ordering
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2567/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2567/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2568 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2568/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2568/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2568/events | https://github.com/pandas-dev/pandas/pull/2568 | 9,408,019 | MDExOlB1bGxSZXF1ZXN0MzQzMTEyNw== | 2,568 | BUG: DatetimeIndex.unique numpy 1.6 repr #2563 | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [] | closed | false | null | [] | {
"closed_at": "2013-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 1 | "2012-12-19T17:26:00Z" | "2014-06-23T08:06:15Z" | "2012-12-28T14:10:20Z" | CONTRIBUTOR | null | #2563
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2568/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2568/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2568.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2568",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2568.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2568"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2569 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2569/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2569/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2569/events | https://github.com/pandas-dev/pandas/issues/2569 | 9,415,249 | MDU6SXNzdWU5NDE1MjQ5 | 2,569 | Grouping over PeriodIndex breaks its format | {
"avatar_url": "https://avatars.githubusercontent.com/u/1115020?v=4",
"events_url": "https://api.github.com/users/leonbaum/events{/privacy}",
"followers_url": "https://api.github.com/users/leonbaum/followers",
"following_url": "https://api.github.com/users/leonbaum/following{/other_user}",
"gists_url": "https://api.github.com/users/leonbaum/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/leonbaum",
"id": 1115020,
"login": "leonbaum",
"node_id": "MDQ6VXNlcjExMTUwMjA=",
"organizations_url": "https://api.github.com/users/leonbaum/orgs",
"received_events_url": "https://api.github.com/users/leonbaum/received_events",
"repos_url": "https://api.github.com/users/leonbaum/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/leonbaum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leonbaum/subscriptions",
"type": "User",
"url": "https://api.github.com/users/leonbaum"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | null | [] | {
"closed_at": "2013-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 1 | "2012-12-19T21:20:55Z" | "2012-12-28T16:41:12Z" | "2012-12-28T16:41:12Z" | NONE | null | With the master branch (f014b01af7bd2d03266697e672c2d41daded3fca), grouping over a PeriodIndex is breaking the format of the index:
```
In [100]: df = pandas.DataFrame({'x': [1, 2, 3], 'y': ['2012-12-18', '2012-12-19', '2013-01-04']})
In [101]: df['y'] = df.y.astype('datetime64[D]')
In [102]: df = df.set_index('y').to_period('M')
In [103]: df
Out[103]:
x
2012-12 1
2012-12 2
2013-01 3
In [104]: df.groupby(level=0).sum()
Out[104]:
x
515 3
516 3
```
I would expect to still see the dates in the index.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2569/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2569/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2570 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2570/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2570/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2570/events | https://github.com/pandas-dev/pandas/issues/2570 | 9,418,345 | MDU6SXNzdWU5NDE4MzQ1 | 2,570 | read_csv() force numeric dtype on column and set unparseable entry as missing (NaN) | {
"avatar_url": "https://avatars.githubusercontent.com/u/2701562?v=4",
"events_url": "https://api.github.com/users/dragoljub/events{/privacy}",
"followers_url": "https://api.github.com/users/dragoljub/followers",
"following_url": "https://api.github.com/users/dragoljub/following{/other_user}",
"gists_url": "https://api.github.com/users/dragoljub/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dragoljub",
"id": 2701562,
"login": "dragoljub",
"node_id": "MDQ6VXNlcjI3MDE1NjI=",
"organizations_url": "https://api.github.com/users/dragoljub/orgs",
"received_events_url": "https://api.github.com/users/dragoljub/received_events",
"repos_url": "https://api.github.com/users/dragoljub/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dragoljub/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dragoljub/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dragoljub"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 18 | "2012-12-19T23:12:36Z" | "2021-11-14T21:15:01Z" | null | NONE | null | How can I force a dtype on a column and ensure that any not-parseable data entry are filled as NaN? This is important in cases where there are unpredictable data entry errors in CSVs or database streams that cannot be mapped to missing values a priori.
Eg: Below I want column 'a' to be parsed as np.float but the erroneous 'Dog' entry causes an exception. Is there a way to tell read_csv() to force parsing a column 'a' as np.float and fill all non-parseable entries with NaN?
```
data = 'a,b,c\n1.1,2,3\nDog,5,6\n7.7,8,9.5'
df = pd.read_csv(StringIO.StringIO(data), dtype={'a': np.float})
df.dtypes
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-12-cd8b6f868aec> in <module>()
1 data = 'a,b,c\n1.1,2,3\nDog,5,6\n7.7,8,9.5'
----> 2 df = pd.read_csv(StringIO.StringIO(data), dtype={'a': np.float})
3 df.dtypes
C:\Python27\lib\site-packages\pandas\io\parsers.pyc in parser_f(filepath_or_buffer, sep, dialect, compression, doublequote, escapechar, quotechar, quoting, skipinitialspace, lineterminator, header, index_col, names, prefix, skiprows, skipfooter, skip_footer, na_values, true_values, false_values, delimiter, converters, dtype, usecols, engine, delim_whitespace, as_recarray, na_filter, compact_ints, use_unsigned, low_memory, buffer_lines, warn_bad_lines, error_bad_lines, keep_default_na, thousands, comment, decimal, parse_dates, keep_date_col, dayfirst, date_parser, memory_map, nrows, iterator, chunksize, verbose, encoding, squeeze)
389 buffer_lines=buffer_lines)
390
--> 391 return _read(filepath_or_buffer, kwds)
392
393 parser_f.__name__ = name
C:\Python27\lib\site-packages\pandas\io\parsers.pyc in _read(filepath_or_buffer, kwds)
205 return parser
206
--> 207 return parser.read()
208
209 _parser_defaults = {
C:\Python27\lib\site-packages\pandas\io\parsers.pyc in read(self, nrows)
622 # self._engine.set_error_bad_lines(False)
623
--> 624 ret = self._engine.read(nrows)
625
626 if self.options.get('as_recarray'):
C:\Python27\lib\site-packages\pandas\io\parsers.pyc in read(self, nrows)
943
944 try:
--> 945 data = self._reader.read(nrows)
946 except StopIteration:
947 if nrows is None:
C:\Python27\lib\site-packages\pandas\_parser.pyd in pandas._parser.TextReader.read (pandas\src\parser.c:5785)()
C:\Python27\lib\site-packages\pandas\_parser.pyd in pandas._parser.TextReader._read_low_memory (pandas\src\parser.c:6002)()
C:\Python27\lib\site-packages\pandas\_parser.pyd in pandas._parser.TextReader._read_rows (pandas\src\parser.c:6870)()
C:\Python27\lib\site-packages\pandas\_parser.pyd in pandas._parser.TextReader._convert_column_data (pandas\src\parser.c:7919)()
AttributeError: 'NoneType' object has no attribute 'dtype'
```
| {
"+1": 7,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 7,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2570/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2570/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2571 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2571/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2571/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2571/events | https://github.com/pandas-dev/pandas/issues/2571 | 9,430,404 | MDU6SXNzdWU5NDMwNDA0 | 2,571 | Timestamp when plotting hourly time series with base != 0 | {
"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"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | {
"closed_at": "2013-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 2 | "2012-12-20T10:46:53Z" | "2016-10-12T23:03:25Z" | "2013-01-21T17:32:00Z" | NONE | null | If I plot an hourly time series with a different base (don't know if this is correct englisch I mean if it is not 12:00, 13:00, ... but something like 12:30, 13:30, ...) the values are plotted as full hours at the xaxis. If I convert to a resolution of '60min' it works.
``` python
In [250]: idx = pd.date_range('2012-12-20', periods=24, freq='H') + datetime.timedelta(minutes=30)
In [251]: idx
Out[251]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2012-12-20 00:30:00, ..., 2012-12-20 23:30:00]
Length: 24, Freq: H, Timezone: None
In [252]: df = pd.DataFrame(np.arange(24), index=idx)
In [253]: df.plot(style='r.')
Out[253]: <matplotlib.axes.AxesSubplot at 0xd34920d0>
In [254]: df2 = df.resample('60min', base=30, closed='right')
In [255]: df2.index
Out[255]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2012-12-20 00:30:00, ..., 2012-12-20 23:30:00]
Length: 24, Freq: 60T, Timezone: None
In [256]: df2.plot(style='r.')
Out[256]: <matplotlib.axes.AxesSubplot at 0xd43fde90>
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2571/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2571/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2572 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2572/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2572/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2572/events | https://github.com/pandas-dev/pandas/pull/2572 | 9,435,857 | MDExOlB1bGxSZXF1ZXN0MzQ0NTA1Nw== | 2,572 | remove unused kh_del, pack kh_hash flag bits | {
"avatar_url": "https://avatars.githubusercontent.com/u/473043?v=4",
"events_url": "https://api.github.com/users/thouis/events{/privacy}",
"followers_url": "https://api.github.com/users/thouis/followers",
"following_url": "https://api.github.com/users/thouis/following{/other_user}",
"gists_url": "https://api.github.com/users/thouis/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/thouis",
"id": 473043,
"login": "thouis",
"node_id": "MDQ6VXNlcjQ3MzA0Mw==",
"organizations_url": "https://api.github.com/users/thouis/orgs",
"received_events_url": "https://api.github.com/users/thouis/received_events",
"repos_url": "https://api.github.com/users/thouis/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/thouis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thouis/subscriptions",
"type": "User",
"url": "https://api.github.com/users/thouis"
} | [] | closed | false | null | [] | {
"closed_at": "2013-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 2 | "2012-12-20T14:49:38Z" | "2012-12-28T15:27:33Z" | "2012-12-28T15:27:33Z" | CONTRIBUTOR | null | The kh_hash library includes the ability to delete elements, but this is not used anywhere in pandas. In the khash library, there are two flags bits for every entry: ''isempty' and 'isdel'. This change removes the support for kh_del from the khash library, allowing it to use half as many flag bits.
All tests pass. I ran test_perf ~90 times, and got the results below (baseline = parent commit, times and ratios ± stdev). There do seem to be a few (at the bottom) whose times increase slightly, which surprises me.
```
name head baseline ratio
series_value_counts_int64 1.8630 ± 0.0067 2.0982 ± 0.0131 0.8880 ± 0.0063
groupby_frame_singlekey_integer 1.6717 ± 0.0510 1.8728 ± 0.0508 0.8932 ± 0.0355
index_int64_intersection 24.6203 ± 0.3258 27.0208 ± 0.2654 0.9112 ± 0.0149
groupby_last 2.5098 ± 0.0265 2.7299 ± 0.0252 0.9195 ± 0.0129
stat_ops_level_series_sum 1.5520 ± 0.0257 1.6864 ± 0.0237 0.9205 ± 0.0200
groupby_first 2.5838 ± 0.0281 2.8024 ± 0.0269 0.9221 ± 0.0134
sparse_series_to_frame 120.5008 ± 0.7108 129.8587 ± 1.1512 0.9280 ± 0.0098
datetimeindex_add_offset 0.1599 ± 0.0009 0.1715 ± 0.0013 0.9325 ± 0.0088
stat_ops_level_series_sum_multiple 5.2357 ± 0.1633 5.5971 ± 0.1624 0.9362 ± 0.0390
stat_ops_level_frame_sum_multiple 6.1508 ± 0.0653 6.5037 ± 0.0922 0.9459 ± 0.0166
read_csv_comment2 20.9364 ± 0.7056 22.0784 ± 0.6586 0.9491 ± 0.0421
groupby_multi_size 24.8205 ± 0.2378 26.1333 ± 0.2586 0.9499 ± 0.0131
stat_ops_level_frame_sum 2.3653 ± 0.1711 2.5029 ± 0.1835 0.9500 ± 0.0966
timeseries_add_irregular 17.1444 ± 0.1979 17.9006 ± 0.2983 0.9580 ± 0.0188
groupby_frame_median 5.0956 ± 0.0642 5.3151 ± 0.0801 0.9589 ± 0.0184
match_strings 0.3116 ± 0.0042 0.3250 ± 0.0052 0.9590 ± 0.0200
timeseries_infer_freq 7.0249 ± 0.1438 7.3208 ± 0.0869 0.9597 ± 0.0232
dataframe_reindex 0.2581 ± 0.0017 0.2680 ± 0.0019 0.9633 ± 0.0092
reshape_pivot_time_series 158.4428 ± 1.6615 164.4806 ± 2.1991 0.9635 ± 0.0164
index_int64_union 67.5624 ± 0.5516 69.9954 ± 0.5946 0.9653 ± 0.0113
reindex_multiindex 0.8870 ± 0.0103 0.9166 ± 0.0103 0.9678 ± 0.0155
groupby_simple_compress_timing 30.2154 ± 0.2435 31.1854 ± 0.2564 0.9690 ± 0.0111
groupby_indices 6.2456 ± 0.0674 6.4342 ± 0.0803 0.9708 ± 0.0158
panel_from_dict_all_different_indexes 64.0143 ± 0.3919 65.8792 ± 0.4151 0.9717 ± 0.0085
join_dataframe_integer_key 1.3216 ± 0.0212 1.3559 ± 0.0206 0.9750 ± 0.0215
panel_from_dict_two_different_indexes 43.3036 ± 0.3092 44.2583 ± 0.3232 0.9785 ± 0.0100
join_dataframe_integer_2key 3.8902 ± 0.0218 3.9749 ± 0.0241 0.9787 ± 0.0081
reshape_unstack_simple 2.3005 ± 0.0093 2.3416 ± 0.0115 0.9825 ± 0.0062
groupby_multi_series_op 12.2459 ± 0.0667 12.4435 ± 0.0809 0.9842 ± 0.0083
groupby_multi_cython 13.6919 ± 0.0685 13.8917 ± 0.0937 0.9857 ± 0.0082
concat_series_axis1 50.1771 ± 0.7017 50.8870 ± 0.8207 0.9863 ± 0.0210
unstack_sparse_keyspace 0.9630 ± 0.0071 0.9743 ± 0.0086 0.9884 ± 0.0113
frame_fancy_lookup_all 21.7081 ± 0.2252 21.9861 ± 0.8485 0.9885 ± 0.0303
groupby_frame_apply_overhead 15.0398 ± 0.2534 15.2089 ± 0.3118 0.9893 ± 0.0260
frame_insert_500_columns 74.6911 ± 0.5674 75.3304 ± 0.7608 0.9916 ± 0.0124
sort_level_one 3.2917 ± 0.0885 3.3215 ± 0.1132 0.9921 ± 0.0415
timeseries_timestamp_tzinfo_cons 0.0133 ± 0.0002 0.0134 ± 0.0003 0.9922 ± 0.0253
groupby_multi_python 51.7335 ± 0.9452 52.1447 ± 1.1834 0.9926 ± 0.0286
stats_rank_average 31.3220 ± 1.3618 31.5993 ± 1.2585 0.9928 ± 0.0591
read_csv_standard 9.4535 ± 0.1348 9.5228 ± 0.1152 0.9929 ± 0.0185
frame_reindex_both_axes 0.2233 ± 0.0014 0.2248 ± 0.0018 0.9933 ± 0.0098
timeseries_large_lookup_value 0.0179 ± 0.0003 0.0180 ± 0.0004 0.9941 ± 0.0239
frame_reindex_both_axes_ix 0.2794 ± 0.0017 0.2809 ± 0.0020 0.9947 ± 0.0092
frame_iteritems 1.8838 ± 0.0227 1.8937 ± 0.0279 0.9950 ± 0.0188
series_align_irregular_string 60.9044 ± 0.7522 61.2000 ± 0.6323 0.9953 ± 0.0160
groupbym_frame_apply 60.5675 ± 0.9349 60.8692 ± 0.9463 0.9953 ± 0.0217
stats_rank2d_axis1_average 13.5227 ± 0.8773 13.6383 ± 0.8856 0.9957 ± 0.0909
frame_to_csv 277.9836 ± 3.7095 279.2427 ± 5.0754 0.9958 ± 0.0222
read_csv_thou_vb 26.4393 ± 0.2321 26.5419 ± 0.2718 0.9962 ± 0.0134
indexing_dataframe_boolean_rows 0.1765 ± 0.0011 0.1772 ± 0.0015 0.9965 ± 0.0102
frame_ctor_list_of_dict 67.3875 ± 0.8141 67.6344 ± 0.9001 0.9965 ± 0.0177
frame_get_numeric_data 0.0459 ± 0.0004 0.0461 ± 0.0007 0.9966 ± 0.0169
frame_iteritems_cached 0.0639 ± 0.0020 0.0642 ± 0.0024 0.9967 ± 0.0471
groupby_multi_different_functions 11.8200 ± 0.0624 11.8596 ± 0.0932 0.9967 ± 0.0093
append_frame_single_mixed 0.9737 ± 0.0846 0.9841 ± 0.0847 0.9967 ± 0.1209
timeseries_asof_single 0.0377 ± 0.0005 0.0378 ± 0.0006 0.9968 ± 0.0197
timeseries_slice_minutely 0.0414 ± 0.0005 0.0415 ± 0.0005 0.9969 ± 0.0164
groupby_apply_dict_return 34.7286 ± 0.3478 34.8450 ± 0.5679 0.9969 ± 0.0188
period_setitem 746.4594 ± 8.6212 748.9278 ± 11.0465 0.9969 ± 0.0185
concat_small_frames 10.6045 ± 0.0675 10.6383 ± 0.1020 0.9969 ± 0.0114
frame_constructor_ndarray 0.0334 ± 0.0003 0.0335 ± 0.0005 0.9971 ± 0.0182
write_csv_standard 267.4531 ± 3.9582 268.3362 ± 5.3285 0.9971 ± 0.0243
groupby_multi_different_numpy_functions 11.8358 ± 0.0759 11.8699 ± 0.0738 0.9972 ± 0.0089
reindex_daterange_pad 0.1449 ± 0.0010 0.1453 ± 0.0014 0.9972 ± 0.0120
indexing_panel_subset 0.4469 ± 0.0033 0.4481 ± 0.0053 0.9976 ± 0.0137
reindex_daterange_backfill 0.1494 ± 0.0010 0.1497 ± 0.0016 0.9977 ± 0.0121
frame_ctor_nested_dict_int64 103.3669 ± 1.0917 103.6315 ± 1.7836 0.9977 ± 0.0198
append_frame_single_homogenous 0.2324 ± 0.0022 0.2330 ± 0.0023 0.9977 ± 0.0136
timeseries_1min_5min_ohlc 0.4956 ± 0.0030 0.4966 ± 0.0039 0.9980 ± 0.0097
reindex_frame_level_align 0.6218 ± 0.0040 0.6230 ± 0.0056 0.9982 ± 0.0110
panel_from_dict_equiv_indexes 22.4439 ± 0.1723 22.4863 ± 0.2186 0.9982 ± 0.0123
series_align_int64_index 32.8477 ± 0.1784 32.9009 ± 0.1936 0.9984 ± 0.0080
panel_from_dict_same_index 22.4174 ± 0.1834 22.4507 ± 0.2267 0.9986 ± 0.0129
read_table_multiple_date 1852.1563 ± 19.4540 1855.0047 ± 27.9213 0.9987 ± 0.0180
timeseries_1min_5min_mean 0.4872 ± 0.0026 0.4878 ± 0.0033 0.9989 ± 0.0087
replace_fillna 1.4792 ± 0.1068 1.4877 ± 0.1059 0.9990 ± 0.0974
sparse_frame_constructor 4.6531 ± 0.0459 4.6582 ± 0.0524 0.9990 ± 0.0148
series_ctor_from_dict 2.5720 ± 0.0111 2.5746 ± 0.0150 0.9990 ± 0.0072
read_table_multiple_date_baseline 837.9644 ± 8.9147 838.9167 ± 12.1464 0.9991 ± 0.0177
frame_to_string_floats 47.9212 ± 0.5630 47.9764 ± 0.7628 0.9991 ± 0.0194
frame_reindex_axis0 1.0288 ± 0.0078 1.0298 ± 0.0119 0.9991 ± 0.0133
frame_reindex_columns 0.2020 ± 0.0016 0.2022 ± 0.0019 0.9991 ± 0.0121
frame_boolean_row_select 0.2075 ± 0.0009 0.2077 ± 0.0014 0.9991 ± 0.0077
frame_fillna_many_columns_pad 11.8545 ± 0.1323 11.8662 ± 0.1362 0.9991 ± 0.0158
series_align_left_monotonic 14.8503 ± 0.0912 14.8613 ± 0.1038 0.9993 ± 0.0093
melt_dataframe 1.0850 ± 0.0078 1.0858 ± 0.0077 0.9993 ± 0.0101
frame_fillna_inplace 11.6751 ± 0.2087 11.6855 ± 0.2025 0.9994 ± 0.0247
frame_drop_dup_na_inplace 2.0111 ± 0.0103 2.0122 ± 0.0096 0.9994 ± 0.0070
groupby_frame_cython_many_columns 2.4077 ± 0.0116 2.4091 ± 0.0141 0.9995 ± 0.0075
frame_ctor_nested_dict 67.9949 ± 0.4608 68.0334 ± 0.4236 0.9995 ± 0.0092
timeseries_asof_nan 7.1119 ± 0.0627 7.1157 ± 0.0601 0.9995 ± 0.0122
frame_reindex_axis1 2.4248 ± 0.0368 2.4263 ± 0.0341 0.9996 ± 0.0203
series_drop_duplicates_int 0.6140 ± 0.0023 0.6142 ± 0.0023 0.9997 ± 0.0053
timeseries_period_downsample_mean 9.3964 ± 0.0262 9.3991 ± 0.0291 0.9997 ± 0.0042
dti_reset_index 0.4529 ± 0.0091 0.4531 ± 0.0085 0.9998 ± 0.0275
indexing_dataframe_boolean_rows_object 0.4054 ± 0.0016 0.4055 ± 0.0022 0.9998 ± 0.0067
stats_rank_average_int 18.1329 ± 0.2115 18.1389 ± 0.2243 0.9998 ± 0.0170
stats_rolling_mean 1.3577 ± 0.0044 1.3578 ± 0.0072 1.0000 ± 0.0062
groupby_pivot_table 16.3420 ± 0.0934 16.3417 ± 0.1068 1.0001 ± 0.0086
sort_level_zero 3.3187 ± 0.1217 3.3238 ± 0.1456 1.0001 ± 0.0524
reindex_fillna_backfill 0.0707 ± 0.0006 0.0707 ± 0.0007 1.0002 ± 0.0125
reindex_fillna_pad 0.0742 ± 0.0019 0.0742 ± 0.0021 1.0003 ± 0.0385
frame_drop_dup_inplace 2.2140 ± 0.0116 2.2133 ± 0.0129 1.0004 ± 0.0078
frame_drop_duplicates 18.3091 ± 0.1064 18.3022 ± 0.1000 1.0004 ± 0.0080
series_drop_duplicates_string 0.4529 ± 0.0036 0.4528 ± 0.0036 1.0004 ± 0.0112
series_value_counts_strings 4.2207 ± 0.0162 4.2188 ± 0.0329 1.0005 ± 0.0085
datetimeindex_normalize 22.4277 ± 0.2073 22.4172 ± 0.1919 1.0005 ± 0.0126
timeseries_to_datetime_iso8601 3.8940 ± 0.0482 3.8915 ± 0.0367 1.0007 ± 0.0152
lib_fast_zip_fillna 13.4962 ± 0.0750 13.4855 ± 0.0651 1.0008 ± 0.0074
timeseries_timestamp_downsample_mean 5.8368 ± 0.0176 5.8310 ± 0.0183 1.0010 ± 0.0044
reshape_stack_simple 1.7456 ± 0.0143 1.7440 ± 0.0154 1.0010 ± 0.0120
frame_drop_duplicates_na 17.9970 ± 0.0999 17.9767 ± 0.1071 1.0012 ± 0.0082
stats_rank2d_axis0_average 21.7999 ± 0.0819 21.7708 ± 0.1766 1.0014 ± 0.0092
timeseries_sort_index 17.6179 ± 0.1460 17.5926 ± 0.1269 1.0015 ± 0.0110
lib_fast_zip 10.6688 ± 0.0536 10.6489 ± 0.0585 1.0019 ± 0.0075
timeseries_asof 7.5577 ± 0.0625 7.5386 ± 0.0509 1.0026 ± 0.0107
stat_ops_series_std 0.5937 ± 0.0111 0.5922 ± 0.0109 1.0030 ± 0.0263
index_datetime_intersection 11.0669 ± 0.0623 11.0133 ± 0.0645 1.0049 ± 0.0081
groupby_series_simple_cython 4.1735 ± 0.0477 4.1508 ± 0.0511 1.0056 ± 0.0166
index_datetime_union 11.1319 ± 0.0546 11.0699 ± 0.0639 1.0056 ± 0.0075
read_csv_vb 18.0190 ± 0.2602 17.8894 ± 0.2271 1.0074 ± 0.0194
frame_fancy_lookup 2.0631 ± 0.0375 2.0469 ± 0.0496 1.0085 ± 0.0304
reindex_frame_level_reindex 1.1200 ± 0.0074 1.1125 ± 0.0541 1.0111 ± 0.0907
replace_replacena 1.6274 ± 0.1358 1.6190 ± 0.1444 1.0128 ± 0.1209
frame_sort_index_by_columns 35.3555 ± 0.2725 34.7723 ± 0.1765 1.0168 ± 0.0094
merge_2intkey_sort 34.2841 ± 0.3041 33.6600 ± 0.2171 1.0186 ± 0.0112
join_dataframe_index_single_key_small 5.6301 ± 0.8275 5.5872 ± 0.7877 1.0278 ± 0.2101
join_dataframe_index_multi 17.5588 ± 0.1660 17.0397 ± 0.1173 1.0305 ± 0.0120
merge_2intkey_nosort 15.8161 ± 0.9392 15.0701 ± 0.9006 1.0533 ± 0.0887
join_dataframe_index_single_key_bigger 9.4991 ± 3.4921 9.4172 ± 3.2368 1.1438 ± 0.5936
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2572/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2572/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2572.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2572",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2572.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2572"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2573 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2573/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2573/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2573/events | https://github.com/pandas-dev/pandas/issues/2573 | 9,456,219 | MDU6SXNzdWU5NDU2MjE5 | 2,573 | TimeSeries indexing by string not working (for microseconds?) | {
"avatar_url": "https://avatars.githubusercontent.com/u/69774?v=4",
"events_url": "https://api.github.com/users/michaelaye/events{/privacy}",
"followers_url": "https://api.github.com/users/michaelaye/followers",
"following_url": "https://api.github.com/users/michaelaye/following{/other_user}",
"gists_url": "https://api.github.com/users/michaelaye/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/michaelaye",
"id": 69774,
"login": "michaelaye",
"node_id": "MDQ6VXNlcjY5Nzc0",
"organizations_url": "https://api.github.com/users/michaelaye/orgs",
"received_events_url": "https://api.github.com/users/michaelaye/received_events",
"repos_url": "https://api.github.com/users/michaelaye/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/michaelaye/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michaelaye/subscriptions",
"type": "User",
"url": "https://api.github.com/users/michaelaye"
} | [] | closed | false | null | [] | null | 2 | "2012-12-21T05:08:37Z" | "2012-12-21T06:47:46Z" | "2012-12-21T06:47:46Z" | CONTRIBUTOR | null | I was trying out examples from the pandas book, stating that one can index a time series index by string expressions. I copied the exact string from the pandas Timestamp printout and tried to use it as an index but it fails with KeyError. Maybe due to microseconds?
see http://nbviewer.ipython.org/4350756/
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2573/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2573/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2574 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2574/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2574/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2574/events | https://github.com/pandas-dev/pandas/issues/2574 | 9,462,372 | MDU6SXNzdWU5NDYyMzcy | 2,574 | sub/mul/div for Series does not accept scalar | {
"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"
}
] | closed | false | null | [] | {
"closed_at": "2013-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 0 | "2012-12-21T11:27:51Z" | "2012-12-28T15:42:03Z" | "2012-12-28T15:42:03Z" | CONTRIBUTOR | null | ``` python
import panda as pd
s = pd.Series(range(10))
s.sub(1)
# AssertionError: Other operand must be Series
df = pd.DataFrame({'test':s})
df.sub(1) # works
```
Am I misunderstanding or should scalars work with sub/mul/div/etc?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2574/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2574/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2575 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2575/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2575/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2575/events | https://github.com/pandas-dev/pandas/issues/2575 | 9,464,914 | MDU6SXNzdWU5NDY0OTE0 | 2,575 | Indexing/Slicing tz-aware TimeSeries fails when using datetime | {
"avatar_url": "https://avatars.githubusercontent.com/u/3090386?v=4",
"events_url": "https://api.github.com/users/timtroendle/events{/privacy}",
"followers_url": "https://api.github.com/users/timtroendle/followers",
"following_url": "https://api.github.com/users/timtroendle/following{/other_user}",
"gists_url": "https://api.github.com/users/timtroendle/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/timtroendle",
"id": 3090386,
"login": "timtroendle",
"node_id": "MDQ6VXNlcjMwOTAzODY=",
"organizations_url": "https://api.github.com/users/timtroendle/orgs",
"received_events_url": "https://api.github.com/users/timtroendle/received_events",
"repos_url": "https://api.github.com/users/timtroendle/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/timtroendle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timtroendle/subscriptions",
"type": "User",
"url": "https://api.github.com/users/timtroendle"
} | [
{
"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-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 1 | "2012-12-21T13:41:03Z" | "2016-10-12T23:03:26Z" | "2013-01-20T02:42:08Z" | NONE | null | The following code should clarify the problem:
``` python
import pandas
import pytz
index = pandas.date_range(start='2012-12-24 16:00', end='2012-12-24 18:00', freq='H', tz='Europe/Berlin')
ts = pandas.TimeSeries(index=index, data=index.hour)
time_pandas = pandas.Timestamp('2012-12-24 17:00', tz='Europe/Berlin')
time_datetime = datetime.datetime(2012,12,24,17,00, tzinfo=pytz.timezone('Europe/Berlin'))
time_pandas == time_datetime
ts[time_pandas] == ts[time_datetime]
```
While the two time stamps are equal, using them as an index on the TimeSeries results in different values. The same is true for slicing.
When using a tz-aware datetime for indexing/slicing, pandas seems to remove the timezone and interprete the time stamp as UTC.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2575/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2575/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2576 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2576/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2576/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2576/events | https://github.com/pandas-dev/pandas/issues/2576 | 9,468,832 | MDU6SXNzdWU5NDY4ODMy | 2,576 | UnicodeDecodeError in DataFrame.__repr__() for non-ascii column names | {
"avatar_url": "https://avatars.githubusercontent.com/u/266668?v=4",
"events_url": "https://api.github.com/users/invisibleroads/events{/privacy}",
"followers_url": "https://api.github.com/users/invisibleroads/followers",
"following_url": "https://api.github.com/users/invisibleroads/following{/other_user}",
"gists_url": "https://api.github.com/users/invisibleroads/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/invisibleroads",
"id": 266668,
"login": "invisibleroads",
"node_id": "MDQ6VXNlcjI2NjY2OA==",
"organizations_url": "https://api.github.com/users/invisibleroads/orgs",
"received_events_url": "https://api.github.com/users/invisibleroads/received_events",
"repos_url": "https://api.github.com/users/invisibleroads/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/invisibleroads/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/invisibleroads/subscriptions",
"type": "User",
"url": "https://api.github.com/users/invisibleroads"
} | [
{
"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-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 4 | "2012-12-21T16:09:50Z" | "2013-12-04T00:40:22Z" | "2012-12-28T15:49:38Z" | CONTRIBUTOR | null | Here is the traceback using Python 2.7.3 and Pandas trunk.
```
/pandas/core/frame.pyc in __repr__(self)
678 Yields Bytestring in Py2, Unicode String in py3.
679 """
--> 680 return str(self)
681
682 def _repr_html_(self):
/pandas/core/frame.pyc in __str__(self)
634 if py3compat.PY3:
635 return self.__unicode__()
--> 636 return self.__bytes__()
637
638 def __bytes__(self):
/pandas/core/frame.pyc in __bytes__(self)
644 """
645 encoding = com.get_option("display.encoding")
--> 646 return self.__unicode__().encode(encoding , 'replace')
647
648 def __unicode__(self):
/pandas/core/frame.pyc in __unicode__(self)
655 buf = StringIO(u"")
656 if self._need_info_repr_():
--> 657 self.info(buf=buf, verbose=self._verbose_info)
658 else:
659 is_wide = self._need_wide_repr()
/pandas/core/frame.pyc in info(self, verbose, buf, max_cols)
1624 dtypes = ['%s(%d)' % k for k in sorted(counts.iteritems())]
1625 lines.append('dtypes: %s' % ', '.join(dtypes))
-> 1626 _put_lines(buf, lines)
1627
1628 @property
/pandas/core/format.pyc in _put_lines(buf, lines)
1443 def _put_lines(buf, lines):
1444 if any(isinstance(x, unicode) for x in lines):
-> 1445 lines = [unicode(x) for x in lines]
1446 buf.write('\n'.join(lines))
1447
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd5 in position 8: ordinal not in range(128)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2576/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2576/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2577 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2577/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2577/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2577/events | https://github.com/pandas-dev/pandas/pull/2577 | 9,469,012 | MDExOlB1bGxSZXF1ZXN0MzQ2MTQ0Nw== | 2,577 | Update pandas/core/format.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/266668?v=4",
"events_url": "https://api.github.com/users/invisibleroads/events{/privacy}",
"followers_url": "https://api.github.com/users/invisibleroads/followers",
"following_url": "https://api.github.com/users/invisibleroads/following{/other_user}",
"gists_url": "https://api.github.com/users/invisibleroads/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/invisibleroads",
"id": 266668,
"login": "invisibleroads",
"node_id": "MDQ6VXNlcjI2NjY2OA==",
"organizations_url": "https://api.github.com/users/invisibleroads/orgs",
"received_events_url": "https://api.github.com/users/invisibleroads/received_events",
"repos_url": "https://api.github.com/users/invisibleroads/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/invisibleroads/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/invisibleroads/subscriptions",
"type": "User",
"url": "https://api.github.com/users/invisibleroads"
} | [] | closed | false | null | [] | {
"closed_at": "2013-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 4 | "2012-12-21T16:16:49Z" | "2014-08-11T01:06:12Z" | "2012-12-28T15:49:57Z" | CONTRIBUTOR | null | Fixes #2576.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2577/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2577/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2577.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2577",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2577.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2577"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2578 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2578/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2578/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2578/events | https://github.com/pandas-dev/pandas/issues/2578 | 9,471,792 | MDU6SXNzdWU5NDcxNzky | 2,578 | BUG/ENH: should .ix allow partial setting? | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | {
"closed_at": "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 | "2012-12-21T18:11:09Z" | "2014-09-04T18:11:29Z" | "2013-09-05T17:23:51Z" | CONTRIBUTOR | null | related to GH #2033
```
In [27]: df = pd.DataFrame(np.random.rand(4,2),index=pd.date_range('2001/1/12',periods=4),columns=['A','B'])
In [28]: df
Out[28]:
A B
2001-01-12 0.861201 0.530351
2001-01-13 0.434518 0.692022
2001-01-14 0.794237 0.912073
2001-01-15 0.421282 0.930005
In [29]: df.ix[:,'B'] = df.ix[:,'A'].copy()
In [30]: df.ix[:,'C'] = df.ix[:,'A'].copy()
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-30-2107107d0bd8> in <module>()
----> 1 df.ix[:,'C'] = df.ix[:,'A'].copy()
/usr/local/lib/python2.7/site-packages/pandas-0.10.0-py2.7-linux-x86_64.egg/pandas/core/index.pyc in get_loc(self, key)
714 loc : int if unique index, possibly slice or mask if not
715 """
--> 716 return self._engine.get_loc(key)
717
718 def get_value(self, series, key):
KeyError: 'C'
```
of course in this case `df['C'] = df.ix[:,'A'].copy()` accomplishes this
Panel example: have to transpose, setitem, then transpose back to accomplish this
```
In [46]: p = pd.Panel(np.random.rand(2,4,2),items=['Item1','Item2'],major_axis=pd.date_range('2001/1/12',periods=4),minor_axis=['A','B'])
In [47]: p
Out[47]:
<class 'pandas.core.panel.Panel'>
Dimensions: 2 (items) x 4 (major_axis) x 2 (minor_axis)
Items axis: Item1 to Item2
Major_axis axis: 2001-01-12 00:00:00 to 2001-01-15 00:00:00
Minor_axis axis: A to B
In [48]: pt = p.transpose(2,1,0)
In [49]: pt
Out[49]:
<class 'pandas.core.panel.Panel'>
Dimensions: 2 (items) x 4 (major_axis) x 2 (minor_axis)
Items axis: A to B
Major_axis axis: 2001-01-12 00:00:00 to 2001-01-15 00:00:00
Minor_axis axis: Item1 to Item2
In [50]: pt['C'] = p.ix[:,:,'B'].copy()
In [51]: pt.transpose(2,1,0)
Out[51]:
<class 'pandas.core.panel.Panel'>
Dimensions: 2 (items) x 4 (major_axis) x 3 (minor_axis)
Items axis: Item1 to Item2
Major_axis axis: 2001-01-12 00:00:00 to 2001-01-15 00:00:00
Minor_axis axis: A to C
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2578/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2578/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2579 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2579/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2579/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2579/events | https://github.com/pandas-dev/pandas/issues/2579 | 9,477,521 | MDU6SXNzdWU5NDc3NTIx | 2,579 | don't register pandas mpl unit converters upon import | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [
{
"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": "2017-10-28T18:54:27Z",
"closed_issues": 764,
"created_at": "2017-03-23T13:26:25Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2017-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/46",
"id": 2406656,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46/labels",
"node_id": "MDk6TWlsZXN0b25lMjQwNjY1Ng==",
"number": 46,
"open_issues": 0,
"state": "closed",
"title": "0.21.0",
"updated_at": "2018-07-08T21:53:21Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46"
} | 26 | "2012-12-21T22:30:47Z" | "2017-11-15T16:26:20Z" | "2017-11-15T16:26:08Z" | CONTRIBUTOR | null | register it upon plotting?
http://stackoverflow.com/questions/13988111/importing-pandas-in-python-changes-how-matplotlib-handles-datetime-objects
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2579/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2579/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2580 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2580/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2580/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2580/events | https://github.com/pandas-dev/pandas/issues/2580 | 9,478,648 | MDU6SXNzdWU5NDc4NjQ4 | 2,580 | Possible data corruption using HD5Store | {
"avatar_url": "https://avatars.githubusercontent.com/u/2983769?v=4",
"events_url": "https://api.github.com/users/rafaljozefowicz/events{/privacy}",
"followers_url": "https://api.github.com/users/rafaljozefowicz/followers",
"following_url": "https://api.github.com/users/rafaljozefowicz/following{/other_user}",
"gists_url": "https://api.github.com/users/rafaljozefowicz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rafaljozefowicz",
"id": 2983769,
"login": "rafaljozefowicz",
"node_id": "MDQ6VXNlcjI5ODM3Njk=",
"organizations_url": "https://api.github.com/users/rafaljozefowicz/orgs",
"received_events_url": "https://api.github.com/users/rafaljozefowicz/received_events",
"repos_url": "https://api.github.com/users/rafaljozefowicz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rafaljozefowicz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rafaljozefowicz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rafaljozefowicz"
} | [] | 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 | "2012-12-21T23:39:50Z" | "2013-01-20T14:58:46Z" | "2013-01-20T14:58:46Z" | NONE | null | I noticed some really weird behaviour of new HD5Store. I am using pandas 0.10.0 and pytables 2.4.0.
When I try to serialize my Panel structure and then remove it from the store, the memory is not reclaimed - the store appears to be empty while it is still using 90MB on my hard drive.
I am trying to find any repro steps using synthetic data but so far I am failing - It is working as I would expect (file becomes empty after removal of the panel). I can't give you the actual files/data but maybe any stats of the h5 file itself would be helpful.
What makes it even worse, when I repeat the same operation over and over again, h5 file grows to ~num_iterations \* 90MB in size while still appearing as empty. I am able to reproduce it every single time with my dataset.
My code:
``` python
# some_panel is a ~ 30 x 10000 x 30 structure with mostly floats:
store = pd.HDFStore(file_name)
store["panel"] = some_panel
del store["panel"]
store
```
Output:
```
<class 'pandas.io.pytables.HDFStore'>
File path: <my_file_name>
Empty
```
However, the file is 90M big. Here is the h5dump output of my file:
```
HDF5 "<my_file_name.h5>" {
GROUP "/" {
ATTRIBUTE "CLASS" {
DATATYPE H5T_STRING {
STRSIZE 5;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "GROUP"
}
}
ATTRIBUTE "PYTABLES_FORMAT_VERSION" {
DATATYPE H5T_STRING {
STRSIZE 3;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "2.0"
}
}
ATTRIBUTE "TITLE" {
DATATYPE H5T_STRING {
STRSIZE 1;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): ""
}
}
ATTRIBUTE "VERSION" {
DATATYPE H5T_STRING {
STRSIZE 3;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "1.0"
}
}
}
}
```
and h5debug output:
```
Reading signature at address 0 (rel)
File Super Block...
File name (as opened): <my_file_name>
File name (after resolving symlinks): <my_file_name>
File access flags 0x00000000
File open reference count: 1
Address of super block: 0 (abs)
Size of userblock: 0 bytes
Superblock version number: 0
Free list version number: 0
Root group symbol table entry version number: 0
Shared header version number: 0
Size of file offsets (haddr_t type): 8 bytes
Size of file lengths (hsize_t type): 8 bytes
Symbol table leaf node 1/2 rank: 4
Symbol table internal node 1/2 rank: 16
File status flags: 0x00
Superblock extension address: UNDEF (rel)
Shared object header message table address: UNDEF (rel)
Shared object header message version number: 0
Number of shared object header message indexes: 0
Address of driver information block: UNDEF (rel)
Root group symbol table entry:
Name offset into private heap: 0
Object header address: 96
Cache info type: Symbol Table
Cached entry information:
B-tree address: 136
Heap address: 680
```
and h5stat:
```
Filename: <my_file_name>
File information
# of unique groups: 1
# of unique datasets: 0
# of unique named datatypes: 0
# of unique links: 0
# of unique other: 0
Max. # of links to object: 1
Max. # of objects in group: 0
File space information for file metadata (in bytes):
Superblock extension: 0
User block: 0
Object headers: (total/unused)
Groups: 272/0
Datasets(exclude compact data): 0/0
Datatypes: 0/0
Groups:
B-tree/List: 544
Heap: 120
Attributes:
B-tree/List: 0
Heap: 0
Chunked datasets:
Index: 0
Datasets:
Heap: 0
Shared Messages:
Header: 0
B-tree/List: 0
Heap: 0
Small groups:
# of groups of size 0: 1
Total # of small groups: 1
Group bins:
# of groups of size 0: 1
Total # of groups: 1
Small # of attributes:
# of objects with 4 attributes: 1
Total # of objects with small # of attributes: 1
Attribute bins:
# of objects with 1 - 9 attributes: 1
Total # of objects with attributes: 1
Max. # of attributes to objects: 4
Summary of file space information:
File metadata: 936 bytes
Raw data: 0 bytes
Unaccounted space: 94094088 bytes
Total space: 94095024 bytes
```
Total space is showing actual space on the drive ~90MB. Let me know if I can provide any more information
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2580/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2580/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2581 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2581/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2581/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2581/events | https://github.com/pandas-dev/pandas/pull/2581 | 9,481,189 | MDExOlB1bGxSZXF1ZXN0MzQ2Nzk5MA== | 2,581 | Update doc/source/groupby.rst | {
"avatar_url": "https://avatars.githubusercontent.com/u/9376?v=4",
"events_url": "https://api.github.com/users/parlarjb/events{/privacy}",
"followers_url": "https://api.github.com/users/parlarjb/followers",
"following_url": "https://api.github.com/users/parlarjb/following{/other_user}",
"gists_url": "https://api.github.com/users/parlarjb/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/parlarjb",
"id": 9376,
"login": "parlarjb",
"node_id": "MDQ6VXNlcjkzNzY=",
"organizations_url": "https://api.github.com/users/parlarjb/orgs",
"received_events_url": "https://api.github.com/users/parlarjb/received_events",
"repos_url": "https://api.github.com/users/parlarjb/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/parlarjb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/parlarjb/subscriptions",
"type": "User",
"url": "https://api.github.com/users/parlarjb"
} | [] | closed | false | null | [] | null | 1 | "2012-12-22T05:05:07Z" | "2012-12-25T16:04:15Z" | "2012-12-25T16:04:11Z" | CONTRIBUTOR | null | Fixed a small typo in the docs
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2581/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2581/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2581.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2581",
"merged_at": "2012-12-25T16:04:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/2581.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2581"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2582 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2582/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2582/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2582/events | https://github.com/pandas-dev/pandas/issues/2582 | 9,482,547 | MDU6SXNzdWU5NDgyNTQ3 | 2,582 | Cannot resample('M') after tz_convert | {
"avatar_url": "https://avatars.githubusercontent.com/u/2735044?v=4",
"events_url": "https://api.github.com/users/yarivm/events{/privacy}",
"followers_url": "https://api.github.com/users/yarivm/followers",
"following_url": "https://api.github.com/users/yarivm/following{/other_user}",
"gists_url": "https://api.github.com/users/yarivm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yarivm",
"id": 2735044,
"login": "yarivm",
"node_id": "MDQ6VXNlcjI3MzUwNDQ=",
"organizations_url": "https://api.github.com/users/yarivm/orgs",
"received_events_url": "https://api.github.com/users/yarivm/received_events",
"repos_url": "https://api.github.com/users/yarivm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yarivm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yarivm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yarivm"
} | [] | closed | false | null | [] | null | 0 | "2012-12-22T09:58:34Z" | "2012-12-22T17:21:51Z" | "2012-12-22T16:44:06Z" | NONE | null | Update: I believe this has been fixed in v.0.10.0, so it can be closed.
In Pandas v.0.9.0:
``` python
dd=pd.date_range('2012-1-1 1:30', periods=3, freq='min').tz_localize('UTC').tz_convert('EST')
pd.Series([1,2,3],index=dd).resample('M')
```
Output:
```
Exception: Cannot compare tz-naive and tz-aware timestamps
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2582/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2582/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2583 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2583/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2583/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2583/events | https://github.com/pandas-dev/pandas/issues/2583 | 9,483,904 | MDU6SXNzdWU5NDgzOTA0 | 2,583 | Date formatting option in to_csv? | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "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": "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"
}
] | 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 | "2012-12-22T14:27:36Z" | "2013-09-28T19:34:23Z" | "2013-09-28T19:34:23Z" | MEMBER | null | http://stackoverflow.com/questions/13999850/how-to-specify-date-format-when-using-pandas-to-csv
http://stackoverflow.com/questions/15651527/how-to-stop-python-pandas-from-adding-000000-to-every-date
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2583/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2583/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2584 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2584/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2584/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2584/events | https://github.com/pandas-dev/pandas/pull/2584 | 9,485,388 | MDExOlB1bGxSZXF1ZXN0MzQ2OTM4Ng== | 2,584 | CLN: Remove a useless parameter in Series.iteritem method. | {
"avatar_url": "https://avatars.githubusercontent.com/u/98194?v=4",
"events_url": "https://api.github.com/users/garaud/events{/privacy}",
"followers_url": "https://api.github.com/users/garaud/followers",
"following_url": "https://api.github.com/users/garaud/following{/other_user}",
"gists_url": "https://api.github.com/users/garaud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/garaud",
"id": 98194,
"login": "garaud",
"node_id": "MDQ6VXNlcjk4MTk0",
"organizations_url": "https://api.github.com/users/garaud/orgs",
"received_events_url": "https://api.github.com/users/garaud/received_events",
"repos_url": "https://api.github.com/users/garaud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/garaud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/garaud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/garaud"
} | [] | closed | false | null | [] | {
"closed_at": "2013-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 1 | "2012-12-22T18:04:37Z" | "2012-12-28T15:12:07Z" | "2012-12-28T15:12:07Z" | CONTRIBUTOR | null | Hi,
I was reading some docstring of some `Series` & `DataFrame` methods from IPython. I wondered what the parameter `index` of the method `Series.iteritems` -- and thus the `iterkv` method -- did. I think it's not used. Tests passed.
Cheers,
Damien G.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2584/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2584/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2584.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2584",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2584.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2584"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2585 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2585/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2585/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2585/events | https://github.com/pandas-dev/pandas/issues/2585 | 9,486,416 | MDU6SXNzdWU5NDg2NDE2 | 2,585 | Wide repr formatting problem | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 8 | "2012-12-22T20:39:56Z" | "2012-12-29T04:30:44Z" | "2012-12-28T18:44:30Z" | MEMBER | null | Bummer. This happened in IPython on git master, `display.line_width` set to 80
```
In [18]: df.columns
Out[18]: Index([Symbol, Description, MTM MTD, MTM YTD, Realized ST MTD, Realized ST YTD, Realized LT MTD, Realized LT YTD, Underlying, Kind], dtype=object)
In [19]: df
Out[19]:
Symbol Description MTM MTD MTM YTD Realized ST MTD Realized ST YTD Realized LT MTD Realized LT YTD Underlying Kind
0 NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
1 NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
2 NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
3 NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
4 NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2585/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2585/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2586 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2586/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2586/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2586/events | https://github.com/pandas-dev/pandas/issues/2586 | 9,487,623 | MDU6SXNzdWU5NDg3NjIz | 2,586 | ENH: add date_format to read_csv / Date parsing mistake. read_csv | {
"avatar_url": "https://avatars.githubusercontent.com/u/1867189?v=4",
"events_url": "https://api.github.com/users/John-Colvin/events{/privacy}",
"followers_url": "https://api.github.com/users/John-Colvin/followers",
"following_url": "https://api.github.com/users/John-Colvin/following{/other_user}",
"gists_url": "https://api.github.com/users/John-Colvin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/John-Colvin",
"id": 1867189,
"login": "John-Colvin",
"node_id": "MDQ6VXNlcjE4NjcxODk=",
"organizations_url": "https://api.github.com/users/John-Colvin/orgs",
"received_events_url": "https://api.github.com/users/John-Colvin/received_events",
"repos_url": "https://api.github.com/users/John-Colvin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/John-Colvin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/John-Colvin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/John-Colvin"
} | [
{
"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": "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"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 19 | "2012-12-22T23:57:52Z" | "2019-12-01T20:58:24Z" | null | CONTRIBUTOR | null | `date_format` keyword could take the format, dict of columns to format, or list of formats (and could then obviate the need for parse_dates)
Sometimes months and days get mixed up.
E.g.
test.csv:
a,b
27.03.2003 14:55:00.000,1
03.08.2003 15:20:00.000,2
read_csv("/home/john/Documents/test.csv",index_col=0, parse_dates=True)
b
a
2003-03-27 14:55:00 1
2003-03-08 15:20:00 2
There doesn't appear to be any continuity in the date parsing over the rows. As well as meaning things can easily get switched around, this makes date parsing VERY slow. Once you know the format, using the datetime constructor with string slicing as a parser makes read_csv 20x faster on my machine.
I think there needs to be some more parameters for specifying date formats. seeing as in the general case dates a string of dates can be ambiguous (see above).
A possible approach: Have a few default formats to choose from, as well as a more general format string approach. Obviously the defaults could use the datetime constructor with string slicing, which is very fast.
Perhaps have a dayfirst and yearfirst flag that gets passed to dateutil.parser.parse to solve ambiguities when using automatic parsing.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2586/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2586/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2587 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2587/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2587/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2587/events | https://github.com/pandas-dev/pandas/issues/2587 | 9,488,101 | MDU6SXNzdWU5NDg4MTAx | 2,587 | Series.add can't do with scalar value | {
"avatar_url": "https://avatars.githubusercontent.com/u/2628740?v=4",
"events_url": "https://api.github.com/users/zhangruoyu/events{/privacy}",
"followers_url": "https://api.github.com/users/zhangruoyu/followers",
"following_url": "https://api.github.com/users/zhangruoyu/following{/other_user}",
"gists_url": "https://api.github.com/users/zhangruoyu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zhangruoyu",
"id": 2628740,
"login": "zhangruoyu",
"node_id": "MDQ6VXNlcjI2Mjg3NDA=",
"organizations_url": "https://api.github.com/users/zhangruoyu/orgs",
"received_events_url": "https://api.github.com/users/zhangruoyu/received_events",
"repos_url": "https://api.github.com/users/zhangruoyu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zhangruoyu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zhangruoyu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zhangruoyu"
} | [
{
"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-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 2 | "2012-12-23T05:58:27Z" | "2012-12-28T15:42:29Z" | "2012-12-28T15:42:29Z" | NONE | null | s = pd.Series([1,2,3])
s.add(3)
raise AssertionError: Other operand must be Series.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2587/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2587/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2588 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2588/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2588/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2588/events | https://github.com/pandas-dev/pandas/issues/2588 | 9,488,241 | MDU6SXNzdWU5NDg4MjQx | 2,588 | pandas plot giving value error in IPython/zmq/pylab/backend_inline.pyc | {
"avatar_url": "https://avatars.githubusercontent.com/u/247237?v=4",
"events_url": "https://api.github.com/users/brendam/events{/privacy}",
"followers_url": "https://api.github.com/users/brendam/followers",
"following_url": "https://api.github.com/users/brendam/following{/other_user}",
"gists_url": "https://api.github.com/users/brendam/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/brendam",
"id": 247237,
"login": "brendam",
"node_id": "MDQ6VXNlcjI0NzIzNw==",
"organizations_url": "https://api.github.com/users/brendam/orgs",
"received_events_url": "https://api.github.com/users/brendam/received_events",
"repos_url": "https://api.github.com/users/brendam/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/brendam/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/brendam/subscriptions",
"type": "User",
"url": "https://api.github.com/users/brendam"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | {
"closed_at": "2013-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 2 | "2012-12-23T06:38:47Z" | "2013-01-19T22:14:52Z" | "2013-01-19T22:14:50Z" | CONTRIBUTOR | null | Using ipython 0.13.1 and pandas 0.10.0, having both the 'color' and 'style' parameter to pandas.Series.plot() gives a value error in pylab. Not sure if I should report this here or in ipython?
``` python
from pandas import *
ts = Series(randn(1000), index=date_range('1/1/2000', periods=1000))
ts = ts.cumsum()
# having color and style causes Value error crash
ts.plot(color='#000099', style='b-')
```
``` python
ValueError: to_rgba: Invalid rgba arg "['#000099']"
need more than 1 value to unpack
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2588/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2588/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2589 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2589/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2589/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2589/events | https://github.com/pandas-dev/pandas/pull/2589 | 9,488,998 | MDExOlB1bGxSZXF1ZXN0MzQ3MDU1Mw== | 2,589 | Add some default parameters to TextParser in _parse_options_data() | {
"avatar_url": "https://avatars.githubusercontent.com/u/440095?v=4",
"events_url": "https://api.github.com/users/qwhelan/events{/privacy}",
"followers_url": "https://api.github.com/users/qwhelan/followers",
"following_url": "https://api.github.com/users/qwhelan/following{/other_user}",
"gists_url": "https://api.github.com/users/qwhelan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/qwhelan",
"id": 440095,
"login": "qwhelan",
"node_id": "MDQ6VXNlcjQ0MDA5NQ==",
"organizations_url": "https://api.github.com/users/qwhelan/orgs",
"received_events_url": "https://api.github.com/users/qwhelan/received_events",
"repos_url": "https://api.github.com/users/qwhelan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/qwhelan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/qwhelan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/qwhelan"
} | [] | closed | false | null | [] | {
"closed_at": "2013-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 1 | "2012-12-23T09:33:22Z" | "2012-12-28T15:09:42Z" | "2012-12-28T15:09:42Z" | CONTRIBUTOR | null | The Options class can return some awkward dtypes:
``` python
In [1]: from pandas.io.data import *
In [2]: aapl = Options('aapl')
In [3]: a = aapl.get_put_data(1,2013)
In [4]: a.dtypes
Out[4]:
Strike object
Symbol object
Last float64
Chg float64
Bid object
Ask float64
Vol object
Open Int object
```
There are two causes for Strike/Bid/Vol/Open Int having `object` dtypes: not parsing the NaN value and not passing a thousands separator.
``` python
In [5]: a.Bid[:5]
Out[5]:
0 0.01
1 N/A
2 N/A
3 N/A
4 N/A
Name: Bid
In [6]: a['Open Int'][:5]
Out[6]:
0 8,744
1 2,381
2 1,117
3 4,586
4 1,535
Name: Open Int
```
I've checked with a couple non-US proxies and it seems that finance.yahoo.com (the hardcoded url) does not redirect to the local version (yahoo.com does redirect). Since we're getting the US site, we can pass `','` as the thousands separator and `'N/A'`as the NaN value.
These changes yield the following dtypes:
``` python
In [4]: a.dtypes
Out[4]:
Strike float64
Symbol object
Last float64
Chg float64
Bid float64
Ask float64
Vol int64
Open Int int64
In [5]: a[:5]
Out[5]:
Strike Symbol Last Chg Bid Ask Vol Open Int
0 135 AAPL130119P00135000 0.02 0.01 0.01 0.03 5 8744
1 140 AAPL130119P00140000 0.02 0.00 NaN 0.04 11 2381
2 145 AAPL130119P00145000 0.01 0.03 NaN 0.11 3 1117
3 150 AAPL130119P00150000 0.01 0.00 NaN 0.11 20 4586
4 155 AAPL130119P00155000 0.01 0.00 NaN 0.11 4 1535
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2589/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2589/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2589.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2589",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2589.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2589"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2590 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2590/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2590/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2590/events | https://github.com/pandas-dev/pandas/pull/2590 | 9,490,146 | MDExOlB1bGxSZXF1ZXN0MzQ3MDk0Nw== | 2,590 | Update force_unicode documentation | {
"avatar_url": "https://avatars.githubusercontent.com/u/440095?v=4",
"events_url": "https://api.github.com/users/qwhelan/events{/privacy}",
"followers_url": "https://api.github.com/users/qwhelan/followers",
"following_url": "https://api.github.com/users/qwhelan/following{/other_user}",
"gists_url": "https://api.github.com/users/qwhelan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/qwhelan",
"id": 440095,
"login": "qwhelan",
"node_id": "MDQ6VXNlcjQ0MDA5NQ==",
"organizations_url": "https://api.github.com/users/qwhelan/orgs",
"received_events_url": "https://api.github.com/users/qwhelan/received_events",
"repos_url": "https://api.github.com/users/qwhelan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/qwhelan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/qwhelan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/qwhelan"
} | [] | closed | false | null | [] | {
"closed_at": "2013-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 1 | "2012-12-23T13:10:29Z" | "2012-12-28T13:49:54Z" | "2012-12-28T13:49:54Z" | CONTRIBUTOR | null | Should resolve #2053.
For consistency, I've re-added the `force_unicode` parameter to `to_latex()` and have it now raise a deprecation warning. I've also updated the common docstring for the `to_*` methods to have a brief explanation as to why the parameter is deprecated.
There were a couple other missing deprecation warnings (`force_unicode` in `to_html()` and `colSpace` in `to_latex()`) that should now have consistent behavior with other methods.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2590/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2590/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2590.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2590",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2590.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2590"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2591 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2591/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2591/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2591/events | https://github.com/pandas-dev/pandas/issues/2591 | 9,491,283 | MDU6SXNzdWU5NDkxMjgz | 2,591 | Localize a column of Timestamps | {
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | null | [] | {
"closed_at": "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 | "2012-12-23T16:10:21Z" | "2013-09-20T22:49:51Z" | "2013-09-20T22:49:51Z" | CONTRIBUTOR | null | Migrated from [StackOverflow](http://stackoverflow.com/questions/14004545/how-to-convert-the-time-zone-of-the-values-of-a-pandas-series):
```
s = pd.Series(pd.date_range('2012-1-1 1:30', periods=3, freq='min', tz='EST'))
```
You can convert each item individually:
```
In [86]: s[0]
Out[86]: <Timestamp: 2012-01-01 06:30:00>
In [87]: s[0].tz_localize('UTC')
Out[87]: <Timestamp: 2012-01-01 06:30:00+0000 UTC, tz=UTC>
```
But when you try to apply across all columns (same with `convert_dtype=True`):
```
In [81]: s.apply(lambda x: x.tz_localize('UTC'), convert_dtype=False)
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-81-0b4fa5c03650> in <module>()
----> 1 s.apply(lambda x: x.tz_localize('UTC'), convert_dtype=False)
/usr/lib/pymodules/python2.7/pandas/core/series.pyc in apply(self, func, convert_dtype, args, **kwds)
2244 return f(self)
2245
-> 2246 mapped = lib.map_infer(self.values, f, convert=convert_dtype)
2247 if isinstance(mapped[0], Series):
2248 from pandas.core.frame import DataFrame
/usr/lib/pymodules/python2.7/pandas/lib.so in pandas.lib.map_infer (pandas/lib.c:39084)()
<ipython-input-81-0b4fa5c03650> in <lambda>(x)
----> 1 s.apply(lambda x: x.tz_localize('UTC'), convert_dtype=False)
AttributeError: 'numpy.datetime64' object has no attribute 'tz_localize'
```
One workaround is forcing it to be a Timestamp:
```
In [91]: from pandas.lib import Timestamp
In [92]: s.apply(lambda x: Timestamp(x).tz_localize('UTC'))
Out[92]:
0 2012-01-01 06:30:00+00:00
1 2012-01-01 06:31:00+00:00
2 2012-01-01 06:32: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/2591/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2591/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2592 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2592/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2592/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2592/events | https://github.com/pandas-dev/pandas/pull/2592 | 9,492,435 | MDExOlB1bGxSZXF1ZXN0MzQ3MTY4Ng== | 2,592 | ENH: IO World Bank WDI | {
"avatar_url": "https://avatars.githubusercontent.com/u/987057?v=4",
"events_url": "https://api.github.com/users/vincentarelbundock/events{/privacy}",
"followers_url": "https://api.github.com/users/vincentarelbundock/followers",
"following_url": "https://api.github.com/users/vincentarelbundock/following{/other_user}",
"gists_url": "https://api.github.com/users/vincentarelbundock/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vincentarelbundock",
"id": 987057,
"login": "vincentarelbundock",
"node_id": "MDQ6VXNlcjk4NzA1Nw==",
"organizations_url": "https://api.github.com/users/vincentarelbundock/orgs",
"received_events_url": "https://api.github.com/users/vincentarelbundock/received_events",
"repos_url": "https://api.github.com/users/vincentarelbundock/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vincentarelbundock/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vincentarelbundock/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vincentarelbundock"
} | [] | closed | false | null | [] | {
"closed_at": "2013-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 5 | "2012-12-23T18:58:15Z" | "2014-06-14T16:53:15Z" | "2012-12-28T16:01:42Z" | CONTRIBUTOR | null | The World Bank's World Development Indicators (WDI) is a collection of nearly 8000 data series in country-year format. These data cover a wide range of topics (e.g. demography, economics), and they are freely available freely through the World Bank API.
http://data.worldbank.org/
This PR introduces a very simple io module to search and downloading data from the WDI. Usage example: http://nbviewer.ipython.org/4365089/
I don't know the best way to test features such as this one, so I may need a bit of help there.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2592/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2592/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2592.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2592",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2592.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2592"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2593 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2593/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2593/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2593/events | https://github.com/pandas-dev/pandas/issues/2593 | 9,503,230 | MDU6SXNzdWU5NTAzMjMw | 2,593 | read_csv, compression, CParser | {
"avatar_url": "https://avatars.githubusercontent.com/u/3111797?v=4",
"events_url": "https://api.github.com/users/vishnu2kmohan/events{/privacy}",
"followers_url": "https://api.github.com/users/vishnu2kmohan/followers",
"following_url": "https://api.github.com/users/vishnu2kmohan/following{/other_user}",
"gists_url": "https://api.github.com/users/vishnu2kmohan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vishnu2kmohan",
"id": 3111797,
"login": "vishnu2kmohan",
"node_id": "MDQ6VXNlcjMxMTE3OTc=",
"organizations_url": "https://api.github.com/users/vishnu2kmohan/orgs",
"received_events_url": "https://api.github.com/users/vishnu2kmohan/received_events",
"repos_url": "https://api.github.com/users/vishnu2kmohan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vishnu2kmohan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vishnu2kmohan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vishnu2kmohan"
} | [
{
"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-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 4 | "2012-12-24T16:40:28Z" | "2012-12-28T14:48:30Z" | "2012-12-28T14:47:55Z" | NONE | null | The CParser doesn't appear to handle the compression flag in 0.10.0
```
vishnu@grsectoo ~/python/pandas $ cat compression.csv
"Time","A","B"
"12/24/2012 12:00:00","1.00","2.00"
vishnu@grsectoo ~/python/pandas $ zcat compression.csv.gz
"Time","A","B"
"12/24/2012 12:00:00","1.00","2.00",
vishnu@grsectoo ~/python/pandas $ bzcat compression.csv.bz2
"Time","A","B"
"12/24/2012 12:00:00","1.00","2.00"
```
I've shown my results with Python 3.2.3 and IPython 0.13.1 but it also manifests in Python 2.7.3
```
vishnu@grsectoo ~/python/pandas $ ipython
Python 3.2.3 (default, Dec 17 2012, 23:03:08)
Type "copyright", "credits" or "license" for more information.
IPython 0.13.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import pandas as pd
In [2]: import gzip
In [3]: import bz2
```
The raw csv file reads just fine:
```
In [4]: with open('compression.csv') as fh:
pd.read_csv(fh, sep=',', parse_dates=[0], index_col=[0])
...:
```
Attempting to read the compressed version, while passing compression='gzip' fails:
```
In [5]: with open('compression.csv.gz') as fh:
pd.read_csv(fh, sep=',', parse_dates=[0], index_col=[0], compression='gzip')
...:
---------------------------------------------------------------------------
CParserError Traceback (most recent call last)
<ipython-input-5-3e61cc453d63> in <module>()
1 with open('compression.csv.gz') as fh:
----> 2 pd.read_csv(fh, sep=',', parse_dates=[0], index_col=[0], compression='gzip')
3
/usr/lib64/python3.2/site-packages/pandas/io/parsers.py in parser_f(filepath_or_buffer, sep, dialect, compression, doublequote, escapechar, quotechar, quoting, skipinitialspace, lineterminator, header, index_col, names, prefix, skiprows, skipfooter, skip_footer, na_values, true_values, false_values, delimiter, converters, dtype, usecols, engine, delim_whitespace, as_recarray, na_filter, compact_ints, use_unsigned, low_memory, buffer_lines, warn_bad_lines, error_bad_lines, keep_default_na, thousands, comment, decimal, parse_dates, keep_date_col, dayfirst, date_parser, memory_map, nrows, iterator, chunksize, verbose, encoding, squeeze)
390 buffer_lines=buffer_lines)
391
--> 392 return _read(filepath_or_buffer, kwds)
393
394 parser_f.__name__ = name
/usr/lib64/python3.2/site-packages/pandas/io/parsers.py in _read(filepath_or_buffer, kwds)
199
200 # Create the parser.
--> 201 parser = TextFileReader(filepath_or_buffer, **kwds)
202
203 if nrows is not None:
/usr/lib64/python3.2/site-packages/pandas/io/parsers.py in __init__(self, f, engine, **kwds)
499 self.options['has_index_names'] = kwds['has_index_names']
500
--> 501 self._make_engine(self.engine)
502
503 def _get_options_with_defaults(self, engine):
/usr/lib64/python3.2/site-packages/pandas/io/parsers.py in _make_engine(self, engine)
601 def _make_engine(self, engine='c'):
602 if engine == 'c':
--> 603 self._engine = CParserWrapper(self.f, **self.options)
604 else:
605 if engine == 'python':
/usr/lib64/python3.2/site-packages/pandas/io/parsers.py in __init__(self, src, **kwds)
880 # #2442
881 kwds['allow_leading_cols'] = self.index_col is not False
--> 882 self._reader = _parser.TextReader(src, **kwds)
883
884 # XXX
/usr/lib64/python3.2/site-packages/pandas/_parser.cpython-32.so in pandas._parser.TextReader.__cinit__ (pandas/src/parser.c:3915)()
/usr/lib64/python3.2/site-packages/pandas/_parser.cpython-32.so in pandas._parser.TextReader._get_header (pandas/src/parser.c:4956)()
/usr/lib64/python3.2/site-packages/pandas/_parser.cpython-32.so in pandas._parser.TextReader._tokenize_rows (pandas/src/parser.c:6531)()
/usr/lib64/python3.2/site-packages/pandas/_parser.cpython-32.so in pandas._parser.raise_parser_error (pandas/src/parser.c:16903)()
CParserError: Error tokenizing data. C error: Calling read(nbytes) on source failed. Try engine='python'.
```
However if I pass a GzipFile handle instead, we are able to read the csv;
```
In [6]: with gzip.GzipFile('compression.csv.gz') as fh:
pd.read_csv(fh, sep=',', parse_dates=[0], index_col=[0], compression='gzip')
...:
```
Also, opening a bzip2 version while passing in compression='bz2' fails:
```
In [7]: with open('compression.csv.bz2') as fh:
pd.read_csv(fh, sep=',', parse_dates=[0], index_col=[0], compression='bz2')
...:
---------------------------------------------------------------------------
CParserError Traceback (most recent call last)
<ipython-input-7-2736c68aa21d> in <module>()
1 with open('compression.csv.bz2') as fh:
----> 2 pd.read_csv(fh, sep=',', parse_dates=[0], index_col=[0], compression='bz2')
3
/usr/lib64/python3.2/site-packages/pandas/io/parsers.py in parser_f(filepath_or_buffer, sep, dialect, compression, doublequote, escapechar, quotechar, quoting, skipinitialspace, lineterminator, header, index_col, names, prefix, skiprows, skipfooter, skip_footer, na_values, true_values, false_values, delimiter, converters, dtype, usecols, engine, delim_whitespace, as_recarray, na_filter, compact_ints, use_unsigned, low_memory, buffer_lines, warn_bad_lines, error_bad_lines, keep_default_na, thousands, comment, decimal, parse_dates, keep_date_col, dayfirst, date_parser, memory_map, nrows, iterator, chunksize, verbose, encoding, squeeze)
390 buffer_lines=buffer_lines)
391
--> 392 return _read(filepath_or_buffer, kwds)
393
394 parser_f.__name__ = name
/usr/lib64/python3.2/site-packages/pandas/io/parsers.py in _read(filepath_or_buffer, kwds)
199
200 # Create the parser.
--> 201 parser = TextFileReader(filepath_or_buffer, **kwds)
202
203 if nrows is not None:
/usr/lib64/python3.2/site-packages/pandas/io/parsers.py in __init__(self, f, engine, **kwds)
499 self.options['has_index_names'] = kwds['has_index_names']
500
--> 501 self._make_engine(self.engine)
502
503 def _get_options_with_defaults(self, engine):
/usr/lib64/python3.2/site-packages/pandas/io/parsers.py in _make_engine(self, engine)
601 def _make_engine(self, engine='c'):
602 if engine == 'c':
--> 603 self._engine = CParserWrapper(self.f, **self.options)
604 else:
605 if engine == 'python':
/usr/lib64/python3.2/site-packages/pandas/io/parsers.py in __init__(self, src, **kwds)
880 # #2442
881 kwds['allow_leading_cols'] = self.index_col is not False
--> 882 self._reader = _parser.TextReader(src, **kwds)
883
884 # XXX
/usr/lib64/python3.2/site-packages/pandas/_parser.cpython-32.so in pandas._parser.TextReader.__cinit__ (pandas/src/parser.c:3915)()
/usr/lib64/python3.2/site-packages/pandas/_parser.cpython-32.so in pandas._parser.TextReader._get_header (pandas/src/parser.c:4956)()
/usr/lib64/python3.2/site-packages/pandas/_parser.cpython-32.so in pandas._parser.TextReader._tokenize_rows (pandas/src/parser.c:6531)()
/usr/lib64/python3.2/site-packages/pandas/_parser.cpython-32.so in pandas._parser.raise_parser_error (pandas/src/parser.c:16903)()
CParserError: Error tokenizing data. C error: Calling read(nbytes) on source failed. Try engine='python'.
```
Passing a BZ2File handle allows the parser to read the csv:
```
In [9]: with bz2.BZ2File('compression.csv.bz2') as fh:
pd.read_csv(fh, sep=',', parse_dates=[0], index_col=[0], compression='bz2')
...:
```
Version:
```
In [10]: pd.version.version
Out[10]: '0.10.0'
```
This issue also manifests in the current git master.
Thanks,
Vishnu
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2593/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2593/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2594 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2594/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2594/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2594/events | https://github.com/pandas-dev/pandas/issues/2594 | 9,503,725 | MDU6SXNzdWU5NTAzNzI1 | 2,594 | Support parsing thousands separators in floating point data | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "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"
} | 3 | "2012-12-24T17:30:22Z" | "2013-08-26T19:00:12Z" | "2013-08-26T19:00:12Z" | MEMBER | null | xref #584
```
It seems that the decimal format works ok for the decimal sign or for the thousands but not combined.
Reopen the issue?
Example
import pandas as pd
from StringIO import StringIO
data = """A;B;C
0;0,11;0,11
1.000;1000,11;1.000,11
20.000;20000,22;20.000,22
300.000;300000,33;300.000,33
4.000.000;4000000,44;4.000.000,44
5.000.000.000;5000000000,55;5.000.000.000,55"""
df = pd.read_csv(StringIO(data), sep=';', thousands='.', decimal =',')
print df.dtypes
print df
Results in
A int64
B float64
C object
A B C
0 0 1.100000e-01 0,11
1 1000 1.000110e+03 1.000,11
2 20000 2.000022e+04 20.000,22
3 300000 3.000003e+05 300.000,33
4 4000000 4.000000e+06 4.000.000,44
5 5000000000 5.000000e+09 5.000.000.000,55
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2594/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2594/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2595 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2595/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2595/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2595/events | https://github.com/pandas-dev/pandas/pull/2595 | 9,507,588 | MDExOlB1bGxSZXF1ZXN0MzQ3NzUxNw== | 2,595 | BUG: provide for automatic conversion of object -> datetime64 | {
"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-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 3 | "2012-12-25T04:48:59Z" | "2014-06-19T17:13:25Z" | "2012-12-28T16:40:22Z" | CONTRIBUTOR | null | - construct series that have M8[ns] dtype even in the presence of NaN (rather than object)
see below.
- allow np.nan to be used in place of NaT in series construction (requires explicity dtype to be passed)
e.g. `Series(np.nan,index=range(5),dtype='M8[ns]')`
- bug fix in applymap (tseries/tests/test_timeseries/test_frame_apply_dont_convert_datetime64), because explicit
conversion of the series to M8ns, now has the function operating on datetime64 values and ufuncs dont' work for some reason,
explicity required conversion to Timestamp values make this work (same issue as in GH #2591)
```
In [1]: import numpy as np
In [2]: import pandas as pd
```
This currently works
```
In [12]: df = pd.DataFrame(np.random.randn(8,2),pd.date_range('20010102',periods=8),columns=['A','B'])
In [13]: df['timestamp'] = pd.Timestamp('20010103')
In [14]: x = df.convert_objects()
In [15]: x
Out[15]:
A B timestamp
2001-01-02 -0.228005 -1.376432 2001-01-03 00:00:00
2001-01-03 -0.555251 0.277356 2001-01-03 00:00:00
2001-01-04 -0.295289 0.534981 2001-01-03 00:00:00
2001-01-05 -0.332815 -1.436975 2001-01-03 00:00:00
2001-01-06 -1.848818 0.405773 2001-01-03 00:00:00
2001-01-07 -0.734903 -0.174140 2001-01-03 00:00:00
2001-01-08 -0.388864 -0.765329 2001-01-03 00:00:00
2001-01-09 -0.341015 0.170630 2001-01-03 00:00:00
In [16]: x.get_dtype_counts()
Out[16]:
datetime64[ns] 1
float64 2
In [21]: x.ix[3,'timestamp'] = iNaT
In [22]: x
Out[22]:
A B timestamp
2001-01-02 -0.228005 -1.376432 2001-01-03 00:00:00
2001-01-03 -0.555251 0.277356 2001-01-03 00:00:00
2001-01-04 -0.295289 0.534981 2001-01-03 00:00:00
2001-01-05 -0.332815 -1.436975 NaT
2001-01-06 -1.848818 0.405773 2001-01-03 00:00:00
2001-01-07 -0.734903 -0.174140 2001-01-03 00:00:00
2001-01-08 -0.388864 -0.765329 2001-01-03 00:00:00
2001-01-09 -0.341015 0.170630 2001-01-03 00:00:00
```
This leaves you in limbo, as you have basically a datatime64 column, but with a float nan in it (so it has to stay object)
```
In [3]: df = pd.DataFrame(np.random.randn(8,2),pd.date_range('20010102',periods=8),columns=['A','B'])
In [4]: df
Out[4]:
A B
2001-01-02 0.939393 -2.524448
2001-01-03 -1.059561 0.104651
2001-01-04 -0.842478 1.033888
2001-01-05 -1.009903 -0.334782
2001-01-06 -0.452043 -0.382408
2001-01-07 -0.058516 1.162884
2001-01-08 0.660251 0.688290
2001-01-09 0.069637 0.366915
In [5]: df['timestamp'] = pd.Timestamp('20010103')
In [6]: df
Out[6]:
A B timestamp
2001-01-02 0.939393 -2.524448 2001-01-03 00:00:00
2001-01-03 -1.059561 0.104651 2001-01-03 00:00:00
2001-01-04 -0.842478 1.033888 2001-01-03 00:00:00
2001-01-05 -1.009903 -0.334782 2001-01-03 00:00:00
2001-01-06 -0.452043 -0.382408 2001-01-03 00:00:00
2001-01-07 -0.058516 1.162884 2001-01-03 00:00:00
2001-01-08 0.660251 0.688290 2001-01-03 00:00:00
2001-01-09 0.069637 0.366915 2001-01-03 00:00:00
In [7]: df.get_dtype_counts()
Out[7]:
float64 2
object 1
In [9]: df.ix[3,'timestamp'] = np.nan
In [10]: df
Out[10]:
A B timestamp
2001-01-02 0.939393 -2.524448 2001-01-03 00:00:00
2001-01-03 -1.059561 0.104651 2001-01-03 00:00:00
2001-01-04 -0.842478 1.033888 2001-01-03 00:00:00
2001-01-05 -1.009903 -0.334782 NaN
2001-01-06 -0.452043 -0.382408 2001-01-03 00:00:00
2001-01-07 -0.058516 1.162884 2001-01-03 00:00:00
2001-01-08 0.660251 0.688290 2001-01-03 00:00:00
2001-01-09 0.069637 0.366915 2001-01-03 00:00:00
In [11]: df.convert_objects().get_dtype_counts()
Out[11]:
float64 2
object 1
```
This PR enables this syntax:
```
In [3]: df = pd.DataFrame(np.random.randn(8,2),pd.date_range('20010102',periods=8),columns=['A','B'])
In [4]: df['timestamp'] = pd.Timestamp('20010103')
# datetime64[ns] out of the box
In [5]: df.get_dtype_counts()
Out[5]:
datetime64[ns] 1
float64 2
# use the traditional nan, which is mapped to iNaT internally
In [6]: df.ix[2:4,'timestamp'] = np.nan
In [7]: df
Out[7]:
A B timestamp
2001-01-02 0.234354 -3.167626 2001-01-03 00:00:00
2001-01-03 0.141300 -0.548670 2001-01-03 00:00:00
2001-01-04 0.738884 -0.104497 NaT
2001-01-05 0.873046 1.193593 NaT
2001-01-06 1.174226 1.697421 2001-01-03 00:00:00
2001-01-07 -0.069534 -0.145611 2001-01-03 00:00:00
2001-01-08 -0.951426 -1.158884 2001-01-03 00:00:00
2001-01-09 -0.322041 -0.800181 2001-01-03 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/2595/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2595/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2595.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2595",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2595.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2595"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2596 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2596/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2596/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2596/events | https://github.com/pandas-dev/pandas/issues/2596 | 9,512,906 | MDU6SXNzdWU5NTEyOTA2 | 2,596 | Hierarchical columns indexing issue | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2013-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 0 | "2012-12-25T18:59:22Z" | "2016-10-12T23:03:26Z" | "2013-01-20T02:40:45Z" | MEMBER | null | http://stackoverflow.com/questions/14025879/assertion-error-in-columns-in-dataframe-with-hierarchical-indexing
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2596/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2596/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2597 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2597/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2597/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2597/events | https://github.com/pandas-dev/pandas/issues/2597 | 9,515,024 | MDU6SXNzdWU5NTE1MDI0 | 2,597 | Updating DataFrames not Case Sensitive | {
"avatar_url": "https://avatars.githubusercontent.com/u/3123687?v=4",
"events_url": "https://api.github.com/users/smithjev/events{/privacy}",
"followers_url": "https://api.github.com/users/smithjev/followers",
"following_url": "https://api.github.com/users/smithjev/following{/other_user}",
"gists_url": "https://api.github.com/users/smithjev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/smithjev",
"id": 3123687,
"login": "smithjev",
"node_id": "MDQ6VXNlcjMxMjM2ODc=",
"organizations_url": "https://api.github.com/users/smithjev/orgs",
"received_events_url": "https://api.github.com/users/smithjev/received_events",
"repos_url": "https://api.github.com/users/smithjev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/smithjev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/smithjev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/smithjev"
} | [] | closed | false | null | [] | null | 4 | "2012-12-26T00:54:39Z" | "2013-12-04T00:40:19Z" | "2012-12-26T01:45:22Z" | NONE | null | I have two nearly identical DataFrames (same index structure and column names) with different names. One is called DF the other is df (only difference is case of the name). When updating values in columns of one DataFrame, the corresponding values in the other are also updated. I am guessing somewhere in the back end writing to DataFrames is not case sensitive where it ought to be.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2597/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2597/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2598 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2598/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2598/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2598/events | https://github.com/pandas-dev/pandas/issues/2598 | 9,515,103 | MDU6SXNzdWU5NTE1MTAz | 2,598 | Enable easier multi-group selection from single level in hierarchical index | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 0 | "2012-12-26T01:11:34Z" | "2014-02-13T23:12:31Z" | "2014-02-13T23:12:31Z" | MEMBER | null | http://stackoverflow.com/questions/13993524/pandas-slicing-along-multiindex-and-separate-indices
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2598/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2598/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2599 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2599/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2599/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2599/events | https://github.com/pandas-dev/pandas/issues/2599 | 9,516,209 | MDU6SXNzdWU5NTE2MjA5 | 2,599 | read_csv treats zeroes as nan if column contains any nan | {
"avatar_url": "https://avatars.githubusercontent.com/u/63734?v=4",
"events_url": "https://api.github.com/users/sanand0/events{/privacy}",
"followers_url": "https://api.github.com/users/sanand0/followers",
"following_url": "https://api.github.com/users/sanand0/following{/other_user}",
"gists_url": "https://api.github.com/users/sanand0/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sanand0",
"id": 63734,
"login": "sanand0",
"node_id": "MDQ6VXNlcjYzNzM0",
"organizations_url": "https://api.github.com/users/sanand0/orgs",
"received_events_url": "https://api.github.com/users/sanand0/received_events",
"repos_url": "https://api.github.com/users/sanand0/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sanand0/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sanand0/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sanand0"
} | [
{
"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-05-10T10:40:59Z",
"closed_issues": 96,
"created_at": "2012-12-20T01:26:02Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2013-01-26T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/19",
"id": 232912,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19/labels",
"node_id": "MDk6TWlsZXN0b25lMjMyOTEy",
"number": 19,
"open_issues": 0,
"state": "closed",
"title": "0.10.1",
"updated_at": "2013-05-10T10:40:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/19"
} | 13 | "2012-12-26T04:47:38Z" | "2013-01-05T21:22:21Z" | "2013-01-05T21:22:21Z" | NONE | null | If `data.csv` contains the following (column B has a zero in the first row, and is empty in the second)
```
A,B
0,0
0,
```
... pandas 0.10.0 incorrectly reads it as:
```
In [7]: pd.read_csv('data.csv')
Out[9]:
A B
0 0 NaN
1 0 NaN
```
... whereas pandas 0.9.0 reads it right:
```
In [5]: pd.read_csv('data.csv')
Out[6]:
A B
0 0 0
1 0 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/2599/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2599/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2600 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2600/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2600/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2600/events | https://github.com/pandas-dev/pandas/issues/2600 | 9,529,284 | MDU6SXNzdWU5NTI5Mjg0 | 2,600 | Buggy negative slicing with ix | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 6 | "2012-12-27T00:12:12Z" | "2016-04-08T13:02:12Z" | "2016-04-08T13:02:12Z" | MEMBER | null | http://stackoverflow.com/questions/14035817/slicing-pandas-dataframe-with-negative-index-with-ix-method
```
In [1]: df = pd.DataFrame(np.random.randn(10, 4))
In [2]: df
Out[2]:
0 1 2 3
0 -3.100926 -0.580586 -1.216032 0.425951
1 -0.264271 -1.091915 -0.602675 0.099971
2 -0.846290 1.363663 -0.382874 0.065783
3 -0.099879 -0.679027 -0.708940 0.138728
4 -0.302597 0.753350 -0.112674 -1.253316
5 -0.213237 -0.467802 0.037350 0.369167
6 0.754915 -0.569134 -0.297824 -0.600527
7 0.644742 0.038862 0.216869 0.294149
8 0.101684 0.784329 0.218221 0.965897
9 -1.482837 -1.325625 1.008795 -0.150439
In [3]: df.ix[-2:]
Out[3]:
0 1 2 3
0 -3.100926 -0.580586 -1.216032 0.425951
1 -0.264271 -1.091915 -0.602675 0.099971
2 -0.846290 1.363663 -0.382874 0.065783
3 -0.099879 -0.679027 -0.708940 0.138728
4 -0.302597 0.753350 -0.112674 -1.253316
5 -0.213237 -0.467802 0.037350 0.369167
6 0.754915 -0.569134 -0.297824 -0.600527
7 0.644742 0.038862 0.216869 0.294149
8 0.101684 0.784329 0.218221 0.965897
9 -1.482837 -1.325625 1.008795 -0.150439
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2600/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2600/timeline | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.