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/1601 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1601/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1601/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1601/events | https://github.com/pandas-dev/pandas/issues/1601 | 5,531,549 | MDU6SXNzdWU1NTMxNTQ5 | 1,601 | Year partial string indexing doesn't work right with freq='M' PeriodIndex | {
"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": "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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 0 | "2012-07-10T19:22:58Z" | "2012-07-11T18:57:09Z" | "2012-07-11T18:57:09Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1601/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1601/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/1602 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1602/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1602/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1602/events | https://github.com/pandas-dev/pandas/issues/1602 | 5,532,380 | MDU6SXNzdWU1NTMyMzgw | 1,602 | Series repr incorrect if name==0 | {
"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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 0 | "2012-07-10T19:58:53Z" | "2012-07-11T16:46:22Z" | "2012-07-11T16:46:22Z" | MEMBER | null | ```
In [13]: Series(range(5), name=0)
Out[13]:
0 0
1 1
2 2
3 3
4 4
In [14]: Series(range(5), name=1)
Out[14]:
0 0
1 1
2 2
3 3
4 4
Name: 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/1602/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1602/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1603 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1603/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1603/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1603/events | https://github.com/pandas-dev/pandas/issues/1603 | 5,532,674 | MDU6SXNzdWU1NTMyNjc0 | 1,603 | Panel .ix indexing bug | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"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 | {
"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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 0 | "2012-07-10T20:12:13Z" | "2012-07-11T17:57:19Z" | "2012-07-11T17:57:19Z" | MEMBER | null | Major axis is DatetimeIndex
```
pdata.ix[:, -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/1603/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1603/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1604 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1604/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1604/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1604/events | https://github.com/pandas-dev/pandas/issues/1604 | 5,546,555 | MDU6SXNzdWU1NTQ2NTU1 | 1,604 | Plotting non-periodic timeseries not working | {
"avatar_url": "https://avatars.githubusercontent.com/u/1769273?v=4",
"events_url": "https://api.github.com/users/lenolib/events{/privacy}",
"followers_url": "https://api.github.com/users/lenolib/followers",
"following_url": "https://api.github.com/users/lenolib/following{/other_user}",
"gists_url": "https://api.github.com/users/lenolib/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lenolib",
"id": 1769273,
"login": "lenolib",
"node_id": "MDQ6VXNlcjE3NjkyNzM=",
"organizations_url": "https://api.github.com/users/lenolib/orgs",
"received_events_url": "https://api.github.com/users/lenolib/received_events",
"repos_url": "https://api.github.com/users/lenolib/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lenolib/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lenolib/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lenolib"
} | [
{
"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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 4 | "2012-07-11T11:59:31Z" | "2012-07-11T17:36:04Z" | "2012-07-11T17:36:04Z" | CONTRIBUTOR | null | import pandas as pd
from dateutil.relativedelta import relativedelta
stamps = [p for p in pd.DatetimeIndex(freq='60Min',start=pd.datetime(2012,6,12),periods=8)]
series = pd.TimeSeries([1,2,3,4,5,6,7,9], index=stamps)
series = series[:-1].append(pd.Series(series[-1],index=[series.index[-1]-relativedelta(seconds=1000)]))
series.plot()
The x axis becomes pretty bogus. Is this known, or am I perhaps doing something wrong?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1604/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1604/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1605 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1605/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1605/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1605/events | https://github.com/pandas-dev/pandas/issues/1605 | 5,548,105 | MDU6SXNzdWU1NTQ4MTA1 | 1,605 | datetools.parser.parse | {
"avatar_url": "https://avatars.githubusercontent.com/u/1415316?v=4",
"events_url": "https://api.github.com/users/soramame0518/events{/privacy}",
"followers_url": "https://api.github.com/users/soramame0518/followers",
"following_url": "https://api.github.com/users/soramame0518/following{/other_user}",
"gists_url": "https://api.github.com/users/soramame0518/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/soramame0518",
"id": 1415316,
"login": "soramame0518",
"node_id": "MDQ6VXNlcjE0MTUzMTY=",
"organizations_url": "https://api.github.com/users/soramame0518/orgs",
"received_events_url": "https://api.github.com/users/soramame0518/received_events",
"repos_url": "https://api.github.com/users/soramame0518/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/soramame0518/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/soramame0518/subscriptions",
"type": "User",
"url": "https://api.github.com/users/soramame0518"
} | [] | closed | false | null | [] | null | 2 | "2012-07-11T13:30:22Z" | "2012-07-11T14:10:29Z" | "2012-07-11T14:10:29Z" | NONE | null | In [1]: import pandas
In [2]: pandas.datetools.parser.parse('2011, 7, 11')
The above code works in pandas 0.70. But it doesn't work in 0.80 and I got an error bellow:
TypeError: unbound method parse() must be called with parser instance as first argument (got str instance instead)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1605/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1605/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1606 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1606/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1606/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1606/events | https://github.com/pandas-dev/pandas/issues/1606 | 5,550,414 | MDU6SXNzdWU1NTUwNDE0 | 1,606 | Sparsify console output 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 | {
"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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 0 | "2012-07-11T15:09:47Z" | "2012-07-11T20:40:25Z" | "2012-07-11T20:40:25Z" | MEMBER | null | Should not have that AAA hole
```
In [31]: result
Out[31]:
sp1 sp2 sp3
method replicate site year
EDGE 1 AAA 2006 2 4 6
BBB 2006 2 4 6
2 AAA 2006 2 4 6
RIFFLE 1 2006 2 4 6
BBB 2006 2 4 6
2 AAA 2006 2 4 6
In [32]: result.index
Out[32]:
MultiIndex
[('EDGE', 1, 'AAA', 2006) ('EDGE', 1, 'BBB', 2006)
('EDGE', 2, 'AAA', 2006) ('RIFFLE', 1, 'AAA', 2006)
('RIFFLE', 1, 'BBB', 2006) ('RIFFLE', 2, 'AAA', 2006)]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1606/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1606/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1607 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1607/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1607/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1607/events | https://github.com/pandas-dev/pandas/issues/1607 | 5,553,897 | MDU6SXNzdWU1NTUzODk3 | 1,607 | Copy 0.7.0 what's new note re: integer indexes to gotchas page | {
"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": "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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 0 | "2012-07-11T17:41:35Z" | "2012-07-11T19:39:40Z" | "2012-07-11T19:39:40Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1607/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1607/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/1608 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1608/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1608/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1608/events | https://github.com/pandas-dev/pandas/pull/1608 | 5,555,007 | MDExOlB1bGxSZXF1ZXN0MTc3MDcxMw== | 1,608 | BUG: unordered dup index does not yield scalar value | {
"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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 0 | "2012-07-11T18:27:19Z" | "2014-08-11T16:36:32Z" | "2012-07-11T20:59:51Z" | CONTRIBUTOR | null | #1586
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1608/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1608/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1608.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1608",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/1608.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1608"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1609 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1609/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1609/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1609/events | https://github.com/pandas-dev/pandas/issues/1609 | 5,555,024 | MDU6SXNzdWU1NTU1MDI0 | 1,609 | Nonunique integer index bug | {
"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": "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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 2 | "2012-07-11T18:28:03Z" | "2012-07-12T02:37:20Z" | "2012-07-12T02:37:20Z" | CONTRIBUTOR | null | related to #1586
In [8]: s = Series(range(5), index=[2, 0, 0, 1, 1])
In [9]: s
Out[9]:
2 0
0 1
0 2
1 3
1 4
In [10]: s[2]
...
KeyError: 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/1609/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1609/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1610 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1610/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1610/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1610/events | https://github.com/pandas-dev/pandas/issues/1610 | 5,565,138 | MDU6SXNzdWU1NTY1MTM4 | 1,610 | Console-width detection should be interactive sessions only | {
"avatar_url": "https://avatars.githubusercontent.com/u/52205?v=4",
"events_url": "https://api.github.com/users/dandavison/events{/privacy}",
"followers_url": "https://api.github.com/users/dandavison/followers",
"following_url": "https://api.github.com/users/dandavison/following{/other_user}",
"gists_url": "https://api.github.com/users/dandavison/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dandavison",
"id": 52205,
"login": "dandavison",
"node_id": "MDQ6VXNlcjUyMjA1",
"organizations_url": "https://api.github.com/users/dandavison/orgs",
"received_events_url": "https://api.github.com/users/dandavison/received_events",
"repos_url": "https://api.github.com/users/dandavison/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dandavison/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dandavison/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dandavison"
} | [
{
"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": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 8 | "2012-07-12T05:52:51Z" | "2013-11-21T22:43:05Z" | "2012-11-14T18:15:08Z" | CONTRIBUTOR | null | I was surprised to see that my program's standard output changed when I unplugged my laptop from my external display this afternoon! I suggest that the terminal-width detection feature should only operate in an interactive python session. In non-interactive usage the stdout should depend only on the print options currently in effect.
See PR #453
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1610/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1610/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1611 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1611/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1611/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1611/events | https://github.com/pandas-dev/pandas/issues/1611 | 5,566,974 | MDU6SXNzdWU1NTY2OTc0 | 1,611 | Misleading __str__/__repr__ for DatatimeIndex objects with less than 3 items | {
"avatar_url": "https://avatars.githubusercontent.com/u/1827568?v=4",
"events_url": "https://api.github.com/users/manuteleco/events{/privacy}",
"followers_url": "https://api.github.com/users/manuteleco/followers",
"following_url": "https://api.github.com/users/manuteleco/following{/other_user}",
"gists_url": "https://api.github.com/users/manuteleco/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/manuteleco",
"id": 1827568,
"login": "manuteleco",
"node_id": "MDQ6VXNlcjE4Mjc1Njg=",
"organizations_url": "https://api.github.com/users/manuteleco/orgs",
"received_events_url": "https://api.github.com/users/manuteleco/received_events",
"repos_url": "https://api.github.com/users/manuteleco/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/manuteleco/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/manuteleco/subscriptions",
"type": "User",
"url": "https://api.github.com/users/manuteleco"
} | [
{
"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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 1 | "2012-07-12T08:36:49Z" | "2013-04-22T14:38:01Z" | "2012-07-12T15:12:29Z" | NONE | null | Hi,
this isn't such a big issue, but I guess it's worth reporting anyway.
I'm using the development version '0.8.1.dev-0e5fc44'. DatetimeIndex `__str__` and `__repr__` methods always return a string that contains a list-like representation of the contents in this fashion: [first_item, ..., last_item].
That format is used even when the DatetimeIndex has 1 or 2 elements, which should be represented like [only_item] and [first_item, last_item] respectively.
Example:
```
In [32]: to_datetime(["2012-01-01"])
Out[32]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2012-01-01 00:00:00, ..., 2012-01-01 00:00:00]
Length: 1, Freq: None, Timezone: None
```
Thanks and regards.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1611/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1611/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1612 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1612/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1612/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1612/events | https://github.com/pandas-dev/pandas/issues/1612 | 5,569,443 | MDU6SXNzdWU1NTY5NDQz | 1,612 | additional docs for complex date parsing in read_* | {
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 0 | "2012-07-12T11:23:59Z" | "2012-07-12T15:43:28Z" | "2012-07-12T15:43:28Z" | CONTRIBUTOR | null | note order of application of parse_dates, index_col
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1612/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1612/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1613 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1613/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1613/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1613/events | https://github.com/pandas-dev/pandas/pull/1613 | 5,574,170 | MDExOlB1bGxSZXF1ZXN0MTc3OTQ1NA== | 1,613 | ENH: Conditionally import Rpy stuff. | {
"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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 1 | "2012-07-12T15:15:24Z" | "2012-07-12T16:29:08Z" | "2012-07-12T16:29:08Z" | CONTRIBUTOR | null | load_data. so helpful.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1613/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1613/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1613.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1613",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/1613.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1613"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1614 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1614/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1614/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1614/events | https://github.com/pandas-dev/pandas/issues/1614 | 5,574,608 | MDU6SXNzdWU1NTc0NjA4 | 1,614 | recursive 301 redirect from sourceforge -> pydata | {
"avatar_url": "https://avatars.githubusercontent.com/u/609896?v=4",
"events_url": "https://api.github.com/users/njsmith/events{/privacy}",
"followers_url": "https://api.github.com/users/njsmith/followers",
"following_url": "https://api.github.com/users/njsmith/following{/other_user}",
"gists_url": "https://api.github.com/users/njsmith/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/njsmith",
"id": 609896,
"login": "njsmith",
"node_id": "MDQ6VXNlcjYwOTg5Ng==",
"organizations_url": "https://api.github.com/users/njsmith/orgs",
"received_events_url": "https://api.github.com/users/njsmith/received_events",
"repos_url": "https://api.github.com/users/njsmith/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/njsmith/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/njsmith/subscriptions",
"type": "User",
"url": "https://api.github.com/users/njsmith"
} | [] | closed | false | null | [] | null | 2 | "2012-07-12T15:31:29Z" | "2012-10-06T21:49:47Z" | "2012-10-06T21:49:47Z" | NONE | null | The old docs on sourceforge.net still have much higher google juice than the new ones at pydata.org. E.g. I just googled "pandas rpy" and hit #1 is pandas.sourceforge.net/r_interface.html, hit #4 is pandas.pydata.org/pandas-docs/dev/r_interface.html. So I keep clicking the first link, and then realize that I'm looking at outdated docs, then hit back, etc., and it's gradually becoming rather annoying.
The ideal fix would be a 301 redirect, which would pass all your google juice on to the new site. Not sure if sourceforge allows the relevant .htaccess rules: https://support.google.com/webmasters/bin/answer.py?hl=en&answer=93633
Or maybe via php: http://sourceforge.net/apps/trac/sourceforge/wiki/Project%20web#Re-directingtoHostedApps
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1614/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1614/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1615 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1615/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1615/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1615/events | https://github.com/pandas-dev/pandas/issues/1615 | 5,582,437 | MDU6SXNzdWU1NTgyNDM3 | 1,615 | Trouble with factors when there are nans | {
"avatar_url": "https://avatars.githubusercontent.com/u/296164?v=4",
"events_url": "https://api.github.com/users/jseabold/events{/privacy}",
"followers_url": "https://api.github.com/users/jseabold/followers",
"following_url": "https://api.github.com/users/jseabold/following{/other_user}",
"gists_url": "https://api.github.com/users/jseabold/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jseabold",
"id": 296164,
"login": "jseabold",
"node_id": "MDQ6VXNlcjI5NjE2NA==",
"organizations_url": "https://api.github.com/users/jseabold/orgs",
"received_events_url": "https://api.github.com/users/jseabold/received_events",
"repos_url": "https://api.github.com/users/jseabold/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jseabold/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jseabold/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jseabold"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 1 | "2012-07-12T21:21:14Z" | "2012-08-10T16:11:23Z" | "2012-08-10T16:11:15Z" | CONTRIBUTOR | null | ``` python
from pandas.rpy.common import load_data
prestige = load_data('Prestige', 'car')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1615/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1615/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1616 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1616/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1616/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1616/events | https://github.com/pandas-dev/pandas/pull/1616 | 5,586,260 | MDExOlB1bGxSZXF1ZXN0MTc4NTQ2Mg== | 1,616 | BUG: new converters for sub-second plotting | {
"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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 2 | "2012-07-13T01:28:53Z" | "2014-06-23T20:32:29Z" | "2012-07-13T03:10:56Z" | CONTRIBUTOR | null | #1599
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1616/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1616/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1616.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1616",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/1616.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1616"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1617 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1617/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1617/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1617/events | https://github.com/pandas-dev/pandas/pull/1617 | 5,601,902 | MDExOlB1bGxSZXF1ZXN0MTc4OTE4OA== | 1,617 | Document the behavior of idxmin when there are multiple rows containing the minimum value. | {
"avatar_url": "https://avatars.githubusercontent.com/u/215721?v=4",
"events_url": "https://api.github.com/users/todddeluca/events{/privacy}",
"followers_url": "https://api.github.com/users/todddeluca/followers",
"following_url": "https://api.github.com/users/todddeluca/following{/other_user}",
"gists_url": "https://api.github.com/users/todddeluca/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/todddeluca",
"id": 215721,
"login": "todddeluca",
"node_id": "MDQ6VXNlcjIxNTcyMQ==",
"organizations_url": "https://api.github.com/users/todddeluca/orgs",
"received_events_url": "https://api.github.com/users/todddeluca/received_events",
"repos_url": "https://api.github.com/users/todddeluca/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/todddeluca/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/todddeluca/subscriptions",
"type": "User",
"url": "https://api.github.com/users/todddeluca"
} | [] | closed | false | null | [] | {
"closed_at": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 1 | "2012-07-13T13:43:08Z" | "2012-07-18T14:33:36Z" | "2012-07-18T14:33:24Z" | NONE | null | I've added an example to the docs which demonstrates the behavior of idxmin() for a column where multiple rows contain the minimum value (and also the column contains a NaN value). The current documentation is ambigous (to me) on this edge case.
From http://pandas.pydata.org/, a pull request seemed like the most appropriate way to contribute to the docs. Please let me know if there is a better way or how I can improve the request. And thanks for a great tool!
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1617/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1617/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1617.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1617",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/1617.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1617"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1618 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1618/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1618/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1618/events | https://github.com/pandas-dev/pandas/issues/1618 | 5,614,457 | MDU6SXNzdWU1NjE0NDU3 | 1,618 | Pandas cheat sheet | {
"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": "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": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 12 | "2012-07-13T21:21:42Z" | "2016-05-17T23:06:24Z" | "2016-05-17T23:06:23Z" | CONTRIBUTOR | null | common functions and recipes that fit onto a single sheet
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1618/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1618/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1619 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1619/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1619/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1619/events | https://github.com/pandas-dev/pandas/issues/1619 | 5,614,543 | MDU6SXNzdWU1NjE0NTQz | 1,619 | Don't downsample mixed freq data on axes | {
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 1 | "2012-07-13T21:25:23Z" | "2012-07-19T19:33:29Z" | "2012-07-19T19:33:29Z" | CONTRIBUTOR | null | plot low freq data, then plot high freq data, the high freq data is currently being down sampled.
Need to store data on the axes and then upsample existing data and re-plot.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1619/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1619/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1620 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1620/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1620/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1620/events | https://github.com/pandas-dev/pandas/issues/1620 | 5,619,342 | MDU6SXNzdWU1NjE5MzQy | 1,620 | __repr__ wrong column alignment with non-ascii characters | {
"avatar_url": "https://avatars.githubusercontent.com/u/1827568?v=4",
"events_url": "https://api.github.com/users/manuteleco/events{/privacy}",
"followers_url": "https://api.github.com/users/manuteleco/followers",
"following_url": "https://api.github.com/users/manuteleco/following{/other_user}",
"gists_url": "https://api.github.com/users/manuteleco/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/manuteleco",
"id": 1827568,
"login": "manuteleco",
"node_id": "MDQ6VXNlcjE4Mjc1Njg=",
"organizations_url": "https://api.github.com/users/manuteleco/orgs",
"received_events_url": "https://api.github.com/users/manuteleco/received_events",
"repos_url": "https://api.github.com/users/manuteleco/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/manuteleco/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/manuteleco/subscriptions",
"type": "User",
"url": "https://api.github.com/users/manuteleco"
} | [
{
"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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 3 | "2012-07-14T10:04:40Z" | "2016-10-12T23:03:05Z" | "2012-07-21T16:07:53Z" | NONE | null | Hi,
it seems that when DataFrame, Series and maybe other objects contain non-ascii characters inside non-unicode strings the `__repr__` method is not able to give the correct column alignment to its values. However, we see that this issue does not affect unicode strings. I'm using pandas '0.8.1.dev-70c3deb' in a Linux box.
Sample code:
``` python
# -*- coding: utf-8 -*-
from pandas import Series, DataFrame
df1 = DataFrame([["aaaa", 1], ["bbbb", 2]])
df2 = DataFrame([["aaää", 1], ["bbbb", 2]])
df3 = DataFrame([[u"aaää", 1], ["bbbb", 2]])
# Comparison between "similar dataframes"
print df1
print
print df2
print
print df3
print
# Other cases:
s1 = Series(["ä", "bbbb", "ßß"])
print
print s1
```
This results in:
```
0 1
0 aaaa 1
1 bbbb 2
0 1
0 aaää 1
1 bbbb 2
0 1
0 aaää 1
1 bbbb 2
0 ä
1 bbbb
2 ßß
```
Thanks and regards.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1620/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1620/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1621 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1621/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1621/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1621/events | https://github.com/pandas-dev/pandas/pull/1621 | 5,622,038 | MDExOlB1bGxSZXF1ZXN0MTc5NzA0Mw== | 1,621 | Add vectorized string methods to Series | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | {
"closed_at": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 6 | "2012-07-14T18:18:17Z" | "2014-06-23T10:59:14Z" | "2012-07-15T22:48:59Z" | MEMBER | null | I'd appreciate any feedback on the API (@takluyver and others), but this makes a lot of sense to me and I'm already finding my fingers falling right onto it. I swear I'm going to start doing more pull requests
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1621/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1621/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1621.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1621",
"merged_at": "2012-07-15T22:48:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/1621.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1621"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1622 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1622/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1622/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1622/events | https://github.com/pandas-dev/pandas/issues/1622 | 5,623,573 | MDU6SXNzdWU1NjIzNTcz | 1,622 | Bug resampling quarterly period data to annual | {
"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": "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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 0 | "2012-07-14T22:57:43Z" | "2012-07-15T23:24:51Z" | "2012-07-15T23:24:51Z" | MEMBER | null | ```
In [10]: rng = period_range('2000Q1', periods=10, freq='Q-DEC')
In [11]: rng
Out[11]:
<class 'pandas.tseries.period.PeriodIndex'>
freq: Q-DEC
[2000Q1, ..., 2002Q2]
length: 10
In [12]: ts = Series(np.arange(10), index=rng)
In [13]: ts
Out[13]:
2000Q1 0
2000Q2 1
2000Q3 2
2000Q4 3
2001Q1 4
2001Q2 5
2001Q3 6
2001Q4 7
2002Q1 8
2002Q2 9
Freq: Q-DEC
In [14]: ts.resample('A')
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
/home/wesm/Dropbox/talks/scipy2012/tutorial/<ipython-input-14-d20eb06885e9> in <module>()
----> 1 ts.resample('A')
/home/wesm/code/pandas/pandas/core/generic.pyc in resample(self, rule, how, axis, fill_method, closed, label, convention, kind, loffset, limit, base)
187 fill_method=fill_method, convention=convention,
188 limit=limit, base=base)
--> 189 return sampler.resample(self)
190
191 def first(self, offset):
/home/wesm/code/pandas/pandas/tseries/resample.pyc in resample(self, obj)
72
73 if self.kind is None or self.kind == 'period':
---> 74 return self._resample_periods(obj)
75 else:
76 obj = obj.to_timestamp(how=self.convention)
/home/wesm/code/pandas/pandas/tseries/resample.pyc in _resample_periods(self, obj)
233 else:
234 raise ValueError('Frequency %s cannot be resampled to %s'
--> 235 % (axlabels.freq, self.freq))
236
237
ValueError: Frequency Q-DEC cannot be resampled to <1 YearEnd: kwds={'month': 12}, month=12>
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1622/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1622/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1623 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1623/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1623/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1623/events | https://github.com/pandas-dev/pandas/issues/1623 | 5,627,471 | MDU6SXNzdWU1NjI3NDcx | 1,623 | Add aggregate method to DataFrame | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"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": "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"
} | 6 | "2012-07-15T15:20:05Z" | "2017-04-14T15:37:04Z" | "2017-04-14T15:37:04Z" | MEMBER | null | a la groupby-aggregate
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1623/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1623/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1624 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1624/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1624/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1624/events | https://github.com/pandas-dev/pandas/issues/1624 | 5,629,587 | MDU6SXNzdWU1NjI5NTg3 | 1,624 | DatetimeIndex unnecessarily copies int64 array | {
"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": "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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 0 | "2012-07-15T20:58:38Z" | "2012-07-15T23:08:12Z" | "2012-07-15T23:08:12Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1624/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1624/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/1625 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1625/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1625/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1625/events | https://github.com/pandas-dev/pandas/issues/1625 | 5,629,991 | MDU6SXNzdWU1NjI5OTkx | 1,625 | scatter_matrix doesn't label the axes right on a DataFrame of time series | {
"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": "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 | {
"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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 0 | "2012-07-15T22:04:46Z" | "2012-07-19T19:07:56Z" | "2012-07-19T19:07:56Z" | MEMBER | null | http://imgur.com/BGUgT
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1625/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1625/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1626 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1626/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1626/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1626/events | https://github.com/pandas-dev/pandas/issues/1626 | 5,630,045 | MDU6SXNzdWU1NjMwMDQ1 | 1,626 | What should frame.groupby([]) return? | {
"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": "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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 2 | "2012-07-15T22:14:00Z" | "2012-07-18T23:16:43Z" | "2012-07-18T23:16:43Z" | MEMBER | null | as suggested on http://stackoverflow.com/questions/11492215/how-to-do-a-groupby-on-an-empty-set-of-columns-in-pandas, maybe should return just the DataFrame, or raise an exception (if it doesn't already)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1626/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1626/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1627 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1627/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1627/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1627/events | https://github.com/pandas-dev/pandas/issues/1627 | 5,630,567 | MDU6SXNzdWU1NjMwNTY3 | 1,627 | Strange dates in DatetimeIndex after upgrade | {
"avatar_url": "https://avatars.githubusercontent.com/u/1980906?v=4",
"events_url": "https://api.github.com/users/mikevk/events{/privacy}",
"followers_url": "https://api.github.com/users/mikevk/followers",
"following_url": "https://api.github.com/users/mikevk/following{/other_user}",
"gists_url": "https://api.github.com/users/mikevk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mikevk",
"id": 1980906,
"login": "mikevk",
"node_id": "MDQ6VXNlcjE5ODA5MDY=",
"organizations_url": "https://api.github.com/users/mikevk/orgs",
"received_events_url": "https://api.github.com/users/mikevk/received_events",
"repos_url": "https://api.github.com/users/mikevk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mikevk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mikevk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mikevk"
} | [] | closed | false | null | [] | null | 0 | "2012-07-15T23:37:27Z" | "2012-07-16T02:05:12Z" | "2012-07-16T02:05:12Z" | NONE | null | Dates started displaying incorrectly after I upgraded to pandas 0.8.0. For example, using the date_range example below from the documentation, 1/1/2011 shows up as 2051-05-17.
My installed packages include numpy 1.7.0.dev-3cb783e-20120427, pytz 2012c, python-dateutil 2.1, DateUtils 0.5.2.
Python 2.7.3 (default, Apr 19 2012, 00:55:09)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
`>>> import pandas`
`>>> pandas.__version__`
`'0.8.0'`
`>>> from pandas import date_range`
`>>> rng = date_range('1/1/2011', periods=72, freq='H')`
`>>> rng[:5]`
`<class 'pandas.tseries.index.DatetimeIndex'>`
`[2051-05-17 05:40:40.331386880, ..., 2051-10-30 21:40:40.331386880]`
`Length: 5, Freq: H, Timezone: None`
`>>>`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1627/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1627/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1628 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1628/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1628/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1628/events | https://github.com/pandas-dev/pandas/issues/1628 | 5,633,524 | MDU6SXNzdWU1NjMzNTI0 | 1,628 | merge with empty DataFrame IndexError | {
"avatar_url": "https://avatars.githubusercontent.com/u/1982180?v=4",
"events_url": "https://api.github.com/users/idoko/events{/privacy}",
"followers_url": "https://api.github.com/users/idoko/followers",
"following_url": "https://api.github.com/users/idoko/following{/other_user}",
"gists_url": "https://api.github.com/users/idoko/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/idoko",
"id": 1982180,
"login": "idoko",
"node_id": "MDQ6VXNlcjE5ODIxODA=",
"organizations_url": "https://api.github.com/users/idoko/orgs",
"received_events_url": "https://api.github.com/users/idoko/received_events",
"repos_url": "https://api.github.com/users/idoko/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/idoko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/idoko/subscriptions",
"type": "User",
"url": "https://api.github.com/users/idoko"
} | [
{
"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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 2 | "2012-07-16T07:12:22Z" | "2013-03-07T18:18:14Z" | "2012-07-21T14:01:59Z" | NONE | null | ```
In [1]: from pandas import *
In [2]: a = DataFrame(columns=['column1'], data=[1])
In [3]: b = DataFrame(columns=['column1'])
In [4]: a.merge(b, on=['column1'], how='left')
IndexError Traceback (most recent call last)
IndexError: index out of range for array
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1628/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1628/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1629 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1629/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1629/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1629/events | https://github.com/pandas-dev/pandas/issues/1629 | 5,638,760 | MDU6SXNzdWU1NjM4NzYw | 1,629 | reading xslx returns incorrect data due to bug in openpyxl load_workbook being called with use_iterators=True | {
"avatar_url": "https://avatars.githubusercontent.com/u/849427?v=4",
"events_url": "https://api.github.com/users/ruidc/events{/privacy}",
"followers_url": "https://api.github.com/users/ruidc/followers",
"following_url": "https://api.github.com/users/ruidc/following{/other_user}",
"gists_url": "https://api.github.com/users/ruidc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ruidc",
"id": 849427,
"login": "ruidc",
"node_id": "MDQ6VXNlcjg0OTQyNw==",
"organizations_url": "https://api.github.com/users/ruidc/orgs",
"received_events_url": "https://api.github.com/users/ruidc/received_events",
"repos_url": "https://api.github.com/users/ruidc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ruidc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ruidc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ruidc"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 8 | "2012-07-16T13:19:03Z" | "2013-10-03T03:30:36Z" | "2013-09-05T06:55:20Z" | CONTRIBUTOR | null | The situation is described in https://bitbucket.org/ericgazoni/openpyxl/issue/124/rawcellis_date-returns-false-positive
and results in datetime being returned instead of float causing incorrect data.
Could this method argument be exposed to the ExcelFile **init** with a default of True?
using False will work around the issue, presumably at the cost of performance.
Iteration code would then be needed in pandas ExcelFile._parse_xlsx
... As this bug has existed for months in openpyxl without comment and code is still described as "very raw" in openpyxl
https://bitbucket.org/ericgazoni/openpyxl/src/0082a961cf8b/openpyxl/reader/iter_worksheet.py#cl-27
Alternatively, if xlrd 0.8.0 is released with xlsx support, pandas could use that instead.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1629/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1629/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1630 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1630/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1630/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1630/events | https://github.com/pandas-dev/pandas/issues/1630 | 5,639,012 | MDU6SXNzdWU1NjM5MDEy | 1,630 | Panel slice assigning does not reindex correctly? | {
"avatar_url": "https://avatars.githubusercontent.com/u/807824?v=4",
"events_url": "https://api.github.com/users/CRP/events{/privacy}",
"followers_url": "https://api.github.com/users/CRP/followers",
"following_url": "https://api.github.com/users/CRP/following{/other_user}",
"gists_url": "https://api.github.com/users/CRP/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/CRP",
"id": 807824,
"login": "CRP",
"node_id": "MDQ6VXNlcjgwNzgyNA==",
"organizations_url": "https://api.github.com/users/CRP/orgs",
"received_events_url": "https://api.github.com/users/CRP/received_events",
"repos_url": "https://api.github.com/users/CRP/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/CRP/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/CRP/subscriptions",
"type": "User",
"url": "https://api.github.com/users/CRP"
} | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 2 | "2012-07-16T13:31:42Z" | "2016-10-12T23:03:05Z" | "2012-09-20T03:00:44Z" | CONTRIBUTOR | null | Suppose I have
a=Panel(randn(3,10,2))
b=Series(randn(10))
b.sort()
now the index of b has a different order, yet same values as the major_index of a
if I do
a.ix[0,:,0]=b
the slice of a gets assigned the values of b without reindexing first, but somehow the index is till kept track of:
```
b
Out[220]:
4 -2.465417
8 -2.202345
3 -1.173703
5 -0.802436
7 -0.307515
0 -0.045943
1 0.155771
6 0.367755
9 0.458332
2 1.629641
a.ix[0,:,0]=b
a.ix[0,:,0]
Out[223]:
0 -2.465417
1 -2.202345
2 -1.173703
3 -0.802436
4 -0.307515
5 -0.045943
6 0.155771
7 0.367755
8 0.458332
9 1.629641
a.ix[0,:,0]==b
Out[224]:
0 True
1 True
2 True
3 True
4 True
5 True
6 True
7 True
8 True
9 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/1630/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1630/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1631 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1631/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1631/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1631/events | https://github.com/pandas-dev/pandas/issues/1631 | 5,655,860 | MDU6SXNzdWU1NjU1ODYw | 1,631 | Resample loses index name | {
"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": "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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 0 | "2012-07-17T04:28:40Z" | "2012-07-18T14:35:00Z" | "2012-07-18T14:35:00Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1631/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1631/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/1632 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1632/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1632/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1632/events | https://github.com/pandas-dev/pandas/issues/1632 | 5,663,495 | MDU6SXNzdWU1NjYzNDk1 | 1,632 | DateTimeIndex displayed incorrectly. | {
"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"
} | [] | closed | false | null | [] | {
"closed_at": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 2 | "2012-07-17T13:20:06Z" | "2012-07-20T17:57:37Z" | "2012-07-20T17:57:37Z" | NONE | null | I am using the latest pandas from git and numpy 1.7.0-dev. See Out [27] below:
```
In [25]: df = pandas.DataFrame({'t': [datetime.datetime.now()], 'x': [0]}).set_index('t')
In [26]: df
Out[26]:
x
t
2012-07-17 09:18:21.993665 0
In [27]: df.index
Out[27]:
<class 'pandas.tseries.index.DatetimeIndex'>
[1840-03-20 01:03:32.867732032]
Length: 1, Freq: None, Timezone: None
In [28]: df.index.asi8
Out[28]: array([1342516701993665000])
```
Edit: It's worse with datetime64.
```
In [31]: df = pandas.DataFrame({'t': [np.datetime64(datetime.datetime.now())], 'x': [0]}).set_index('t')
In [32]: df
Out[32]:
x
t
1840-03-23 05:51:57.596732 0
In [33]: df.index
Out[33]:
<class 'pandas.tseries.index.DatetimeIndex'>
[1964-11-16 11:52:40.252490752]
Length: 1, Freq: None, Timezone: None
In [34]: df.index.asi8
Out[34]: array([-4095338882403267968])
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1632/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1632/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1633 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1633/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1633/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1633/events | https://github.com/pandas-dev/pandas/pull/1633 | 5,666,711 | MDExOlB1bGxSZXF1ZXN0MTgxNjM3MQ== | 1,633 | Retain index name on resample | {
"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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 0 | "2012-07-17T15:30:43Z" | "2012-07-18T14:29:49Z" | "2012-07-18T14:29:49Z" | 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/1633/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1633/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1633.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1633",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/1633.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1633"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/1634 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1634/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1634/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1634/events | https://github.com/pandas-dev/pandas/issues/1634 | 5,666,807 | MDU6SXNzdWU1NjY2ODA3 | 1,634 | Handle NAs after upsampling existing data on plotting | {
"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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 1 | "2012-07-17T15:34:33Z" | "2012-07-19T19:58:21Z" | "2012-07-19T19:58:21Z" | CONTRIBUTOR | null | dropping NA right now but need to be consistent with simple case (masking NAs to show gaps)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1634/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1634/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1635 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1635/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1635/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1635/events | https://github.com/pandas-dev/pandas/issues/1635 | 5,674,169 | MDU6SXNzdWU1Njc0MTY5 | 1,635 | Resample with PeriodIndex should allow third option | {
"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": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
},
{
"color": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 5 | "2012-07-17T20:39:33Z" | "2014-07-13T09:29:02Z" | "2014-03-09T15:20:46Z" | CONTRIBUTOR | null | Suppose I have:
prng = period_range('1/1/1999', freq='M', periods=3)
s = Series(np.random.randn(len(prng)), prng)
s.resample('D') should by default go from 1/1/1999 to 3/31/1999
as opposed to 1/31/1999 - 3/31/1999 ('e') or 1/1/1999-3/1/1999 ('s')
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1635/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1635/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1636 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1636/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1636/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1636/events | https://github.com/pandas-dev/pandas/issues/1636 | 5,684,452 | MDU6SXNzdWU1Njg0NDUy | 1,636 | `kwargs` are ignored in `Series.plot` | {
"avatar_url": "https://avatars.githubusercontent.com/u/358378?v=4",
"events_url": "https://api.github.com/users/andreas-h/events{/privacy}",
"followers_url": "https://api.github.com/users/andreas-h/followers",
"following_url": "https://api.github.com/users/andreas-h/following{/other_user}",
"gists_url": "https://api.github.com/users/andreas-h/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/andreas-h",
"id": 358378,
"login": "andreas-h",
"node_id": "MDQ6VXNlcjM1ODM3OA==",
"organizations_url": "https://api.github.com/users/andreas-h/orgs",
"received_events_url": "https://api.github.com/users/andreas-h/received_events",
"repos_url": "https://api.github.com/users/andreas-h/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/andreas-h/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andreas-h/subscriptions",
"type": "User",
"url": "https://api.github.com/users/andreas-h"
} | [
{
"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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 2 | "2012-07-18T09:32:20Z" | "2012-07-19T19:38:58Z" | "2012-07-19T19:38:58Z" | CONTRIBUTOR | null | It seems that some `kwargs` (like `mew` and `ms`) given to the `Series.plot` method are being ignored.
I'm running pandas.0.8.0 and matplotlib 1.1.0 on Archlinux, Python 2.7.3 with ipython 0.12.1, and starting ipython via `ipython2 --pylab=qt`.
The following code produces the erroneous behaviour. The mpl plotting works just fine, whereas the pandas plotting ignores `ms` and `mew` arguments.
```
import matplotlib as mpl
from numpy import random
import pandas
print pandas.__version__
test = pandas.Series(random.randn(120),
index=pandas.date_range(start="2000-01-01",
end="2009-12-31",
freq=pandas.datetools.MonthBegin()))
mpl.pyplot.figure()
# this produces the correct markers
mpl.pyplot.plot(test, '.', ms=12.)
mpl.pyplot.figure()
# this ignores the ms kwarg
test.plot(style='.', ms=12.)
```
It would be okay to use matplotlib's plotting function, but I'm dealing with time series, and I don't think matplotlib's support for dates is too convenient.
Is this a bug, or am I just doing it wrong?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1636/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1636/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1637 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1637/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1637/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1637/events | https://github.com/pandas-dev/pandas/issues/1637 | 5,693,351 | MDU6SXNzdWU1NjkzMzUx | 1,637 | Support dateutil 2.1 | {
"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"
}
] | closed | false | null | [] | {
"closed_at": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 0 | "2012-07-18T16:19:29Z" | "2012-07-19T19:07:43Z" | "2012-07-19T19:07:43Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1637/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1637/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/1638 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1638/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1638/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1638/events | https://github.com/pandas-dev/pandas/issues/1638 | 5,698,114 | MDU6SXNzdWU1Njk4MTE0 | 1,638 | MS and other frequencies in to_timestamp | {
"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"
}
] | 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-07-18T19:55:01Z" | "2014-05-28T23:24:29Z" | "2014-05-28T23:24:29Z" | MEMBER | null | e.g.
```
i = period_range('1/1/2000', periods = 4, freq = 'M')
ts = Series(range(4), index = i)
ts.to_timestamp('MS')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1638/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1638/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1639 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1639/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1639/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1639/events | https://github.com/pandas-dev/pandas/issues/1639 | 5,699,238 | MDU6SXNzdWU1Njk5MjM4 | 1,639 | Dataframe.ix behavior inconsistent (depends on index type) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1711378?v=4",
"events_url": "https://api.github.com/users/mjmare/events{/privacy}",
"followers_url": "https://api.github.com/users/mjmare/followers",
"following_url": "https://api.github.com/users/mjmare/following{/other_user}",
"gists_url": "https://api.github.com/users/mjmare/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mjmare",
"id": 1711378,
"login": "mjmare",
"node_id": "MDQ6VXNlcjE3MTEzNzg=",
"organizations_url": "https://api.github.com/users/mjmare/orgs",
"received_events_url": "https://api.github.com/users/mjmare/received_events",
"repos_url": "https://api.github.com/users/mjmare/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mjmare/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mjmare/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mjmare"
} | [] | closed | false | null | [] | null | 7 | "2012-07-18T20:48:48Z" | "2012-07-19T19:33:23Z" | "2012-07-19T18:00:24Z" | NONE | null | I would expect that ix[n] would return the n-th row in a data frame (doc is missing so I'm not sure). This seems to work as such with an index that is not integer based (say dates). But it fails with an int-based index that is not a continuous range starting at 0 (and there is no reason it should).
Example with date index:
dates = np.asarray(date_range('1/1/2000', periods=8))
d = DataFrame(randn(8, 4), index=dates, columns=['A', 'B', 'C', 'D'])
d.ix[1]
returns the second row correctly.
Example with int index:
numbers = range(4,12)
n = DataFrame(randn(8, 4), index=numbers, columns=['A', 'B', 'C', 'D'])
n.ix[1]
Returns a key error. A bug, or so it seems.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1639/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1639/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1640 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1640/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1640/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1640/events | https://github.com/pandas-dev/pandas/pull/1640 | 5,700,614 | MDExOlB1bGxSZXF1ZXN0MTgzMjE4NA== | 1,640 | Plotting bug fixes and new features | {
"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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 0 | "2012-07-18T21:51:31Z" | "2014-06-12T17:50:46Z" | "2012-07-19T19:24:22Z" | CONTRIBUTOR | null | also a start on the release notes
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1640/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1640/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1640.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1640",
"merged_at": "2012-07-19T19:24:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/1640.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1640"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1641 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1641/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1641/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1641/events | https://github.com/pandas-dev/pandas/issues/1641 | 5,703,535 | MDU6SXNzdWU1NzAzNTM1 | 1,641 | ExcelWriter not working | {
"avatar_url": "https://avatars.githubusercontent.com/u/1931007?v=4",
"events_url": "https://api.github.com/users/JasonR055/events{/privacy}",
"followers_url": "https://api.github.com/users/JasonR055/followers",
"following_url": "https://api.github.com/users/JasonR055/following{/other_user}",
"gists_url": "https://api.github.com/users/JasonR055/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/JasonR055",
"id": 1931007,
"login": "JasonR055",
"node_id": "MDQ6VXNlcjE5MzEwMDc=",
"organizations_url": "https://api.github.com/users/JasonR055/orgs",
"received_events_url": "https://api.github.com/users/JasonR055/received_events",
"repos_url": "https://api.github.com/users/JasonR055/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/JasonR055/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JasonR055/subscriptions",
"type": "User",
"url": "https://api.github.com/users/JasonR055"
} | [] | closed | false | null | [] | null | 2 | "2012-07-19T01:08:57Z" | "2012-07-19T01:47:42Z" | "2012-07-19T01:47:42Z" | NONE | null | I get the below exception.
writer = pandas.ExcelWriter('output.xlsx')
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/IPython/core/interactiveshell.py", line 2538, in run_code
exec code_obj in self.user_global_ns, self.user_ns
File "<ipython-input-1-2e9db80bb8db>", line 1, in <module>
writer = pandas.ExcelWriter('output.xlsx')
File "/usr/lib/pymodules/python2.7/pandas/io/parsers.py", line 709, in **init**
from openpyxl import Workbook
ImportError: cannot import name Workbook
Perhaps 'from openpyxl.workbook import Workbook' will help? This was suggested here: http://stackoverflow.com/questions/10439539/cannot-import-openpyxl-to-python-on-osx
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1641/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1641/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1642 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1642/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1642/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1642/events | https://github.com/pandas-dev/pandas/issues/1642 | 5,708,323 | MDU6SXNzdWU1NzA4MzIz | 1,642 | Cannot assign to df.icol(n), df.irow(n) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1327168?v=4",
"events_url": "https://api.github.com/users/gerigk/events{/privacy}",
"followers_url": "https://api.github.com/users/gerigk/followers",
"following_url": "https://api.github.com/users/gerigk/following{/other_user}",
"gists_url": "https://api.github.com/users/gerigk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gerigk",
"id": 1327168,
"login": "gerigk",
"node_id": "MDQ6VXNlcjEzMjcxNjg=",
"organizations_url": "https://api.github.com/users/gerigk/orgs",
"received_events_url": "https://api.github.com/users/gerigk/received_events",
"repos_url": "https://api.github.com/users/gerigk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gerigk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gerigk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gerigk"
} | [] | 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-07-19T09:20:16Z" | "2016-10-12T23:03:05Z" | "2013-09-20T16:52:31Z" | NONE | null | I ran into a situation where I want to transform a column/row based on its position and I noticed that I can't do this without using
df[df.columns[n]] instead of df.icol(n)
Would this be an easy fix?
Assigning results in
```
SyntaxError: can't assign to function call
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1642/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1642/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1643 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1643/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1643/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1643/events | https://github.com/pandas-dev/pandas/issues/1643 | 5,714,578 | MDU6SXNzdWU1NzE0NTc4 | 1,643 | Hierarchical Series to data frame | {
"avatar_url": "https://avatars.githubusercontent.com/u/1911871?v=4",
"events_url": "https://api.github.com/users/DanielMorton/events{/privacy}",
"followers_url": "https://api.github.com/users/DanielMorton/followers",
"following_url": "https://api.github.com/users/DanielMorton/following{/other_user}",
"gists_url": "https://api.github.com/users/DanielMorton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DanielMorton",
"id": 1911871,
"login": "DanielMorton",
"node_id": "MDQ6VXNlcjE5MTE4NzE=",
"organizations_url": "https://api.github.com/users/DanielMorton/orgs",
"received_events_url": "https://api.github.com/users/DanielMorton/received_events",
"repos_url": "https://api.github.com/users/DanielMorton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DanielMorton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DanielMorton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DanielMorton"
} | [] | closed | false | null | [] | null | 1 | "2012-07-19T15:10:35Z" | "2012-07-19T17:38:26Z" | "2012-07-19T17:38:26Z" | NONE | null | I'm following Wes McKinney's pandas tutorial. At one point he runs the code
result=boys.groupby('name').prop.describe()
result
and gets a table. When I run the same code I get a series with hierarchical index. I suspect the problem comes from using a more recent version of pandas or scipy. Is there a way to convert this into a table (making the second index into the column names?) Or is there some argument I can pass to describe() to make a 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/1643/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1643/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1644 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1644/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1644/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1644/events | https://github.com/pandas-dev/pandas/issues/1644 | 5,723,460 | MDU6SXNzdWU1NzIzNDYw | 1,644 | Unconverted 'name' of Series object from DataFrame of time series row | {
"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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 0 | "2012-07-19T20:09:52Z" | "2013-12-04T00:57:58Z" | "2012-07-19T21:38:47Z" | MEMBER | null | ```
In [6]: import pandas.util.testing as tm
In [7]: df = tm.makeTimeDataFrame()
In [8]: df.ix['2000-02-02'].name
Out[8]: '2000-02-02'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1644/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1644/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1645 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1645/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1645/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1645/events | https://github.com/pandas-dev/pandas/issues/1645 | 5,723,509 | MDU6SXNzdWU1NzIzNTA5 | 1,645 | Business month start (BMS) bug | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 0 | "2012-07-19T20:11:57Z" | "2012-07-19T21:21:46Z" | "2012-07-19T21:21:46Z" | MEMBER | null | ```
In [10]: date_range('1/1/2000', periods=10, freq='BMS')
Out[10]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2000-02-01 00:00:00, ..., 2000-11-01 00:00:00]
Length: 10, Freq: BMS, Timezone: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1645/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1645/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1646 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1646/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1646/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1646/events | https://github.com/pandas-dev/pandas/issues/1646 | 5,723,533 | MDU6SXNzdWU1NzIzNTMz | 1,646 | Interpolate with method='values' and DatetimeIndex fails | {
"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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 0 | "2012-07-19T20:13:12Z" | "2012-07-21T14:01:59Z" | "2012-07-21T14:01:59Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1646/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1646/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/1647 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1647/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1647/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1647/events | https://github.com/pandas-dev/pandas/issues/1647 | 5,723,543 | MDU6SXNzdWU1NzIzNTQz | 1,647 | String timestamp aliases don't work with tz-aware 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": "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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 0 | "2012-07-19T20:13:44Z" | "2012-07-19T21:49:13Z" | "2012-07-19T21:49:13Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1647/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1647/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/1648 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1648/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1648/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1648/events | https://github.com/pandas-dev/pandas/issues/1648 | 5,723,551 | MDU6SXNzdWU1NzIzNTUx | 1,648 | Resample with how='median' broken in some cases | {
"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": "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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 2 | "2012-07-19T20:14:12Z" | "2012-08-11T22:48:43Z" | "2012-08-11T22:48:43Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1648/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1648/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/1649 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1649/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1649/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1649/events | https://github.com/pandas-dev/pandas/issues/1649 | 5,724,551 | MDU6SXNzdWU1NzI0NTUx | 1,649 | A bug in pandas.concat when the given dict contains None | {
"avatar_url": "https://avatars.githubusercontent.com/u/29282?v=4",
"events_url": "https://api.github.com/users/tkf/events{/privacy}",
"followers_url": "https://api.github.com/users/tkf/followers",
"following_url": "https://api.github.com/users/tkf/following{/other_user}",
"gists_url": "https://api.github.com/users/tkf/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tkf",
"id": 29282,
"login": "tkf",
"node_id": "MDQ6VXNlcjI5Mjgy",
"organizations_url": "https://api.github.com/users/tkf/orgs",
"received_events_url": "https://api.github.com/users/tkf/received_events",
"repos_url": "https://api.github.com/users/tkf/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tkf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tkf/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tkf"
} | [
{
"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 | {
"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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 0 | "2012-07-19T20:59:23Z" | "2012-07-20T15:38:11Z" | "2012-07-20T15:38:11Z" | CONTRIBUTOR | null | ``` python
In [2]:
import pandas
In [3]:
df0 = pandas.DataFrame([[10, 20, 30], [10, 20, 30], [10, 20, 30]])
df0
Out [3]:
0 1 2
0 10 20 30
1 10 20 30
2 10 20 30
In [4]:
pandas.concat(dict(a=None, b=df0, c=df0[:2], d=df0[:1], e=df0))
Out [4]:
0 1 2
a 0 10 20 30
1 10 20 30
2 10 20 30
b 0 10 20 30
1 10 20 30
c 0 10 20 30
d 0 10 20 30
1 10 20 30
2 10 20 30
```
Checked with the current master e1129b11b1fe0016748d3d279000a2a71db8dee5 and 0.7.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/1649/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1649/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1650 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1650/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1650/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1650/events | https://github.com/pandas-dev/pandas/pull/1650 | 5,724,812 | MDExOlB1bGxSZXF1ZXN0MTg0MzExMA== | 1,650 | Series.describe() fails for empty and None series. | {
"avatar_url": "https://avatars.githubusercontent.com/u/215721?v=4",
"events_url": "https://api.github.com/users/todddeluca/events{/privacy}",
"followers_url": "https://api.github.com/users/todddeluca/followers",
"following_url": "https://api.github.com/users/todddeluca/following{/other_user}",
"gists_url": "https://api.github.com/users/todddeluca/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/todddeluca",
"id": 215721,
"login": "todddeluca",
"node_id": "MDQ6VXNlcjIxNTcyMQ==",
"organizations_url": "https://api.github.com/users/todddeluca/orgs",
"received_events_url": "https://api.github.com/users/todddeluca/received_events",
"repos_url": "https://api.github.com/users/todddeluca/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/todddeluca/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/todddeluca/subscriptions",
"type": "User",
"url": "https://api.github.com/users/todddeluca"
} | [] | closed | false | null | [] | {
"closed_at": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 4 | "2012-07-19T21:10:41Z" | "2014-06-17T15:25:59Z" | "2012-07-20T00:29:04Z" | NONE | null | Running `describe()` raises and exception for `Series([])` and `Series([None])`. See the following examples:
```
In [416]: Series([]).describe()
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-416-162185f07510> in <module>()
----> 1 Series([]).describe()
/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.8.0rc2-py2.7-macosx-10.4-x86_64.egg/pandas/core/series.pyc in describe(self, percentile_width)
1363 'max']
1364
-> 1365 data = [self.count(), self.mean(), self.std(), self.min(),
1366 self.quantile(lb), self.median(), self.quantile(ub),
1367 self.max()]
/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.8.0rc2-py2.7-macosx-10.4-x86_64.egg/pandas/core/series.pyc in min(self, axis, out, skipna, level)
1067 if level is not None:
1068 return self._agg_by_level('min', level=level, skipna=skipna)
-> 1069 return nanops.nanmin(self.values, skipna=skipna)
1070
1071 @Substitution(name='maximum', shortname='max',
/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.8.0rc2-py2.7-macosx-10.4-x86_64.egg/pandas/core/nanops.pyc in f(values, axis, skipna, **kwds)
41 result = alt(values, axis=axis, skipna=skipna, **kwds)
42 except Exception:
---> 43 result = alt(values, axis=axis, skipna=skipna, **kwds)
44
45 return result
/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.8.0rc2-py2.7-macosx-10.4-x86_64.egg/pandas/core/nanops.pyc in _nanmin(values, axis, skipna)
152 result = __builtin__.min(values)
153 else:
--> 154 result = values.min(axis)
155
156 return _maybe_null_out(result, axis, mask)
ValueError: zero-size array to minimum.reduce without identity
In [388]: s = pandas.Series([None])
In [389]: s.describe()
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
<ipython-input-389-97bd840d09f5> in <module>()
----> 1 s.describe()
/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.8.0rc2-py2.7-macosx-10.4-x86_64.egg/pandas/core/series.pyc in describe(self, percentile_width)
1334
1335 objcounts = Counter(self.dropna().values)
-> 1336 top, freq = objcounts.most_common(1)[0]
1337 data = [self.count(), len(objcounts), top, freq]
1338
IndexError: list index out of range
In [395]: s = pandas.Series([np.nan, np.nan])
In [396]: s.describe()
Out[396]:
count 0
mean NaN
std NaN
min NaN
25% NaN
50% NaN
75% NaN
max NaN
```
I have included `Series([np.nan])` because its output is affected by the pull request.
After the pull request the output is as follows:
```
In [3]: Series([]).describe()
Out[3]: count 0
In [4]: Series([None]).describe()
Out[4]:
count 0
unique 0
In [5]: Series([np.nan]).describe()
Out[5]: count 0
```
The pull request fixes the `ValueError` from the call to `values.min(axis)` and the `IndexError` from accessing `most_common(1)[0]` by only returning a small amount of count data when the Series object is empty or contains all NaN or None values. Is this the right approach? It changes the output for Series objects with all NaN values.
Test coverage was written but I couldn't figure out how to run the tests. Any hints?
Regards,
Todd
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1650/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1650/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1650.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1650",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/1650.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1650"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1651 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1651/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1651/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1651/events | https://github.com/pandas-dev/pandas/issues/1651 | 5,725,557 | MDU6SXNzdWU1NzI1NTU3 | 1,651 | Request: Multi-line header for to_csv when column is MultiIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/29282?v=4",
"events_url": "https://api.github.com/users/tkf/events{/privacy}",
"followers_url": "https://api.github.com/users/tkf/followers",
"following_url": "https://api.github.com/users/tkf/following{/other_user}",
"gists_url": "https://api.github.com/users/tkf/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tkf",
"id": 29282,
"login": "tkf",
"node_id": "MDQ6VXNlcjI5Mjgy",
"organizations_url": "https://api.github.com/users/tkf/orgs",
"received_events_url": "https://api.github.com/users/tkf/received_events",
"repos_url": "https://api.github.com/users/tkf/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tkf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tkf/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tkf"
} | [
{
"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"
}
] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 3 | "2012-07-19T21:44:43Z" | "2013-05-19T14:42:09Z" | "2013-05-19T14:42:09Z" | CONTRIBUTOR | null | Having tuple as string in header line is not what I expected.
Any particular reason for this behavior?:
``` python
In [1]:
import pandas
import numpy
from itertools import product
df = pandas.DataFrame(numpy.random.randint(low=10, high=100, size=(2, 4)))
df.columns = pandas.MultiIndex.from_tuples(list(product('ab', 'xy')))
print df
a b
x y x y
0 86 55 85 20
1 89 32 71 18
In [2]:
import sys
df.to_csv(sys.stdout, sep='\t')
('a', 'x') ('a', 'y') ('b', 'x') ('b', 'y')
0 86 55 85 20
1 89 32 71 18
```
It would be nice if there is an option to output multi-line header with `df.to_csv`, like what `print df` or `df.to_html` does. Or even make it as default.
Also, `header_format` option to format would be nice, e.g.:
``` python
df.to_csv(sys.stdout, sep='\t', header_format='{0}.{1}')
a.x a.y b.x b.y
0 86 55 85 20
1 89 32 71 18
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1651/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1651/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1652 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1652/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1652/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1652/events | https://github.com/pandas-dev/pandas/issues/1652 | 5,742,295 | MDU6SXNzdWU1NzQyMjk1 | 1,652 | Request: allow slice object in DataFrame.reindex | {
"avatar_url": "https://avatars.githubusercontent.com/u/29282?v=4",
"events_url": "https://api.github.com/users/tkf/events{/privacy}",
"followers_url": "https://api.github.com/users/tkf/followers",
"following_url": "https://api.github.com/users/tkf/following{/other_user}",
"gists_url": "https://api.github.com/users/tkf/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tkf",
"id": 29282,
"login": "tkf",
"node_id": "MDQ6VXNlcjI5Mjgy",
"organizations_url": "https://api.github.com/users/tkf/orgs",
"received_events_url": "https://api.github.com/users/tkf/received_events",
"repos_url": "https://api.github.com/users/tkf/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tkf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tkf/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tkf"
} | [
{
"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": "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": 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"
} | 4 | "2012-07-20T17:37:52Z" | "2014-05-28T23:22:17Z" | "2014-05-28T23:22:17Z" | CONTRIBUTOR | null | `irow` and `icol` allow slice. Why not `reindex` too?
Note that not allowing slice object in `DataFrame.reindex` makes the following phrase in the document incorrect:
> Some might conclude that ix and reindex are 100% equivalent based on this. This is indeed true except in the case of integer indexing.
-- http://pandas.pydata.org/pandas-docs/dev/gotchas.html#reindex-versus-ix-gotchas
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1652/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1652/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1653 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1653/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1653/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1653/events | https://github.com/pandas-dev/pandas/issues/1653 | 5,745,269 | MDU6SXNzdWU1NzQ1MjY5 | 1,653 | doc: sphinx objects needed | {
"avatar_url": "https://avatars.githubusercontent.com/u/11860?v=4",
"events_url": "https://api.github.com/users/timmie/events{/privacy}",
"followers_url": "https://api.github.com/users/timmie/followers",
"following_url": "https://api.github.com/users/timmie/following{/other_user}",
"gists_url": "https://api.github.com/users/timmie/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/timmie",
"id": 11860,
"login": "timmie",
"node_id": "MDQ6VXNlcjExODYw",
"organizations_url": "https://api.github.com/users/timmie/orgs",
"received_events_url": "https://api.github.com/users/timmie/received_events",
"repos_url": "https://api.github.com/users/timmie/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/timmie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timmie/subscriptions",
"type": "User",
"url": "https://api.github.com/users/timmie"
} | [
{
"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": 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-07-20T20:07:40Z" | "2013-09-07T17:58:05Z" | "2013-09-07T17:58:05Z" | CONTRIBUTOR | null | Add a Sphinx object for DataFrame:
http://permalink.gmane.org/gmane.comp.python.pystatsmodels/8905
:class:`pandas.DataFrame`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1653/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1653/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1654 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1654/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1654/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1654/events | https://github.com/pandas-dev/pandas/pull/1654 | 5,747,670 | MDExOlB1bGxSZXF1ZXN0MTg1NDI1MQ== | 1,654 | Configurability of unicode/console encoding | {
"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 | {
"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"
} | [
{
"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_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-07-20T22:20:17Z" | "2014-06-18T10:10:13Z" | "2012-10-11T23:27:38Z" | CONTRIBUTOR | null | #1620
checks whether there are non-ascii characters and tries to convert them if possible
allows encoding to be set in set_printoptions (default UTF8)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1654/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1654/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1654.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1654",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/1654.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1654"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1655 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1655/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1655/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1655/events | https://github.com/pandas-dev/pandas/issues/1655 | 5,747,851 | MDU6SXNzdWU1NzQ3ODUx | 1,655 | Request for "EasyFix" tag | {
"avatar_url": "https://avatars.githubusercontent.com/u/272026?v=4",
"events_url": "https://api.github.com/users/acompa/events{/privacy}",
"followers_url": "https://api.github.com/users/acompa/followers",
"following_url": "https://api.github.com/users/acompa/following{/other_user}",
"gists_url": "https://api.github.com/users/acompa/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/acompa",
"id": 272026,
"login": "acompa",
"node_id": "MDQ6VXNlcjI3MjAyNg==",
"organizations_url": "https://api.github.com/users/acompa/orgs",
"received_events_url": "https://api.github.com/users/acompa/received_events",
"repos_url": "https://api.github.com/users/acompa/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/acompa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/acompa/subscriptions",
"type": "User",
"url": "https://api.github.com/users/acompa"
} | [] | closed | false | null | [] | null | 2 | "2012-07-20T22:34:34Z" | "2012-07-20T22:42:54Z" | "2012-07-20T22:42:54Z" | NONE | null | Any low-hanging issues laying around? Things that are relatively straightforward but kind of time-consuming?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1655/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1655/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1656 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1656/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1656/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1656/events | https://github.com/pandas-dev/pandas/issues/1656 | 5,754,832 | MDU6SXNzdWU1NzU0ODMy | 1,656 | Better vectorized string slicing / get notation | {
"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"
}
] | 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": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"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-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 0 | "2012-07-21T17:19:33Z" | "2012-07-22T19:13:24Z" | "2012-07-22T19:13:24Z" | MEMBER | null | like:
`df.col.str[:10]`
versus current
`df.col.str.slice(slice(0, 10))`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1656/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1656/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1657 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1657/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1657/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1657/events | https://github.com/pandas-dev/pandas/issues/1657 | 5,756,277 | MDU6SXNzdWU1NzU2Mjc3 | 1,657 | More consistent na_values handling in read_csv | {
"avatar_url": "https://avatars.githubusercontent.com/u/1439047?v=4",
"events_url": "https://api.github.com/users/BrenBarn/events{/privacy}",
"followers_url": "https://api.github.com/users/BrenBarn/followers",
"following_url": "https://api.github.com/users/BrenBarn/following{/other_user}",
"gists_url": "https://api.github.com/users/BrenBarn/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/BrenBarn",
"id": 1439047,
"login": "BrenBarn",
"node_id": "MDQ6VXNlcjE0MzkwNDc=",
"organizations_url": "https://api.github.com/users/BrenBarn/orgs",
"received_events_url": "https://api.github.com/users/BrenBarn/received_events",
"repos_url": "https://api.github.com/users/BrenBarn/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/BrenBarn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/BrenBarn/subscriptions",
"type": "User",
"url": "https://api.github.com/users/BrenBarn"
} | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 13 | "2012-07-21T21:04:46Z" | "2019-03-05T20:15:44Z" | "2012-08-20T06:25:19Z" | NONE | null | The current handling of the `na_values` argument to `read_csv` is strangely different depending on what kind of value you pass to `na_values`. If you pass None, the default NA values are used. If you pass a dict mapping column names to values, then those values will be used for those columns, totally overriding the default NA values, while for columns not in the dict, the default values will be used. If you pass some other kind of iterable, it uses the _union_ of the passed values _and_ the default values as the NA values.
This behavior is confusing because sometimes the passed values override the defaults, but other times they just add to the defaults. It's also contrary to the documentation at http://pandas.pydata.org/pandas-docs/stable/io.html#csv-text-files, which says: "If you pass an empty list or an empty list for a particular column, no values (including empty strings) will be considered NA." But passing an empty list doesn't result in no values being considered NA. In fact, passing an empty list does nothing, since the empty list is unioned with the default NA values, so the default NA values are just used anyway.
Currently there is no easy way to pass a list of NA values which overrides the default for all columns. You can pass a dict, but then you have to specify the defaults per column. If you pass a list, you're not overriding the defaults, you're adding to them. This makes for confusing behavior when reading CSV files with string data in which strings like "na" and "nan" are valid data and should be read as their literal string values.
There should be a way to pass an all-column set of NA values that overrides the defaults. One possibility would be to have two arguments, something like `all_na_values` and `more_na_values`, to specify overriding and additional values, respectively. Another possibility would be to expose the default (currently the module-level `_NA_VALUES` in parsers.py), and allow users to add to it it they want to add more NA values (e.g., `read_csv(na_values=set(['newNA']) | pandas.default_nas)`.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1657/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1657/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1658 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1658/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1658/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1658/events | https://github.com/pandas-dev/pandas/issues/1658 | 5,776,593 | MDU6SXNzdWU1Nzc2NTkz | 1,658 | Bar Plot does not allow to change linewidth | {
"avatar_url": "https://avatars.githubusercontent.com/u/807824?v=4",
"events_url": "https://api.github.com/users/CRP/events{/privacy}",
"followers_url": "https://api.github.com/users/CRP/followers",
"following_url": "https://api.github.com/users/CRP/following{/other_user}",
"gists_url": "https://api.github.com/users/CRP/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/CRP",
"id": 807824,
"login": "CRP",
"node_id": "MDQ6VXNlcjgwNzgyNA==",
"organizations_url": "https://api.github.com/users/CRP/orgs",
"received_events_url": "https://api.github.com/users/CRP/received_events",
"repos_url": "https://api.github.com/users/CRP/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/CRP/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/CRP/subscriptions",
"type": "User",
"url": "https://api.github.com/users/CRP"
} | [] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 6 | "2012-07-23T11:16:43Z" | "2019-06-23T23:03:17Z" | "2012-07-25T05:25:27Z" | CONTRIBUTOR | null | linewidth for barplots (ie the edge lines of the bars) appears to be fixed at 1. Would it be possible to allow it to be set freely?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1658/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1658/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1659 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1659/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1659/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1659/events | https://github.com/pandas-dev/pandas/issues/1659 | 5,786,615 | MDU6SXNzdWU1Nzg2NjE1 | 1,659 | Add flags option to all string methods accepting regex string | {
"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"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 0 | "2012-07-23T19:18:32Z" | "2012-07-23T19:32:42Z" | "2012-07-23T19:32:42Z" | MEMBER | null | Methods like findall/match need to be able to take `re.IGNORECASE`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1659/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1659/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1660 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1660/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1660/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1660/events | https://github.com/pandas-dev/pandas/issues/1660 | 5,787,008 | MDU6SXNzdWU1Nzg3MDA4 | 1,660 | "Memoize" computations with hash table in pandas.core.strings | {
"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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 0 | "2012-07-23T19:36:57Z" | "2019-12-18T18:41:16Z" | null | MEMBER | null | Avoid memory bloat by keeping a table of object ids observed. Will require some Cython code
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1660/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1660/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1661 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1661/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1661/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1661/events | https://github.com/pandas-dev/pandas/issues/1661 | 5,787,157 | MDU6SXNzdWU1Nzg3MTU3 | 1,661 | Add option to Series.map for NA handling | {
"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"
}
] | 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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 0 | "2012-07-23T19:43:45Z" | "2012-08-12T18:13:54Z" | "2012-08-12T18:13:54Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1661/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1661/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/1662 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1662/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1662/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1662/events | https://github.com/pandas-dev/pandas/issues/1662 | 5,788,415 | MDU6SXNzdWU1Nzg4NDE1 | 1,662 | SQL connection improvements | {
"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": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
] | closed | false | {
"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"
} | [
{
"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_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 13 | "2012-07-23T20:36:17Z" | "2013-07-08T20:22:54Z" | "2013-07-08T20:22:54Z" | CONTRIBUTOR | null | From pydata mailing list:
Been enjoying pandas, and using it some with SQL. I've posted a gist at git://gist.github.com/3164289.git with code that sniffs DataFrame types, creates a table if needed, and writes the dataframe to Sqlite, MySQL, Oracle, or PostgreSQL.
It is lightly tested -- used on a couple of ad hoc jobs so far -- and does not save or restore indexes, but hope you'll find it useful.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1662/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1662/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1663 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1663/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1663/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1663/events | https://github.com/pandas-dev/pandas/issues/1663 | 5,791,895 | MDU6SXNzdWU1NzkxODk1 | 1,663 | Styling in DataFrame.to_excel | {
"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": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 14 | "2012-07-23T23:23:29Z" | "2017-04-20T01:02:13Z" | "2017-04-20T01:02:13Z" | MEMBER | null | from mailing list
```
Hello everyone,
I wonder if it's possible to apply style to the outputed excel file or should I have to code a similar function with my style ?
Maybe by overloadind ?
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1663/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1663/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1664 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1664/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1664/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1664/events | https://github.com/pandas-dev/pandas/issues/1664 | 5,793,519 | MDU6SXNzdWU1NzkzNTE5 | 1,664 | Cut/qcut with labels=False should probably return Categorical | {
"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"
}
] | 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-07-24T01:35:24Z" | "2013-09-21T12:53:40Z" | "2013-09-21T12:53:40Z" | MEMBER | null | Otherwise reindexing may be necessary in some cases
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1664/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1664/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1665 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1665/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1665/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1665/events | https://github.com/pandas-dev/pandas/issues/1665 | 5,796,905 | MDU6SXNzdWU1Nzk2OTA1 | 1,665 | rot parameter ignored in line plot | {
"avatar_url": "https://avatars.githubusercontent.com/u/807824?v=4",
"events_url": "https://api.github.com/users/CRP/events{/privacy}",
"followers_url": "https://api.github.com/users/CRP/followers",
"following_url": "https://api.github.com/users/CRP/following{/other_user}",
"gists_url": "https://api.github.com/users/CRP/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/CRP",
"id": 807824,
"login": "CRP",
"node_id": "MDQ6VXNlcjgwNzgyNA==",
"organizations_url": "https://api.github.com/users/CRP/orgs",
"received_events_url": "https://api.github.com/users/CRP/received_events",
"repos_url": "https://api.github.com/users/CRP/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/CRP/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/CRP/subscriptions",
"type": "User",
"url": "https://api.github.com/users/CRP"
} | [] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 0 | "2012-07-24T07:48:55Z" | "2016-10-12T23:03:05Z" | "2012-07-25T05:25:10Z" | CONTRIBUTOR | null | a=DataFrame(randn(10,2),index=range(10,100,9),columns=('a','b'))
a.plot(rot=30)
Out[67]: <matplotlib.axes.AxesSubplot at 0x11e4eaa90>
the resulting chart's xaxis ticklabels remain unrotated. (pandas 0.8.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/1665/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1665/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1666 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1666/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1666/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1666/events | https://github.com/pandas-dev/pandas/issues/1666 | 5,799,171 | MDU6SXNzdWU1Nzk5MTcx | 1,666 | Xaxis autoformat issue - self._use_dynamic_x should be self._use_dynamic_x() | {
"avatar_url": "https://avatars.githubusercontent.com/u/1942211?v=4",
"events_url": "https://api.github.com/users/joelhoro/events{/privacy}",
"followers_url": "https://api.github.com/users/joelhoro/followers",
"following_url": "https://api.github.com/users/joelhoro/following{/other_user}",
"gists_url": "https://api.github.com/users/joelhoro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/joelhoro",
"id": 1942211,
"login": "joelhoro",
"node_id": "MDQ6VXNlcjE5NDIyMTE=",
"organizations_url": "https://api.github.com/users/joelhoro/orgs",
"received_events_url": "https://api.github.com/users/joelhoro/received_events",
"repos_url": "https://api.github.com/users/joelhoro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/joelhoro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joelhoro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/joelhoro"
} | [] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 0 | "2012-07-24T10:11:23Z" | "2016-10-12T23:03:06Z" | "2012-07-25T05:24:58Z" | NONE | null | The following
```
from pandas import *
import datetime
DataFrame([1,1], index = [ datetime.datetime(2012,1,1), datetime.datetime(2012,9,1) ] ).plot()
```
gives a plot where the xaxis is not readable. I think the reason is that in `tools\plotting.py` the `condition` (which decides to autofmt) is false.
```
condition = (not self._use_dynamic_x
and df.index.is_all_dates
and not self.subplots
or (self.subplots and self.sharex))
```
Should the first line not be `self._use_dynamic_x()` instead?
[See http://stackoverflow.com/questions/11619144/pandas-xaxis-auto-format-issue for discussions]
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1666/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1666/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1667 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1667/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1667/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1667/events | https://github.com/pandas-dev/pandas/issues/1667 | 5,802,116 | MDU6SXNzdWU1ODAyMTE2 | 1,667 | Non-Disjoint GroupBy | {
"avatar_url": "https://avatars.githubusercontent.com/u/1327168?v=4",
"events_url": "https://api.github.com/users/gerigk/events{/privacy}",
"followers_url": "https://api.github.com/users/gerigk/followers",
"following_url": "https://api.github.com/users/gerigk/following{/other_user}",
"gists_url": "https://api.github.com/users/gerigk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gerigk",
"id": 1327168,
"login": "gerigk",
"node_id": "MDQ6VXNlcjEzMjcxNjg=",
"organizations_url": "https://api.github.com/users/gerigk/orgs",
"received_events_url": "https://api.github.com/users/gerigk/received_events",
"repos_url": "https://api.github.com/users/gerigk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gerigk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gerigk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gerigk"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | {
"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-07-24T13:19:41Z" | "2018-12-18T16:05:44Z" | "2018-12-18T16:05:36Z" | NONE | null | I think I once read something similar here or on the mailing list but I did not find it with these keywords.
Let's say I want to have aggregates over a groups that fulfill any of a given set of conditions (e.g., a stock whose volatility is higher than x or the return lower than y and I am interested in how many stocks I hold with vol > x and how many with return< y ).
so my df is something like
stock vol return #of stocks
A 40 -10 10
B 20 10 1000
etc.
and I want the result
condition # of stocks
vol > x n
return < y m
where we have of course that m + n may be greater than df[#of stocks].sum().
Now, my stocks are grouped into different portfolios so I may have a portfolio column and this functionality should allow to combine this kind of group by with a "normal " group by. So
portfolio condition # of stocks
P vol > x m
P return < y n
Q vol >x o
Q return < y p
Is this something that has been thought about?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1667/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1667/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1668 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1668/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1668/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1668/events | https://github.com/pandas-dev/pandas/issues/1668 | 5,803,687 | MDU6SXNzdWU1ODAzNjg3 | 1,668 | BUG: plotting daily data with two-day gaps | {
"avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4",
"events_url": "https://api.github.com/users/lesteve/events{/privacy}",
"followers_url": "https://api.github.com/users/lesteve/followers",
"following_url": "https://api.github.com/users/lesteve/following{/other_user}",
"gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lesteve",
"id": 1680079,
"login": "lesteve",
"node_id": "MDQ6VXNlcjE2ODAwNzk=",
"organizations_url": "https://api.github.com/users/lesteve/orgs",
"received_events_url": "https://api.github.com/users/lesteve/received_events",
"repos_url": "https://api.github.com/users/lesteve/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lesteve/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lesteve"
} | [] | closed | false | null | [] | null | 2 | "2012-07-24T14:19:49Z" | "2012-07-24T22:13:18Z" | "2012-07-24T22:13:18Z" | CONTRIBUTOR | null | Hi,
you should be able to copy and paste this in a ipython --pylab session:
``` python
import pandas
index = pandas.date_range(start='2001-1-1', end='2001-1-10', freq='D')
data = index.day
ts = pandas.TimeSeries(index=index, data=data)
tsWithGaps = ts[:3].append(ts[5:])
figure()
tsWithGaps.plot(style='o')
figure()
tsWithGaps.asfreq('D').plot(style='o')
```
I tried this snippet with 0.8.2.dev-7c54141 (i.e. latest git version as I write). The two plots below come from an improved version of the snippet which prints the timeseries on the plot.
The first plot I get looks weird (wrong label for January 5th + double data point on the 8th)
http://imgur.com/LFJup,aYLYJ#0
The timeseries is printed on the plot and looks perfectly fine.
The second plot with the explicitly resampled ts is fine:
http://imgur.com/LFJup,aYLYJ#1
Trying to tweak the parameters a 3-day gap looks fine and you get x axis labelling like plt.plot_date. She 2-day gaps seems always broken, although in a more subtle way than the plot above (generally the label before the gap is wrong but I don't get double data points). It looks like a timeseries with 2-day gaps is close enough to a regular index timeseries (maybe because of week-ends) and the index labelling goes wrong somewhere.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1668/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1668/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1669 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1669/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1669/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1669/events | https://github.com/pandas-dev/pandas/issues/1669 | 5,804,349 | MDU6SXNzdWU1ODA0MzQ5 | 1,669 | Inferred freq bug | {
"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": "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/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"
} | [
{
"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_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 4 | "2012-07-24T14:44:02Z" | "2012-07-24T21:58:54Z" | "2012-07-24T21:58:54Z" | CONTRIBUTOR | null | In [13]: tsWithGaps.index[3]
Out[13]: <Timestamp: 2001-01-06 00:00:00>
In [14]: tsWithGaps.index[3].dayofweek
Out[14]: 5
In [15]: tsWithGaps.index.inferred_freq
Out[15]: 'B'
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1669/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1669/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1670 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1670/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1670/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1670/events | https://github.com/pandas-dev/pandas/issues/1670 | 5,804,957 | MDU6SXNzdWU1ODA0OTU3 | 1,670 | Cursor x axis value is not shown when using regular timeseries | {
"avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4",
"events_url": "https://api.github.com/users/lesteve/events{/privacy}",
"followers_url": "https://api.github.com/users/lesteve/followers",
"following_url": "https://api.github.com/users/lesteve/following{/other_user}",
"gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lesteve",
"id": 1680079,
"login": "lesteve",
"node_id": "MDQ6VXNlcjE2ODAwNzk=",
"organizations_url": "https://api.github.com/users/lesteve/orgs",
"received_events_url": "https://api.github.com/users/lesteve/received_events",
"repos_url": "https://api.github.com/users/lesteve/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lesteve/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lesteve"
} | [
{
"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": "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-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-07-24T15:06:08Z" | "2013-09-21T13:42:10Z" | "2013-09-21T13:42:10Z" | CONTRIBUTOR | null | Hi,
you should be able to paste the following snippet in a ipython --pylab session
``` python
import pandas
index = pandas.date_range(start='2001-1-1', end='2001-1-10', freq='D')
ts = pandas.TimeSeries(index=index, data=index.day)
figure()
ts.plot()
figure()
ts[:3].append(ts[6:]).plot()
```
Although the labelling is definitely nicer in the regular timeseries case, the cursor x axis value is not shown (bottom right corner with the tk pylab backend)
http://imgur.com/WCe6P,o8jge#0:
The irregular timeseries with the standard matlplotlib plot_date labelling does show a value for the cursor x axis value:
http://imgur.com/WCe6P,o8jge#1
I tried with the qt backend and I get the same results so it appears to be backend independent.
Not a huge deal but I find the cursor x axis value quite useful from time to time when interactively inspecting a plot (zooming, panning, 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/1670/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1670/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1671 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1671/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1671/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1671/events | https://github.com/pandas-dev/pandas/issues/1671 | 5,805,723 | MDU6SXNzdWU1ODA1NzIz | 1,671 | Improper handling of Series in Series constructor | {
"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 | {
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 2 | "2012-07-24T15:36:53Z" | "2012-08-13T17:31:21Z" | "2012-08-11T21:47:43Z" | MEMBER | null | This looks like a regression that did not have a unit test (pretty sure this used to do the right thing)
```
index1 = ['d', 'b', 'a', 'c']
index2 = sorted(index1)
s1 = Series([4, 7, -5, 3], index=index1)
s2 = Series(s1, index=index2)
```
cc @hughdbrown
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1671/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1671/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1672 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1672/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1672/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1672/events | https://github.com/pandas-dev/pandas/issues/1672 | 5,818,693 | MDU6SXNzdWU1ODE4Njkz | 1,672 | Strings like 5-2001 broken in 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": "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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 0 | "2012-07-24T22:24:09Z" | "2012-07-24T22:31:02Z" | "2012-07-24T22:31:02Z" | MEMBER | null | It's my fault
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1672/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1672/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1673 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1673/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1673/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1673/events | https://github.com/pandas-dev/pandas/issues/1673 | 5,822,131 | MDU6SXNzdWU1ODIyMTMx | 1,673 | bug with time fields when using timezones | {
"avatar_url": "https://avatars.githubusercontent.com/u/1953974?v=4",
"events_url": "https://api.github.com/users/killinc/events{/privacy}",
"followers_url": "https://api.github.com/users/killinc/followers",
"following_url": "https://api.github.com/users/killinc/following{/other_user}",
"gists_url": "https://api.github.com/users/killinc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/killinc",
"id": 1953974,
"login": "killinc",
"node_id": "MDQ6VXNlcjE5NTM5NzQ=",
"organizations_url": "https://api.github.com/users/killinc/orgs",
"received_events_url": "https://api.github.com/users/killinc/received_events",
"repos_url": "https://api.github.com/users/killinc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/killinc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/killinc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/killinc"
} | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 10 | "2012-07-25T02:54:17Z" | "2012-09-26T21:27:29Z" | "2012-09-26T21:13:17Z" | NONE | null | ```
# the following code fails
dr = date_range('2012-01-01','2012-01-10',freq = 'D', tz = 'Hongkong')
dr.hour
# whereas this doesn't
dr = date_range('2012-01-01','2012-01-10',freq = 'D')
dr.hour
```
The reason that this is an important use case is that often you have data stored in UTC but want to sample at a particular time of day in another region.
For some dataframe y whose index is timezone aware, I would like to be able to say x = y[y.index.hour == 1]
Instead I need to write:
```
hours = [dt.hour for dt in y.index]
x = y[hours == 1]
```
this is ok but the list comprehension step takes ages because it is created a new timestamp for each underlying numpy datetime...
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1673/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1673/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1674 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1674/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1674/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1674/events | https://github.com/pandas-dev/pandas/issues/1674 | 5,823,802 | MDU6SXNzdWU1ODIzODAy | 1,674 | issue with changing frequencies when timezones are involved | {
"avatar_url": "https://avatars.githubusercontent.com/u/1953974?v=4",
"events_url": "https://api.github.com/users/killinc/events{/privacy}",
"followers_url": "https://api.github.com/users/killinc/followers",
"following_url": "https://api.github.com/users/killinc/following{/other_user}",
"gists_url": "https://api.github.com/users/killinc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/killinc",
"id": 1953974,
"login": "killinc",
"node_id": "MDQ6VXNlcjE5NTM5NzQ=",
"organizations_url": "https://api.github.com/users/killinc/orgs",
"received_events_url": "https://api.github.com/users/killinc/received_events",
"repos_url": "https://api.github.com/users/killinc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/killinc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/killinc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/killinc"
} | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 1 | "2012-07-25T06:20:39Z" | "2012-08-12T03:24:09Z" | "2012-08-12T03:24:09Z" | NONE | null | the following code fails:
```
dr = date_range('2011-12-01','2012-07-20',freq = 'D', tz = 'US/Eastern')
dr.asfreq('T')
```
it appears that the asfreq code checks whether the timezone of the start and end date are the same. In this particular example, the daylight savings offsets are different at the beginning and end so the test for equality fails. Is this intended behaviour or a bug?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1674/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1674/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1675 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1675/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1675/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1675/events | https://github.com/pandas-dev/pandas/issues/1675 | 5,826,307 | MDU6SXNzdWU1ODI2MzA3 | 1,675 | concatenated DataFrames with duplicated columns cannot be printed | {
"avatar_url": "https://avatars.githubusercontent.com/u/849427?v=4",
"events_url": "https://api.github.com/users/ruidc/events{/privacy}",
"followers_url": "https://api.github.com/users/ruidc/followers",
"following_url": "https://api.github.com/users/ruidc/following{/other_user}",
"gists_url": "https://api.github.com/users/ruidc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ruidc",
"id": 849427,
"login": "ruidc",
"node_id": "MDQ6VXNlcjg0OTQyNw==",
"organizations_url": "https://api.github.com/users/ruidc/orgs",
"received_events_url": "https://api.github.com/users/ruidc/received_events",
"repos_url": "https://api.github.com/users/ruidc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ruidc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ruidc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ruidc"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 1 | "2012-07-25T09:30:27Z" | "2012-09-18T21:10:47Z" | "2012-09-18T21:10:47Z" | CONTRIBUTOR | null | In the following, the concatenation happens, columns c and d are duplicated, but printing the dataframe raises error:
```
import pandas
df1 = pandas.DataFrame([[1,2], [3,4]], columns=['a','b'], index=[1,2])
df2 = pandas.DataFrame([[1,2], [3,4]], columns=['c','d'], index=[1,2])
df_all = pandas.concat([df1, df2], axis=1)
print(df_all)
df4 = pandas.DataFrame([[1,2], [3,4]], columns=['a','b'], index=[3,4])
df_all = pandas.concat([df_all, df4], axis=0)
print(df_all)
df5 = pandas.DataFrame([[1,2], [3,4]], columns=['c','d'], index=[3,4])
df_all = pandas.concat([df_all, df5], axis=1)
print(df_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/1675/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1675/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1676 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1676/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1676/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1676/events | https://github.com/pandas-dev/pandas/issues/1676 | 5,830,674 | MDU6SXNzdWU1ODMwNjc0 | 1,676 | timezone aware DatetimeIndex from datetime.datetime (regression) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1150402?v=4",
"events_url": "https://api.github.com/users/kdebrab/events{/privacy}",
"followers_url": "https://api.github.com/users/kdebrab/followers",
"following_url": "https://api.github.com/users/kdebrab/following{/other_user}",
"gists_url": "https://api.github.com/users/kdebrab/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kdebrab",
"id": 1150402,
"login": "kdebrab",
"node_id": "MDQ6VXNlcjExNTA0MDI=",
"organizations_url": "https://api.github.com/users/kdebrab/orgs",
"received_events_url": "https://api.github.com/users/kdebrab/received_events",
"repos_url": "https://api.github.com/users/kdebrab/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kdebrab/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kdebrab/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kdebrab"
} | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 1 | "2012-07-25T14:02:58Z" | "2012-09-18T16:38:42Z" | "2012-09-18T16:38:42Z" | CONTRIBUTOR | null | The following code worked in pandas 0.8.0b1, but not longer in 0.8.1:
```
import pandas as pnd
from datetime import datetime
from dateutil.tz import tzoffset
values = [188.5, 328.25]
index = [datetime(2012, 5, 11, 11, tzinfo=tzoffset(None, 7200)), datetime(2012, 5, 11, 12, tzinfo=tzoffset(None, 7200))]
series = pnd.Series(data = values, index = index)
```
What would you propose as a workaround?
Python 2.7.2, Numpy 1.6.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/1676/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1676/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1677 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1677/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1677/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1677/events | https://github.com/pandas-dev/pandas/issues/1677 | 5,838,742 | MDU6SXNzdWU1ODM4NzQy | 1,677 | GroupBy bug with time series | {
"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": "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 | {
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 3 | "2012-07-25T19:51:50Z" | "2012-08-10T15:58:20Z" | "2012-08-10T15:58:00Z" | MEMBER | null | from mailing list
``````
a = pd.DataFrame({'dt':pd.datetime(2012,4,25,9,30,0,393000),'size':50,'price':87.67},index=[pd.datetime(2012,4,25,9,30,0,393000)])
dt = a.index[0]
minutely = pd.date_range(dt,dt,freq='5T')
grouped = a.groupby(minutely.asof)
grouped['size'].last()
# error: len() of unsized 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/1677/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1677/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1678 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1678/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1678/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1678/events | https://github.com/pandas-dev/pandas/issues/1678 | 5,841,731 | MDU6SXNzdWU1ODQxNzMx | 1,678 | .ix with MultiIndex indexing buglet | {
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 0 | "2012-07-25T22:03:04Z" | "2012-08-13T01:54:03Z" | "2012-08-13T01:54:02Z" | MEMBER | null | from mailing list:
```
In [42]: frame
Out[42]:
Ohio Colorado
Green Red Green
a 1 0 1 2
2 3 4 5
b 1 6 7 8
2 9 10 11
In [43]: frame.ix[:,0]
Out[43]:
a 1 0
2 3
b 1 6
2 9
Name: ('Ohio', 'Green')
In [44]: frame.icol(0)
Out[44]:
a 1 0
2 3
b 1 6
2 9
Name: ('Ohio', 'Green')
In [45]: frame.ix[:,1]
Out[45]:
Ohio Colorado
Green Red Green
a 0 1 2
b 6 7 8
In [46]: frame.icol(1)
Out[46]:
a 1 1
2 4
b 1 7
2 10
Name: ('Ohio', 'Red')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1678/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1678/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1679 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1679/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1679/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1679/events | https://github.com/pandas-dev/pandas/issues/1679 | 5,845,584 | MDU6SXNzdWU1ODQ1NTg0 | 1,679 | What should Series do when passed generator? | {
"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"
}
] | 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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 0 | "2012-07-26T02:58:38Z" | "2012-08-12T03:39:46Z" | "2012-08-12T03:39:45Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1679/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1679/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/1680 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1680/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1680/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1680/events | https://github.com/pandas-dev/pandas/issues/1680 | 5,855,974 | MDU6SXNzdWU1ODU1OTc0 | 1,680 | Series with datetime64 dtype causes failure in dict passed to DataFrame | {
"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 | {
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 0 | "2012-07-26T15:10:18Z" | "2012-08-12T03:57:56Z" | "2012-08-12T03:57:56Z" | MEMBER | null | works:
```
In [9]: d = pandas.DataFrame({'A': 'foo', 'B': ts.values}, index=dr)
In [10]: d.head()
Out[10]:
A B
2011-01-07 foo 2011-01-07 00:00:00
2011-01-14 foo 2011-01-14 00:00:00
2011-01-21 foo 2011-01-21 00:00:00
2011-01-28 foo 2011-01-28 00:00:00
2011-02-04 foo 2011-02-04 00:00:00
```
does not work:
```
d = pandas.DataFrame({'A': 'foo', 'B': ts.values}, index=dr)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1680/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1680/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1681 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1681/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1681/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1681/events | https://github.com/pandas-dev/pandas/issues/1681 | 5,856,085 | MDU6SXNzdWU1ODU2MDg1 | 1,681 | Concat datetime64 bug | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"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 | {
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 1 | "2012-07-26T15:14:08Z" | "2012-08-12T17:50:07Z" | "2012-08-12T17:50:07Z" | MEMBER | null | ```
dr = pandas.date_range('2011/1/1', '2012/1/1', freq='W-FRI')
a = pandas.DataFrame()
c = pandas.DataFrame({'A': 'foo', 'B': dr}, index=dr)
a.append(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/1681/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1681/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1682 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1682/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1682/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1682/events | https://github.com/pandas-dev/pandas/issues/1682 | 5,856,129 | MDU6SXNzdWU1ODU2MTI5 | 1,682 | DatetimeIndex with time zone loses tzinfo in DataFrame constructor | {
"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 | {
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 0 | "2012-07-26T15:15:52Z" | "2012-08-10T19:14:17Z" | "2012-08-10T19:14:17Z" | MEMBER | null | ```
dr = pandas.date_range('2011/1/1', '2012/1/1', freq='W-FRI')
dr_tz = dr.tz_localize('US/Eastern')
e = pandas.DataFrame({'A': 'foo', 'B': dr_tz}, index=dr)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1682/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1682/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1683 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1683/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1683/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1683/events | https://github.com/pandas-dev/pandas/issues/1683 | 5,856,174 | MDU6SXNzdWU1ODU2MTc0 | 1,683 | Tz-aware DatetimeIndex shift 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"
},
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 0 | "2012-07-26T15:17:33Z" | "2012-08-12T01:05:09Z" | "2012-08-12T01:05:09Z" | MEMBER | null | ```
dr = pandas.date_range('2011/1/1', '2012/1/1', freq='W-FRI')
dr_tz = dr.tz_localize('US/Eastern')
dr_tz.shift(1, '10T')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1683/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1683/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1684 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1684/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1684/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1684/events | https://github.com/pandas-dev/pandas/pull/1684 | 5,861,788 | MDExOlB1bGxSZXF1ZXN0MTkwMDkzOA== | 1,684 | DOC: update DataFrame.xs docstring and add examples | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https://api.github.com/users/lodagro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lodagro",
"id": 1094464,
"login": "lodagro",
"node_id": "MDQ6VXNlcjEwOTQ0NjQ=",
"organizations_url": "https://api.github.com/users/lodagro/orgs",
"received_events_url": "https://api.github.com/users/lodagro/received_events",
"repos_url": "https://api.github.com/users/lodagro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lodagro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lodagro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lodagro"
} | [] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 1 | "2012-07-26T19:16:10Z" | "2014-07-25T01:41:15Z" | "2012-09-08T21:30:02Z" | CONTRIBUTOR | null | Update of DataFrame.xs docstring.
Added some examples also, maybe too verbose?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1684/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1684/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1684.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1684",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/1684.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1684"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1685 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1685/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1685/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1685/events | https://github.com/pandas-dev/pandas/issues/1685 | 5,863,295 | MDU6SXNzdWU1ODYzMjk1 | 1,685 | plotting._stringify not unicode safe | {
"avatar_url": "https://avatars.githubusercontent.com/u/46313?v=4",
"events_url": "https://api.github.com/users/JoeGermuska/events{/privacy}",
"followers_url": "https://api.github.com/users/JoeGermuska/followers",
"following_url": "https://api.github.com/users/JoeGermuska/following{/other_user}",
"gists_url": "https://api.github.com/users/JoeGermuska/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/JoeGermuska",
"id": 46313,
"login": "JoeGermuska",
"node_id": "MDQ6VXNlcjQ2MzEz",
"organizations_url": "https://api.github.com/users/JoeGermuska/orgs",
"received_events_url": "https://api.github.com/users/JoeGermuska/received_events",
"repos_url": "https://api.github.com/users/JoeGermuska/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/JoeGermuska/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JoeGermuska/subscriptions",
"type": "User",
"url": "https://api.github.com/users/JoeGermuska"
} | [
{
"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"
},
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 2 | "2012-07-26T20:27:10Z" | "2012-08-06T19:57:43Z" | "2012-08-06T19:57:43Z" | NONE | null | /Users/germuska/.virtualenvs/data/lib/python2.6/site-packages/pandas/tools/plotting.pyc in _stringify(x)
1073 return '|'.join(str(y) for y in x)
1074 else:
-> 1075 return str(x)
1076
1077
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 1: ordinal not in range(128)
If labels can't be unicode, perhaps can a clearer error be thrown?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1685/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1685/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1686 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1686/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1686/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1686/events | https://github.com/pandas-dev/pandas/issues/1686 | 5,866,065 | MDU6SXNzdWU1ODY2MDY1 | 1,686 | Performance of DataFrame.resample with a lot of non-unique datetime index values | {
"avatar_url": "https://avatars.githubusercontent.com/u/35443?v=4",
"events_url": "https://api.github.com/users/taavi/events{/privacy}",
"followers_url": "https://api.github.com/users/taavi/followers",
"following_url": "https://api.github.com/users/taavi/following{/other_user}",
"gists_url": "https://api.github.com/users/taavi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/taavi",
"id": 35443,
"login": "taavi",
"node_id": "MDQ6VXNlcjM1NDQz",
"organizations_url": "https://api.github.com/users/taavi/orgs",
"received_events_url": "https://api.github.com/users/taavi/received_events",
"repos_url": "https://api.github.com/users/taavi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/taavi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/taavi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/taavi"
} | [
{
"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"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 5 | "2012-07-26T22:38:57Z" | "2012-08-12T19:55:41Z" | "2012-08-12T19:55:27Z" | CONTRIBUTOR | null | I've noticed that the first time I resample a DataFrame with a datetime index, it's REALLY slow compared to doing exactly the same thing in pure Python.
My use case is analyzing logs from a web application server. The index datetimes indicate when an event happened, and there are many per second (so non-unique), and millions of rows per day (I'm totally fine with having separate days in separate dataframes). Once I've done a resample to a particular frequency (`.resample("T")`), I can do another resample with a different `how=` and it's nice and snappy, so I suspect there's an inefficiency somewhere in the code that figures out the resampled row groupings, and that those groupings are cached.
From iPython (for %time):
``` python
from pandas import DataFrame
from datetime import datetime
from itertools import groupby
datelist = sum([[datetime(2012,7,26,0,x)]*1000 for x in range(10)], [])
a = DataFrame([1]*len(datelist), index=datelist)
# This is slower than it should be
%time a.resample("T", how=len)
# CPU times: user 1.49 s, sys: 0.01 s, total: 1.50 s
# Wall time: 1.50 s
# Out[6]:
# 0
#2012-07-26 00:00:00 1000
#2012-07-26 00:01:00 1000
#2012-07-26 00:02:00 1000
#2012-07-26 00:03:00 1000
#2012-07-26 00:04:00 1000
#2012-07-26 00:05:00 1000
#2012-07-26 00:06:00 1000
#2012-07-26 00:07:00 1000
#2012-07-26 00:08:00 1000
#2012-07-26 00:09:00 1000
# This is unexpectedly fast (guess: caching)
%time a.resample("T", how=len)
# CPU times: user 0.00 s, sys: 0.00 s, total: 0.00 s
# Wall time: 0.00 s
# Out[7]:
# 0
#2012-07-26 00:00:00 1000
#2012-07-26 00:01:00 1000
#2012-07-26 00:02:00 1000
#2012-07-26 00:03:00 1000
#2012-07-26 00:04:00 1000
#2012-07-26 00:05:00 1000
#2012-07-26 00:06:00 1000
#2012-07-26 00:07:00 1000
#2012-07-26 00:08:00 1000
#2012-07-26 00:09:00 1000
def by_minute(dt):
return (dt.year, dt.month, dt.day, dt.hour, dt.minute)
def how((key, values)):
return datetime(*key), len(list(values))
# This is how fast I think .resample() SHOULD be. :)
%time map(how, groupby(datelist, key=by_minute))
# CPU times: user 0.01 s, sys: 0.00 s, total: 0.01 s
# Wall time: 0.01 s
# Out[9]:
# [(datetime.datetime(2012, 7, 26, 0, 0), 1000),
# (datetime.datetime(2012, 7, 26, 0, 1), 1000),
# (datetime.datetime(2012, 7, 26, 0, 2), 1000),
# (datetime.datetime(2012, 7, 26, 0, 3), 1000),
# (datetime.datetime(2012, 7, 26, 0, 4), 1000),
# (datetime.datetime(2012, 7, 26, 0, 5), 1000),
# (datetime.datetime(2012, 7, 26, 0, 6), 1000),
# (datetime.datetime(2012, 7, 26, 0, 7), 1000),
# (datetime.datetime(2012, 7, 26, 0, 8), 1000),
# (datetime.datetime(2012, 7, 26, 0, 9), 1000)]
```
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/1686/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1686/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1687 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1687/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1687/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1687/events | https://github.com/pandas-dev/pandas/issues/1687 | 5,867,822 | MDU6SXNzdWU1ODY3ODIy | 1,687 | scatter_matrix mislabels axes with DataFrame index | {
"avatar_url": "https://avatars.githubusercontent.com/u/733983?v=4",
"events_url": "https://api.github.com/users/ebellm/events{/privacy}",
"followers_url": "https://api.github.com/users/ebellm/followers",
"following_url": "https://api.github.com/users/ebellm/following{/other_user}",
"gists_url": "https://api.github.com/users/ebellm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ebellm",
"id": 733983,
"login": "ebellm",
"node_id": "MDQ6VXNlcjczMzk4Mw==",
"organizations_url": "https://api.github.com/users/ebellm/orgs",
"received_events_url": "https://api.github.com/users/ebellm/received_events",
"repos_url": "https://api.github.com/users/ebellm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ebellm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ebellm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ebellm"
} | [] | closed | false | null | [] | null | 1 | "2012-07-27T00:51:25Z" | "2012-07-27T01:13:25Z" | "2012-07-27T01:13:25Z" | NONE | null | python 2.7.3, pandas 0.8.0, matplotlib 1.1.0:
The example code at http://pandas.pydata.org/pandas-docs/stable/visualization.html#scatter-plot-matrix produces axis labels which are integers 0-9 instead of -4 to 4 or so (as determined by the data extent). These appear to be taken from the DataFrame index, as can be seen by setting the index explicitly:
``` python
df = DataFrame(np.random.randn(6, 4), index=['x','y','z','p','d','q'], columns=['a', 'b', 'c', 'd'])
scatter_matrix(df, alpha=0.2, figsize=(8, 8), diagonal='kde')
```
produces http://imgur.com/oGFdM
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1687/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1687/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1688 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1688/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1688/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1688/events | https://github.com/pandas-dev/pandas/issues/1688 | 5,868,979 | MDU6SXNzdWU1ODY4OTc5 | 1,688 | AssertionError with df.resample(how="median") | {
"avatar_url": "https://avatars.githubusercontent.com/u/35443?v=4",
"events_url": "https://api.github.com/users/taavi/events{/privacy}",
"followers_url": "https://api.github.com/users/taavi/followers",
"following_url": "https://api.github.com/users/taavi/following{/other_user}",
"gists_url": "https://api.github.com/users/taavi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/taavi",
"id": 35443,
"login": "taavi",
"node_id": "MDQ6VXNlcjM1NDQz",
"organizations_url": "https://api.github.com/users/taavi/orgs",
"received_events_url": "https://api.github.com/users/taavi/received_events",
"repos_url": "https://api.github.com/users/taavi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/taavi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/taavi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/taavi"
} | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 3 | "2012-07-27T02:59:56Z" | "2013-10-04T18:30:44Z" | "2012-08-11T22:48:10Z" | CONTRIBUTOR | null | I've reproduced _something_ using `how="median"`, perhaps #1648. It seems to hit when there are discontinuities in the resampling (i.e. minutes with no records when downsampling).
Both pandas 0.8.1 and 0.8.2.dev-f5a74d4 don't like it:
``` python
import pandas as pd
from datetime import datetime
df = pd.DataFrame([1, 2], index=[datetime(2012,1,1,0,0,0), datetime(2012,1,1,0,5,0)])
df.resample("T", how="median")
# Throws AssertionError
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1688/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1688/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1689 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1689/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1689/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1689/events | https://github.com/pandas-dev/pandas/issues/1689 | 5,874,048 | MDU6SXNzdWU1ODc0MDQ4 | 1,689 | string methods that return boolean arrays should return bool if 'nan' is in series (instead of 'nan') | {
"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": "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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 2 | "2012-07-27T11:07:45Z" | "2012-09-09T00:42:17Z" | "2012-09-09T00:42:17Z" | NONE | null | ``` python
In [32]: s = pd.Series(['A', 'B', 'C', 'Aaba', 'Baca', np.nan, 'CABA', 'dog', 'cat'])
In [33]: s.str.startswith('A')
Out[33]:
0 True
1 False
2 False
3 True
4 False
5 NaN
6 False
7 False
8 False
In [34]: s[s.str.startswith('A')]
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-34-f0d46b8c76ff> in <module>()
----> 1 s[s.str.startswith('A')]
/net/home4/bmueller/.virtualenvs/myenv/lib/python2.6/site-packages/pandas/core/series.pyc in __getitem__(self, key)
447 # special handling of boolean data with NAs stored in object
448 # arrays. Since we can't represent NA with dtype=bool
--> 449 if _is_bool_indexer(key):
450 key = self._check_bool_indexer(key)
451 key = np.asarray(key, dtype=bool)
/net/home4/bmueller/.virtualenvs/myenv/lib/python2.6/site-packages/pandas/core/common.pyc in _is_bool_indexer(key)
499 if not lib.is_bool_array(key):
500 if isnull(key).any():
--> 501 raise ValueError('cannot index with vector containing '
502 'NA / NaN values')
503 return False
ValueError: cannot index with vector containing NA / NaN values
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1689/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1689/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1690 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1690/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1690/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1690/events | https://github.com/pandas-dev/pandas/issues/1690 | 5,874,480 | MDU6SXNzdWU1ODc0NDgw | 1,690 | frequency of time series read with `read_csv` | {
"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": "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": "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": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 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"
} | 10 | "2012-07-27T11:37:57Z" | "2015-12-13T20:39:07Z" | "2014-02-14T03:29:53Z" | NONE | null | I f I read a regular time series (with a fixed frequency) with read_csv, the resulting DataFrame has no freuqency.
``` python
In [82]: lines = ['2012-07-27T13:%02d, %d' % (min, index) for index, min in enumerate(range(1, 59))]
In [83]: input = StringIO.StringIO('\n'.join(lines))
In [84]: df = pd.read_csv(input, parse_dates=True, index_col=0, names='A')
In [85]: df.index
Out[85]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2012-07-27 13:01:00, ..., 2012-07-27 13:58:00]
Length: 58, Freq: None, Timezone: None
```
What I would like to have, is a possibility to set the frequency without resampling (or maybe read_csv could guess a frequency).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1690/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1690/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1691 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1691/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1691/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1691/events | https://github.com/pandas-dev/pandas/pull/1691 | 5,876,507 | MDExOlB1bGxSZXF1ZXN0MTkwODAxOQ== | 1,691 | ENH: add more possible bool values to read_csv #1295 | {
"avatar_url": "https://avatars.githubusercontent.com/u/2013503?v=4",
"events_url": "https://api.github.com/users/moleary/events{/privacy}",
"followers_url": "https://api.github.com/users/moleary/followers",
"following_url": "https://api.github.com/users/moleary/following{/other_user}",
"gists_url": "https://api.github.com/users/moleary/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/moleary",
"id": 2013503,
"login": "moleary",
"node_id": "MDQ6VXNlcjIwMTM1MDM=",
"organizations_url": "https://api.github.com/users/moleary/orgs",
"received_events_url": "https://api.github.com/users/moleary/received_events",
"repos_url": "https://api.github.com/users/moleary/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/moleary/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/moleary/subscriptions",
"type": "User",
"url": "https://api.github.com/users/moleary"
} | [] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 3 | "2012-07-27T13:45:58Z" | "2014-06-16T10:11:58Z" | "2012-09-12T15:04:52Z" | CONTRIBUTOR | null | Added more possible bool values when parsing a file. New values include upper and lower case True/False and Yes/No.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1691/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1691/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1691.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1691",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/1691.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1691"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1692 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1692/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1692/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1692/events | https://github.com/pandas-dev/pandas/issues/1692 | 5,877,149 | MDU6SXNzdWU1ODc3MTQ5 | 1,692 | Timezone Conversion Bug | {
"avatar_url": "https://avatars.githubusercontent.com/u/797170?v=4",
"events_url": "https://api.github.com/users/mcobzarenco/events{/privacy}",
"followers_url": "https://api.github.com/users/mcobzarenco/followers",
"following_url": "https://api.github.com/users/mcobzarenco/following{/other_user}",
"gists_url": "https://api.github.com/users/mcobzarenco/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mcobzarenco",
"id": 797170,
"login": "mcobzarenco",
"node_id": "MDQ6VXNlcjc5NzE3MA==",
"organizations_url": "https://api.github.com/users/mcobzarenco/orgs",
"received_events_url": "https://api.github.com/users/mcobzarenco/received_events",
"repos_url": "https://api.github.com/users/mcobzarenco/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mcobzarenco/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mcobzarenco/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mcobzarenco"
} | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 2 | "2012-07-27T14:15:52Z" | "2012-08-12T21:24:43Z" | "2012-08-12T21:23:56Z" | NONE | null | It seems that it is not possible to use static timezones with pandas:
http://nullege.com/codes/search/pytz.tzinfo.StaticTzInfo
``` python
pandas.DatetimeIndex([dt(2012, 1, 1)], tz=pytz.timezone('EST'))
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-483-37a722361cf0> in <module>()
----> 1 pandas.DatetimeIndex([dt(2012, 1, 1)], tz=pytz.timezone('EST'))
/usr/lib64/python2.7/site-packages/pandas/tseries/index.pyc in __new__(cls, data, freq, start, end, periods, copy, name, tz, verify_integrity, normalize, **kwds)
224 ints = subarr.view('i8')
225
--> 226 subarr = lib.tz_localize_to_utc(ints, tz)
227 subarr = subarr.view(_NS_DTYPE)
228
/usr/lib64/python2.7/site-packages/pandas/lib.so in pandas.lib.tz_localize_to_utc (pandas/src/tseries.c:38322)()
/usr/lib64/python2.7/site-packages/pandas/lib.so in pandas.lib._get_transitions (pandas/src/tseries.c:37001)()
AttributeError: 'EST' object has no attribute '_utc_transition_times'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1692/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1692/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1693 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1693/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1693/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1693/events | https://github.com/pandas-dev/pandas/issues/1693 | 5,877,335 | MDU6SXNzdWU1ODc3MzM1 | 1,693 | read_csv: Tz-aware datetime.datetime cannot be converted to datetime64 | {
"avatar_url": "https://avatars.githubusercontent.com/u/125001?v=4",
"events_url": "https://api.github.com/users/khughitt/events{/privacy}",
"followers_url": "https://api.github.com/users/khughitt/followers",
"following_url": "https://api.github.com/users/khughitt/following{/other_user}",
"gists_url": "https://api.github.com/users/khughitt/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/khughitt",
"id": 125001,
"login": "khughitt",
"node_id": "MDQ6VXNlcjEyNTAwMQ==",
"organizations_url": "https://api.github.com/users/khughitt/orgs",
"received_events_url": "https://api.github.com/users/khughitt/received_events",
"repos_url": "https://api.github.com/users/khughitt/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/khughitt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/khughitt/subscriptions",
"type": "User",
"url": "https://api.github.com/users/khughitt"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 0 | "2012-07-27T14:25:01Z" | "2012-08-10T18:35:52Z" | "2012-08-10T18:35:52Z" | CONTRIBUTOR | null | This may be related to some of the other TimeZone issues.
This worked in 0.8, but now raises an error in 0.8.1:
```
import pandas
import StringIO
data = StringIO.StringIO("Date,x\n2012-06-13T01:39:00Z,0.5")
pandas.read_csv(data,index_col=0, parse_dates=True)
```
Error:
```
ValueError: Tz-aware datetime.datetime cannot be converted to datetime64 unless utc=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/1693/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1693/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1694 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1694/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1694/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1694/events | https://github.com/pandas-dev/pandas/issues/1694 | 5,878,765 | MDU6SXNzdWU1ODc4NzY1 | 1,694 | Unexpected behavior on Series.irow (Series.iget) with non-unique index | {
"avatar_url": "https://avatars.githubusercontent.com/u/1827568?v=4",
"events_url": "https://api.github.com/users/manuteleco/events{/privacy}",
"followers_url": "https://api.github.com/users/manuteleco/followers",
"following_url": "https://api.github.com/users/manuteleco/following{/other_user}",
"gists_url": "https://api.github.com/users/manuteleco/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/manuteleco",
"id": 1827568,
"login": "manuteleco",
"node_id": "MDQ6VXNlcjE4Mjc1Njg=",
"organizations_url": "https://api.github.com/users/manuteleco/orgs",
"received_events_url": "https://api.github.com/users/manuteleco/received_events",
"repos_url": "https://api.github.com/users/manuteleco/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/manuteleco/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/manuteleco/subscriptions",
"type": "User",
"url": "https://api.github.com/users/manuteleco"
} | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 1 | "2012-07-27T15:27:56Z" | "2012-08-10T19:05:55Z" | "2012-08-10T19:05:54Z" | NONE | null | Hi,
`Series.irow(i)` (and also `Series.iget(i)`), with `i` being an integer, returns more than one value on Series with non-unique indexes if the index at location `i` has duplicates. This is not the behavior I expected and it is also different from the behavior shown by `DataFrame.irow(i)`, since it only returns the row located at position `i` regardless of any existing index duplicates. Also the documentation for `Series.irow`/`Series.iget` specifies that an "int" parameter should return a "scalar" value, so I guess this might be a bug.
Here is some sample code I've run using pandas '0.8.2.dev-f5a74d4':
```
In [52]: s = Series([0, 1, 2], index=[0, 1, 0])
In [53]: s.irow(0) # here I was expecting 0
Out[53]:
0 0
0 2
In [54]: s.irow(1)
Out[54]: 1
In [55]: s.irow(2) # here I was expecting 2
Out[55]:
0 0
0 2
```
and its DataFrame counterpart:
```
In [56]: df = DataFrame([[0], [1], [2]], index=[0, 1, 0])
In [57]: df.irow(0)
Out[57]:
0 0
Name: 0
In [58]: df.irow(1)
Out[58]:
0 1
Name: 1
In [59]: df.irow(2)
Out[59]:
0 2
Name: 0
```
Thanks and regards.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1694/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1694/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1695 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1695/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1695/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1695/events | https://github.com/pandas-dev/pandas/issues/1695 | 5,879,885 | MDU6SXNzdWU1ODc5ODg1 | 1,695 | New rolling_max/min impl's do not handle min_periods option | {
"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 | {
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 0 | "2012-07-27T16:16:11Z" | "2012-08-11T22:24:04Z" | "2012-08-11T22:24:04Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1695/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1695/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/1696 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1696/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1696/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1696/events | https://github.com/pandas-dev/pandas/issues/1696 | 5,879,949 | MDU6SXNzdWU1ODc5OTQ5 | 1,696 | NaN-columns is plotted as all 0 column in pandas | {
"avatar_url": "https://avatars.githubusercontent.com/u/20991?v=4",
"events_url": "https://api.github.com/users/lbolla/events{/privacy}",
"followers_url": "https://api.github.com/users/lbolla/followers",
"following_url": "https://api.github.com/users/lbolla/following{/other_user}",
"gists_url": "https://api.github.com/users/lbolla/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lbolla",
"id": 20991,
"login": "lbolla",
"node_id": "MDQ6VXNlcjIwOTkx",
"organizations_url": "https://api.github.com/users/lbolla/orgs",
"received_events_url": "https://api.github.com/users/lbolla/received_events",
"repos_url": "https://api.github.com/users/lbolla/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lbolla/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lbolla/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lbolla"
} | [] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 0 | "2012-07-27T16:19:33Z" | "2012-08-12T19:05:36Z" | "2012-08-12T19:05:36Z" | NONE | null | http://stackoverflow.com/questions/11689668/nan-columns-is-plotted-as-a-all-0-column-in-pandas
A column full of NaNs is plotted as full of 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/1696/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1696/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1697 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1697/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1697/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1697/events | https://github.com/pandas-dev/pandas/issues/1697 | 5,885,707 | MDU6SXNzdWU1ODg1NzA3 | 1,697 | Bug/unexpected behaviour when using groupby and aggregation functions with DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/2054010?v=4",
"events_url": "https://api.github.com/users/ichipper/events{/privacy}",
"followers_url": "https://api.github.com/users/ichipper/followers",
"following_url": "https://api.github.com/users/ichipper/following{/other_user}",
"gists_url": "https://api.github.com/users/ichipper/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ichipper",
"id": 2054010,
"login": "ichipper",
"node_id": "MDQ6VXNlcjIwNTQwMTA=",
"organizations_url": "https://api.github.com/users/ichipper/orgs",
"received_events_url": "https://api.github.com/users/ichipper/received_events",
"repos_url": "https://api.github.com/users/ichipper/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ichipper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ichipper/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ichipper"
} | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 0 | "2012-07-27T21:03:25Z" | "2012-08-12T00:53:10Z" | "2012-08-12T00:53:09Z" | NONE | null | Here is the bug to reproduce the bug/unexpected behavior:
``` python
from pandas import DataFrame
from pandas import MultiIndex
midx = MultiIndex.from_tuples([('f1', 's1'),('f1','s2'),('f2', 's1'),('f2', 's2'),('f3', 's1'),('f3','s2')])
df = DataFrame([[1,2,3,4,5,6],[7,8,9,10,11,12]], columns= midx)
df1 = df.select(lambda u: u[0] in ['f2', 'f3'], axis=1)
df1_group = df1.groupby(axis=1, level=0)
print df1_group.groups
print df1_group.sum()
```
#
When running the code, we can see that df1 is:
```
f1 f2 f3
s1 s2 s1 s2 s1 s2
0 1 2 3 4 5 6
1 7 8 9 10 11 12
```
And df1 is selected from subblocks of df:
```
f2 f3
s1 s2 s1 s2
0 3 4 5 6
1 9 10 11 12
```
After grouping df1 by the first level of multiindex of the columns,
we can see df1_group.groups is:
`{'f2': [('f2', 's1'), ('f2', 's2')], 'f3': [('f3', 's1'), ('f3', 's2')]}`
However, when apply a sum function to aggregate the columns inside each group, as in the example code,
df1_group.sum() results in:
```
f1 f2 f3
0 NaN 7 11
1 NaN 19 23
```
It seems it tries to do the aggregation using the columns of df instead of df1 so the columns of the resulting dataframe
include the label 'f1', which doesn't exist in df1.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1697/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1697/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1698 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1698/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1698/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1698/events | https://github.com/pandas-dev/pandas/issues/1698 | 5,895,782 | MDU6SXNzdWU1ODk1Nzgy | 1,698 | Interpolating with method='time' incorrect for resolution higher than daily | {
"avatar_url": "https://avatars.githubusercontent.com/u/1150402?v=4",
"events_url": "https://api.github.com/users/kdebrab/events{/privacy}",
"followers_url": "https://api.github.com/users/kdebrab/followers",
"following_url": "https://api.github.com/users/kdebrab/following{/other_user}",
"gists_url": "https://api.github.com/users/kdebrab/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kdebrab",
"id": 1150402,
"login": "kdebrab",
"node_id": "MDQ6VXNlcjExNTA0MDI=",
"organizations_url": "https://api.github.com/users/kdebrab/orgs",
"received_events_url": "https://api.github.com/users/kdebrab/received_events",
"repos_url": "https://api.github.com/users/kdebrab/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kdebrab/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kdebrab/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kdebrab"
} | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 1 | "2012-07-28T19:57:26Z" | "2012-08-12T03:49:05Z" | "2012-08-12T03:48:53Z" | CONTRIBUTOR | null | The following code (pandas 0.8.0b2):
```
import pandas as pd
index = pd.date_range('1/1/2012', periods=4, freq='12D')
ts = pd.Series([0, 12, 24, 36], index)
new_index = index.append(index + pd.DateOffset(days=1)).order()
ts.reindex(new_index).interpolate(method='time')
```
correctly returns:
2012-01-01 0
2012-01-02 1
2012-01-13 12
2012-01-14 13
2012-01-25 24
2012-01-26 25
2012-02-06 36
2012-02-07 36
But when exchanging days for hours:
```
index = pd.date_range('1/1/2012', periods=4, freq='12H')
ts = pd.Series([0, 12, 24, 36], index)
new_index = index.append(index + pd.DateOffset(hours=1)).order()
ts.reindex(new_index).interpolate(method='time')
```
the result is not correct:
2011-01-01 00:00:00 0
2011-01-01 01:00:00 12
2011-01-01 12:00:00 12
2011-01-01 13:00:00 12
2011-01-02 00:00:00 24
2011-01-02 01:00:00 36
2011-01-02 12:00:00 36
2011-01-02 13:00:00 36
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1698/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1698/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1699 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1699/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1699/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1699/events | https://github.com/pandas-dev/pandas/pull/1699 | 5,901,581 | MDExOlB1bGxSZXF1ZXN0MTkxNjM2Mg== | 1,699 | Avoid extra calls to calendar.monthrange. | {
"avatar_url": "https://avatars.githubusercontent.com/u/35443?v=4",
"events_url": "https://api.github.com/users/taavi/events{/privacy}",
"followers_url": "https://api.github.com/users/taavi/followers",
"following_url": "https://api.github.com/users/taavi/following{/other_user}",
"gists_url": "https://api.github.com/users/taavi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/taavi",
"id": 35443,
"login": "taavi",
"node_id": "MDQ6VXNlcjM1NDQz",
"organizations_url": "https://api.github.com/users/taavi/orgs",
"received_events_url": "https://api.github.com/users/taavi/received_events",
"repos_url": "https://api.github.com/users/taavi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/taavi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/taavi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/taavi"
} | [] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 1 | "2012-07-29T05:23:26Z" | "2014-07-01T03:27:19Z" | "2012-08-12T19:44:39Z" | CONTRIBUTOR | null | daysinmonth isn't used beyond setting cal, which is only used if calendar_end or business_end. Putting the if check in improved performance by a factor of 10. Once all of the flags are false, they can never become true (because of the &= operations), and short-circuiting the rest of the loop in that case saved an additional 20% runtime in the provided example code (see #1686).
Much simpler than rewriting in Cython for now. monthrange is relatively expensive and was being called 3x per index datetime when doing a .resample("T"...) operation.
Thanks for the help from Erik Welch!
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1699/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1699/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1699.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1699",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/1699.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1699"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1700 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1700/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1700/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1700/events | https://github.com/pandas-dev/pandas/issues/1700 | 5,905,328 | MDU6SXNzdWU1OTA1MzI4 | 1,700 | DataFrame repr fails for nonunique columns | {
"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"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 0 | "2012-07-29T14:07:20Z" | "2012-08-10T17:26:23Z" | "2012-08-10T17:26:23Z" | CONTRIBUTOR | null | ```
In [14]: df.columns
Out[14]:
Index([Ticker, Company Name, Position, $ Value, Position, $ Value,
% of Equity, Current Price $, Closing Price $, Current Price,
Closing Price, Px Change, Daily P&L $, Daily Perf., Total P/L 2008], dtype=object)
In [15]: repr(df)
\---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-15-d04570933a95> in <module>()
----> 1 repr(df)
/Users/changshe/code/pandas/pandas/core/frame.pyc in __repr__(self)
579 buf = StringIO()
580 if self._need_info_repr_():
--> 581 self.info(buf=buf, verbose=self._verbose_info)
582 else:
583 self.to_string(buf=buf)
/Users/changshe/code/pandas/pandas/core/frame.pyc in info(self, verbose, buf)
1310 lines.append(self.columns.summary(name='Columns'))
1311
-> 1312 counts = self.get_dtype_counts()
1313 dtypes = ['%s(%d)' % k for k in sorted(counts.iteritems())]
1314 lines.append('dtypes: %s' % ', '.join(dtypes))
/Users/changshe/code/pandas/pandas/core/frame.pyc in get_dtype_counts(self)
1342 for _, series in self.iterkv():
1343 # endianness can cause dtypes to look different
-> 1344 dtype_str = str(series.dtype)
1345 if dtype_str in counts:
1346 counts[dtype_str] += 1
/Users/changshe/code/pandas/pandas/core/frame.pyc in __getattr__(self, name)
1697 return self[name]
1698 raise AttributeError("'%s' object has no attribute '%s'" %
-> 1699 (type(self).__name__, name))
1700
1701 def __setattr__(self, name, value):
AttributeError: 'DataFrame' object has no attribute 'dtype'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1700/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1700/timeline | null | null | null |
Subsets and Splits