url
stringlengths 55
59
| repository_url
stringclasses 1
value | labels_url
stringlengths 69
73
| comments_url
stringlengths 64
68
| events_url
stringlengths 62
66
| html_url
stringlengths 44
49
| id
int64 338k
1.06B
| node_id
stringlengths 18
32
| number
int64 1
44.6k
| title
stringlengths 1
590
| user
dict | labels
listlengths 0
9
| state
stringclasses 2
values | locked
bool 2
classes | assignee
dict | assignees
listlengths 0
5
| milestone
dict | comments
int64 0
477
| created_at
timestamp[us, tz=UTC] | updated_at
timestamp[us, tz=UTC] | closed_at
timestamp[us, tz=UTC] | author_association
stringclasses 3
values | active_lock_reason
stringclasses 4
values | body
stringlengths 0
251k
⌀ | reactions
dict | timeline_url
stringlengths 64
68
| performed_via_github_app
float64 | draft
float64 0
1
⌀ | pull_request
dict |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/pandas-dev/pandas/issues/7701 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7701/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7701/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7701/events | https://github.com/pandas-dev/pandas/issues/7701 | 37,439,286 | MDU6SXNzdWUzNzQzOTI4Ng== | 7,701 | PeriodIndex construction with Series (for year, quarter) give TypeError | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
]
| closed | false | null | []
| {
"closed_at": "2014-07-11T00:02:53Z",
"closed_issues": 306,
"created_at": "2014-04-27T23:40:28Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "bug fixes from 0.14.0",
"due_on": "2014-07-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/27",
"id": 641843,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels",
"node_id": "MDk6TWlsZXN0b25lNjQxODQz",
"number": 27,
"open_issues": 0,
"state": "closed",
"title": "0.14.1",
"updated_at": "2014-09-05T10:24:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27"
} | 2 | 2014-07-09T07:11:32Z | 2016-10-12T23:05:00Z | 2014-07-10T15:15:02Z | MEMBER | null | Example from Wes' book:
```
In [1]: data = pd.DataFrame({'year':[1959,1959,1959,1959,1960,1960,1960,1960], '
quarter':[1,2,3,4,1,2,3,4]})
In [2]: data
Out[2]:
quarter year
0 1 1959
1 2 1959
2 3 1959
3 4 1959
4 1 1960
5 2 1960
6 3 1960
7 4 1960
In [3]: pd.PeriodIndex(year=data.year, quarter=data.quarter)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
...
C:\Anaconda\envs\devel\lib\site-packages\numpy\core\fromnumeric.pyc in repeat(a,
repeats, axis)
342 except AttributeError:
343 return _wrapit(a, 'repeat', repeats, axis)
--> 344 return repeat(repeats, axis)
345
346
TypeError: repeat() takes exactly 2 arguments (3 given)
```
The docstring of PeriodIndex says `int or array` for the `year` and `quarter` keywords, and indeed with arrays it does work:
```
In [4]: pd.PeriodIndex(year=data.year.values, quarter=data.quarter.values)
Out[4]:
<class 'pandas.tseries.period.PeriodIndex'>
[1959Q1, ..., 1960Q4]
Length: 8, Freq: Q
```
But it previously also worked for Series (I suppose when it was still a subclass?). So, should we keep the current behaviour or make it also work for Series?
In any case, a very strange error message that should be improved.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7701/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7701/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7702 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7702/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7702/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7702/events | https://github.com/pandas-dev/pandas/pull/7702 | 37,444,765 | MDExOlB1bGxSZXF1ZXN0MTgxNDgxMzQ= | 7,702 | BUG: DatetimeIndex.__iter__ creates a temp array of Timestamp (GH7683) | {
"avatar_url": "https://avatars.githubusercontent.com/u/792423?v=4",
"events_url": "https://api.github.com/users/yrlihuan/events{/privacy}",
"followers_url": "https://api.github.com/users/yrlihuan/followers",
"following_url": "https://api.github.com/users/yrlihuan/following{/other_user}",
"gists_url": "https://api.github.com/users/yrlihuan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yrlihuan",
"id": 792423,
"login": "yrlihuan",
"node_id": "MDQ6VXNlcjc5MjQyMw==",
"organizations_url": "https://api.github.com/users/yrlihuan/orgs",
"received_events_url": "https://api.github.com/users/yrlihuan/received_events",
"repos_url": "https://api.github.com/users/yrlihuan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yrlihuan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yrlihuan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yrlihuan"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 5 | 2014-07-09T08:49:59Z | 2014-07-09T17:09:30Z | 2014-07-09T17:00:54Z | CONTRIBUTOR | null | closes #7683
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7702/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7702/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7702.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7702",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/7702.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7702"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7703 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7703/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7703/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7703/events | https://github.com/pandas-dev/pandas/issues/7703 | 37,455,604 | MDU6SXNzdWUzNzQ1NTYwNA== | 7,703 | Window function to select all rows around certain values in a column | {
"avatar_url": "https://avatars.githubusercontent.com/u/1422682?v=4",
"events_url": "https://api.github.com/users/louist87/events{/privacy}",
"followers_url": "https://api.github.com/users/louist87/followers",
"following_url": "https://api.github.com/users/louist87/following{/other_user}",
"gists_url": "https://api.github.com/users/louist87/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/louist87",
"id": 1422682,
"login": "louist87",
"node_id": "MDQ6VXNlcjE0MjI2ODI=",
"organizations_url": "https://api.github.com/users/louist87/orgs",
"received_events_url": "https://api.github.com/users/louist87/received_events",
"repos_url": "https://api.github.com/users/louist87/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/louist87/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/louist87/subscriptions",
"type": "User",
"url": "https://api.github.com/users/louist87"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": 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"
} | 3 | 2014-07-09T11:29:32Z | 2018-07-06T22:01:49Z | 2018-07-06T21:59:47Z | NONE | null | I think [this StackOverflow question](http://stackoverflow.com/q/24650117/1156707) illustrates both the premise and the problem quite well. In short, it would be nice to have something like `df.window(df.somecolumn == 'ping', winsize=5)` which would return a subset of `df` such that for each row where `df.somecolumn=='ping'`, we select the 5 previous lines and five following lines.
This would be particularly useful for time-locking epochs to certain values (e.g. TTLs from some hardware).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7703/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7703/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7704 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7704/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7704/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7704/events | https://github.com/pandas-dev/pandas/issues/7704 | 37,458,756 | MDU6SXNzdWUzNzQ1ODc1Ng== | 7,704 | BUG: invalid dtype conversion when setting string column | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 0 | 2014-07-09T12:19:05Z | 2014-09-19T20:05:55Z | 2014-09-19T20:05:55Z | CONTRIBUTOR | null | http://stackoverflow.com/questions/24650117/how-can-i-select-all-dataframe-rows-that-are-within-a-certain-distance-of-a-give/24653406#24653406
```
In [32]: df = pd.DataFrame(np.random.rand(30, 3), columns=tuple('ABC'))
In [33]: df['event'] = np.nan
In [34]: df.dtypes
Out[34]:
A float64
B float64
C float64
event float64
dtype: object
In [35]: df.loc[10,'event'] = 'foo'
In [37]: df.dtypes
Out[37]:
A object
B object
C object
event object
dtype: object
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7704/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7704/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7705 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7705/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7705/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7705/events | https://github.com/pandas-dev/pandas/pull/7705 | 37,468,091 | MDExOlB1bGxSZXF1ZXN0MTgxNjIxNzI= | 7,705 | BUG: offset normalize option may not work in addition/subtraction | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
]
| closed | false | null | []
| {
"closed_at": "2014-07-11T00:02:53Z",
"closed_issues": 306,
"created_at": "2014-04-27T23:40:28Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "bug fixes from 0.14.0",
"due_on": "2014-07-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/27",
"id": 641843,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels",
"node_id": "MDk6TWlsZXN0b25lNjQxODQz",
"number": 27,
"open_issues": 0,
"state": "closed",
"title": "0.14.1",
"updated_at": "2014-09-05T10:24:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27"
} | 5 | 2014-07-09T14:10:24Z | 2014-07-10T11:01:35Z | 2014-07-09T15:48:51Z | MEMBER | null | Closes problem found in #7375.
@jreback Is this for 0.15 (needs release note)?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7705/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7705/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7705.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7705",
"merged_at": "2014-07-09T15:48:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7705.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7705"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7706 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7706/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7706/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7706/events | https://github.com/pandas-dev/pandas/issues/7706 | 37,468,750 | MDU6SXNzdWUzNzQ2ODc1MA== | 7,706 | YearOffset() raises AttributeError | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 5 | 2014-07-09T14:17:08Z | 2020-06-28T17:38:27Z | 2020-06-28T17:38:26Z | MEMBER | null | From https://github.com/pydata/pandas/pull/7375#issuecomment-48467303:
related: https://github.com/pydata/pandas/issues/4804
xref: #7705 (MonthOffset)
```
In [55]: offsets.YearOffset()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-55-b53e59b753d1> in <module>()
----> 1 offsets.YearOffset()
c:\users\vdbosscj\scipy\pandas-joris\pandas\tseries\offsets.pyc in __init__(self
, n, normalize, **kwds)
1331
1332 def __init__(self, n=1, normalize=False, **kwds):
-> 1333 self.month = kwds.get('month', self._default_month)
1334
1335 if self.month < 1 or self.month > 12:
AttributeError: 'YearOffset' object has no attribute '_default_month'
```
| {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7706/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7706/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7707 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7707/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7707/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7707/events | https://github.com/pandas-dev/pandas/issues/7707 | 37,469,350 | MDU6SXNzdWUzNzQ2OTM1MA== | 7,707 | MonthOffset() gives increase of 1 day instead of 1 month | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 9 | 2014-07-09T14:22:52Z | 2020-06-28T17:54:34Z | 2020-06-28T17:54:33Z | MEMBER | null | From https://github.com/pydata/pandas/pull/7375#issuecomment-48465256:
```
In [67]: from pandas.tseries import offsets
In [69]: d = pd.Timestamp('2014-01-01 09:00:00')
In [70]: d + offsets.MonthOffset()
Out[70]: Timestamp('2014-01-02 09:00:00')
In [71]: offsets.MonthOffset().apply(d)
Out[71]: Timestamp('2014-01-02 09:00:00')
In [72]: d + offsets.Day()
Out[72]: Timestamp('2014-01-02 09:00:00')
```
| {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7707/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7707/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7708 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7708/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7708/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7708/events | https://github.com/pandas-dev/pandas/pull/7708 | 37,475,471 | MDExOlB1bGxSZXF1ZXN0MTgxNjYyMDY= | 7,708 | API: Add PeriodIndex.resolution | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 1 | 2014-07-09T15:14:46Z | 2014-07-23T11:09:22Z | 2014-07-21T11:49:58Z | MEMBER | null | Add `resolution` to `PeriodIndex` as `DatetimeIndex` has.
NOTE: Going to use this to calculate common freq in #7670.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7708/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7708/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7708.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7708",
"merged_at": "2014-07-21T11:49:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7708.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7708"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7709 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7709/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7709/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7709/events | https://github.com/pandas-dev/pandas/pull/7709 | 37,486,688 | MDExOlB1bGxSZXF1ZXN0MTgxNzI2Nzk= | 7,709 | BUG: DatetimeIndex.__iter__ creates a temp array of Timestamp (GH7683) | {
"avatar_url": "https://avatars.githubusercontent.com/u/792423?v=4",
"events_url": "https://api.github.com/users/yrlihuan/events{/privacy}",
"followers_url": "https://api.github.com/users/yrlihuan/followers",
"following_url": "https://api.github.com/users/yrlihuan/following{/other_user}",
"gists_url": "https://api.github.com/users/yrlihuan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yrlihuan",
"id": 792423,
"login": "yrlihuan",
"node_id": "MDQ6VXNlcjc5MjQyMw==",
"organizations_url": "https://api.github.com/users/yrlihuan/orgs",
"received_events_url": "https://api.github.com/users/yrlihuan/received_events",
"repos_url": "https://api.github.com/users/yrlihuan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yrlihuan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yrlihuan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yrlihuan"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 13 | 2014-07-09T17:00:31Z | 2014-07-10T15:32:51Z | 2014-07-10T15:32:51Z | CONTRIBUTOR | null | closes #7683
Move `__iter__` from `DatatimeIndex/PeriodIndex` to `DatetimeIndexOpsMixin`
Adding perf tests for change
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
timeseries_iter_datetimeindex_preexit | 35.6683 | 2546.9604 | 0.0140 |
timeseries_iter_periodindex | 5051.6427 | 4353.0200 | 1.1605 |
timeseries_iter_periodindex_preexit | 50.9930 | 43.8580 | 1.1627 |
timeseries_iter_datetimeindex | 3463.0601 | 2596.2270 | 1.3339 |
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7709/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7709/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7709.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7709",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/7709.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7709"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7710 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7710/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7710/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7710/events | https://github.com/pandas-dev/pandas/issues/7710 | 37,501,720 | MDU6SXNzdWUzNzUwMTcyMA== | 7,710 | Indexing by a list of Periods fails to return a series | {
"avatar_url": "https://avatars.githubusercontent.com/u/4975865?v=4",
"events_url": "https://api.github.com/users/numpand/events{/privacy}",
"followers_url": "https://api.github.com/users/numpand/followers",
"following_url": "https://api.github.com/users/numpand/following{/other_user}",
"gists_url": "https://api.github.com/users/numpand/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/numpand",
"id": 4975865,
"login": "numpand",
"node_id": "MDQ6VXNlcjQ5NzU4NjU=",
"organizations_url": "https://api.github.com/users/numpand/orgs",
"received_events_url": "https://api.github.com/users/numpand/received_events",
"repos_url": "https://api.github.com/users/numpand/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/numpand/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/numpand/subscriptions",
"type": "User",
"url": "https://api.github.com/users/numpand"
} | [
{
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
]
| closed | false | null | []
| {
"closed_at": "2016-10-03T08:52:13Z",
"closed_issues": 733,
"created_at": "2016-03-11T21:24:45Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2016-09-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/40",
"id": 1639795,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels",
"node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==",
"number": 40,
"open_issues": 0,
"state": "closed",
"title": "0.19.0",
"updated_at": "2017-11-06T02:01:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40"
} | 7 | 2014-07-09T19:48:43Z | 2016-09-01T07:28:07Z | 2016-09-01T07:28:07Z | NONE | null | ```
In [1]: import pandas as pd
In [2]: pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.7.final.0
python-bits: 32
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 30 Stepping 5, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.14.0
nose: 1.3.3
Cython: 0.20.2
numpy: 1.8.1
scipy: 0.14.0
statsmodels: 0.5.0
IPython: 2.1.0
sphinx: 1.2.2
patsy: 0.2.1
scikits.timeseries: None
dateutil: 1.5
pytz: 2014.4
bottleneck: None
tables: 3.1.1
numexpr: 2.3.1
matplotlib: 1.3.1
openpyxl: 1.8.5
xlrd: 0.9.3
xlwt: 0.7.5
xlsxwriter: 0.5.5
lxml: 3.3.5
bs4: 4.3.1
html5lib: 0.999
bq: None
apiclient: None
rpy2: 2.3.9
sqlalchemy: 0.9.4
pymysql: None
psycopg2: 2.5.3 (dt dec pq3 ext)
In [3]: s = pd.TimeSeries(1, [pd.Period('2002-01-01',freq='D')])
In [4]: s[[0]]
Out[4]:
2002-01-01 1
Freq: D, dtype: int64
In [5]: s[[pd.Period('2002-01-01',freq='D')]]
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-5-0e636383b52c> in <module>()
----> 1 s[[pd.Period('2002-01-01',freq='D')]]
C:\Python27\lib\site-packages\pandas\core\series.pyc in __getitem__(self, key)
517 key = _check_bool_indexer(self.index, key)
518
--> 519 return self._get_with(key)
520
521 def _get_with(self, key):
C:\Python27\lib\site-packages\pandas\core\series.pyc in _get_with(self, key)
555 # handle the dup indexing case (GH 4246)
556 if isinstance(key, (list, tuple)):
--> 557 return self.ix[key]
558
559 return self.reindex(key)
C:\Python27\lib\site-packages\pandas\core\indexing.pyc in __getitem__(self, key)
68 return self._getitem_tuple(key)
69 else:
---> 70 return self._getitem_axis(key, axis=0)
71
72 def _get_label(self, label, axis=0):
C:\Python27\lib\site-packages\pandas\core\indexing.pyc in _getitem_axis(self, key, axis, validate_iterable)
849 raise ValueError('Cannot index with multidimensional key')
850
--> 851 return self._getitem_iterable(key, axis=axis)
852 else:
853 if com.is_integer(key):
C:\Python27\lib\site-packages\pandas\core\indexing.pyc in _getitem_iterable(self, key, axis)
905 # existing labels are unique and indexer is unique
906 if labels.is_unique and keyarr_is_unique:
--> 907 return _reindex(keyarr, level=level)
908
909 else:
C:\Python27\lib\site-packages\pandas\core\indexing.pyc in _reindex(keys, level)
875 if axis != 0:
876 raise AssertionError('axis must be 0')
--> 877 return self.obj.reindex(keys, level=level)
878
879 if com._is_bool_indexer(key):
C:\Python27\lib\site-packages\pandas\core\series.pyc in reindex(self, index, **kwargs)
2026 @Appender(generic._shared_docs['reindex'] % _shared_doc_kwargs)
2027 def reindex(self, index=None, **kwargs):
-> 2028 return super(Series, self).reindex(index=index, **kwargs)
2029
2030 def reindex_axis(self, labels, axis=0, **kwargs):
C:\Python27\lib\site-packages\pandas\core\generic.pyc in reindex(self, *args, **kwargs)
1608 # if indicated must have index names equal here as well as values
1609 if all([self._get_axis(axis).identical(ax)
-> 1610 for axis, ax in axes.items() if ax is not None]):
1611 if copy:
1612 return self.copy()
C:\Python27\lib\site-packages\pandas\core\index.pyc in identical(self, other)
849 also equal
850 """
--> 851 return (self.equals(other) and
852 all((getattr(self, c, None) == getattr(other, c, None)
853 for c in self._comparables)) and
C:\Python27\lib\site-packages\pandas\tseries\period.pyc in equals(self, other)
822 return True
823
--> 824 return np.array_equal(self.asi8, other.asi8)
825
826 def tolist(self):
AttributeError: 'numpy.ndarray' object has no attribute 'asi8'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7710/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7710/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7711 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7711/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7711/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7711/events | https://github.com/pandas-dev/pandas/issues/7711 | 37,502,560 | MDU6SXNzdWUzNzUwMjU2MA== | 7,711 | COMPAT: Consider dropping numpy 1.6 support | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
]
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 33 | 2014-07-09T19:58:29Z | 2014-08-12T22:03:26Z | 2014-08-12T21:59:20Z | MEMBER | null | ## NumPy 1.6
NumPy 1.6 introduced numerous bugs around datetimes, forcing a plethora of hacks, and causing numerous stress-induced ulcers for an uncountably infinite number of people.
The time for pandas to lose this vestigial organ has come. The main reason for this is that datetime support is just broken, in nearly every sense of the word. Take a look at some of the conversion code in `pandas/core/common.py` and you'll see what I'm talking about.
I think we've probably reached a point where supporting numpy 1.6 is just going to cause more pain than it's worth. To me it makes _no_ sense to want to keep upgrading pandas while keeping `numpy <= 1.6.1`. If you want modern pandas, you need to use modern-ish versions of its dependencies.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7711/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7711/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7712 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7712/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7712/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7712/events | https://github.com/pandas-dev/pandas/pull/7712 | 37,506,839 | MDExOlB1bGxSZXF1ZXN0MTgxODU2MzY= | 7,712 | BUG: PeriodIndex constructor doesn't work with Series objects | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
]
| closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
]
| {
"closed_at": "2014-07-11T00:02:53Z",
"closed_issues": 306,
"created_at": "2014-04-27T23:40:28Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "bug fixes from 0.14.0",
"due_on": "2014-07-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/27",
"id": 641843,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels",
"node_id": "MDk6TWlsZXN0b25lNjQxODQz",
"number": 27,
"open_issues": 0,
"state": "closed",
"title": "0.14.1",
"updated_at": "2014-09-05T10:24:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27"
} | 15 | 2014-07-09T20:48:17Z | 2014-07-10T15:44:34Z | 2014-07-10T15:15:02Z | MEMBER | null | closes #7701
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7712/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7712/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7712.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7712",
"merged_at": "2014-07-10T15:15:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7712.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7712"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7713 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7713/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7713/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7713/events | https://github.com/pandas-dev/pandas/pull/7713 | 37,507,936 | MDExOlB1bGxSZXF1ZXN0MTgxODYzODY= | 7,713 | DOC: fix doc build warnings | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | []
| closed | false | null | []
| null | 1 | 2014-07-09T21:01:45Z | 2014-07-10T07:17:55Z | 2014-07-10T07:17:53Z | MEMBER | null | This should fix all doc build errors/warnings (apart from the known ones).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7713/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7713/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7713.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7713",
"merged_at": "2014-07-10T07:17:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7713.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7713"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7714 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7714/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7714/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7714/events | https://github.com/pandas-dev/pandas/pull/7714 | 37,539,734 | MDExOlB1bGxSZXF1ZXN0MTgyMDUzODk= | 7,714 | DOC: clean up 0.14.1 whatsnew file | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2014-07-11T00:02:53Z",
"closed_issues": 306,
"created_at": "2014-04-27T23:40:28Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "bug fixes from 0.14.0",
"due_on": "2014-07-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/27",
"id": 641843,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels",
"node_id": "MDk6TWlsZXN0b25lNjQxODQz",
"number": 27,
"open_issues": 0,
"state": "closed",
"title": "0.14.1",
"updated_at": "2014-09-05T10:24:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27"
} | 29 | 2014-07-10T07:57:40Z | 2014-07-11T20:38:28Z | 2014-07-10T23:08:37Z | MEMBER | null | - removed the sections with no entries
- removed whitespace
- moved some entries from API-changes to Enhancements/Big fixes when it was not really a backwards incompatible change or if it was not clear what the relevant change was for users (and for the offsets normalize issue I rewrote it)
Highlights should still be written to include here and in the release.rst
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7714/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7714/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7714.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7714",
"merged_at": "2014-07-10T23:08:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7714.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7714"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7715 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7715/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7715/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7715/events | https://github.com/pandas-dev/pandas/issues/7715 | 37,542,623 | MDU6SXNzdWUzNzU0MjYyMw== | 7,715 | Suggestion/Discussion: read_hdf | {
"avatar_url": "https://avatars.githubusercontent.com/u/1324881?v=4",
"events_url": "https://api.github.com/users/vfilimonov/events{/privacy}",
"followers_url": "https://api.github.com/users/vfilimonov/followers",
"following_url": "https://api.github.com/users/vfilimonov/following{/other_user}",
"gists_url": "https://api.github.com/users/vfilimonov/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vfilimonov",
"id": 1324881,
"login": "vfilimonov",
"node_id": "MDQ6VXNlcjEzMjQ4ODE=",
"organizations_url": "https://api.github.com/users/vfilimonov/orgs",
"received_events_url": "https://api.github.com/users/vfilimonov/received_events",
"repos_url": "https://api.github.com/users/vfilimonov/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vfilimonov/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vfilimonov/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vfilimonov"
} | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 3 | 2014-07-10T08:43:53Z | 2014-09-26T22:06:18Z | 2014-09-26T22:06:18Z | CONTRIBUTOR | null | At the moment `read_hdf` is implemented such way that it opens HDFStore connection immediately when it is called. If the file does not exist, then it creates an HDF file and then throws `KeyError`. There are two side effects:
- You can not distinguish situation when the file does not exist from situation when the key does not exist in the file
- If you have a typo in the filename, empty file is created -> polluting directory
I suggest to check if the file exist before and throw `IOError` if it does not.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7715/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7715/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7716 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7716/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7716/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7716/events | https://github.com/pandas-dev/pandas/issues/7716 | 37,557,406 | MDU6SXNzdWUzNzU1NzQwNg== | 7,716 | Time-series plotting inconsistencies | {
"avatar_url": "https://avatars.githubusercontent.com/u/1993919?v=4",
"events_url": "https://api.github.com/users/amelio-vazquez-reina/events{/privacy}",
"followers_url": "https://api.github.com/users/amelio-vazquez-reina/followers",
"following_url": "https://api.github.com/users/amelio-vazquez-reina/following{/other_user}",
"gists_url": "https://api.github.com/users/amelio-vazquez-reina/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/amelio-vazquez-reina",
"id": 1993919,
"login": "amelio-vazquez-reina",
"node_id": "MDQ6VXNlcjE5OTM5MTk=",
"organizations_url": "https://api.github.com/users/amelio-vazquez-reina/orgs",
"received_events_url": "https://api.github.com/users/amelio-vazquez-reina/received_events",
"repos_url": "https://api.github.com/users/amelio-vazquez-reina/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/amelio-vazquez-reina/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amelio-vazquez-reina/subscriptions",
"type": "User",
"url": "https://api.github.com/users/amelio-vazquez-reina"
} | [
{
"color": "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 | []
| null | 3 | 2014-07-10T12:30:41Z | 2015-10-20T22:29:05Z | 2015-10-20T22:29:05Z | CONTRIBUTOR | null | Say I have a dataframe `df` where `df.index` consists of `datetime` objects, e.g.
```
> df.index[0]
datetime.date(2014, 5, 5)
```
If I plot it, Pandas nicely preserves the `datetime` type in the plot, which allows the user to change the time-series sampling as well formatting options of the plot:
```
# Plot the dataframe:
f = plt.figure(figsize=(8,8))
ax = f.add_subplot(1,1,1)
lines = df.plot(ax=ax)
# Choose the sampling rate in terms of dates:
ax.xaxis.set_major_locator(matplotlib.dates.WeekdayLocator(byweekday=(0,1,2,3,4,5,6),
interval=1))
# We can also re-sample the X axis numerically if we want (e.g. every 4 steps):
N = 4
ticks = ax.xaxis.get_ticklocs()
ticklabels = [l.get_text() for l in ax.xaxis.get_ticklabels()]
ax.xaxis.set_ticks(ticks[-1::-N][::-1])
ax.xaxis.set_ticklabels(ticklabels[-1::-N][::-1])
# Choose a date formatter using a date-friendly syntax:
ax.xaxis.set_major_formatter(matplotlib.dates.DateFormatter('%b\n%d'))
plt.show()
```
However, the above does **not** work for a `boxplot` (the tick labels for the x axis are rendered empty):
```
df2.boxplot(column='A', by='created_dt',ax=ax, sym="k.")
# same code as above ...
```
It looks like in the last example Pandas converts the x-axis labels into **string** type, so the formatter and locators don't work anymore.
This post re-uses solutions from the following threads:
1. Accepted answer to [Pandas timeseries plot setting x-axis major and minor ticks and labels](http://stackoverflow.com/a/13674286/283296)
2. Accepted answer to http://stackoverflow.com/questions/19143857
Why? How can I use `boxplot` in a way that allows me to use `matplotlib` date locators and formatters?
The original post in SO is [here](http://stackoverflow.com/questions/24665990/time-series-plotting-inconsistencies-in-pandas)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7716/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7716/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7717 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7717/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7717/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7717/events | https://github.com/pandas-dev/pandas/pull/7717 | 37,559,853 | MDExOlB1bGxSZXF1ZXN0MTgyMTc2ODk= | 7,717 | CLN: Simplify LinePlot flow | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 3 | 2014-07-10T13:02:54Z | 2014-07-23T11:08:48Z | 2014-07-21T13:14:05Z | MEMBER | null | Related to #7670. Made `LinePlot` to use single plotting flow in `x_compat` and `tsplot`.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7717/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7717/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7717.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7717",
"merged_at": "2014-07-21T13:14:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7717.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7717"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7718 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7718/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7718/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7718/events | https://github.com/pandas-dev/pandas/issues/7718 | 37,564,989 | MDU6SXNzdWUzNzU2NDk4OQ== | 7,718 | COMPAT: drop support for python 2.6 | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
]
| {
"closed_at": "2016-03-12T16:19:08Z",
"closed_issues": 469,
"created_at": "2015-07-19T20:18:45Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2016-03-13T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/36",
"id": 1214851,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36/labels",
"node_id": "MDk6TWlsZXN0b25lMTIxNDg1MQ==",
"number": 36,
"open_issues": 0,
"state": "closed",
"title": "0.18.0",
"updated_at": "2016-12-06T21:34:41Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36"
} | 8 | 2014-07-10T14:01:11Z | 2016-01-08T14:07:14Z | 2016-01-08T14:07:14Z | MEMBER | null | will close #8760 at same time
The slowest of the slow of Linux distributions (RHEL) has upgraded their version of Python to 2.7. I think if they're happy with not supporting 2.6, then we can be too. Supporting it is not a _huge_ deal, but it would be nice to really encourage people to move forward with upgrading to later versions of Python which would provide the community with momentum towards Python 3. While we can't force everyone to use Python 3, I think dropping support for Python 2.6 is reasonable. The last binary release of Python 2.6 was 2.6.6 and that was in 2010. By now, most people are using python 2.7.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7718/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7718/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7719 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7719/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7719/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7719/events | https://github.com/pandas-dev/pandas/pull/7719 | 37,567,251 | MDExOlB1bGxSZXF1ZXN0MTgyMjIyNTQ= | 7,719 | SQL: suppress warning for BIGINT with sqlite and sqlalchemy<0.8.2 (GH7433) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
]
| closed | false | null | []
| {
"closed_at": "2014-07-11T00:02:53Z",
"closed_issues": 306,
"created_at": "2014-04-27T23:40:28Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "bug fixes from 0.14.0",
"due_on": "2014-07-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/27",
"id": 641843,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels",
"node_id": "MDk6TWlsZXN0b25lNjQxODQz",
"number": 27,
"open_issues": 0,
"state": "closed",
"title": "0.14.1",
"updated_at": "2014-09-05T10:24:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27"
} | 15 | 2014-07-10T14:24:58Z | 2014-07-10T22:35:31Z | 2014-07-10T22:34:56Z | MEMBER | null | From discussion here: https://github.com/pydata/pandas/pull/7634#issuecomment-48111148
Due to switching from Integer to BigInteger (to support int64 on some database systems), reading a table from sqlite with integers leads to a warning when you have an slqalchemy version of below 0.8.2.
I know it is very very late and goes against all reservations of putting in new stuff just before a release, but after some more consideration, I think we should include this (or at least something that fixes it, and I think this does). @jreback, you said not to worry about it (it is just a warning), but the sqlalchemy release that fixes it is only just a year old and this is something most users will try as the first thing I think when using the sqlalchemy functions (writing/reading simple dataframe with some numbers with sqlite), so should not get a warning they don't understand.
I tested it locally with sqlalchemy 0.7.8 (on Windows), and on travis it is tested with 0.7.1 (the py2.6 build) and there also the warnings disappeared.
What do you think?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7719/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7719/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7719.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7719",
"merged_at": "2014-07-10T22:34:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7719.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7719"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7720 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7720/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7720/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7720/events | https://github.com/pandas-dev/pandas/pull/7720 | 37,569,918 | MDExOlB1bGxSZXF1ZXN0MTgyMjM5MDc= | 7,720 | PERF: improve perf of index iteration (GH7683) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 2 | 2014-07-10T14:50:32Z | 2014-07-16T00:30:13Z | 2014-07-16T00:29:51Z | CONTRIBUTOR | null | closes #7683
`PeriodIndex` creation is still in python space, not much help
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
timeseries_iter_datetimeindex_preexit | 12.7254 | 3657.9890 | 0.0035 |
timeseries_iter_datetimeindex | 679.8913 | 3726.6284 | 0.1824 |
timeseries_iter_periodindex_preexit | 69.0370 | 62.8881 | 1.0978 |
timeseries_iter_periodindex | 6941.9633 | 6024.2947 | 1.1523 |
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
Ratio < 1.0 means the target commit is faster then the baseline.
Seed used: 1234
Target [142718e] : PERF: DatetimeIndex.__iter__ now uses ints_to_pydatetime with boxing
Base [f9493ea] : Merge pull request #7713 from jorisvandenbossche/doc-fixes3
DOC: fix doc build warnings
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7720/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7720/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7720.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7720",
"merged_at": "2014-07-16T00:29:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7720.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7720"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7721 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7721/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7721/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7721/events | https://github.com/pandas-dev/pandas/pull/7721 | 37,575,897 | MDExOlB1bGxSZXF1ZXN0MTgyMjc3MjI= | 7,721 | DOC: docstring for PeriodIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
]
| {
"closed_at": "2014-07-11T00:02:53Z",
"closed_issues": 306,
"created_at": "2014-04-27T23:40:28Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "bug fixes from 0.14.0",
"due_on": "2014-07-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/27",
"id": 641843,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels",
"node_id": "MDk6TWlsZXN0b25lNjQxODQz",
"number": 27,
"open_issues": 0,
"state": "closed",
"title": "0.14.1",
"updated_at": "2014-09-05T10:24:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27"
} | 0 | 2014-07-10T15:47:30Z | 2014-07-10T15:48:56Z | 2014-07-10T15:48:55Z | MEMBER | null | 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/7721/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7721/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7721.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7721",
"merged_at": "2014-07-10T15:48:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7721.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7721"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7722 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7722/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7722/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7722/events | https://github.com/pandas-dev/pandas/issues/7722 | 37,590,344 | MDU6SXNzdWUzNzU5MDM0NA== | 7,722 | PERF: .agg(built_in_funcs) not always calling cythonized versions | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 1 | 2014-07-10T18:23:57Z | 2014-09-03T19:50:12Z | 2014-09-03T19:50:12Z | CONTRIBUTOR | null | related #7570
`agg(min/max)` are NOT calling `.min()/max()`
https://groups.google.com/forum/#!topic/pydata/xinuPFPVakY
need to check:
`sum/mean` look ok
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7722/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7722/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7723 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7723/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7723/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7723/events | https://github.com/pandas-dev/pandas/issues/7723 | 37,591,589 | MDU6SXNzdWUzNzU5MTU4OQ== | 7,723 | Series dot method is not working correctly | {
"avatar_url": "https://avatars.githubusercontent.com/u/1153988?v=4",
"events_url": "https://api.github.com/users/vjeet/events{/privacy}",
"followers_url": "https://api.github.com/users/vjeet/followers",
"following_url": "https://api.github.com/users/vjeet/following{/other_user}",
"gists_url": "https://api.github.com/users/vjeet/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vjeet",
"id": 1153988,
"login": "vjeet",
"node_id": "MDQ6VXNlcjExNTM5ODg=",
"organizations_url": "https://api.github.com/users/vjeet/orgs",
"received_events_url": "https://api.github.com/users/vjeet/received_events",
"repos_url": "https://api.github.com/users/vjeet/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vjeet/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vjeet/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vjeet"
} | []
| closed | false | null | []
| null | 3 | 2014-07-10T18:37:25Z | 2014-07-10T18:54:20Z | 2014-07-10T18:47:20Z | NONE | null | > > import pandas
> > ts1 = pandas.Series({'b':0., 'a':2.})
> > ts2 = pandas.Series({'b':2., 'a':0.}).reindex(['b', 'a'])
> > print ts1.dot(ts2)
4.0
the dot product should be 0.0 not 4.0.
vishy
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7723/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7723/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7724 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7724/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7724/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7724/events | https://github.com/pandas-dev/pandas/issues/7724 | 37,599,625 | MDU6SXNzdWUzNzU5OTYyNQ== | 7,724 | Bug behavior when checking element inclusion in non-unique MultiIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/297510?v=4",
"events_url": "https://api.github.com/users/tipanverella/events{/privacy}",
"followers_url": "https://api.github.com/users/tipanverella/followers",
"following_url": "https://api.github.com/users/tipanverella/following{/other_user}",
"gists_url": "https://api.github.com/users/tipanverella/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tipanverella",
"id": 297510,
"login": "tipanverella",
"node_id": "MDQ6VXNlcjI5NzUxMA==",
"organizations_url": "https://api.github.com/users/tipanverella/orgs",
"received_events_url": "https://api.github.com/users/tipanverella/received_events",
"repos_url": "https://api.github.com/users/tipanverella/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tipanverella/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tipanverella/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tipanverella"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 17 | 2014-07-10T20:05:04Z | 2014-11-21T23:20:24Z | 2014-11-21T23:20:24Z | NONE | null | I am using `pandas.__version__==0.14.0`.
This is my first bug report in github so excuse my possibly poorly formatted submission.
This bug report might be related to, or duplicate:
1. https://github.com/pydata/pandas/issues/2646
2. https://github.com/pydata/pandas/issues/6501
It was explained to me by [http://stackoverflow.com/users/1427416/brenbarn] on the following StackOverflow question, http://stackoverflow.com/questions/24683023/having-issue-with-hierarchical-index-set-behavior/24684844#24684844
Essentially, the following behavior is not desirable:
```
print pd.__version__
WeirdIdx = pd.MultiIndex(levels=[[0], [1]],labels=[[0, 0], [0,0]],names=[u'X', u'Y'])
print WeirdIdx
print (0, 0) in WeirdIdx
print (1, 0) in WeirdIdx
print (100, 0) in WeirdIdx
print (100, 100) in WeirdIdx
```
since it prints:
0.14.0
X Y
0 1
1
True
True
True
True
despite the fact that `(100,0)` and `(100,100)` are unambiguously not part of the index.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7724/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7724/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7725 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7725/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7725/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7725/events | https://github.com/pandas-dev/pandas/issues/7725 | 37,605,320 | MDU6SXNzdWUzNzYwNTMyMA== | 7,725 | BUG(?): get default value doesn't work for Series | {
"avatar_url": "https://avatars.githubusercontent.com/u/980054?v=4",
"events_url": "https://api.github.com/users/dsm054/events{/privacy}",
"followers_url": "https://api.github.com/users/dsm054/followers",
"following_url": "https://api.github.com/users/dsm054/following{/other_user}",
"gists_url": "https://api.github.com/users/dsm054/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsm054",
"id": 980054,
"login": "dsm054",
"node_id": "MDQ6VXNlcjk4MDA1NA==",
"organizations_url": "https://api.github.com/users/dsm054/orgs",
"received_events_url": "https://api.github.com/users/dsm054/received_events",
"repos_url": "https://api.github.com/users/dsm054/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsm054/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsm054/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsm054"
} | [
{
"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": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 2 | 2014-07-10T21:09:41Z | 2014-09-08T14:13:22Z | 2014-09-08T14:13:22Z | CONTRIBUTOR | null | `Series` have a `get` method, but using the default value doesn't work for certain type combinations:
```
>>> s = pd.Series([1,2,3], index=["a","b","c"])
>>> s
a 1
b 2
c 3
dtype: int64
>>> s.get("d", 0)
0
>>> s.get(10, 0)
Traceback (most recent call last):
File "<ipython-input-18-26d73ac73179>", line 1, in <module>
s.get(10, 0)
File "/usr/local/lib/python2.7/dist-packages/pandas-0.14.0_421_g20dfc6b-py2.7-linux-x86_64.egg/pandas/core/generic.py", line 1040, in get
return self[key]
File "/usr/local/lib/python2.7/dist-packages/pandas-0.14.0_421_g20dfc6b-py2.7-linux-x86_64.egg/pandas/core/series.py", line 484, in __getitem__
result = self.index.get_value(self, key)
File "/usr/local/lib/python2.7/dist-packages/pandas-0.14.0_421_g20dfc6b-py2.7-linux-x86_64.egg/pandas/core/index.py", line 1202, in get_value
return tslib.get_value_box(s, key)
File "tslib.pyx", line 540, in pandas.tslib.get_value_box (pandas/tslib.c:11831)
File "tslib.pyx", line 555, in pandas.tslib.get_value_box (pandas/tslib.c:11678)
IndexError: index out of bounds
```
I'm not sure whether it makes the most sense just to teach `.get` to catch IndexErrors as well as KeyErrors and ValueErrors (which is what it does now), or whether a deeper change is warranted.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7725/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7725/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7726 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7726/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7726/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7726/events | https://github.com/pandas-dev/pandas/pull/7726 | 37,607,539 | MDExOlB1bGxSZXF1ZXN0MTgyNDgwNTE= | 7,726 | ENH: Add uint and bool support in to_stata | {
"avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4",
"events_url": "https://api.github.com/users/bashtage/events{/privacy}",
"followers_url": "https://api.github.com/users/bashtage/followers",
"following_url": "https://api.github.com/users/bashtage/following{/other_user}",
"gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bashtage",
"id": 5585221,
"login": "bashtage",
"node_id": "MDQ6VXNlcjU1ODUyMjE=",
"organizations_url": "https://api.github.com/users/bashtage/orgs",
"received_events_url": "https://api.github.com/users/bashtage/received_events",
"repos_url": "https://api.github.com/users/bashtage/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bashtage/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bashtage"
} | [
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "5319e7",
"default": false,
"description": "read_stata, to_stata",
"id": 104865385,
"name": "IO Stata",
"node_id": "MDU6TGFiZWwxMDQ4NjUzODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 6 | 2014-07-10T21:36:07Z | 2014-07-16T18:59:42Z | 2014-07-16T00:36:36Z | CONTRIBUTOR | null | Added support for uint (uint8, uint16 and uint32, but not uint64) and bool
datatypes in to_stata.
closes #7097
closes #7365
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7726/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7726/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7726.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7726",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/7726.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7726"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7727 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7727/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7727/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7727/events | https://github.com/pandas-dev/pandas/issues/7727 | 37,619,792 | MDU6SXNzdWUzNzYxOTc5Mg== | 7,727 | http://pandas.pydata.org/community.html not updated | {
"avatar_url": "https://avatars.githubusercontent.com/u/7441788?v=4",
"events_url": "https://api.github.com/users/seth-p/events{/privacy}",
"followers_url": "https://api.github.com/users/seth-p/followers",
"following_url": "https://api.github.com/users/seth-p/following{/other_user}",
"gists_url": "https://api.github.com/users/seth-p/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/seth-p",
"id": 7441788,
"login": "seth-p",
"node_id": "MDQ6VXNlcjc0NDE3ODg=",
"organizations_url": "https://api.github.com/users/seth-p/orgs",
"received_events_url": "https://api.github.com/users/seth-p/received_events",
"repos_url": "https://api.github.com/users/seth-p/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/seth-p/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/seth-p/subscriptions",
"type": "User",
"url": "https://api.github.com/users/seth-p"
} | []
| closed | false | null | []
| null | 4 | 2014-07-11T01:04:52Z | 2014-07-11T13:41:56Z | 2014-07-11T12:37:21Z | CONTRIBUTOR | null | http://pandas.pydata.org/community.html still lists "0.13.1 - February 2014" the Official Release, and "0.14 - May 2014" as the Development release, whereas the main page http://pandas.pydata.org/ correctly lists "0.14.0 - May 2014" as the Official Release, and "0.14.1 - June 2014" [should be July at this point] as the Development release.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7727/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7727/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7728 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7728/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7728/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7728/events | https://github.com/pandas-dev/pandas/pull/7728 | 37,620,271 | MDExOlB1bGxSZXF1ZXN0MTgyNTYzNjM= | 7,728 | BUG: allow get default value upon IndexError, GH #7725 | {
"avatar_url": "https://avatars.githubusercontent.com/u/980054?v=4",
"events_url": "https://api.github.com/users/dsm054/events{/privacy}",
"followers_url": "https://api.github.com/users/dsm054/followers",
"following_url": "https://api.github.com/users/dsm054/following{/other_user}",
"gists_url": "https://api.github.com/users/dsm054/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsm054",
"id": 980054,
"login": "dsm054",
"node_id": "MDQ6VXNlcjk4MDA1NA==",
"organizations_url": "https://api.github.com/users/dsm054/orgs",
"received_events_url": "https://api.github.com/users/dsm054/received_events",
"repos_url": "https://api.github.com/users/dsm054/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsm054/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsm054/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsm054"
} | [
{
"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": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 5 | 2014-07-11T01:17:23Z | 2014-09-08T14:13:33Z | 2014-09-08T14:13:22Z | CONTRIBUTOR | null | Fixes #7725 by adding IndexError to the tuple of caught exceptions.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7728/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7728/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7728.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7728",
"merged_at": "2014-09-08T14:13:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7728.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7728"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7729 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7729/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7729/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7729/events | https://github.com/pandas-dev/pandas/issues/7729 | 37,667,460 | MDU6SXNzdWUzNzY2NzQ2MA== | 7,729 | BUG: wrong type is returned by iat[] for date time series | {
"avatar_url": "https://avatars.githubusercontent.com/u/6908933?v=4",
"events_url": "https://api.github.com/users/yonil7/events{/privacy}",
"followers_url": "https://api.github.com/users/yonil7/followers",
"following_url": "https://api.github.com/users/yonil7/following{/other_user}",
"gists_url": "https://api.github.com/users/yonil7/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yonil7",
"id": 6908933,
"login": "yonil7",
"node_id": "MDQ6VXNlcjY5MDg5MzM=",
"organizations_url": "https://api.github.com/users/yonil7/orgs",
"received_events_url": "https://api.github.com/users/yonil7/received_events",
"repos_url": "https://api.github.com/users/yonil7/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yonil7/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yonil7/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yonil7"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 2 | 2014-07-11T14:56:31Z | 2014-09-17T20:46:01Z | 2014-09-17T20:46:01Z | NONE | null | These return object of type class `pandas.tslib.Timestamp`:
```
print type(pd.Series(['2014-01-01', '2014-02-02'], dtype='datetime64[ns]')[0])
print type(pd.Series(['2014-01-01', '2014-02-02'], dtype='datetime64[ns]').min())
```
but using `iat[]` returns object of type type `numpy.datetime64`:
```
print type(pd.Series(['2014-01-01', '2014-02-02'], dtype='datetime64[ns]').iat[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/7729/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7729/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7730 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7730/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7730/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7730/events | https://github.com/pandas-dev/pandas/issues/7730 | 37,678,873 | MDU6SXNzdWUzNzY3ODg3Mw== | 7,730 | read_sql function eats informative error messages. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1753469?v=4",
"events_url": "https://api.github.com/users/chrisgrimm/events{/privacy}",
"followers_url": "https://api.github.com/users/chrisgrimm/followers",
"following_url": "https://api.github.com/users/chrisgrimm/following{/other_user}",
"gists_url": "https://api.github.com/users/chrisgrimm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chrisgrimm",
"id": 1753469,
"login": "chrisgrimm",
"node_id": "MDQ6VXNlcjE3NTM0Njk=",
"organizations_url": "https://api.github.com/users/chrisgrimm/orgs",
"received_events_url": "https://api.github.com/users/chrisgrimm/received_events",
"repos_url": "https://api.github.com/users/chrisgrimm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chrisgrimm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chrisgrimm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chrisgrimm"
} | [
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 3 | 2014-07-11T17:10:31Z | 2014-09-09T07:51:12Z | 2014-09-09T07:51:12Z | NONE | null | Consider the following code.
```
import pandas as pd
import psycopg2
bad_query = 'select bad_column from my_table;'
conn = psycopg2.connect(...)
pd.read_sql(bad_query, conn)
```
Running the above in my environment produces a DatabaseError exception with the following message:
"Execution failed on sql: select bad_column from my_table;"
However, when I run the below code to query the database:
```
import psycopg2
bad_query = 'select bad_column from my_table;'
conn = psycopg2.connect(...)
conn.cursor().execute(bad_query)
```
The following ProgrammingError message is returned:
"column "bad_column" does not exist in my_table"
This information is helpful for debugging, especially as queries become more complicated, and I believe it should be propagated through to the user.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7730/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7730/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7731 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7731/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7731/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7731/events | https://github.com/pandas-dev/pandas/issues/7731 | 37,703,983 | MDU6SXNzdWUzNzcwMzk4Mw== | 7,731 | Import error in pkg_resources.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/1182613?v=4",
"events_url": "https://api.github.com/users/waqarmalik/events{/privacy}",
"followers_url": "https://api.github.com/users/waqarmalik/followers",
"following_url": "https://api.github.com/users/waqarmalik/following{/other_user}",
"gists_url": "https://api.github.com/users/waqarmalik/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/waqarmalik",
"id": 1182613,
"login": "waqarmalik",
"node_id": "MDQ6VXNlcjExODI2MTM=",
"organizations_url": "https://api.github.com/users/waqarmalik/orgs",
"received_events_url": "https://api.github.com/users/waqarmalik/received_events",
"repos_url": "https://api.github.com/users/waqarmalik/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/waqarmalik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/waqarmalik/subscriptions",
"type": "User",
"url": "https://api.github.com/users/waqarmalik"
} | []
| closed | false | null | []
| null | 2 | 2014-07-11T22:46:10Z | 2014-07-14T18:23:25Z | 2014-07-14T18:23:25Z | NONE | null | Pandas: 0.14
Python: 3.4
OS: Mac (installed through macports.)
```
import pyqtgraph as pg
import pandas as pd
```
running the above gives the following error (ImportError on cStringIO).
```
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pkg_resources.py", line 50, in <module>
from cStringIO import StringIO as BytesIO
```
To overcome this the following change (in line 51 pkg_resources.py) seems to work
```
try:
basestring
next = lambda o: o.next()
from cStringIO import StringIO as BytesIO
except (NameError,ImportError):
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7731/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7731/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7732 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7732/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7732/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7732/events | https://github.com/pandas-dev/pandas/issues/7732 | 37,703,989 | MDU6SXNzdWUzNzcwMzk4OQ== | 7,732 | IndexError given when attempting to plot to subplot with ncols != nrows. | {
"avatar_url": "https://avatars.githubusercontent.com/u/6880399?v=4",
"events_url": "https://api.github.com/users/Ander150/events{/privacy}",
"followers_url": "https://api.github.com/users/Ander150/followers",
"following_url": "https://api.github.com/users/Ander150/following{/other_user}",
"gists_url": "https://api.github.com/users/Ander150/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Ander150",
"id": 6880399,
"login": "Ander150",
"node_id": "MDQ6VXNlcjY4ODAzOTk=",
"organizations_url": "https://api.github.com/users/Ander150/orgs",
"received_events_url": "https://api.github.com/users/Ander150/received_events",
"repos_url": "https://api.github.com/users/Ander150/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Ander150/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Ander150/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Ander150"
} | []
| closed | false | null | []
| null | 1 | 2014-07-11T22:46:19Z | 2014-07-11T23:31:34Z | 2014-07-11T23:31:34Z | NONE | null | FYI .. the following code gives an index error. I was expecting it to plot. The error doesn't occur if nrows=ncols. I found a work around to this.
>>> import pandas as pd
>>> import pandas.io.data as web
>>> import matplotlib.pyplot as plt
>>> import datetime
>>>df1=web.get_data_yahoo('GE',start=datetime.datetime.today()-datetime.timedelta(days=180), end=datetime.datetime.today())
>>>df2=web.get_data_yahoo('AAPL',start=datetime.datetime.today()-datetime.timedelta(days=180), end=datetime.datetime.today())
>>> fig,axes=plt.subplots(nrows=2,ncols=1)
>>> df1['Close'].plot(ax=axes[0,0])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IndexError: too many indices
>>>
## INSTALLED VERSIONS
commit: None
python: 3.3.5.final.0
python-bits: 64
OS: Darwin
OS-release: 13.3.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.14.0
nose: None
Cython: 0.20.2
numpy: 1.8.1
scipy: None
statsmodels: None
IPython: 2.1.0
sphinx: 1.2.1
patsy: None
scikits.timeseries: None
dateutil: 2.0
pytz: 2013.7
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.3.1
openpyxl: 1.6.1
xlrd: 0.9.3
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
bq: None
apiclient: None
rpy2: None
sqlalchemy: None
pymysql: None
psycopg2: None
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7732/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7732/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7733 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7733/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7733/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7733/events | https://github.com/pandas-dev/pandas/pull/7733 | 37,707,879 | MDExOlB1bGxSZXF1ZXN0MTgzMDg2MjQ= | 7,733 | BUG: Repeated timeseries plot may result in incorrect kind | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 2 | 2014-07-12T00:14:34Z | 2014-07-25T20:44:05Z | 2014-07-24T12:59:45Z | MEMBER | null | Must be revisited after #7717.
Repeated line and area plot may result incorrect if it requires resampling.
```
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
fig, axes = plt.subplots(2, 2, figsize=(7, 5))
np.random.seed(1)
df1 = pd.DataFrame(np.random.rand(5, 2), pd.date_range('2011-01-01', periods=5, freq='D'))
df2 = pd.DataFrame(np.random.rand(2, 2), pd.date_range('2011-01-01', periods=2, freq='M'))
df1.plot(kind='line', ax=axes[0][0], legend=False)
df2.plot(kind='area', ax=axes[0][0], legend=False)
df1.plot(kind='area', ax=axes[1][0], legend=False)
df2.plot(kind='line', ax=axes[1][0], legend=False)
df2.plot(kind='line', ax=axes[0][1], legend=False)
df1.plot(kind='area', ax=axes[0][1], legend=False)
# ValueError: Argument dimensions are incompatible
df2.plot(kind='area', ax=axes[1][1], legend=False)
df1.plot(kind='line', ax=axes[1][1], legend=False)
```
### Result using current master
- line with low freq -> area with high freq results in `ValueError` (top-right axes)
- area with low freq -> line with high freq results in all lines, not area (bottom-right axes)

### Result after fix

| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7733/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7733/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7733.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7733",
"merged_at": "2014-07-24T12:59:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7733.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7733"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7734 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7734/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7734/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7734/events | https://github.com/pandas-dev/pandas/pull/7734 | 37,717,092 | MDExOlB1bGxSZXF1ZXN0MTgzMTMwODA= | 7,734 | Specify in docs that join='outer' is the defaul for align method. | {
"avatar_url": "https://avatars.githubusercontent.com/u/410907?v=4",
"events_url": "https://api.github.com/users/lexual/events{/privacy}",
"followers_url": "https://api.github.com/users/lexual/followers",
"following_url": "https://api.github.com/users/lexual/following{/other_user}",
"gists_url": "https://api.github.com/users/lexual/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lexual",
"id": 410907,
"login": "lexual",
"node_id": "MDQ6VXNlcjQxMDkwNw==",
"organizations_url": "https://api.github.com/users/lexual/orgs",
"received_events_url": "https://api.github.com/users/lexual/received_events",
"repos_url": "https://api.github.com/users/lexual/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lexual/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lexual/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lexual"
} | []
| closed | false | null | []
| null | 1 | 2014-07-12T10:27:01Z | 2014-07-12T11:00:48Z | 2014-07-12T11:00:26Z | 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/7734/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7734/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7734.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7734",
"merged_at": "2014-07-12T11:00:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7734.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7734"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/7735 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7735/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7735/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7735/events | https://github.com/pandas-dev/pandas/pull/7735 | 37,718,180 | MDExOlB1bGxSZXF1ZXN0MTgzMTM1NDI= | 7,735 | BUG: DTI.value_counts doesnt preserve tz | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 9 | 2014-07-12T11:54:36Z | 2014-07-26T13:27:25Z | 2014-07-25T21:04:51Z | MEMBER | null | Found 2 problems related to `value_counts`.
- `DatetimeIndex.value_counts` loses tz.
```
didx = pd.date_range('2011-01-01 09:00', freq='H', periods=3, tz='Asia/Tokyo')
print(didx.value_counts())
#2011-01-01 00:00:00 1
#2011-01-01 01:00:00 1
#2011-01-01 02:00:00 1
# dtype: int64
```
- `PeriodIndex.value_counts` results in `Int64Index`, and unable to drop `NaT`.
```
pidx = pd.PeriodIndex(['2011-01-01 09:00', '2011-01-01 10:00', pd.NaT], freq='H')
print(pidx.value_counts())
# 359410 1
# 359409 1
# -9223372036854775808 1
# dtype: int64
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7735/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7735/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7735.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7735",
"merged_at": "2014-07-25T21:04:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7735.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7735"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7736 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7736/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7736/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7736/events | https://github.com/pandas-dev/pandas/pull/7736 | 37,718,938 | MDExOlB1bGxSZXF1ZXN0MTgzMTM4NDA= | 7,736 | ENH: plot functions accept multiple axes and layout kw | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 25 | 2014-07-12T12:51:02Z | 2014-09-10T12:10:57Z | 2014-08-19T17:09:15Z | MEMBER | null | - Added `layout` keyword to `plot_frame` (Closes #6667)
- Allow to pass multiple axes to `plot_frame`, `hist` and `boxplot` (Closes #5353, Closes #6970, Closes #7069)
```
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import pandas.util.testing as tm
n = 20
gender = tm.choice(['Male', 'Female'], size=n)
classroom = tm.choice(['A', 'B', 'C'], size=n)
df = pd.DataFrame({'gender': gender,
'classroom': classroom,
'height': np.random.normal(66, 4, size=n),
'weight': np.random.normal(161, 32, size=n),
'category': np.random.randint(4, size=n)})
fig, axes = plt.subplots(6, 3, figsize=(6, 7))
df.boxplot(by='category', column=['height', 'weight', 'category'], ax=axes[0])
df.groupby('classroom').boxplot(column=['height', 'weight', 'category'], ax=axes[1])
df.hist(column=['height', 'weight', 'category'], ax=axes[2])
df.hist(by='classroom', ax=axes[3])
df.plot(subplots=True, ax=axes[4], legend=False)
df.plot(kind='pie', subplots=True, ax=axes[5], legend=False)
plt.subplots_adjust(hspace=1, bottom=0.05)
```
### Result

| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7736/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7736/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7736.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7736",
"merged_at": "2014-08-19T17:09:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7736.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7736"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7737 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7737/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7737/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7737/events | https://github.com/pandas-dev/pandas/pull/7737 | 37,723,585 | MDExOlB1bGxSZXF1ZXN0MTgzMTU3MzM= | 7,737 | ENH: Use left._constructor on pd.merge | {
"avatar_url": "https://avatars.githubusercontent.com/u/1214350?v=4",
"events_url": "https://api.github.com/users/jwass/events{/privacy}",
"followers_url": "https://api.github.com/users/jwass/followers",
"following_url": "https://api.github.com/users/jwass/following{/other_user}",
"gists_url": "https://api.github.com/users/jwass/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jwass",
"id": 1214350,
"login": "jwass",
"node_id": "MDQ6VXNlcjEyMTQzNTA=",
"organizations_url": "https://api.github.com/users/jwass/orgs",
"received_events_url": "https://api.github.com/users/jwass/received_events",
"repos_url": "https://api.github.com/users/jwass/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jwass/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jwass/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jwass"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 8 | 2014-07-12T16:53:33Z | 2014-08-11T13:57:14Z | 2014-08-11T13:04:16Z | CONTRIBUTOR | null | Use the _constructor property when creating the merge result to
preserve the output type.
If a [GeoPandas](http://github.com/geopandas/geopandas) `GeoDataFrame` is merged with a `DataFrame`, the result is hard-coded to always be `DataFrame` [GeoPandas Issue #118](https://github.com/geopandas/geopandas/issues/118). We'd like it to return `GeoDataFrame` in these cases
```
>>> import geopandas as gpd
>>> import pandas as pd
>>> gdf = gpd.GeoDataFrame(...)
>>> df = pd.DataFrame(...)
>>> merged = pd.merge(gdf, df, on='column')
>>> type(merged)
GeoDataFrame
```
This PR uses `left._constructor` to generate the result type for merge operations.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7737/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7737/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7737.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7737",
"merged_at": "2014-08-11T13:04:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7737.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7737"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7738 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7738/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7738/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7738/events | https://github.com/pandas-dev/pandas/pull/7738 | 37,726,161 | MDExOlB1bGxSZXF1ZXN0MTgzMTY3NDk= | 7,738 | BUG: _flex_binary_moment() doesn't preserve column order or handle multiple columns with the same label | {
"avatar_url": "https://avatars.githubusercontent.com/u/7441788?v=4",
"events_url": "https://api.github.com/users/seth-p/events{/privacy}",
"followers_url": "https://api.github.com/users/seth-p/followers",
"following_url": "https://api.github.com/users/seth-p/following{/other_user}",
"gists_url": "https://api.github.com/users/seth-p/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/seth-p",
"id": 7441788,
"login": "seth-p",
"node_id": "MDQ6VXNlcjc0NDE3ODg=",
"organizations_url": "https://api.github.com/users/seth-p/orgs",
"received_events_url": "https://api.github.com/users/seth-p/received_events",
"repos_url": "https://api.github.com/users/seth-p/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/seth-p/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/seth-p/subscriptions",
"type": "User",
"url": "https://api.github.com/users/seth-p"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 14 | 2014-07-12T18:57:33Z | 2014-09-10T00:12:39Z | 2014-07-25T14:34:07Z | CONTRIBUTOR | null | Closes https://github.com/pydata/pandas/issues/7542.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7738/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7738/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7738.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7738",
"merged_at": "2014-07-25T14:34:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7738.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7738"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7739 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7739/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7739/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7739/events | https://github.com/pandas-dev/pandas/issues/7739 | 37,728,471 | MDU6SXNzdWUzNzcyODQ3MQ== | 7,739 | groupby - apply applies to the first group twice | {
"avatar_url": "https://avatars.githubusercontent.com/u/1820733?v=4",
"events_url": "https://api.github.com/users/jsw-fnal/events{/privacy}",
"followers_url": "https://api.github.com/users/jsw-fnal/followers",
"following_url": "https://api.github.com/users/jsw-fnal/following{/other_user}",
"gists_url": "https://api.github.com/users/jsw-fnal/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jsw-fnal",
"id": 1820733,
"login": "jsw-fnal",
"node_id": "MDQ6VXNlcjE4MjA3MzM=",
"organizations_url": "https://api.github.com/users/jsw-fnal/orgs",
"received_events_url": "https://api.github.com/users/jsw-fnal/received_events",
"repos_url": "https://api.github.com/users/jsw-fnal/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jsw-fnal/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jsw-fnal/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jsw-fnal"
} | [
{
"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": "2019-07-19T00:34:29Z",
"closed_issues": 1289,
"created_at": "2018-10-23T02:34:15Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2019-07-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/61",
"id": 3759483,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels",
"node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==",
"number": 61,
"open_issues": 0,
"state": "closed",
"title": "0.25.0",
"updated_at": "2020-01-02T15:10:40Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61"
} | 17 | 2014-07-12T20:58:54Z | 2019-01-26T15:19:31Z | 2014-07-12T21:02:22Z | NONE | null | This bug is easy to reproduce:
```
def printA(group):
print group.A.values[0]
return 0
pandas.DataFrame({'A': [0,0,1,1], 'B': [0,1,0,1]}).groupby('A').apply(printA)
```
This should print
```
0
1
```
and return a `Series` containing two zeroes. Although it does return the expected `Series`, it prints
```
0
0
1
```
So, the function `printA` is being applied to the first group twice. This doesn't seem to affect the eventual returned result of apply, but it duplicates any side effects, and if `printA` performed some expensive computation, it would increased the time to completion.
| {
"+1": 7,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 7,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7739/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7739/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7740 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7740/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7740/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7740/events | https://github.com/pandas-dev/pandas/issues/7740 | 37,730,672 | MDU6SXNzdWUzNzczMDY3Mg== | 7,740 | BUG: Period ops with np.timedelta64 cause unexpected result | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
},
{
"color": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 1 | 2014-07-12T23:17:49Z | 2014-08-10T14:53:57Z | 2014-08-10T14:53:57Z | MEMBER | null | `Period` + `np.timedelta64` doesn't raise `TypeError(NotImplemented)` (like `offsets` does), and results in erratic internal representation.
```
import pandas as pd
import numpy as np
p = pd.Period('2011-01-01', freq='D')
p = p + np.timedelta64(2, 'h')
# This raises no error
print(p)
# TypeError: don't know how to convert scalar number to int
p.ordinal
#14977 hours
```
`PeriodIndex` + `np.timedelta64` also doesn't raise `TypeError(NotImplemented)`, and are added ignoring `PeriodIndex.freq`.
```
pidx = pd.period_range('2011-01-01', freq='D', periods=5)
pidx = pidx + np.timedelta64(2, 'h')
pidx
# <class 'pandas.tseries.period.PeriodIndex'>
# [2011-01-03, ..., 2011-01-07]
# Length: 5, Freq: D
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7740/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7740/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7741 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7741/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7741/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7741/events | https://github.com/pandas-dev/pandas/pull/7741 | 37,731,443 | MDExOlB1bGxSZXF1ZXN0MTgzMTkxMDA= | 7,741 | ENH/BUG: DatetimeIndex and PeriodIndex in-place ops behaves incorrectly | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "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": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 2 | 2014-07-13T00:14:25Z | 2014-07-25T20:42:29Z | 2014-07-23T21:28:50Z | MEMBER | null | Fixes 2 issues related to `DetetimeIndex` and `PeriodIndex` ops.
- Addition / subtraction between `PeriodIndex` raise `TypeError` (Closes #3367).
```
pidx + pidx
# TypeError: unsupported operand type(s) for +: 'PeriodIndex' and 'PeriodIndex'
```
- In-place addition / subtraction doesn't return the same result as normal addition / subtraction. Specifically, `PeriodIndex` in-place operation results in `Int64Index` (Closes #6527)
```
didx = pd.date_range('2011-01-01', freq='D', periods=5)
# This results shift (expected)
didx + 1
# <class 'pandas.tseries.index.DatetimeIndex'>
# [2011-01-02, ..., 2011-01-06]
# Length: 5, Freq: D, Timezone: None
# This result adding 1 unit (nano second) (NG)
didx += 1
didx
# <class 'pandas.tseries.index.DatetimeIndex'>
# [2011-01-01 00:00:00.000000001, ..., 2011-01-05 00:00:00.000000001]
# Length: 5, Freq: None, 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/7741/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7741/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7741.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7741",
"merged_at": "2014-07-23T21:28:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7741.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7741"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7742 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7742/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7742/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7742/events | https://github.com/pandas-dev/pandas/pull/7742 | 37,737,462 | MDExOlB1bGxSZXF1ZXN0MTgzMjE2Njk= | 7,742 | spell fix: seperated -> separated | {
"avatar_url": "https://avatars.githubusercontent.com/u/410907?v=4",
"events_url": "https://api.github.com/users/lexual/events{/privacy}",
"followers_url": "https://api.github.com/users/lexual/followers",
"following_url": "https://api.github.com/users/lexual/following{/other_user}",
"gists_url": "https://api.github.com/users/lexual/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lexual",
"id": 410907,
"login": "lexual",
"node_id": "MDQ6VXNlcjQxMDkwNw==",
"organizations_url": "https://api.github.com/users/lexual/orgs",
"received_events_url": "https://api.github.com/users/lexual/received_events",
"repos_url": "https://api.github.com/users/lexual/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lexual/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lexual/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lexual"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 0 | 2014-07-13T08:51:19Z | 2014-07-13T12:13:22Z | 2014-07-13T11:47:37Z | 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/7742/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7742/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7742.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7742",
"merged_at": "2014-07-13T11:47:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7742.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7742"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/7743 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7743/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7743/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7743/events | https://github.com/pandas-dev/pandas/pull/7743 | 37,737,681 | MDExOlB1bGxSZXF1ZXN0MTgzMjE3NjI= | 7,743 | Update common.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/7870803?v=4",
"events_url": "https://api.github.com/users/tdamsma/events{/privacy}",
"followers_url": "https://api.github.com/users/tdamsma/followers",
"following_url": "https://api.github.com/users/tdamsma/following{/other_user}",
"gists_url": "https://api.github.com/users/tdamsma/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tdamsma",
"id": 7870803,
"login": "tdamsma",
"node_id": "MDQ6VXNlcjc4NzA4MDM=",
"organizations_url": "https://api.github.com/users/tdamsma/orgs",
"received_events_url": "https://api.github.com/users/tdamsma/received_events",
"repos_url": "https://api.github.com/users/tdamsma/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tdamsma/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tdamsma/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tdamsma"
} | []
| closed | false | null | []
| null | 4 | 2014-07-13T09:07:45Z | 2014-08-05T17:10:19Z | 2014-08-05T17:10:19Z | CONTRIBUTOR | null | Force violate array to be of type int. When no nan values are found, the array defaults to an empty array of type float, so you get an error: **\* IndexError: arrays used as indices must be of integer (or boolean) type
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7743/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7743/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7743.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7743",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/7743.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7743"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7744 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7744/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7744/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7744/events | https://github.com/pandas-dev/pandas/issues/7744 | 37,737,975 | MDU6SXNzdWUzNzczNzk3NQ== | 7,744 | API: resample with PeriodIndex default span (start/end convention) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
},
{
"color": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 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 | 2014-07-13T09:29:02Z | 2021-04-11T04:52:30Z | null | MEMBER | null | Previously, for resampling with PeriodIndex, you had two conventions: `'start'` (start -> start) and `'end'` (end -> end). This would give something like this (note: the following is **not current real code output**, but from Wes' book):
```
In [25]: s = pd.Series(np.arange(2), index=pd.period_range('2000-1', periods=2, freq='A'))
In [26]: s
Out[26]:
2000 0
2001 1
Freq: A-DEC, dtype: int32
In [27]: s.resample('Q-DEC', fill_method='ffill', convention='start')
Out[27]:
2000Q1 0
2000Q2 0
2000Q3 0
2000Q4 0
2001Q1 1
Freq: Q-DEC, dtype: int32
In [28]: s.resample('Q-DEC', fill_method='ffill', convention='end')
Out[27]:
2000Q4 0
2001Q1 1
2001Q2 1
2001Q3 1
2001Q4 1
Freq: Q-DEC, dtype: int32
```
Following Wes' book, the default argument was 'end'. However, the current behaviour is like this (this is real output):
```
In [27]: s.resample('Q-DEC', fill_method='ffill')
Out[27]:
2000Q1 0
2000Q2 0
2000Q3 0
2000Q4 0
2001Q1 1
2001Q2 1
2001Q3 1
2001Q4 1
Freq: Q-DEC, dtype: int32
```
So in fact this is a third option `'span'` (start -> end). This option is mentioned in #1635, but from the issue it seems it was never implemented ([the commit](https://github.com/changhiskhan/pandas/commit/cb81f9ad5607419a5d11ceafd2225c2fdf0e6632) was never merged. There was a test added in comments at that time, but this is still in comments: https://github.com/pydata/pandas/blob/master/pandas/tseries/tests/test_resample.py#L1134).
In practice, however, this is the case (the default behaviour is this mentioned 'span' behaviour). But also the option `'start'` has changed:
```
In [28]: s.resample('Q-DEC', fill_method='ffill', convention='start')
Out[28]:
2000Q1 0
2000Q2 0
2000Q3 0
2000Q4 0
2001Q1 1
2001Q2 1
2001Q3 1
2001Q4 1
Freq: Q-DEC, dtype: int32
```
This gives the same as the default (only for `'end'` it is the same as before).
Some issues/questions:
- what is the default value for `convention`? It is nowhere in the [docs](http://pandas.pydata.org/pandas-docs/stable/timeseries.html#up-and-downsampling), and also not in the [docstring](http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.resample.html) (apart from the signature, which says 'start').
- I don't find the issue/PR/release note where it says that the default for period resample (upsampling) has changed
- the default now is a 'spanning' behaviour, but this is the same as 'start'. Shouldn't be this something else? So that the 'start' option has another behaviour (start -> start) than the default spanning behaviour ('start' -> 'end')?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7744/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7744/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7745 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7745/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7745/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7745/events | https://github.com/pandas-dev/pandas/pull/7745 | 37,739,427 | MDExOlB1bGxSZXF1ZXN0MTgzMjI1MTI= | 7,745 | Docs fixes | {
"avatar_url": "https://avatars.githubusercontent.com/u/410907?v=4",
"events_url": "https://api.github.com/users/lexual/events{/privacy}",
"followers_url": "https://api.github.com/users/lexual/followers",
"following_url": "https://api.github.com/users/lexual/following{/other_user}",
"gists_url": "https://api.github.com/users/lexual/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lexual",
"id": 410907,
"login": "lexual",
"node_id": "MDQ6VXNlcjQxMDkwNw==",
"organizations_url": "https://api.github.com/users/lexual/orgs",
"received_events_url": "https://api.github.com/users/lexual/received_events",
"repos_url": "https://api.github.com/users/lexual/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lexual/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lexual/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lexual"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 3 | 2014-07-13T11:23:38Z | 2014-07-13T12:37:47Z | 2014-07-13T12:37:47Z | CONTRIBUTOR | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7745/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7745/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7745.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7745",
"merged_at": "2014-07-13T12:37:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7745.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7745"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/7746 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7746/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7746/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7746/events | https://github.com/pandas-dev/pandas/issues/7746 | 37,740,426 | MDU6SXNzdWUzNzc0MDQyNg== | 7,746 | BUG: reset_index with a multi-index PeriodIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "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": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 0 | 2014-07-13T12:36:14Z | 2014-07-19T13:45:50Z | 2014-07-19T13:39:59Z | CONTRIBUTOR | null | http://stackoverflow.com/questions/24718730/is-there-any-way-to-keep-a-periodindex-as-a-series-of-periods-with-a-reset-index
related: #7791, #7792 (and I think this causes both)
duped by #7793
```
In [10]: df = DataFrame(np.arange(9).reshape(-1,1),index=pd.MultiIndex.from_product([period_range('20130101',periods=3,freq='M'),['a','b','c']],names=['month','feature']),columns=['value'])
In [11]: df
Out[11]:
value
month feature
2013-01 a 0
b 1
c 2
2013-02 a 3
b 4
c 5
2013-03 a 6
b 7
c 8
In [12]: df.reset_index()
ValueError: Length of values does not match length of index
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7746/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7746/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7747 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7747/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7747/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7747/events | https://github.com/pandas-dev/pandas/pull/7747 | 37,759,136 | MDExOlB1bGxSZXF1ZXN0MTgzMzE3NjU= | 7,747 | DOC: Fix typo conncection -> connection | {
"avatar_url": "https://avatars.githubusercontent.com/u/375307?v=4",
"events_url": "https://api.github.com/users/ElDeveloper/events{/privacy}",
"followers_url": "https://api.github.com/users/ElDeveloper/followers",
"following_url": "https://api.github.com/users/ElDeveloper/following{/other_user}",
"gists_url": "https://api.github.com/users/ElDeveloper/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ElDeveloper",
"id": 375307,
"login": "ElDeveloper",
"node_id": "MDQ6VXNlcjM3NTMwNw==",
"organizations_url": "https://api.github.com/users/ElDeveloper/orgs",
"received_events_url": "https://api.github.com/users/ElDeveloper/received_events",
"repos_url": "https://api.github.com/users/ElDeveloper/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ElDeveloper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ElDeveloper/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ElDeveloper"
} | []
| closed | false | null | []
| null | 1 | 2014-07-14T04:53:52Z | 2014-07-14T07:39:24Z | 2014-07-14T07:39:19Z | CONTRIBUTOR | null | 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/7747/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7747/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7747.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7747",
"merged_at": "2014-07-14T07:39:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7747.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7747"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7748 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7748/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7748/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7748/events | https://github.com/pandas-dev/pandas/issues/7748 | 37,784,697 | MDU6SXNzdWUzNzc4NDY5Nw== | 7,748 | AttributeError: 'Hour' object has no attribute 'normalize' when masking a time series | {
"avatar_url": "https://avatars.githubusercontent.com/u/1411854?v=4",
"events_url": "https://api.github.com/users/leroygr/events{/privacy}",
"followers_url": "https://api.github.com/users/leroygr/followers",
"following_url": "https://api.github.com/users/leroygr/following{/other_user}",
"gists_url": "https://api.github.com/users/leroygr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/leroygr",
"id": 1411854,
"login": "leroygr",
"node_id": "MDQ6VXNlcjE0MTE4NTQ=",
"organizations_url": "https://api.github.com/users/leroygr/orgs",
"received_events_url": "https://api.github.com/users/leroygr/received_events",
"repos_url": "https://api.github.com/users/leroygr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/leroygr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leroygr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/leroygr"
} | [
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 11 | 2014-07-14T13:10:54Z | 2014-07-25T16:57:51Z | 2014-07-19T12:10:05Z | NONE | null | Hi All,
I have a strange bug when I want to mask values of a time series (that I get from a pickled Panel).
I have the following Series:
``` python
In[30]: ts=pd.read_pickle('df_issue.pkl')['wind_speed']
In [31]:ts
Out[31]:
2013-12-31 16:00:00 NaN
2013-12-31 17:00:00 NaN
2013-12-31 18:00:00 9.845031
2013-12-31 19:00:00 NaN
2013-12-31 20:00:00 NaN
2013-12-31 21:00:00 NaN
2013-12-31 22:00:00 NaN
2013-12-31 23:00:00 NaN
Freq: H, Name: wind_speed, dtype: float64
```
And I have an exception when I try to mask it:
``` python
In [32]: ts<0.
Traceback (most recent call last):
File "<ipython-input-32-534147d368f7>", line 1, in <module>
ts<0.
File "/usr/local/lib/python2.7/dist-packages/pandas/core/ops.py", line 585, in wrapper
res[mask] = masker
File "/usr/local/lib/python2.7/dist-packages/pandas/core/series.py", line 637, in __setitem__
self.where(~key, value, inplace=True)
File "/usr/local/lib/python2.7/dist-packages/pandas/core/generic.py", line 3238, in where
inplace=True)
File "/usr/local/lib/python2.7/dist-packages/pandas/core/internals.py", line 2219, in putmask
return self.apply('putmask', **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pandas/core/internals.py", line 2185, in apply
b_items = self.items[b.mgr_locs.indexer]
File "/usr/local/lib/python2.7/dist-packages/pandas/tseries/index.py", line 1387, in __getitem__
new_offset = key.step * self.offset
File "/usr/local/lib/python2.7/dist-packages/pandas/tseries/offsets.py", line 265, in __rmul__
return self.__mul__(someInt)
File "/usr/local/lib/python2.7/dist-packages/pandas/tseries/offsets.py", line 262, in __mul__
return self.__class__(n=someInt * self.n, normalize=self.normalize, **self.kwds)
AttributeError: 'Hour' object has no attribute 'normalize'
```
If I make the same Series manually, it is working:
``` python
ts1=pd.Series(data=[np.nan,np.nan,9.845031]+[np.nan]*5,index=pd.date_range('2013-12-31 16:00:00',periods=8,freq='H'))
In [36]: ts1
Out[36]:
2013-12-31 16:00:00 NaN
2013-12-31 17:00:00 NaN
2013-12-31 18:00:00 9.845031
2013-12-31 19:00:00 NaN
2013-12-31 20:00:00 NaN
2013-12-31 21:00:00 NaN
2013-12-31 22:00:00 NaN
2013-12-31 23:00:00 NaN
Freq: H, dtype: float64
In [37]: ts1<0.
Out[37]:
2013-12-31 16:00:00 False
2013-12-31 17:00:00 False
2013-12-31 18:00:00 False
2013-12-31 19:00:00 False
2013-12-31 20:00:00 False
2013-12-31 21:00:00 False
2013-12-31 22:00:00 False
2013-12-31 23:00:00 False
Freq: H, dtype: bool
```
I really don't understand why...
You can find the pickle file here: http://we.tl/lrsFvmanVl
Thanks,
Greg
Here is the show_version output:
## INSTALLED VERSIONS
commit: None
python: 2.7.3.final.0
python-bits: 64
OS: Linux
OS-release: 3.8.0-37-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.14.1
nose: 1.3.0
Cython: 0.20.1
numpy: 1.8.1
scipy: 0.13.3
statsmodels: 0.6.0.dev-Unknown
IPython: 1.1.0
sphinx: 1.1.3
patsy: 0.2.1
scikits.timeseries: None
dateutil: 2.2
pytz: 2014.4
bottleneck: 0.6.0
tables: 3.1.1
numexpr: 2.0.1
matplotlib: 1.3.1
openpyxl: 1.7.0
xlrd: 0.9.2
xlwt: 0.7.2
xlsxwriter: None
lxml: 3.0.0
bs4: 4.3.2
html5lib: None
httplib2: 0.7.2
apiclient: None
rpy2: None
sqlalchemy: None
pymysql: None
psycopg2: None
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7748/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7748/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7749 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7749/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7749/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7749/events | https://github.com/pandas-dev/pandas/issues/7749 | 37,807,536 | MDU6SXNzdWUzNzgwNzUzNg== | 7,749 | RELEASE.md points at 0.13.1 release notes | {
"avatar_url": "https://avatars.githubusercontent.com/u/7407093?v=4",
"events_url": "https://api.github.com/users/armaganthis3/events{/privacy}",
"followers_url": "https://api.github.com/users/armaganthis3/followers",
"following_url": "https://api.github.com/users/armaganthis3/following{/other_user}",
"gists_url": "https://api.github.com/users/armaganthis3/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/armaganthis3",
"id": 7407093,
"login": "armaganthis3",
"node_id": "MDQ6VXNlcjc0MDcwOTM=",
"organizations_url": "https://api.github.com/users/armaganthis3/orgs",
"received_events_url": "https://api.github.com/users/armaganthis3/received_events",
"repos_url": "https://api.github.com/users/armaganthis3/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/armaganthis3/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/armaganthis3/subscriptions",
"type": "User",
"url": "https://api.github.com/users/armaganthis3"
} | [
{
"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 | []
| null | 1 | 2014-07-14T17:26:58Z | 2014-07-14T17:32:52Z | 2014-07-14T17:32:46Z | NONE | null | https://github.com/pydata/pandas/blob/master/RELEASE.md
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7749/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7749/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7750 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7750/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7750/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7750/events | https://github.com/pandas-dev/pandas/issues/7750 | 37,810,421 | MDU6SXNzdWUzNzgxMDQyMQ== | 7,750 | GH6848 silently changed series.sort from stable to unstable sort | {
"avatar_url": "https://avatars.githubusercontent.com/u/7407093?v=4",
"events_url": "https://api.github.com/users/armaganthis3/events{/privacy}",
"followers_url": "https://api.github.com/users/armaganthis3/followers",
"following_url": "https://api.github.com/users/armaganthis3/following{/other_user}",
"gists_url": "https://api.github.com/users/armaganthis3/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/armaganthis3",
"id": 7407093,
"login": "armaganthis3",
"node_id": "MDQ6VXNlcjc0MDcwOTM=",
"organizations_url": "https://api.github.com/users/armaganthis3/orgs",
"received_events_url": "https://api.github.com/users/armaganthis3/received_events",
"repos_url": "https://api.github.com/users/armaganthis3/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/armaganthis3/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/armaganthis3/subscriptions",
"type": "User",
"url": "https://api.github.com/users/armaganthis3"
} | []
| closed | true | null | []
| null | 20 | 2014-07-14T18:00:37Z | 2014-07-20T16:43:34Z | 2014-07-14T18:14:41Z | NONE | null | #6848 is no where mentioned in the release notes. There's a single item on `.order`
changing to quicksort, but it doesn't explicitly warn that the sort was previously stable
and now isn't. There's also no warning about `series.sort` changing as well.
That API has been around forever and afaict nothing was gained by breaking it.
This was a fairly reckless change in my opinion, I do wish the current maintainers
cared more about backwards-compatibility then they seem to in the latest releases.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7750/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7750/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7751 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7751/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7751/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7751/events | https://github.com/pandas-dev/pandas/issues/7751 | 37,814,702 | MDU6SXNzdWUzNzgxNDcwMg== | 7,751 | qcut() should make sure the bins bounderies are unique before passing them to _bins_to_cuts | {
"avatar_url": "https://avatars.githubusercontent.com/u/6908933?v=4",
"events_url": "https://api.github.com/users/yonil7/events{/privacy}",
"followers_url": "https://api.github.com/users/yonil7/followers",
"following_url": "https://api.github.com/users/yonil7/following{/other_user}",
"gists_url": "https://api.github.com/users/yonil7/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yonil7",
"id": 6908933,
"login": "yonil7",
"node_id": "MDQ6VXNlcjY5MDg5MzM=",
"organizations_url": "https://api.github.com/users/yonil7/orgs",
"received_events_url": "https://api.github.com/users/yonil7/received_events",
"repos_url": "https://api.github.com/users/yonil7/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yonil7/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yonil7/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yonil7"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 21 | 2014-07-14T18:47:54Z | 2016-12-30T19:02:01Z | 2016-12-30T19:02:01Z | NONE | null | xref #8309
for example:
``` python
pd.qcut([1,1,1,1,1,1,1,1,1,1,1,1,1,5,5,5], [0.00001, 0.5])
```
will raise "ValueError: Bin edges must be unique: array([ 1., 1.])" exception
Fix suggestion - add one new line:
``` python
def qcut(x, q, labels=None, retbins=False, precision=3):
if com.is_integer(q):
quantiles = np.linspace(0, 1, q + 1)
else:
quantiles = q
bins = algos.quantile(x, quantiles)
--->bins = np.unique(bins)
return _bins_to_cuts(x, bins, labels=labels, retbins=retbins,
precision=precision, include_lowest=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/7751/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7751/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7752 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7752/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7752/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7752/events | https://github.com/pandas-dev/pandas/issues/7752 | 37,815,467 | MDU6SXNzdWUzNzgxNTQ2Nw== | 7,752 | read_csv C engine hangs on my server | {
"avatar_url": "https://avatars.githubusercontent.com/u/3759135?v=4",
"events_url": "https://api.github.com/users/JakeEhrlich/events{/privacy}",
"followers_url": "https://api.github.com/users/JakeEhrlich/followers",
"following_url": "https://api.github.com/users/JakeEhrlich/following{/other_user}",
"gists_url": "https://api.github.com/users/JakeEhrlich/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/JakeEhrlich",
"id": 3759135,
"login": "JakeEhrlich",
"node_id": "MDQ6VXNlcjM3NTkxMzU=",
"organizations_url": "https://api.github.com/users/JakeEhrlich/orgs",
"received_events_url": "https://api.github.com/users/JakeEhrlich/received_events",
"repos_url": "https://api.github.com/users/JakeEhrlich/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/JakeEhrlich/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JakeEhrlich/subscriptions",
"type": "User",
"url": "https://api.github.com/users/JakeEhrlich"
} | [
{
"color": "444444",
"default": false,
"description": "Unicode strings",
"id": 36380025,
"name": "Unicode",
"node_id": "MDU6TGFiZWwzNjM4MDAyNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| closed | false | null | []
| null | 22 | 2014-07-14T18:55:41Z | 2015-03-08T16:57:00Z | 2015-03-08T16:57:00Z | NONE | null | so I have a web application where users need to be able to upload csv files. If I use the c engine the whole thing hangs indifferently. I was able to read_csv hanging.
code:
data = smart_unicode(data) #convert to unicode properly
frames = {"default":pandas.read_csv(io.StringIO(data))}
where 'data' is a Unicode string output by Django's 'smart_unicode'. The same issue occurs if you use data = data.decode('utf-8'). The issue does not occur if I use the python engine however.
I am running an apache 2 server with django 1.6 and mod_wsgi. I have no clue what is causing this however.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7752/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7752/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7753 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7753/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7753/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7753/events | https://github.com/pandas-dev/pandas/issues/7753 | 37,816,851 | MDU6SXNzdWUzNzgxNjg1MQ== | 7,753 | python engine for read_csv does not support unicode | {
"avatar_url": "https://avatars.githubusercontent.com/u/3759135?v=4",
"events_url": "https://api.github.com/users/JakeEhrlich/events{/privacy}",
"followers_url": "https://api.github.com/users/JakeEhrlich/followers",
"following_url": "https://api.github.com/users/JakeEhrlich/following{/other_user}",
"gists_url": "https://api.github.com/users/JakeEhrlich/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/JakeEhrlich",
"id": 3759135,
"login": "JakeEhrlich",
"node_id": "MDQ6VXNlcjM3NTkxMzU=",
"organizations_url": "https://api.github.com/users/JakeEhrlich/orgs",
"received_events_url": "https://api.github.com/users/JakeEhrlich/received_events",
"repos_url": "https://api.github.com/users/JakeEhrlich/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/JakeEhrlich/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JakeEhrlich/subscriptions",
"type": "User",
"url": "https://api.github.com/users/JakeEhrlich"
} | [
{
"color": "444444",
"default": false,
"description": "Unicode strings",
"id": 36380025,
"name": "Unicode",
"node_id": "MDU6TGFiZWwzNjM4MDAyNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 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"
} | 14 | 2014-07-14T19:02:09Z | 2015-03-08T16:58:52Z | 2015-03-08T16:58:52Z | NONE | null | code:
pandas.read_csv(io.StringIO(data), engine="python")
if 'data' contains a non-ascii character this code will throw an exception
stack trace:
File "/home/jake/Desktop/WiderNSF/physics/service/ExcelTable.py", line 63, in **init**
frames = {"default":pandas.read_csv(io.StringIO(data), engine="python")}
File "/usr/lib/python2.7/dist-packages/pandas/io/parsers.py", line 400, in parser_f
return _read(filepath_or_buffer, kwds)
File "/usr/lib/python2.7/dist-packages/pandas/io/parsers.py", line 198, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "/usr/lib/python2.7/dist-packages/pandas/io/parsers.py", line 479, in __init__
self._make_engine(self.engine)
File "/usr/lib/python2.7/dist-packages/pandas/io/parsers.py", line 592, in _make_engine
self._engine = klass(self.f, **self.options)
File "/usr/lib/python2.7/dist-packages/pandas/io/parsers.py", line 1240, in __init__
self.columns = self._infer_columns()
File "/usr/lib/python2.7/dist-packages/pandas/io/parsers.py", line 1406, in _infer_columns
line = self._next_line()
File "/usr/lib/python2.7/dist-packages/pandas/io/parsers.py", line 1473, in _next_line
line = next(self.data)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u03bb' in position 20: ordinal not in range(128)
I have experienced this issue on multipule systems
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7753/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7753/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7754 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7754/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7754/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7754/events | https://github.com/pandas-dev/pandas/issues/7754 | 37,818,707 | MDU6SXNzdWUzNzgxODcwNw== | 7,754 | Series.resample('1S', how='last') on series with dtype=datetime64[ns] is very slow | {
"avatar_url": "https://avatars.githubusercontent.com/u/6908933?v=4",
"events_url": "https://api.github.com/users/yonil7/events{/privacy}",
"followers_url": "https://api.github.com/users/yonil7/followers",
"following_url": "https://api.github.com/users/yonil7/following{/other_user}",
"gists_url": "https://api.github.com/users/yonil7/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yonil7",
"id": 6908933,
"login": "yonil7",
"node_id": "MDQ6VXNlcjY5MDg5MzM=",
"organizations_url": "https://api.github.com/users/yonil7/orgs",
"received_events_url": "https://api.github.com/users/yonil7/received_events",
"repos_url": "https://api.github.com/users/yonil7/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yonil7/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yonil7/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yonil7"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"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": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"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": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 3 | 2014-07-14T19:23:14Z | 2015-06-02T19:25:19Z | 2015-05-12T13:06:54Z | NONE | null | example test:
``` python
intSeries = pd.Series(5, pd.date_range(start='2000-01-01', end='2000-01-05', freq='555000U'), dtype='int64')
timeSeries = intSeries.astype('datetime64[ns]')
time0 = time.time()
intSeries.resample('1S', how='last')
print 'resampling the int series took ', str(timedelta(seconds = time.time()-time0)), '(H:M:S)'
time0 = time.time()
timeSeries.resample('1S', how='last')
print 'resampling the datetime64[ns] series took ', str(timedelta(seconds = time.time()-time0)), '(H:M:S)'
```
output shows 14sec vs 0.5sec:
resampling the int series took **0:00:00.054000** (H:M:S)
resampling the datetime64[ns] series took **0:00:14.350000** (H:M: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/7754/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7754/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7755 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7755/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7755/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7755/events | https://github.com/pandas-dev/pandas/issues/7755 | 37,825,456 | MDU6SXNzdWUzNzgyNTQ1Ng== | 7,755 | Pandas import blocking in Pycharm debug mode | {
"avatar_url": "https://avatars.githubusercontent.com/u/239117?v=4",
"events_url": "https://api.github.com/users/myisis/events{/privacy}",
"followers_url": "https://api.github.com/users/myisis/followers",
"following_url": "https://api.github.com/users/myisis/following{/other_user}",
"gists_url": "https://api.github.com/users/myisis/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/myisis",
"id": 239117,
"login": "myisis",
"node_id": "MDQ6VXNlcjIzOTExNw==",
"organizations_url": "https://api.github.com/users/myisis/orgs",
"received_events_url": "https://api.github.com/users/myisis/received_events",
"repos_url": "https://api.github.com/users/myisis/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/myisis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/myisis/subscriptions",
"type": "User",
"url": "https://api.github.com/users/myisis"
} | []
| closed | false | null | []
| null | 2 | 2014-07-14T20:34:59Z | 2015-10-20T22:41:12Z | 2015-10-20T22:41:12Z | NONE | null | I'm not sure about the exact circumstances and am unable to create a minimal example, but when trying to run an application importing pandas in debug mode through Pycharm, it freezes. I followed the call stack to:
```
try:
import numexpr as ne
_NUMEXPR_INSTALLED = ne.__version__ >= LooseVersion('2.0')
except ImportError: # pragma: no cover
_NUMEXPR_INSTALLED = False
```
in `expressions.py` (the actual import). I continued to trace the call stack a bit more into `numepxr` to `cpuinfo.py` at `cpu = cpuinfo()` (`DarwinCPUInfo` where it calls `command_info` which eventually forks a new process ("machine") and never returns).
I'm running Mac OS X Maverick, Python 2.7.5, pandas 0.14.0 and numexpr 2.4. This problem doesn't occur when running the application in Pycharm (as opposed to running in debug mode and setting breakpoints). It also doesn't happen when I import pandas right at the beginning of the application (my failed attempt to construct a minimal example).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7755/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7755/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7756 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7756/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7756/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7756/events | https://github.com/pandas-dev/pandas/pull/7756 | 37,846,330 | MDExOlB1bGxSZXF1ZXN0MTgzODU4OTk= | 7,756 | docs: rewrite .iloc accessing beyond ends. | {
"avatar_url": "https://avatars.githubusercontent.com/u/410907?v=4",
"events_url": "https://api.github.com/users/lexual/events{/privacy}",
"followers_url": "https://api.github.com/users/lexual/followers",
"following_url": "https://api.github.com/users/lexual/following{/other_user}",
"gists_url": "https://api.github.com/users/lexual/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lexual",
"id": 410907,
"login": "lexual",
"node_id": "MDQ6VXNlcjQxMDkwNw==",
"organizations_url": "https://api.github.com/users/lexual/orgs",
"received_events_url": "https://api.github.com/users/lexual/received_events",
"repos_url": "https://api.github.com/users/lexual/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lexual/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lexual/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lexual"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 2 | 2014-07-15T02:31:45Z | 2014-07-15T12:57:21Z | 2014-07-15T12:57:21Z | CONTRIBUTOR | null | Let's actually talk about what the current behaviour is, not what the
behaviour used to be.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7756/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7756/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7756.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7756",
"merged_at": "2014-07-15T12:57:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7756.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7756"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7757 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7757/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7757/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7757/events | https://github.com/pandas-dev/pandas/issues/7757 | 37,847,199 | MDU6SXNzdWUzNzg0NzE5OQ== | 7,757 | BUG/ERR: read_csv(header=[0]) should raise/warn | {
"avatar_url": "https://avatars.githubusercontent.com/u/4306187?v=4",
"events_url": "https://api.github.com/users/ischwabacher/events{/privacy}",
"followers_url": "https://api.github.com/users/ischwabacher/followers",
"following_url": "https://api.github.com/users/ischwabacher/following{/other_user}",
"gists_url": "https://api.github.com/users/ischwabacher/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ischwabacher",
"id": 4306187,
"login": "ischwabacher",
"node_id": "MDQ6VXNlcjQzMDYxODc=",
"organizations_url": "https://api.github.com/users/ischwabacher/orgs",
"received_events_url": "https://api.github.com/users/ischwabacher/received_events",
"repos_url": "https://api.github.com/users/ischwabacher/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ischwabacher/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ischwabacher/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ischwabacher"
} | [
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| closed | false | null | []
| {
"closed_at": "2017-10-28T18:54:27Z",
"closed_issues": 764,
"created_at": "2017-03-23T13:26:25Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2017-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/46",
"id": 2406656,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46/labels",
"node_id": "MDk6TWlsZXN0b25lMjQwNjY1Ng==",
"number": 46,
"open_issues": 0,
"state": "closed",
"title": "0.21.0",
"updated_at": "2018-07-08T21:53:21Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46"
} | 11 | 2014-07-15T02:55:22Z | 2017-08-03T16:37:27Z | 2017-08-03T16:37:27Z | CONTRIBUTOR | null | `read_csv` with a single-row header either breaks any names that might be on the index, or reads all data as `NaN`. This problem might exist because `pd.read_csv` hasn't caught up to #7589.
``` python
In [1]: import pandas as pd
In [2]: from StringIO import StringIO
In [3]: pd.read_csv(StringIO('''\
alpha,,A,B
foo,bar,,
this,x,1,2
this,y,5,6
that,x,3,4
that,y,7,8'''), header=0, index_col=[0,1])
Out[3]:
A B
alpha Unnamed: 1
foo bar NaN NaN
this x 1 2
y 5 6
that x 3 4
y 7 8
In [4]: pd.read_csv(StringIO('''\
alpha,,A,B
foo,bar,,
this,x,1,2
this,y,5,6
that,x,3,4
that,y,7,8'''), header=[0], index_col=[0,1])
Out[4]:
alpha A B
foo bar
this x NaN NaN
y NaN NaN
that x NaN NaN
y NaN NaN
In [5]: pd.read_csv(StringIO('''\
alpha,,A,B
beta,,Y,Z
foo,bar,,
this,x,1,2
this,y,5,6
that,x,3,4
that,y,7,8'''), header=[0,1], index_col=[0,1])
Out[5]:
alpha A B
beta Y Z
foo bar
this x 1 2
y 5 6
that x 3 4
y 7 8
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7757/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7757/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7758 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7758/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7758/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7758/events | https://github.com/pandas-dev/pandas/issues/7758 | 37,876,887 | MDU6SXNzdWUzNzg3Njg4Nw== | 7,758 | astype(unicode) does not work as expected | {
"avatar_url": "https://avatars.githubusercontent.com/u/1021506?v=4",
"events_url": "https://api.github.com/users/fulmicoton/events{/privacy}",
"followers_url": "https://api.github.com/users/fulmicoton/followers",
"following_url": "https://api.github.com/users/fulmicoton/following{/other_user}",
"gists_url": "https://api.github.com/users/fulmicoton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fulmicoton",
"id": 1021506,
"login": "fulmicoton",
"node_id": "MDQ6VXNlcjEwMjE1MDY=",
"organizations_url": "https://api.github.com/users/fulmicoton/orgs",
"received_events_url": "https://api.github.com/users/fulmicoton/received_events",
"repos_url": "https://api.github.com/users/fulmicoton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fulmicoton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fulmicoton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fulmicoton"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "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": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 11 | 2014-07-15T12:21:22Z | 2014-07-16T11:57:13Z | 2014-07-16T11:57:13Z | CONTRIBUTOR | null | astype unicode seems to call str, so that the following code throws
```
import pandas
df = pandas.DataFrame({"somecol": [u"適当"]})
df["somecol"].astype("unicode")
```
raises :
```
UnicodeEncodeError: 'ascii' codec can't encode ch
aracters in position 0-1: ordinal not in range(12
8)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7758/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7758/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7759 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7759/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7759/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7759/events | https://github.com/pandas-dev/pandas/issues/7759 | 37,877,146 | MDU6SXNzdWUzNzg3NzE0Ng== | 7,759 | DataFrame.replace behave strangely | {
"avatar_url": "https://avatars.githubusercontent.com/u/1021506?v=4",
"events_url": "https://api.github.com/users/fulmicoton/events{/privacy}",
"followers_url": "https://api.github.com/users/fulmicoton/followers",
"following_url": "https://api.github.com/users/fulmicoton/following{/other_user}",
"gists_url": "https://api.github.com/users/fulmicoton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fulmicoton",
"id": 1021506,
"login": "fulmicoton",
"node_id": "MDQ6VXNlcjEwMjE1MDY=",
"organizations_url": "https://api.github.com/users/fulmicoton/orgs",
"received_events_url": "https://api.github.com/users/fulmicoton/received_events",
"repos_url": "https://api.github.com/users/fulmicoton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fulmicoton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fulmicoton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fulmicoton"
} | []
| closed | false | null | []
| null | 5 | 2014-07-15T12:25:14Z | 2017-01-15T22:56:50Z | 2014-07-15T12:53:10Z | CONTRIBUTOR | null | Basically
```
pandas.DataFrame({
"a": [1,1,1,2,2,2]
}).replace({
"a": {
1: 2,
2: 3
}
})
```
returns (I was suprised on that one)
```
a
0 2
1 3
2 2
3 3
4 2
5 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/7759/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7759/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7760 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7760/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7760/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7760/events | https://github.com/pandas-dev/pandas/issues/7760 | 37,880,455 | MDU6SXNzdWUzNzg4MDQ1NQ== | 7,760 | Plotting series with different frequency yields "ValueError: Incompatible frequency conversion" | {
"avatar_url": "https://avatars.githubusercontent.com/u/5279578?v=4",
"events_url": "https://api.github.com/users/mmajewsk/events{/privacy}",
"followers_url": "https://api.github.com/users/mmajewsk/followers",
"following_url": "https://api.github.com/users/mmajewsk/following{/other_user}",
"gists_url": "https://api.github.com/users/mmajewsk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mmajewsk",
"id": 5279578,
"login": "mmajewsk",
"node_id": "MDQ6VXNlcjUyNzk1Nzg=",
"organizations_url": "https://api.github.com/users/mmajewsk/orgs",
"received_events_url": "https://api.github.com/users/mmajewsk/received_events",
"repos_url": "https://api.github.com/users/mmajewsk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mmajewsk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mmajewsk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mmajewsk"
} | [
{
"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": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 1 | 2014-07-15T13:06:55Z | 2014-07-19T14:11:35Z | 2014-07-19T14:11:35Z | NONE | null | So i have two dataframes with simmilar data but, indexed by datetime64
dfA : http://pastebin.com/HenYJxdV
dfB : http://pastebin.com/qAsEqSxf
so i have following problem when i try to plot them this way:
```
In [107]:
seriesA=dfA["more"]
seriesB=dfB["less"]
In [108]:
plt.figure()
plt.plot(seriesA.index.tolist(),seriesA.tolist())
plt.plot(seriesB.index.tolist(),seriesB.tolist())
```
it's ok and both series have been plotted on same figure
but when i'll try this:
```
plt.figure()
seriesA.plot()
seriesB.plot()
```
it wrecks and i get following output
```
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-109-5054484e1e31> in <module>()
1 plt.figure()
2 seriesA.plot()
----> 3 seriesB.plot()
4
C:\winpy\WinPython-64bit-2.7.6.4\python-2.7.6.amd64\lib\site-packages\pandas\tools\plotting.pyc in plot_series(series, label, kind, use_index, rot, xticks, yticks, xlim, ylim, ax, style, grid, legend, logx, logy, secondary_y, **kwds)
2254 secondary_y=secondary_y, **kwds)
2255
-> 2256 plot_obj.generate()
2257 plot_obj.draw()
2258
C:\winpy\WinPython-64bit-2.7.6.4\python-2.7.6.amd64\lib\site-packages\pandas\tools\plotting.pyc in generate(self)
900 self._compute_plot_data()
901 self._setup_subplots()
--> 902 self._make_plot()
903 self._add_table()
904 self._make_legend()
C:\winpy\WinPython-64bit-2.7.6.4\python-2.7.6.amd64\lib\site-packages\pandas\tools\plotting.pyc in _make_plot(self)
1549 if self._is_ts_plot():
1550 data = self._maybe_convert_index(self.data)
-> 1551 self._make_ts_plot(data)
1552 else:
1553 from pandas.core.frame import DataFrame
C:\winpy\WinPython-64bit-2.7.6.4\python-2.7.6.amd64\lib\site-packages\pandas\tools\plotting.pyc in _make_ts_plot(self, data, **kwargs)
1646 y_values = self._get_stacked_values(y, label)
1647
-> 1648 newlines = plotf(y_values, ax, label, style, **kwds)
1649 self._add_legend_handle(newlines[0], label, index=i)
1650
C:\winpy\WinPython-64bit-2.7.6.4\python-2.7.6.amd64\lib\site-packages\pandas\tools\plotting.pyc in _plot(data, ax, label, style, **kwds)
1623 else:
1624 lines = tsplot(data, plotf, ax=ax, label=label,
-> 1625 style=style, **kwds)
1626 return lines
1627 return _plot
C:\winpy\WinPython-64bit-2.7.6.4\python-2.7.6.amd64\lib\site-packages\pandas\tseries\plotting.pyc in tsplot(series, plotf, **kwargs)
57 series = series.to_period(freq=freq)
58 freq, ax_freq, series = _maybe_resample(series, ax, freq, plotf,
---> 59 kwargs)
60
61 # Set ax with freq info
C:\winpy\WinPython-64bit-2.7.6.4\python-2.7.6.amd64\lib\site-packages\pandas\tseries\plotting.pyc in _maybe_resample(series, ax, freq, plotf, kwargs)
107 ax_freq = freq
108 else: # pragma: no cover
--> 109 raise ValueError('Incompatible frequency conversion')
110 return freq, ax_freq, series
111
ValueError: Incompatible frequency conversion
```
Which is extremely weird because before, i plotted similar but yet slightly different data and it plotted correctly.
P.S. pd.show_versions():
```
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.6.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 37 Stepping 2, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.14.0
nose: 1.3.1
Cython: 0.20.1
numpy: 1.8.1
scipy: 0.13.3
statsmodels: 0.5.0
IPython: 2.0.0
sphinx: 1.2.2
patsy: 0.2.1
scikits.timeseries: None
dateutil: 2.2
pytz: 2013.9
bottleneck: None
tables: 3.1.1
numexpr: 2.3.1
matplotlib: 1.3.1
openpyxl: None
xlrd: 0.9.3
xlwt: 0.7.5
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
bq: None
apiclient: None
rpy2: None
sqlalchemy: 0.9.4
pymysql: None
psycopg2: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7760/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7760/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7761 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7761/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7761/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7761/events | https://github.com/pandas-dev/pandas/issues/7761 | 37,892,664 | MDU6SXNzdWUzNzg5MjY2NA== | 7,761 | Non-unique column names in fixed format HDF5 | {
"avatar_url": "https://avatars.githubusercontent.com/u/30848?v=4",
"events_url": "https://api.github.com/users/filmor/events{/privacy}",
"followers_url": "https://api.github.com/users/filmor/followers",
"following_url": "https://api.github.com/users/filmor/following{/other_user}",
"gists_url": "https://api.github.com/users/filmor/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/filmor",
"id": 30848,
"login": "filmor",
"node_id": "MDQ6VXNlcjMwODQ4",
"organizations_url": "https://api.github.com/users/filmor/orgs",
"received_events_url": "https://api.github.com/users/filmor/received_events",
"repos_url": "https://api.github.com/users/filmor/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/filmor/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/filmor/subscriptions",
"type": "User",
"url": "https://api.github.com/users/filmor"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 5 | 2014-07-15T15:05:57Z | 2014-07-21T11:39:29Z | 2014-07-21T11:39:29Z | CONTRIBUTOR | null | This leads to an error on read, writing is possible however. Since the format has a fundamental problem with this case if there are columns with the same name but different data types this is not fixable.
However, `df.to_hdf` should just not write the respective dataframe if the column index is not unique.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7761/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7761/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7762 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7762/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7762/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7762/events | https://github.com/pandas-dev/pandas/issues/7762 | 37,904,832 | MDU6SXNzdWUzNzkwNDgzMg== | 7,762 | read_html doesn't work for wikipedia tables | {
"avatar_url": "https://avatars.githubusercontent.com/u/207405?v=4",
"events_url": "https://api.github.com/users/haraldschilly/events{/privacy}",
"followers_url": "https://api.github.com/users/haraldschilly/followers",
"following_url": "https://api.github.com/users/haraldschilly/following{/other_user}",
"gists_url": "https://api.github.com/users/haraldschilly/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/haraldschilly",
"id": 207405,
"login": "haraldschilly",
"node_id": "MDQ6VXNlcjIwNzQwNQ==",
"organizations_url": "https://api.github.com/users/haraldschilly/orgs",
"received_events_url": "https://api.github.com/users/haraldschilly/received_events",
"repos_url": "https://api.github.com/users/haraldschilly/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/haraldschilly/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/haraldschilly/subscriptions",
"type": "User",
"url": "https://api.github.com/users/haraldschilly"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 4 | 2014-07-15T17:08:10Z | 2016-10-12T23:05:01Z | 2014-07-28T13:24:39Z | NONE | null | I assumed reading wikipedia html tables should work for `read_html`, but it returned a lot of garbage :frowning:
Example:
```
pd.io.html.read_html("https://en.wikipedia.org/wiki/List_of_U.S._states_and_territories_by_area", "Arizona")
```
I've seen several related issues, maybe this is an useful test case.
Versions:
```
pandas: 0.14.0
Cython: 0.19.2
IPython: 2.1.0
bs4: 4.3.1
html5lib: 0.95-dev
lxml: 3.3.5
dateutil: 2.2
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7762/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7762/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7763 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7763/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7763/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7763/events | https://github.com/pandas-dev/pandas/issues/7763 | 37,906,528 | MDU6SXNzdWUzNzkwNjUyOA== | 7,763 | BUG: Assigning Panel item using .ix/.loc no longer works | {
"avatar_url": "https://avatars.githubusercontent.com/u/1129233?v=4",
"events_url": "https://api.github.com/users/creeson/events{/privacy}",
"followers_url": "https://api.github.com/users/creeson/followers",
"following_url": "https://api.github.com/users/creeson/following{/other_user}",
"gists_url": "https://api.github.com/users/creeson/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/creeson",
"id": 1129233,
"login": "creeson",
"node_id": "MDQ6VXNlcjExMjkyMzM=",
"organizations_url": "https://api.github.com/users/creeson/orgs",
"received_events_url": "https://api.github.com/users/creeson/received_events",
"repos_url": "https://api.github.com/users/creeson/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/creeson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/creeson/subscriptions",
"type": "User",
"url": "https://api.github.com/users/creeson"
} | [
{
"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": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 7 | 2014-07-15T17:29:04Z | 2014-09-26T23:36:40Z | 2014-09-26T23:36:40Z | NONE | null | I am updating a codebase from an OLD version of pandas (0.7.3) to current version (0.14.1).
```
pandas: 0.14.1
numpy: 1.8.0
```
The following code has stopped working correctly (using .ix[] or .loc[]):
``` python
import numpy as np
import pandas as ps
np.random.seed(0)
index=range(3)
columns = list('abc')
panel = ps.Panel({'A' : ps.DataFrame(np.random.randn(3, 3), index=index, columns=columns),
'B' : ps.DataFrame(np.random.randn(3, 3), index=index, columns=columns),
'C' : ps.DataFrame(np.random.randn(3, 3), index=index, columns=columns)
})
replace = ps.DataFrame(np.eye(3,3), index=range(3), columns=columns)
print panel['A']
for idx in list('ABC'):
panel.loc[idx,:,:] = replace
print panel['A']
```
Output:
```
a b c
0 1.764052 0.400157 0.978738
1 2.240893 1.867558 -0.977278
2 0.950088 -0.151357 -0.103219
a b c
0 NaN NaN NaN
1 NaN NaN NaN
2 NaN NaN NaN
```
However, if I simply do this:
``` python
for idx in list('ABC'):
panel[idx] = replace
print panel['A']
```
It behaves as expected:
```
a b c
0 1 0 0
1 0 1 0
2 0 0 1
```
Also, if I assign more than just the item, it works fine:
``` python
panel.loc['A', 0, 'a'] = 1.0
print panel['A']
```
```
a b c
0 1.000000 0.400157 0.978738
1 2.240893 1.867558 -0.977278
2 0.950088 -0.151357 -0.103219
```
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/7763/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7763/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7764 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7764/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7764/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7764/events | https://github.com/pandas-dev/pandas/issues/7764 | 37,915,202 | MDU6SXNzdWUzNzkxNTIwMg== | 7,764 | rolling_cov and rolling_corr error out when len(series) < min_periods | {
"avatar_url": "https://avatars.githubusercontent.com/u/1129233?v=4",
"events_url": "https://api.github.com/users/creeson/events{/privacy}",
"followers_url": "https://api.github.com/users/creeson/followers",
"following_url": "https://api.github.com/users/creeson/following{/other_user}",
"gists_url": "https://api.github.com/users/creeson/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/creeson",
"id": 1129233,
"login": "creeson",
"node_id": "MDQ6VXNlcjExMjkyMzM=",
"organizations_url": "https://api.github.com/users/creeson/orgs",
"received_events_url": "https://api.github.com/users/creeson/received_events",
"repos_url": "https://api.github.com/users/creeson/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/creeson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/creeson/subscriptions",
"type": "User",
"url": "https://api.github.com/users/creeson"
} | [
{
"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": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 11 | 2014-07-15T19:04:18Z | 2014-07-23T12:17:17Z | 2014-07-23T12:17:17Z | NONE | null | I am updating a codebase from an OLD version of pandas (0.7.3) to current version (0.14.1) in python 2.7.
```
pandas: 0.14.1
numpy: 1.8.0
```
Not sure if this is properly classified as a bug, or if it is an expected code change. However, it seems rolling_cov / rolling_corr are specifying the window as min(window given, max(len(arg1), len(arg2)), and then erring out if arg1 AND arg2 are shorter than min_periods. Before, we would just get NaNs back.
Here is some test code:
``` python
import numpy as np
import pandas as pd
np.random.seed(0)
s1 = pd.Series(np.random.randn(4))
s2 = pd.Series(np.random.randn(4))
print '\nrolling_corr:'
try:
print pd.rolling_corr(s1, s2, window=10, min_periods=5)
except Exception as inst:
print type(inst)
print inst
print '\nrolling_cov:'
try:
print pd.rolling_cov(s1, s2, window=10, min_periods=5)
except Exception as inst:
print type(inst)
print inst
```
In **0.14.1**:
```
rolling_corr:
<type 'exceptions.ValueError'>
min_periods (5) must be <= window (4)
rolling_cov:
<type 'exceptions.ValueError'>
min_periods (5) must be <= window (4)
```
In **0.7.3**:
```
rolling_corr:
0 NaN
1 NaN
2 NaN
3 NaN
rolling_cov:
0 NaN
1 NaN
2 NaN
3 NaN
```
Note that changing either s1 OR s2 to be 6, the code doesn't error out, and instead outputs:
```
rolling_corr:
0 NaN
1 NaN
2 NaN
3 NaN
4 NaN
5 NaN
dtype: float64
rolling_cov:
0 NaN
1 NaN
2 NaN
3 NaN
4 NaN
5 NaN
dtype: float64
```
Meanwhile, in 0.14.1, other rolling functions continue to behave as before:
``` python
s1 = pd.Series(np.random.randn(4))
print '\rolling_std:'
print pd.rolling_std(s1, window=10, min_periods=5)
print '\nrolling_max:'
print pd.rolling_max(s1, window=10, min_periods=5)
```
Outputs:
```
rolling_std:
0 NaN
1 NaN
2 NaN
3 NaN
dtype: float64
rolling_max:
0 NaN
1 NaN
2 NaN
3 NaN
dtype: float64
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7764/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7764/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7765 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7765/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7765/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7765/events | https://github.com/pandas-dev/pandas/pull/7765 | 37,928,830 | MDExOlB1bGxSZXF1ZXN0MTg0MzY5Mzg= | 7,765 | Closes #7758 - astype(unicode) returning unicode. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1021506?v=4",
"events_url": "https://api.github.com/users/fulmicoton/events{/privacy}",
"followers_url": "https://api.github.com/users/fulmicoton/followers",
"following_url": "https://api.github.com/users/fulmicoton/following{/other_user}",
"gists_url": "https://api.github.com/users/fulmicoton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fulmicoton",
"id": 1021506,
"login": "fulmicoton",
"node_id": "MDQ6VXNlcjEwMjE1MDY=",
"organizations_url": "https://api.github.com/users/fulmicoton/orgs",
"received_events_url": "https://api.github.com/users/fulmicoton/received_events",
"repos_url": "https://api.github.com/users/fulmicoton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fulmicoton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fulmicoton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fulmicoton"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "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": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 4 | 2014-07-15T21:42:06Z | 2014-07-16T21:49:37Z | 2014-07-16T11:57:48Z | CONTRIBUTOR | null | I didn't have to rely on `infer_dtype` as suggested by @jreback in #7758
as I delegated to numpy to do all the dirty job :
Just calls numpy.unicode on all the values.
Please have a critical look at this pull request before merging :
as I am unfamiliar with both pandas and cython; and may have
misunderstood the way pandas is working.
Unit tests are attached and seem to work alright on `python 2.7.2` and `python 3.3.0`
closes #7758
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7765/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7765/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7765.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7765",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/7765.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7765"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7766 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7766/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7766/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7766/events | https://github.com/pandas-dev/pandas/pull/7766 | 37,941,967 | MDExOlB1bGxSZXF1ZXN0MTg0NDU0NjM= | 7,766 | BUG: rolling_* functions should not shrink window | {
"avatar_url": "https://avatars.githubusercontent.com/u/7441788?v=4",
"events_url": "https://api.github.com/users/seth-p/events{/privacy}",
"followers_url": "https://api.github.com/users/seth-p/followers",
"following_url": "https://api.github.com/users/seth-p/following{/other_user}",
"gists_url": "https://api.github.com/users/seth-p/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/seth-p",
"id": 7441788,
"login": "seth-p",
"node_id": "MDQ6VXNlcjc0NDE3ODg=",
"organizations_url": "https://api.github.com/users/seth-p/orgs",
"received_events_url": "https://api.github.com/users/seth-p/received_events",
"repos_url": "https://api.github.com/users/seth-p/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/seth-p/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/seth-p/subscriptions",
"type": "User",
"url": "https://api.github.com/users/seth-p"
} | [
{
"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": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 22 | 2014-07-16T01:29:45Z | 2014-09-10T00:12:30Z | 2014-07-23T12:17:01Z | CONTRIBUTOR | null | Closes https://github.com/pydata/pandas/issues/7764.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7766/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7766/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7766.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7766",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/7766.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7766"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7767 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7767/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7767/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7767/events | https://github.com/pandas-dev/pandas/pull/7767 | 37,955,834 | MDExOlB1bGxSZXF1ZXN0MTg0NTMwNTY= | 7,767 | Docs: MultiIndex support is hardly bleeding edge, remove docs warnings. | {
"avatar_url": "https://avatars.githubusercontent.com/u/410907?v=4",
"events_url": "https://api.github.com/users/lexual/events{/privacy}",
"followers_url": "https://api.github.com/users/lexual/followers",
"following_url": "https://api.github.com/users/lexual/following{/other_user}",
"gists_url": "https://api.github.com/users/lexual/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lexual",
"id": 410907,
"login": "lexual",
"node_id": "MDQ6VXNlcjQxMDkwNw==",
"organizations_url": "https://api.github.com/users/lexual/orgs",
"received_events_url": "https://api.github.com/users/lexual/received_events",
"repos_url": "https://api.github.com/users/lexual/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lexual/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lexual/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lexual"
} | []
| closed | false | null | []
| null | 1 | 2014-07-16T07:25:44Z | 2014-07-16T09:59:39Z | 2014-07-16T09:59:30Z | 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/7767/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7767/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7767.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7767",
"merged_at": "2014-07-16T09:59:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7767.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7767"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/7768 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7768/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7768/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7768/events | https://github.com/pandas-dev/pandas/pull/7768 | 38,011,871 | MDExOlB1bGxSZXF1ZXN0MTg0ODY2NzY= | 7,768 | Categorical fixups | {
"avatar_url": "https://avatars.githubusercontent.com/u/890156?v=4",
"events_url": "https://api.github.com/users/jankatins/events{/privacy}",
"followers_url": "https://api.github.com/users/jankatins/followers",
"following_url": "https://api.github.com/users/jankatins/following{/other_user}",
"gists_url": "https://api.github.com/users/jankatins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jankatins",
"id": 890156,
"login": "jankatins",
"node_id": "MDQ6VXNlcjg5MDE1Ng==",
"organizations_url": "https://api.github.com/users/jankatins/orgs",
"received_events_url": "https://api.github.com/users/jankatins/received_events",
"repos_url": "https://api.github.com/users/jankatins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jankatins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jankatins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jankatins"
} | [
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 49 | 2014-07-16T18:42:14Z | 2014-08-12T23:45:39Z | 2014-08-12T16:18:56Z | CONTRIBUTOR | null | Some fixups for Categoricals.
Fixes: #3678
- [x] Maybe change Series.cat after the discussion in https://github.com/pydata/pandas/issues/7207 ?
- [ ] remove Series.cat from tab completition if Series is not of dtype category
- [x] fix for the "FIXME" in unittests
- [x] Look at problems in docs (-> hdf support)
- [x] Fixup Comparison thingies...
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7768/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7768/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7768.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7768",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/7768.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7768"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7769 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7769/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7769/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7769/events | https://github.com/pandas-dev/pandas/pull/7769 | 38,013,856 | MDExOlB1bGxSZXF1ZXN0MTg0ODgwMDg= | 7,769 | FIX: Documentation for for 0.14.1 change log | {
"avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4",
"events_url": "https://api.github.com/users/bashtage/events{/privacy}",
"followers_url": "https://api.github.com/users/bashtage/followers",
"following_url": "https://api.github.com/users/bashtage/following{/other_user}",
"gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bashtage",
"id": 5585221,
"login": "bashtage",
"node_id": "MDQ6VXNlcjU1ODUyMjE=",
"organizations_url": "https://api.github.com/users/bashtage/orgs",
"received_events_url": "https://api.github.com/users/bashtage/received_events",
"repos_url": "https://api.github.com/users/bashtage/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bashtage/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bashtage"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 5 | 2014-07-16T19:03:36Z | 2014-08-20T15:32:51Z | 2014-07-28T20:41:48Z | CONTRIBUTOR | null | Change log is missing some key words on changes to StataReader and StataWriter.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7769/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7769/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7769.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7769",
"merged_at": "2014-07-28T20:41:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7769.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7769"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7770 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7770/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7770/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7770/events | https://github.com/pandas-dev/pandas/pull/7770 | 38,036,539 | MDExOlB1bGxSZXF1ZXN0MTg1MDI3MzQ= | 7,770 | BUG: Fix for passing multiple ints as levels in DataFrame.stack() (#7660) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1460294?v=4",
"events_url": "https://api.github.com/users/onesandzeroes/events{/privacy}",
"followers_url": "https://api.github.com/users/onesandzeroes/followers",
"following_url": "https://api.github.com/users/onesandzeroes/following{/other_user}",
"gists_url": "https://api.github.com/users/onesandzeroes/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/onesandzeroes",
"id": 1460294,
"login": "onesandzeroes",
"node_id": "MDQ6VXNlcjE0NjAyOTQ=",
"organizations_url": "https://api.github.com/users/onesandzeroes/orgs",
"received_events_url": "https://api.github.com/users/onesandzeroes/received_events",
"repos_url": "https://api.github.com/users/onesandzeroes/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/onesandzeroes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/onesandzeroes/subscriptions",
"type": "User",
"url": "https://api.github.com/users/onesandzeroes"
} | [
{
"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": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 11 | 2014-07-16T23:51:25Z | 2014-07-21T11:43:11Z | 2014-07-21T11:42:51Z | CONTRIBUTOR | null | closes #7660
The specific case that came up in #7660 (and originally in #7653) seems easy enough to fix, so I've covered that in the PR. I feel like this raises a few other potential problems though, e.g.:
- If the list of level numbers is not in order, is there any sensible way to deal with them? I've sorted the level list in my fix, as that seems like the most straightforward way of making sure that when you do each stack, it's only the level numbers higher than the current that are affected. This might produce undesired results though, so maybe we should just raise a `ValueError` if the level numbers aren't sorted?
- I'm not sure how to extend this to deal with negative level numbers.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7770/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7770/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7770.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7770",
"merged_at": "2014-07-21T11:42:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7770.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7770"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7771 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7771/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7771/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7771/events | https://github.com/pandas-dev/pandas/issues/7771 | 38,044,003 | MDU6SXNzdWUzODA0NDAwMw== | 7,771 | nunique is slower than len(set(x.dropna())) for smaller Series. | {
"avatar_url": "https://avatars.githubusercontent.com/u/410907?v=4",
"events_url": "https://api.github.com/users/lexual/events{/privacy}",
"followers_url": "https://api.github.com/users/lexual/followers",
"following_url": "https://api.github.com/users/lexual/following{/other_user}",
"gists_url": "https://api.github.com/users/lexual/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lexual",
"id": 410907,
"login": "lexual",
"node_id": "MDQ6VXNlcjQxMDkwNw==",
"organizations_url": "https://api.github.com/users/lexual/orgs",
"received_events_url": "https://api.github.com/users/lexual/received_events",
"repos_url": "https://api.github.com/users/lexual/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lexual/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lexual/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lexual"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
]
| closed | false | null | []
| {
"closed_at": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 17 | 2014-07-17T02:52:42Z | 2014-12-23T03:25:29Z | 2014-12-23T03:25:29Z | CONTRIBUTOR | null | This is biting me when applying nunique on some groupby operations.
In one benchmark, which I'll shortly share, nunique() is slower until we get to a length of 3000.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7771/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7771/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7772 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7772/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7772/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7772/events | https://github.com/pandas-dev/pandas/issues/7772 | 38,057,574 | MDU6SXNzdWUzODA1NzU3NA== | 7,772 | Problem with plotting frequencies "L" and "S" | {
"avatar_url": "https://avatars.githubusercontent.com/u/5279578?v=4",
"events_url": "https://api.github.com/users/mmajewsk/events{/privacy}",
"followers_url": "https://api.github.com/users/mmajewsk/followers",
"following_url": "https://api.github.com/users/mmajewsk/following{/other_user}",
"gists_url": "https://api.github.com/users/mmajewsk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mmajewsk",
"id": 5279578,
"login": "mmajewsk",
"node_id": "MDQ6VXNlcjUyNzk1Nzg=",
"organizations_url": "https://api.github.com/users/mmajewsk/orgs",
"received_events_url": "https://api.github.com/users/mmajewsk/received_events",
"repos_url": "https://api.github.com/users/mmajewsk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mmajewsk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mmajewsk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mmajewsk"
} | [
{
"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": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 2 | 2014-07-17T08:23:20Z | 2014-07-19T17:27:14Z | 2014-07-19T14:11:35Z | NONE | null | IO am opening new issue as i solved what is wrong with https://github.com/pydata/pandas/issues/7760 .
So, i have two sets of data one with frequency 1 second:
http://pastebin.com/HenYJxdV
And other with frequency 0.1 second (100 miliseconds):
http://pastebin.com/HenYJxdV
I wanted to plot them on same axe so i did:
```
seriesA=dfA["more"]
seriesB=dfB["less"]
plt.figure()
seriesA.plot()
seriesB.plot()
```
which yielded error seen in linked issue.
But having simmilar data, from the same source, of the same type it often was plotted corectly.
What caused this, and what was the difference since data was from the same source ?
Two things:
1.First:
line 1515 in tools\plotting.py
```
return Period(x[0], freq).to_timestamp(tz=x.tz) == x[0]
```
This line caused different behaviour of plotting function for different set of data, but only for datas with milisecond frequency (seriesB.plot())
How different ?
When the x[0] is
```
Timestamp: 2001-01-01 09:12:13.200000
```
then Period(x[0], freq).to_timestamp(tz=x.tz) is:
```
Timestamp: 2001-01-01 09:12:13.200000002
```
which causes the comparison to return False value, but having x[0]:
```
Timestamp: 2001-01-01 09:03:11.500000
```
we have expression Period(x[0], freq).to_timestamp(tz=x.tz) being set to:
```
Timestamp: 2001-01-01 09:03:11.500000
```
Which returns True.
Suprisingly it plotted correctly in the first case, when that line returns false (ex. Timestamp: 2001-01-01 09:12:13.200000002)
Because call stack goes way back to line 1539 same file:
```
if self._is_ts_plot():
```
and caused self._is_ts_plot() to be False, which cause pandas not to try detect frequency and try to convert it but simply plot it.
2.Second:
line 92 of tseries\plotting.py
```
def _maybe_resample(series, ax, freq, plotf, kwargs):
ax_freq = _get_ax_freq(ax)
if ax_freq is not None and freq != ax_freq:
if frequencies.is_superperiod(freq, ax_freq): # upsample input
series = series.copy()
series.index = series.index.asfreq(ax_freq, how='s')
freq = ax_freq
elif _is_sup(freq, ax_freq): # one is weekly
how = kwargs.pop('how', 'last')
series = series.resample('D', how=how).dropna()
series = series.resample(ax_freq, how=how).dropna()
freq = ax_freq
elif frequencies.is_subperiod(freq, ax_freq) or _is_sub(freq, ax_freq):
_upsample_others(ax, freq, plotf, kwargs)
ax_freq = freq
else: # pragma: no cover
raise ValueError('Incompatible frequency conversion')
return freq, ax_freq, series
```
this function for the set of data which does not plot (the one with Timestamp: 2001-01-01 09:03:11.500000) goes through all the conditions and goes to the last "else"
with
```
ax_freq = "S"
freq = "L"
```
None of the functions handles the frequency "L".
I presume that it should be handled in
```
frequencies.is_subperiod(freq, ax_freq)
```
but as you can see here https://github.com/pydata/pandas/blob/790d6464130fe9448739e48678f466d5452992ca/pandas/tseries/frequencies.py#L904
it is not done.
Anyway, as i presume fixing problem with sampling may be tricky, i'd like to suggest an option (if it does not exist) which could allow pandas not to look for periods, or treat it as timeseries, but simply plot it.
Something like
```
seriesB.plot(please_oh_please_make_this_thing_plot=True)
```
which would cause to not treat it as timeseries and forced
`self._is_ts_plot():` to be false.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7772/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7772/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7773 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7773/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7773/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7773/events | https://github.com/pandas-dev/pandas/issues/7773 | 38,064,459 | MDU6SXNzdWUzODA2NDQ1OQ== | 7,773 | BUG: sniffing a csv raises with only a header | {
"avatar_url": "https://avatars.githubusercontent.com/u/506348?v=4",
"events_url": "https://api.github.com/users/Nodd/events{/privacy}",
"followers_url": "https://api.github.com/users/Nodd/followers",
"following_url": "https://api.github.com/users/Nodd/following{/other_user}",
"gists_url": "https://api.github.com/users/Nodd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Nodd",
"id": 506348,
"login": "Nodd",
"node_id": "MDQ6VXNlcjUwNjM0OA==",
"organizations_url": "https://api.github.com/users/Nodd/orgs",
"received_events_url": "https://api.github.com/users/Nodd/received_events",
"repos_url": "https://api.github.com/users/Nodd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Nodd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Nodd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Nodd"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| closed | false | null | []
| {
"closed_at": "2016-05-05T00:34:40Z",
"closed_issues": 306,
"created_at": "2016-02-08T15:29:59Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.18.0 of course!",
"due_on": "2016-05-04T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/38",
"id": 1570594,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/38/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NA==",
"number": 38,
"open_issues": 0,
"state": "closed",
"title": "0.18.1",
"updated_at": "2017-08-10T09:01:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/38"
} | 7 | 2014-07-17T09:34:07Z | 2016-04-18T15:51:26Z | 2016-04-18T15:51:26Z | NONE | null | I'm trying to read a bunch of csv files, but some of them have a header line without any data. I expect to get empty data but Pandas raises an exception on these files:
```
Traceback (most recent call last):
File "/usr/bin/positionneur_rng", line 9, in <module>
load_entry_point('pymela==0.1.0', 'console_scripts', 'positionneur_rng')()
File "/data/libs/python/pymela_scripts/positionneur_rng.py", line 203, in main
= importer_csv_pandas(fichier)
File "/data/libs/python/pymela_scripts/positionneur_rng.py", line 179, in importer_csv_pandas
engine='python')
File "/usr/lib/python3.4/site-packages/pandas/io/parsers.py", line 443, in parser_f
return _read(filepath_or_buffer, kwds)
File "/usr/lib/python3.4/site-packages/pandas/io/parsers.py", line 235, in _read
return parser.read()
File "/usr/lib/python3.4/site-packages/pandas/io/parsers.py", line 686, in read
ret = self._engine.read(nrows)
File "/usr/lib/python3.4/site-packages/pandas/io/parsers.py", line 1506, in read
self.index_names)
File "/usr/lib/python3.4/site-packages/pandas/io/parsers.py", line 2129, in _get_empty_meta
index = MultiIndex.from_arrays([[]] * len(index_col),
TypeError: object of type 'bool' has no len()
```
I used this command: `pd.read_csv(fichier_data, sep=None, index_col=False, engine='python')`
The file content is a single line:
```
TEMPS;MODE;STATUS;LATITUDE;LONGITUDE;ALTITUDE;VNORD;VEST;VHAUT;ROLL;PITCH;YAW;DELTA YAW;RATEX;RATEY;RATEZ;ACCX;ACCY;ACCZ;GISEMENT;SITE;CONAZ;CONEL;POSAZ;POSEL;LATCIBLE;LONGICIBLE;ALTICIBLE;DISTANCE;
```
```
>>> pandas.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 3.4.1.final.0
python-bits: 64
OS: Linux
OS-release: 3.10.43-1-MANJARO
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: fr_FR.UTF-8
pandas: 0.14.0
nose: 1.3.3
Cython: 0.20.2
numpy: 1.8.1
scipy: 0.14.0
statsmodels: None
IPython: 2.1.0
sphinx: 1.2.2
patsy: None
scikits.timeseries: None
dateutil: 2.2
pytz: 2014.4
bottleneck: 0.8.0
tables: 3.1.1
numexpr: 2.4
matplotlib: 1.3.1
openpyxl: None
xlrd: 0.9.3
xlwt: None
xlsxwriter: 0.5.5
lxml: 3.3.5
bs4: 4.3.2
html5lib: 0.999
bq: None
apiclient: None
rpy2: None
sqlalchemy: 0.9.6
pymysql: None
psycopg2: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7773/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7773/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7774 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7774/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7774/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7774/events | https://github.com/pandas-dev/pandas/issues/7774 | 38,076,076 | MDU6SXNzdWUzODA3NjA3Ng== | 7,774 | REGR: empty list selection resets index types | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 14 | 2014-07-17T12:28:40Z | 2014-10-05T14:05:18Z | 2014-10-05T14:05:18Z | CONTRIBUTOR | null | regression from 0.14.0 (which return `Index`, which is also not correct).
`iloc` DOES work correctly though
```
In [9]: df = tm.makeTimeDataFrame()
In [10]: df.index
Out[10]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2000-01-03, ..., 2000-02-11]
Length: 30, Freq: B, Timezone: None
In [11]: df.loc[[]].index
Out[11]: Float64Index([], dtype='float64')
# this is the correct result
In [4]: df.iloc[[]].index
Out[4]:
<class 'pandas.tseries.index.DatetimeIndex'>
Length: 0, Freq: None, Timezone: None
```
```
In [7]: p = tm.makePanel()
In [8]: p.major_axis
Out[8]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2000-01-03, ..., 2000-02-11]
Length: 30, Freq: B, Timezone: None
In [9]: p.loc[:,[],:].major_axis
Out[9]: Float64Index([], dtype='float64')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7774/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7774/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7775 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7775/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7775/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7775/events | https://github.com/pandas-dev/pandas/issues/7775 | 38,082,814 | MDU6SXNzdWUzODA4MjgxNA== | 7,775 | BUG/ERR: raise on saving a multi-index with tz-info in fixed format for HDF5 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
]
| closed | false | null | []
| {
"closed_at": "2019-07-19T00:34:29Z",
"closed_issues": 1289,
"created_at": "2018-10-23T02:34:15Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2019-07-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/61",
"id": 3759483,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels",
"node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==",
"number": 61,
"open_issues": 0,
"state": "closed",
"title": "0.25.0",
"updated_at": "2020-01-02T15:10:40Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61"
} | 1 | 2014-07-17T13:54:41Z | 2019-07-01T11:41:24Z | 2019-07-01T11:41:24Z | CONTRIBUTOR | null | xref: #8165
http://stackoverflow.com/questions/24805307/losing-timezone-awareness-when-saving-hyerarchical-pandas-datetimeindex-to-hdf5/24805506#2480550
should raise NotImplementedError for now, or actually implement
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7775/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7775/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7776 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7776/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7776/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7776/events | https://github.com/pandas-dev/pandas/issues/7776 | 38,127,533 | MDU6SXNzdWUzODEyNzUzMw== | 7,776 | BUG: sum(level=0) not returning decimal columns when dataframe contains columns with NumPy and decimal datatypes | {
"avatar_url": "https://avatars.githubusercontent.com/u/8195141?v=4",
"events_url": "https://api.github.com/users/m4nn/events{/privacy}",
"followers_url": "https://api.github.com/users/m4nn/followers",
"following_url": "https://api.github.com/users/m4nn/following{/other_user}",
"gists_url": "https://api.github.com/users/m4nn/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/m4nn",
"id": 8195141,
"login": "m4nn",
"node_id": "MDQ6VXNlcjgxOTUxNDE=",
"organizations_url": "https://api.github.com/users/m4nn/orgs",
"received_events_url": "https://api.github.com/users/m4nn/received_events",
"repos_url": "https://api.github.com/users/m4nn/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/m4nn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/m4nn/subscriptions",
"type": "User",
"url": "https://api.github.com/users/m4nn"
} | [
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
]
| closed | false | null | []
| null | 1 | 2014-07-17T21:24:01Z | 2014-07-17T22:36:56Z | 2014-07-17T22:36:48Z | NONE | null | ``` python
import pandas as pd
import numpy as np
from decimal import *
def make_currency(x):
try:
return Decimal(x).quantize(Decimal('.01'))
except (InvalidOperation, TypeError) as e:
return Decimal(0).quantize(Decimal('.01'))
cols = {"c1": [1.23,2.34,3.45], "c2": [4,5,6], "c3": [1,2,3]}
index = [1, 1, 1]
df = pd.DataFrame(cols, index)
df['c1'] = df['c1'].apply(make_currency)
```
**Test Case 1**
Expected - _Return all 3 columns with sum aggregation applied_
Observations - _Passed_
```
In [2]: df.sum()
Out[2]:
c1 7.02
c2 15.00
c3 6.00
dtype: float64
```
**Test Case 2**
Expected - _Return all 3 columns with sum aggregation applied_
Observations - _Column 'c1' has not been returned by the sum function, which in this case is of Decimal datatype_
```
In [8]: df.sum(level=0)
Out[8]:
c2 c3
1 15 6
In [10]: df.groupby(level=0).sum()
Out[10]:
c2 c3
1 15 6
```
**Workaround**
Using numpy.sum in-conjunction with pandas.DataFrame.apply function appears to give the expected result one would expect from Test Case 2:
```
In [9]: df.groupby(level=0).apply(lambda x: np.sum(x))
Out[9]:
c1 c2 c3
1 7.02 15 6
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7776/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7776/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7777 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7777/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7777/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7777/events | https://github.com/pandas-dev/pandas/issues/7777 | 38,131,341 | MDU6SXNzdWUzODEzMTM0MQ== | 7,777 | BUG: select_column not preserving a UTC timezone | {
"avatar_url": "https://avatars.githubusercontent.com/u/4625457?v=4",
"events_url": "https://api.github.com/users/alorenzo175/events{/privacy}",
"followers_url": "https://api.github.com/users/alorenzo175/followers",
"following_url": "https://api.github.com/users/alorenzo175/following{/other_user}",
"gists_url": "https://api.github.com/users/alorenzo175/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alorenzo175",
"id": 4625457,
"login": "alorenzo175",
"node_id": "MDQ6VXNlcjQ2MjU0NTc=",
"organizations_url": "https://api.github.com/users/alorenzo175/orgs",
"received_events_url": "https://api.github.com/users/alorenzo175/received_events",
"repos_url": "https://api.github.com/users/alorenzo175/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alorenzo175/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alorenzo175/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alorenzo175"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 7 | 2014-07-17T22:05:17Z | 2014-09-03T13:57:26Z | 2014-07-22T15:24:22Z | CONTRIBUTOR | null | I was having issues with lost tz-info when retrieving a DatetimeIndex from an HDF store using `store.select_column('data', 'index')`. I was able to track down the issue to `tseries/index.py` in the `Index._to_embed` method. The issue is
``` python
def _to_embed(self, keep_tz=False):
""" return an array repr of this object, potentially casting to object """
if keep_tz and self.tz is not None and str(self.tz) != 'UTC':
return self.asobject.values
return self.values
```
It looks like it explicitly rejects UTC timezones. Is there a good reason for this?
The below code reproduces the problem for me.
``` python
import pandas as pd
drange = pd.date_range('2014-07-07 00:00:00', '2014-07-07 03:00:00', freq='1h')
drange_utc = drange.tz_localize('UTC')
drange_mst = drange.tz_localize('MST')
print drange._to_embed(keep_tz=True)
print drange_utc._to_embed(keep_tz=True)
print drange_mst._to_embed(keep_tz=True)
```
I'm using python 2.7.6 with the following packages:
```
commit: None
python: 2.7.6.final.0
python-bits: 64
OS: Linux
OS-release: 2.6.32-431.17.1.el6.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.utf8
pandas: 0.14.1
nose: 1.3.3
Cython: 0.20.1
numpy: 1.8.1
scipy: 0.14.0
statsmodels: 0.5.0
IPython: 2.0.0
sphinx: 1.2.2
patsy: 0.2.1
scikits.timeseries: None
dateutil: 2.2
pytz: 2014.2
bottleneck: None
tables: 3.1.1
numexpr: 2.4
matplotlib: 1.3.1
openpyxl: 1.8.6
xlrd: None
xlwt: None
xlsxwriter: None
lxml: 3.3.5
bs4: 4.3.2
html5lib: None
httplib2: None
apiclient: None
rpy2: None
sqlalchemy: 0.9.4
pymysql: None
psycopg2: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7777/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7777/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7778 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7778/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7778/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7778/events | https://github.com/pandas-dev/pandas/issues/7778 | 38,131,343 | MDU6SXNzdWUzODEzMTM0Mw== | 7,778 | BUG: df.apply handles np.timedelta64 as timestamp, should be timedelta | {
"avatar_url": "https://avatars.githubusercontent.com/u/4134823?v=4",
"events_url": "https://api.github.com/users/stharrold/events{/privacy}",
"followers_url": "https://api.github.com/users/stharrold/followers",
"following_url": "https://api.github.com/users/stharrold/following{/other_user}",
"gists_url": "https://api.github.com/users/stharrold/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/stharrold",
"id": 4134823,
"login": "stharrold",
"node_id": "MDQ6VXNlcjQxMzQ4MjM=",
"organizations_url": "https://api.github.com/users/stharrold/orgs",
"received_events_url": "https://api.github.com/users/stharrold/received_events",
"repos_url": "https://api.github.com/users/stharrold/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/stharrold/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stharrold/subscriptions",
"type": "User",
"url": "https://api.github.com/users/stharrold"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 7 | 2014-07-17T22:05:20Z | 2014-07-18T01:00:41Z | 2014-07-18T01:00:30Z | NONE | null | I think there may be a bug with the row-wise handling of `numpy.timedelta64` data types when using `DataFrame.apply`. As a check, the problem does not appear when using `DataFrame.applymap`. The problem may be related to #4532, but I'm unsure. I've included an example below.
This is only a minor problem for my use-case, which is cross-checking timestamps from a counter/timer card. I can easily work around the issue with `DataFrame.itertuples` etc.
Thank you for your time and for making such a useful package!
#### Example
##### Version
Import and check versions.
```
$ date
Thu Jul 17 16:28:38 CDT 2014
$ conda update pandas
Fetching package metadata: ..
# All requested packages already installed.
# packages in environment at /Users/harrold/anaconda:
#
pandas 0.14.1 np18py27_0
$ ipython
Python 2.7.8 |Anaconda 2.0.1 (x86_64)| (default, Jul 2 2014, 15:36:00)
Type "copyright", "credits" or "license" for more information.
IPython 2.1.0 -- An enhanced Interactive Python.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://binstar.org
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: from __future__ import print_function
In [2]: import numpy as np
In [3]: import pandas as pd
In [4]: pd.util.print_versions.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.8.final.0
python-bits: 64
OS: Darwin
OS-release: 11.4.2
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.14.1
nose: 1.3.3
Cython: 0.20.1
numpy: 1.8.1
scipy: 0.14.0
statsmodels: 0.5.0
IPython: 2.1.0
sphinx: 1.2.2
patsy: 0.2.1
scikits.timeseries: None
dateutil: 1.5
pytz: 2014.4
bottleneck: None
tables: 3.1.1
numexpr: 2.3.1
matplotlib: 1.3.1
openpyxl: 1.8.5
xlrd: 0.9.3
xlwt: 0.7.5
xlsxwriter: 0.5.5
lxml: 3.3.5
bs4: 4.3.1
html5lib: 0.999
httplib2: 0.8
apiclient: 1.2
rpy2: None
sqlalchemy: 0.9.4
pymysql: None
psycopg2: None
```
##### Create test data
Using subset of original raw data as example.
```
In [5]: datetime_start = np.datetime64(u'2014-05-31T01:23:19.9600345Z')
In [6]: timedeltas_elapsed = [30053400, 40053249, 50053098]
```
Compute datetimes from elapsed timedeltas, then create differential timedeltas from datetimes. All elements are either type `numpy.datetime64` or `numpy.timedelta64`.
```
In [7]: df = pd.DataFrame(dict(datetimes = timedeltas_elapsed))
In [8]: df = df.applymap(lambda elt: np.timedelta64(elt, 'us'))
In [9]: df = df.applymap(lambda elt: np.datetime64(datetime_start + elt))
In [10]: df['differential_timedeltas'] = df['datetimes'] - df['datetimes'].shift()
In [11]: print(df)
datetimes differential_timedeltas
0 2014-05-31 01:23:50.013434500 NaT
1 2014-05-31 01:24:00.013283500 00:00:09.999849
2 2014-05-31 01:24:10.013132500 00:00:09.999849
```
##### Expected behavior
With element-wise handling using `DataFrame.applymap`, all elements are correctly identified as datetimes (timestamps) or timedeltas.
```
In [12]: print(df.applymap(lambda elt: type(elt)))
datetimes differential_timedeltas
0 <class 'pandas.tslib.Timestamp'> <type 'numpy.timedelta64'>
1 <class 'pandas.tslib.Timestamp'> <type 'numpy.timedelta64'>
2 <class 'pandas.tslib.Timestamp'> <type 'numpy.timedelta64'>
```
##### Bug
With row-wise handling using `DataFrame.apply`, all elements are type `pandas.tslib.Timestamp`. I expected 'differential_timedeltas' to be type `numpy.timedelta64` or another type of timedelta, not a type of datetime (timestamp).
```
In [13]: # For 'datetimes':
In [14]: print(df.apply(lambda row: type(row['datetimes']), axis=1))
0 <class 'pandas.tslib.Timestamp'>
1 <class 'pandas.tslib.Timestamp'>
2 <class 'pandas.tslib.Timestamp'>
dtype: object
In [15]: # For 'differential_timedeltas':
In [16]: print(df.apply(lambda row: type(row['differential_timedeltas']), axis=1))
0 <class 'pandas.tslib.NaTType'>
1 <class 'pandas.tslib.Timestamp'>
2 <class 'pandas.tslib.Timestamp'>
dtype: object
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7778/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7778/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7779 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7779/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7779/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7779/events | https://github.com/pandas-dev/pandas/pull/7779 | 38,136,597 | MDExOlB1bGxSZXF1ZXN0MTg1NjEwNjk= | 7,779 | BUG: unwanted conversions of timedelta dtypes when in a mixed datetimelike frame (GH7778) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 6 | 2014-07-17T23:34:17Z | 2014-07-18T01:00:30Z | 2014-07-18T01:00:30Z | CONTRIBUTOR | null | closes #7778
TST: tests for internals/as_matrix() for all dtypes (including categoricals)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7779/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7779/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7779.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7779",
"merged_at": "2014-07-18T01:00:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7779.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7779"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7780 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7780/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7780/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7780/events | https://github.com/pandas-dev/pandas/pull/7780 | 38,149,983 | MDExOlB1bGxSZXF1ZXN0MTg1NjkxNTY= | 7,780 | API: support `c` and `colormap` args for DataFrame.plot with kind='scatter' | {
"avatar_url": "https://avatars.githubusercontent.com/u/1217238?v=4",
"events_url": "https://api.github.com/users/shoyer/events{/privacy}",
"followers_url": "https://api.github.com/users/shoyer/followers",
"following_url": "https://api.github.com/users/shoyer/following{/other_user}",
"gists_url": "https://api.github.com/users/shoyer/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/shoyer",
"id": 1217238,
"login": "shoyer",
"node_id": "MDQ6VXNlcjEyMTcyMzg=",
"organizations_url": "https://api.github.com/users/shoyer/orgs",
"received_events_url": "https://api.github.com/users/shoyer/received_events",
"repos_url": "https://api.github.com/users/shoyer/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/shoyer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shoyer/subscriptions",
"type": "User",
"url": "https://api.github.com/users/shoyer"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 38 | 2014-07-18T05:52:42Z | 2014-09-17T22:27:52Z | 2014-09-11T19:48:42Z | MEMBER | null | `matplotlib.pyplot.scatter` supports the argument `c` for setting the color of
each point. This patch lets you easily set it by giving a column name (currently
you need to supply an ndarray to make it work, since pandas isn't aware of it):
```
df.plot('x', 'y', c='z', kind='scatter')
```
vs
```
df.plot('x', 'y', c=df['z'].values, kind='scatter')
```
While I was at it, I noticed that `kind='scatter'` did not support the `colormap`
argument that some of the other methods support (notably `kind='hexbin'`). So
I added it, too.
This change should be almost entirely backwards compatible, unless folks are naming
columns in their data frame valid matplotlib colors and using the same color name
for the `c` argument.
A colorbar will also be added automatically if relevant.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7780/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7780/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7780.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7780",
"merged_at": "2014-09-11T19:48:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7780.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7780"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7781 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7781/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7781/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7781/events | https://github.com/pandas-dev/pandas/pull/7781 | 38,161,771 | MDExOlB1bGxSZXF1ZXN0MTg1NzYzMjI= | 7,781 | BUG: Prevent config paths to contain python keywords | {
"avatar_url": "https://avatars.githubusercontent.com/u/2070892?v=4",
"events_url": "https://api.github.com/users/germangh/events{/privacy}",
"followers_url": "https://api.github.com/users/germangh/followers",
"following_url": "https://api.github.com/users/germangh/following{/other_user}",
"gists_url": "https://api.github.com/users/germangh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/germangh",
"id": 2070892,
"login": "germangh",
"node_id": "MDQ6VXNlcjIwNzA4OTI=",
"organizations_url": "https://api.github.com/users/germangh/orgs",
"received_events_url": "https://api.github.com/users/germangh/received_events",
"repos_url": "https://api.github.com/users/germangh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/germangh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/germangh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/germangh"
} | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 11 | 2014-07-18T09:42:40Z | 2014-09-19T16:11:44Z | 2014-09-19T12:22:30Z | NONE | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7781/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7781/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7781.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7781",
"merged_at": "2014-09-19T12:22:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7781.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7781"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/7782 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7782/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7782/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7782/events | https://github.com/pandas-dev/pandas/issues/7782 | 38,167,340 | MDU6SXNzdWUzODE2NzM0MA== | 7,782 | BUG: tslib.tz_convert_single converts DST incorrectly | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 8 | 2014-07-18T11:11:57Z | 2014-08-03T21:26:08Z | 2014-08-03T21:26:08Z | MEMBER | null | Apply `tz_convert_single` to the same time representation with different tz should be all `True`?
```
import pandas as pd
import numpy as np
import datetime
import pytz
for i in range(9):
utc_dt = datetime.datetime(2014, 3, 9, i, 0, tzinfo=pytz.timezone('UTC'))
tz_dt = datetime.datetime(2014, 3, 9, i, 0, tzinfo=pytz.timezone('US/Eastern'))
utc_ts = pd.Timestamp(utc_dt)
tz_ts = pd.Timestamp(tz_dt)
print(utc_ts, tz_ts)
print(utc_ts.value == pd.tslib.tz_convert_single(tz_ts.value, pytz.timezone('UTC'),
pytz.timezone('US/Eastern')))
print(tz_ts.value == pd.tslib.tz_convert_single(utc_ts.value, pytz.timezone('US/Eastern'),
pytz.timezone('UTC')))
```
## Current Result
```
(Timestamp('2014-03-09 00:00:00+0000', tz='UTC'), Timestamp('2014-03-09 00:00:00-0500', tz='US/Eastern'))
True
True
(Timestamp('2014-03-09 01:00:00+0000', tz='UTC'), Timestamp('2014-03-09 01:00:00-0500', tz='US/Eastern'))
True
True
(Timestamp('2014-03-09 02:00:00+0000', tz='UTC'), Timestamp('2014-03-09 02:00:00-0500', tz='US/Eastern'))
True
True
(Timestamp('2014-03-09 03:00:00+0000', tz='UTC'), Timestamp('2014-03-09 03:00:00-0500', tz='US/Eastern'))
False
True
(Timestamp('2014-03-09 04:00:00+0000', tz='UTC'), Timestamp('2014-03-09 04:00:00-0500', tz='US/Eastern'))
False
True
(Timestamp('2014-03-09 05:00:00+0000', tz='UTC'), Timestamp('2014-03-09 05:00:00-0500', tz='US/Eastern'))
False
True
(Timestamp('2014-03-09 06:00:00+0000', tz='UTC'), Timestamp('2014-03-09 06:00:00-0500', tz='US/Eastern'))
False
True
(Timestamp('2014-03-09 07:00:00+0000', tz='UTC'), Timestamp('2014-03-09 07:00:00-0500', tz='US/Eastern'))
False
True
(Timestamp('2014-03-09 08:00:00+0000', tz='UTC'), Timestamp('2014-03-09 08:00:00-0500', tz='US/Eastern'))
False
False
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7782/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7782/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7783 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7783/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7783/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7783/events | https://github.com/pandas-dev/pandas/pull/7783 | 38,169,603 | MDExOlB1bGxSZXF1ZXN0MTg1ODEzNzk= | 7,783 | Docs: Categorical docs fixups. | {
"avatar_url": "https://avatars.githubusercontent.com/u/410907?v=4",
"events_url": "https://api.github.com/users/lexual/events{/privacy}",
"followers_url": "https://api.github.com/users/lexual/followers",
"following_url": "https://api.github.com/users/lexual/following{/other_user}",
"gists_url": "https://api.github.com/users/lexual/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lexual",
"id": 410907,
"login": "lexual",
"node_id": "MDQ6VXNlcjQxMDkwNw==",
"organizations_url": "https://api.github.com/users/lexual/orgs",
"received_events_url": "https://api.github.com/users/lexual/received_events",
"repos_url": "https://api.github.com/users/lexual/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lexual/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lexual/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lexual"
} | []
| closed | false | null | []
| null | 1 | 2014-07-18T11:51:53Z | 2014-07-18T12:02:33Z | 2014-07-18T12:02:30Z | 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/7783/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7783/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7783.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7783",
"merged_at": "2014-07-18T12:02:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7783.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7783"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/7784 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7784/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7784/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7784/events | https://github.com/pandas-dev/pandas/pull/7784 | 38,174,493 | MDExOlB1bGxSZXF1ZXN0MTg1ODQ0NTc= | 7,784 | Performance improvements for nunique method. | {
"avatar_url": "https://avatars.githubusercontent.com/u/410907?v=4",
"events_url": "https://api.github.com/users/lexual/events{/privacy}",
"followers_url": "https://api.github.com/users/lexual/followers",
"following_url": "https://api.github.com/users/lexual/following{/other_user}",
"gists_url": "https://api.github.com/users/lexual/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lexual",
"id": 410907,
"login": "lexual",
"node_id": "MDQ6VXNlcjQxMDkwNw==",
"organizations_url": "https://api.github.com/users/lexual/orgs",
"received_events_url": "https://api.github.com/users/lexual/received_events",
"repos_url": "https://api.github.com/users/lexual/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lexual/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lexual/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lexual"
} | [
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "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": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
]
| closed | false | null | []
| {
"closed_at": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 29 | 2014-07-18T13:09:30Z | 2015-01-25T23:34:09Z | 2015-01-25T23:34:09Z | 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/7784/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7784/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7784.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7784",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/7784.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7784"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/7785 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7785/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7785/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7785/events | https://github.com/pandas-dev/pandas/issues/7785 | 38,175,874 | MDU6SXNzdWUzODE3NTg3NA== | 7,785 | BUG: Series.float divided by Series.interger (with 0's) | {
"avatar_url": "https://avatars.githubusercontent.com/u/5827110?v=4",
"events_url": "https://api.github.com/users/xdliao/events{/privacy}",
"followers_url": "https://api.github.com/users/xdliao/followers",
"following_url": "https://api.github.com/users/xdliao/following{/other_user}",
"gists_url": "https://api.github.com/users/xdliao/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/xdliao",
"id": 5827110,
"login": "xdliao",
"node_id": "MDQ6VXNlcjU4MjcxMTA=",
"organizations_url": "https://api.github.com/users/xdliao/orgs",
"received_events_url": "https://api.github.com/users/xdliao/received_events",
"repos_url": "https://api.github.com/users/xdliao/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/xdliao/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xdliao/subscriptions",
"type": "User",
"url": "https://api.github.com/users/xdliao"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 3 | 2014-07-18T13:28:24Z | 2014-07-18T14:32:38Z | 2014-07-18T14:32:28Z | NONE | null | # problem when denominator is interger type and has 0 element
# no such problem with pandas <= 0.13.1
print pd.**version**
print np.**version**
testdata=pd.DataFrame({'TL': (1,0), 'PI': (-0.01,-0.02)})
print "--- direct pd.Series division (wrong) : \n", (testdata.PI)/testdata.TL
print "--- np.where filtered (still wrong!!): ",np.where(testdata.TL>0.001,testdata.PI/testdata.TL,0 )
print "--- direct pd.Series division (OK for float type) : \n", testdata.PI/(testdata.TL.astype(float))
print "--- values division (correct)", testdata.PI.values/testdata.TL.values
-------------- Output ---------
0.14.0
1.7.1
--- direct pd.Series division (wrong) :
0 -inf
1 -inf
dtype: float64
--- np.where filtered (still wrong!!): [-inf 0.]
--- direct pd.Series division (OK for float type) :
0 -0.010000
1 -inf
dtype: float64
--- values division (correct) [-0.01 -inf]
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7785/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7785/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7786 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7786/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7786/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7786/events | https://github.com/pandas-dev/pandas/pull/7786 | 38,178,631 | MDExOlB1bGxSZXF1ZXN0MTg1ODcwOTI= | 7,786 | BUG: Bug in Series 0-division with a float and integer operand dtypes (GH7785) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 0 | 2014-07-18T14:01:14Z | 2014-07-18T14:32:29Z | 2014-07-18T14:32:28Z | CONTRIBUTOR | null | closes #7785
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7786/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7786/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7786.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7786",
"merged_at": "2014-07-18T14:32:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7786.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7786"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7787 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7787/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7787/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7787/events | https://github.com/pandas-dev/pandas/issues/7787 | 38,180,448 | MDU6SXNzdWUzODE4MDQ0OA== | 7,787 | BUG: setting new items with .loc doesn't work for constant sequences | {
"avatar_url": "https://avatars.githubusercontent.com/u/314085?v=4",
"events_url": "https://api.github.com/users/podshumok/events{/privacy}",
"followers_url": "https://api.github.com/users/podshumok/followers",
"following_url": "https://api.github.com/users/podshumok/following{/other_user}",
"gists_url": "https://api.github.com/users/podshumok/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/podshumok",
"id": 314085,
"login": "podshumok",
"node_id": "MDQ6VXNlcjMxNDA4NQ==",
"organizations_url": "https://api.github.com/users/podshumok/orgs",
"received_events_url": "https://api.github.com/users/podshumok/received_events",
"repos_url": "https://api.github.com/users/podshumok/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/podshumok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/podshumok/subscriptions",
"type": "User",
"url": "https://api.github.com/users/podshumok"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 11 | 2014-07-18T14:23:04Z | 2021-04-11T04:55:05Z | 2021-04-11T04:55:05Z | NONE | null | One can construct DataFrame with frozensets in the index:
```
>>> import pandas
>>> a = frozenset([1])
>>> b = frozenset([1, 2])
>>> c = frozenset([1, 2, 3])
>>>
>>> frame = pandas.DataFrame(index=[a, b], columns=[c])
>>> frame
(1, 2, 3)
(1) NaN
(1, 2) NaN
```
Setting new values for existing items works:
```
>>> frame.loc[a] = 0
>>> frame
(1, 2, 3)
(1) 0
(1, 2) NaN
>>> frame[c] = 1
>>> frame
(1, 2, 3)
(1) 1
(1, 2) 1
>>> frame[frozenset([4])] = 1
>>> frame
(1, 2, 3) (4)
(1) 1 1
(1, 2) 1 1
```
But new items cannot be created:
```
>>> frame.loc[frozenset([3])] = 1
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "venv/lib/python2.7/site-packages/pandas/core/indexing.py", line 118, in __setitem__
indexer = self._convert_to_indexer(key, is_setter=True)
File "venv/lib/python2.7/site-packages/pandas/core/indexing.py", line 1085, in _convert_to_indexer
raise KeyError('%s not in index' % objarr[mask])
KeyError: '[3] not in index'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7787/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7787/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7788 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7788/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7788/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7788/events | https://github.com/pandas-dev/pandas/pull/7788 | 38,184,738 | MDExOlB1bGxSZXF1ZXN0MTg1OTEwOTA= | 7,788 | Raise exception on non-unique column index in to_hdf for fixed format. | {
"avatar_url": "https://avatars.githubusercontent.com/u/30848?v=4",
"events_url": "https://api.github.com/users/filmor/events{/privacy}",
"followers_url": "https://api.github.com/users/filmor/followers",
"following_url": "https://api.github.com/users/filmor/following{/other_user}",
"gists_url": "https://api.github.com/users/filmor/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/filmor",
"id": 30848,
"login": "filmor",
"node_id": "MDQ6VXNlcjMwODQ4",
"organizations_url": "https://api.github.com/users/filmor/orgs",
"received_events_url": "https://api.github.com/users/filmor/received_events",
"repos_url": "https://api.github.com/users/filmor/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/filmor/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/filmor/subscriptions",
"type": "User",
"url": "https://api.github.com/users/filmor"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 6 | 2014-07-18T15:11:18Z | 2014-08-18T18:40:23Z | 2014-07-21T11:39:29Z | CONTRIBUTOR | null | Fixes #7761.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7788/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7788/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7788.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7788",
"merged_at": "2014-07-21T11:39:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7788.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7788"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7789 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7789/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7789/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7789/events | https://github.com/pandas-dev/pandas/pull/7789 | 38,188,884 | MDExOlB1bGxSZXF1ZXN0MTg1OTM3NTM= | 7,789 | BUG/COMPAT: pickled dtindex with freq raises AttributeError in normalize... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 3 | 2014-07-18T15:58:00Z | 2014-07-19T13:13:34Z | 2014-07-19T12:10:05Z | MEMBER | null | Closes #7748.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7789/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7789/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7789.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7789",
"merged_at": "2014-07-19T12:10:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7789.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7789"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7790 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7790/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7790/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7790/events | https://github.com/pandas-dev/pandas/pull/7790 | 38,189,120 | MDExOlB1bGxSZXF1ZXN0MTg1OTM4ODk= | 7,790 | BUG: read_column did not preserve UTC tzinfo | {
"avatar_url": "https://avatars.githubusercontent.com/u/4625457?v=4",
"events_url": "https://api.github.com/users/alorenzo175/events{/privacy}",
"followers_url": "https://api.github.com/users/alorenzo175/followers",
"following_url": "https://api.github.com/users/alorenzo175/following{/other_user}",
"gists_url": "https://api.github.com/users/alorenzo175/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alorenzo175",
"id": 4625457,
"login": "alorenzo175",
"node_id": "MDQ6VXNlcjQ2MjU0NTc=",
"organizations_url": "https://api.github.com/users/alorenzo175/orgs",
"received_events_url": "https://api.github.com/users/alorenzo175/received_events",
"repos_url": "https://api.github.com/users/alorenzo175/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alorenzo175/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alorenzo175/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alorenzo175"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 13 | 2014-07-18T16:00:34Z | 2014-07-22T15:26:00Z | 2014-07-22T15:24:22Z | CONTRIBUTOR | null | BUG: Fixes #7777, HDFStore.read_column did not preserve timezone information
when fetching a DatetimeIndex column with tz=UTC
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7790/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7790/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7790.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7790",
"merged_at": "2014-07-22T15:24:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7790.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7790"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7791 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7791/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7791/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7791/events | https://github.com/pandas-dev/pandas/issues/7791 | 38,192,414 | MDU6SXNzdWUzODE5MjQxNA== | 7,791 | MultiIndex DataFrame to_csv() ignores date_format | {
"avatar_url": "https://avatars.githubusercontent.com/u/7874108?v=4",
"events_url": "https://api.github.com/users/Poquaruse/events{/privacy}",
"followers_url": "https://api.github.com/users/Poquaruse/followers",
"following_url": "https://api.github.com/users/Poquaruse/following{/other_user}",
"gists_url": "https://api.github.com/users/Poquaruse/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Poquaruse",
"id": 7874108,
"login": "Poquaruse",
"node_id": "MDQ6VXNlcjc4NzQxMDg=",
"organizations_url": "https://api.github.com/users/Poquaruse/orgs",
"received_events_url": "https://api.github.com/users/Poquaruse/received_events",
"repos_url": "https://api.github.com/users/Poquaruse/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Poquaruse/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Poquaruse/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Poquaruse"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
]
| closed | false | null | []
| {
"closed_at": "2015-11-21T13:47:07Z",
"closed_issues": 216,
"created_at": "2015-09-10T14:30:44Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.17.0 of course!",
"due_on": "2015-11-21T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/37",
"id": 1299459,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37/labels",
"node_id": "MDk6TWlsZXN0b25lMTI5OTQ1OQ==",
"number": 37,
"open_issues": 0,
"state": "closed",
"title": "0.17.1",
"updated_at": "2016-07-21T16:02:53Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37"
} | 7 | 2014-07-18T16:42:38Z | 2015-11-11T03:20:28Z | 2015-11-11T03:20:28Z | NONE | null | Hi all,
I'm running pandas 0.14.1:
## INSTALLED VERSIONS
commit: None
python: 3.4.1.final.0
python-bits: 64
OS: Windows
OS-release: 8
machine: AMD64
processor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
byteorder: little
LC_ALL: None
LANG: DE
pandas: 0.14.1
nose: 1.3.3
Cython: 0.20.1
numpy: 1.8.1
scipy: 0.14.0
statsmodels: None
IPython: 2.1.0
sphinx: 1.2.2
patsy: 0.2.1
scikits.timeseries: None
dateutil: 2.1
pytz: 2014.4
bottleneck: None
tables: 3.1.1
numexpr: 2.3.1
matplotlib: 1.3.1
openpyxl: 1.8.5
xlrd: 0.9.3
xlwt: None
xlsxwriter: 0.5.5
lxml: 3.3.5
bs4: 4.3.1
html5lib: None
httplib2: None
apiclient: None
rpy2: None
sqlalchemy: 0.9.4
pymysql: None
psycopg2: None
I'm experiencing a bug which might be related to https://github.com/pydata/pandas/issues/7622
How to reproduce the bug:
At first, a new DataFrame is created
```
dt_rng = pd.date_range(start='2014-01-01 00:00', periods = 1000, freq='1s')
df = pd.DataFrame({'a':np.random.randn(1000), 'b': np.random.randn(1000)},index = dt_rng)
df['b'] = df['b'].round()
```
Then, this DataFrame is exported as csv with a custom date_format:
```
df.to_csv(date_format='%Y demo')
```
This does work: ',a,b\n2014 demo,-0.5582228932333034,1.0\n2014 demo,[...]'
Now, the other scenario. Same DataFrame but a groupby('b') and a resample:
```
df.groupby(df['b']).resample('1min').to_csv(date_format='%y demo')
```
Here, the custom date_format is not used:
'b,,a\n-4.0,2014-01-01 00:12:00,1.571130069273494[...]'
Thanks and best 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/7791/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7791/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7792 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7792/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7792/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7792/events | https://github.com/pandas-dev/pandas/issues/7792 | 38,193,054 | MDU6SXNzdWUzODE5MzA1NA== | 7,792 | API: enable set_levels/set_names/set_labels to accept a list and a level argument to change a single level/value | {
"avatar_url": "https://avatars.githubusercontent.com/u/7874108?v=4",
"events_url": "https://api.github.com/users/Poquaruse/events{/privacy}",
"followers_url": "https://api.github.com/users/Poquaruse/followers",
"following_url": "https://api.github.com/users/Poquaruse/following{/other_user}",
"gists_url": "https://api.github.com/users/Poquaruse/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Poquaruse",
"id": 7874108,
"login": "Poquaruse",
"node_id": "MDQ6VXNlcjc4NzQxMDg=",
"organizations_url": "https://api.github.com/users/Poquaruse/orgs",
"received_events_url": "https://api.github.com/users/Poquaruse/received_events",
"repos_url": "https://api.github.com/users/Poquaruse/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Poquaruse/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Poquaruse/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Poquaruse"
} | [
{
"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": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 3 | 2014-07-18T16:51:14Z | 2014-07-30T22:13:57Z | 2014-07-30T22:13:57Z | NONE | null | e.g.
```
set_names(self, names, inplace=False, level=None)
set_levels(self, levels, level=None, copy=False, validate=True, verify_integrity=False
```
if `level` is not None then treat `levels/names` as a list (or list-of-lists if level is a list) and just set those levels.
e.g.
```
set_names('foo',level=1)
set_names(['foo','bar'],level=[1,2])
set_levels(['a','b','c'],level=1)
set_levels([['a','b','c'],[1,2,3]],level=[1,2])
```
Hi all,
first of all: I'm not sure whether this is a bug or if there is just no nice way to do this. I'd like to use tz_convert in a MultiIndex DataFrame in pandas 0.14.1.
```
dt_rng = pd.date_range(start='2014-01-01 00:00', periods = 1000, freq='1s', tz='Europe/Berlin')
df = pd.DataFrame({'a':np.random.randn(1000), 'b': np.random.randn(1000)},index = dt_rng)
df['b'] = df['b'].round()
df = df.groupby('b').resample('1h')
df.index.levels[1] = df.index.levels[1].tz_convert('UTC')
```
This does not work: 'FrozenList' does not support mutable operations.
What I currently do:
```
dt_rng = pd.date_range(start='2014-01-01 00:00', periods = 1000, freq='1s', tz='Europe/Berlin')
df = pd.DataFrame({'a':np.random.randn(1000), 'b': np.random.randn(1000)},index = dt_rng)
df['b'] = df['b'].round()
df = df.groupby('b').resample('1h')
df.index.set_levels([
df.index.levels[0],
df.index.levels[1].tz_convert('UTC')
],inplace=True)
```
This does work as expected, but is it really the way to do it?!
Thanks and best regards!
## PS: INSTALLED VERSIONS
commit: None
python: 3.4.1.final.0
python-bits: 64
OS: Windows
OS-release: 8
machine: AMD64
processor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
byteorder: little
LC_ALL: None
LANG: DE
pandas: 0.14.1
nose: 1.3.3
Cython: 0.20.1
numpy: 1.8.1
scipy: 0.14.0
statsmodels: None
IPython: 2.1.0
sphinx: 1.2.2
patsy: 0.2.1
scikits.timeseries: None
dateutil: 2.1
pytz: 2014.4
bottleneck: None
tables: 3.1.1
numexpr: 2.3.1
matplotlib: 1.3.1
openpyxl: 1.8.5
xlrd: 0.9.3
xlwt: None
xlsxwriter: 0.5.5
lxml: 3.3.5
bs4: 4.3.1
html5lib: None
httplib2: None
apiclient: None
rpy2: None
sqlalchemy: 0.9.4
pymysql: None
psycopg2: None
| {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7792/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7792/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7793 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7793/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7793/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7793/events | https://github.com/pandas-dev/pandas/issues/7793 | 38,195,001 | MDU6SXNzdWUzODE5NTAwMQ== | 7,793 | BUG: multi-index with one level with a tz buggy | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 1 | 2014-07-18T17:16:05Z | 2014-07-19T09:10:42Z | 2014-07-18T19:06:27Z | CONTRIBUTOR | null | related: #7791, #7792 (and I think this causes both)
this is a dupe of #7746
```
In [8]: df = DataFrame(np.arange(6).reshape(6,1),index=MultiIndex.from_product([['a','b'],date_range('20130101',periods=3,tz='Europe/Berlin')]))
In [9]: df
Out[9]:
0
a 2013-01-01 00:00:00+01:00 0
2013-01-02 00:00:00+01:00 1
2013-01-03 00:00:00+01:00 2
b 2013-01-01 00:00:00+01:00 3
2013-01-02 00:00:00+01:00 4
2013-01-03 00:00:00+01:00 5
In [10]: df.reset_index()
ValueError: Length of values does not match length of index
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7793/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7793/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7794 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7794/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7794/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7794/events | https://github.com/pandas-dev/pandas/pull/7794 | 38,197,090 | MDExOlB1bGxSZXF1ZXN0MTg1OTg5MzM= | 7,794 | BUG: fix reading pre-0.14.1 pickles of containers with one block and dup items | {
"avatar_url": "https://avatars.githubusercontent.com/u/579798?v=4",
"events_url": "https://api.github.com/users/immerrr/events{/privacy}",
"followers_url": "https://api.github.com/users/immerrr/followers",
"following_url": "https://api.github.com/users/immerrr/following{/other_user}",
"gists_url": "https://api.github.com/users/immerrr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/immerrr",
"id": 579798,
"login": "immerrr",
"node_id": "MDQ6VXNlcjU3OTc5OA==",
"organizations_url": "https://api.github.com/users/immerrr/orgs",
"received_events_url": "https://api.github.com/users/immerrr/received_events",
"repos_url": "https://api.github.com/users/immerrr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/immerrr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/immerrr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/immerrr"
} | [
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 7 | 2014-07-18T17:45:02Z | 2014-07-29T10:04:36Z | 2014-07-21T11:42:08Z | CONTRIBUTOR | null | Series, frames and panels that contain only one block can be unpickled
under the assumption that block items correspond to manager items 1-to-1
(as pointed out in #7329).
I still don't have any of darwin/win/32bit platforms at hand, so I
cannot post those pickles. Also, my linux has a fresher python than
indicated by filenames of existing pickle test data. I did generate
some data to test the fix, the question is do you want me to upload it?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7794/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7794/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7794.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7794",
"merged_at": "2014-07-21T11:42:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7794.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7794"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7795 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7795/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7795/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7795/events | https://github.com/pandas-dev/pandas/issues/7795 | 38,198,419 | MDU6SXNzdWUzODE5ODQxOQ== | 7,795 | BUG: concat of objects with the same timezone get reset to UTC | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
]
| closed | false | null | []
| {
"closed_at": "2016-10-03T08:52:13Z",
"closed_issues": 733,
"created_at": "2016-03-11T21:24:45Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2016-09-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/40",
"id": 1639795,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels",
"node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==",
"number": 40,
"open_issues": 0,
"state": "closed",
"title": "0.19.0",
"updated_at": "2017-11-06T02:01:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40"
} | 6 | 2014-07-18T18:02:58Z | 2016-11-11T18:31:21Z | 2016-09-03T09:20:29Z | CONTRIBUTOR | null | http://stackoverflow.com/questions/24830952/changing-timezone-on-pandas-datetimeindex-when-concatenating-dataframes-in-pytho
```
ix1 = pd.DatetimeIndex(start=pd.Timestamp('20140715', tz='EST5EDT'), end=pd.Timestamp('20140717', tz='EST5EDT'), freq='D', tz='EST5EDT')
ix2 = pd.DatetimeIndex([pd.Timestamp('2014-07-11 00:00:00', tz='EST5EDT'), pd.Timestamp('2014-07-21 00:00:00', tz='EST5EDT')])
df1 = pd.DataFrame(0, index=ix1, columns=['A', 'B'])
df2 = pd.DataFrame(0, index=ix2, columns=['A', 'B'])
```
I think the because the 2nd index is only length 2 its freq is not inferred causing a reset to UTC.
```
In [46]: concat([df1,df2])
Out[46]:
A B
2014-07-15 04:00:00+00:00 0 0
2014-07-16 04:00:00+00:00 0 0
2014-07-17 04:00:00+00:00 0 0
2014-07-11 04:00:00+00:00 0 0
2014-07-21 04:00:00+00:00 0 0
In [47]: concat([df1,df2]).index
Out[47]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2014-07-15 04:00:00+00:00, ..., 2014-07-21 04:00:00+00:00]
Length: 5, Freq: None, Timezone: UTC
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7795/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7795/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7796 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7796/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7796/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7796/events | https://github.com/pandas-dev/pandas/issues/7796 | 38,201,636 | MDU6SXNzdWUzODIwMTYzNg== | 7,796 | BUG: support/test of PeriodIndex in HDFStore | {
"avatar_url": "https://avatars.githubusercontent.com/u/1737483?v=4",
"events_url": "https://api.github.com/users/zoof/events{/privacy}",
"followers_url": "https://api.github.com/users/zoof/followers",
"following_url": "https://api.github.com/users/zoof/following{/other_user}",
"gists_url": "https://api.github.com/users/zoof/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zoof",
"id": 1737483,
"login": "zoof",
"node_id": "MDQ6VXNlcjE3Mzc0ODM=",
"organizations_url": "https://api.github.com/users/zoof/orgs",
"received_events_url": "https://api.github.com/users/zoof/received_events",
"repos_url": "https://api.github.com/users/zoof/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zoof/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zoof/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zoof"
} | [
{
"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": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "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"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 13 | 2014-07-18T18:42:18Z | 2021-11-06T19:44:16Z | null | NONE | null | Works for 'fixed'
buggy for 'table'
need explicit test for both
This may be a MultiIndex issue.
```
In [7]: weeklyPrices.head()
Out[7]:
price
week id
2013-07-28/2013-08-03 0002189585 15.26
2013-08-04/2013-08-10 0002189585 15.25
2013-08-11/2013-08-17 0002189585 15.25
2013-08-18/2013-08-24 0002189585 14.83
2013-09-01/2013-09-07 0002189585 14.83
In [8]: pd.read_hdf('weeklyPrices.h5','weeklyPrices').head()
Out[8]:
price
week id
2274 0002189585 15.26
2275 0002189585 15.25
2276 0002189585 15.25
2277 0002189585 14.83
2279 0002189585 14.83
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7796/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7796/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7797 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7797/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7797/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7797/events | https://github.com/pandas-dev/pandas/issues/7797 | 38,209,034 | MDU6SXNzdWUzODIwOTAzNA== | 7,797 | matching a downsampled index | {
"avatar_url": "https://avatars.githubusercontent.com/u/1874691?v=4",
"events_url": "https://api.github.com/users/MichaelWS/events{/privacy}",
"followers_url": "https://api.github.com/users/MichaelWS/followers",
"following_url": "https://api.github.com/users/MichaelWS/following{/other_user}",
"gists_url": "https://api.github.com/users/MichaelWS/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MichaelWS",
"id": 1874691,
"login": "MichaelWS",
"node_id": "MDQ6VXNlcjE4NzQ2OTE=",
"organizations_url": "https://api.github.com/users/MichaelWS/orgs",
"received_events_url": "https://api.github.com/users/MichaelWS/received_events",
"repos_url": "https://api.github.com/users/MichaelWS/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MichaelWS/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MichaelWS/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MichaelWS"
} | []
| closed | false | null | []
| null | 8 | 2014-07-18T20:23:07Z | 2014-07-19T12:10:11Z | 2014-07-19T12:10:11Z | CONTRIBUTOR | null | Is there any way to downsample(i.e.) go from minutes to hours, hours to minute when performing an operation between to dataframes?
In finance, there are questions like what is my overnight return right now so you may want to compute all returns at a time period using the reference point yesterday's price at 16:00
My solution has always looked liked this:
df_daily = df[df["dt"].hour == 16].copy().shift(1)
df = df.join(df_daily, rsuffix="closing_").fillna(method="ffill")
Is there any approach that I am missing or that I can contribute to cython that would solve this?
Also, here is an example question from stack overflow where it came up today
http://stackoverflow.com/q/24826483/1064197
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7797/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7797/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7798 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7798/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7798/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7798/events | https://github.com/pandas-dev/pandas/pull/7798 | 38,217,655 | MDExOlB1bGxSZXF1ZXN0MTg2MTI1MjE= | 7,798 | BUG: tslib.tz_convert and tslib.tz_convert_single may output different result in DST | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "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": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 13 | 2014-07-18T22:36:18Z | 2014-08-04T13:18:25Z | 2014-08-03T01:41:58Z | MEMBER | null | These functions may return different result in case of DST. There seems to be 2 problems:
- `tslib.tz_convert` checks DST and change `deltas` by adjusting `pos` by 1. If input has time-gaps more than 2 DST spans, result will be incorrect.
- `tslib.tz_convert_single` results incorrect if input is just on DST edge.
```
import pandas as pd
import numpy as np
import datetime
import pytz
idx = pd.date_range('2014-03-01', '2015-01-10', freq='H')
f = lambda x: pd.tslib.tz_convert_single(x, pd.tslib.maybe_get_tz('US/Eastern'), 'UTC')
result = pd.tslib.tz_convert(idx.asi8, pd.tslib.maybe_get_tz('US/Eastern'), 'UTC')
result_single = np.vectorize(f)(idx.asi8)
result[result != result_single]
# [1394370000000000000 1394373600000000000 1394377200000000000 ...,
# 1414918800000000000 1414922400000000000 1414926000000000000]
```
#### Note
Additionally, it was modifed to close #7880 also.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7798/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7798/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7798.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7798",
"merged_at": "2014-08-03T01:41:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7798.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7798"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7799 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7799/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7799/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7799/events | https://github.com/pandas-dev/pandas/pull/7799 | 38,221,227 | MDExOlB1bGxSZXF1ZXN0MTg2MTQ4NTM= | 7,799 | dropna method added to Index. | {
"avatar_url": "https://avatars.githubusercontent.com/u/410907?v=4",
"events_url": "https://api.github.com/users/lexual/events{/privacy}",
"followers_url": "https://api.github.com/users/lexual/followers",
"following_url": "https://api.github.com/users/lexual/following{/other_user}",
"gists_url": "https://api.github.com/users/lexual/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lexual",
"id": 410907,
"login": "lexual",
"node_id": "MDQ6VXNlcjQxMDkwNw==",
"organizations_url": "https://api.github.com/users/lexual/orgs",
"received_events_url": "https://api.github.com/users/lexual/received_events",
"repos_url": "https://api.github.com/users/lexual/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lexual/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lexual/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lexual"
} | []
| closed | false | null | []
| null | 0 | 2014-07-19T00:03:14Z | 2014-07-19T00:04:05Z | 2014-07-19T00:04:05Z | CONTRIBUTOR | null | ref pydata/pandas#6194
ref pydata/pandas#7784
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7799/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7799/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7799.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7799",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/7799.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7799"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7800 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7800/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7800/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7800/events | https://github.com/pandas-dev/pandas/pull/7800 | 38,228,770 | MDExOlB1bGxSZXF1ZXN0MTg2MTg3MzY= | 7,800 | Correct docs structure in indexing docs. | {
"avatar_url": "https://avatars.githubusercontent.com/u/410907?v=4",
"events_url": "https://api.github.com/users/lexual/events{/privacy}",
"followers_url": "https://api.github.com/users/lexual/followers",
"following_url": "https://api.github.com/users/lexual/following{/other_user}",
"gists_url": "https://api.github.com/users/lexual/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lexual",
"id": 410907,
"login": "lexual",
"node_id": "MDQ6VXNlcjQxMDkwNw==",
"organizations_url": "https://api.github.com/users/lexual/orgs",
"received_events_url": "https://api.github.com/users/lexual/received_events",
"repos_url": "https://api.github.com/users/lexual/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lexual/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lexual/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lexual"
} | []
| closed | false | null | []
| null | 1 | 2014-07-19T07:55:11Z | 2014-07-19T12:07:41Z | 2014-07-19T12:07:37Z | 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/7800/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7800/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7800.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7800",
"merged_at": "2014-07-19T12:07:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7800.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7800"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.