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/5501
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5501/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5501/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5501/events
https://github.com/pandas-dev/pandas/issues/5501
22,549,297
MDU6SXNzdWUyMjU0OTI5Nw==
5,501
API/ENH: enable boolean indexing conditions to reference its input frame via eval
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "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" }
10
2013-11-12T20:51:13Z
2016-05-24T20:04:37Z
2016-05-24T20:04:37Z
CONTRIBUTOR
null
http://stackoverflow.com/questions/19938734/is-there-a-simple-way-to-reference-the-current-object-after-applying-a-chain-of ``` df.where("A>0",1) df.loc["A>0"] ``` so could process the condition via an 'eval' type of operation
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5501/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5501/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5502
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5502/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5502/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5502/events
https://github.com/pandas-dev/pandas/issues/5502
22,567,385
MDU6SXNzdWUyMjU2NzM4NQ==
5,502
ENH: Add Index.normalize as a Series or DataFrame method
{ "avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4", "events_url": "https://api.github.com/users/cancan101/events{/privacy}", "followers_url": "https://api.github.com/users/cancan101/followers", "following_url": "https://api.github.com/users/cancan101/following{/other_user}", "gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cancan101", "id": 51059, "login": "cancan101", "node_id": "MDQ6VXNlcjUxMDU5", "organizations_url": "https://api.github.com/users/cancan101/orgs", "received_events_url": "https://api.github.com/users/cancan101/received_events", "repos_url": "https://api.github.com/users/cancan101/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cancan101/subscriptions", "type": "User", "url": "https://api.github.com/users/cancan101" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "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" }
7
2013-11-13T02:28:06Z
2020-09-20T23:00:52Z
2020-09-20T23:00:51Z
CONTRIBUTOR
null
Currently `normalize` does not work on a `Series` or a `DataFrame`: ``` pd.Series(range(5), index=pd.date_range('2013-1-1', periods=5,freq='D')).normalize() AttributeError: 'Series' object has no attribute 'normalize' ``` However, changing the timezone, which I consider to be a similar type of operation, does work: ``` In [50]: pd.Series(range(5), index=pd.date_range('2013-1-1', periods=5,freq='D')).tz_localize('America/New_York') Out[50]: 2013-01-01 00:00:00-05:00 0 2013-01-02 00:00:00-05:00 1 2013-01-03 00:00:00-05:00 2 2013-01-04 00:00:00-05:00 3 2013-01-05 00:00:00-05:00 4 Freq: D, dtype: int64 ``` My current workaround: ``` s = pd.Series(range(5), index=pd.date_range('2013-1-1', periods=5,freq='D')) s.index = s.index.normalize() ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5502/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5502/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5503
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5503/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5503/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5503/events
https://github.com/pandas-dev/pandas/issues/5503
22,567,538
MDU6SXNzdWUyMjU2NzUzOA==
5,503
Add argmax to GroupBy object
{ "avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4", "events_url": "https://api.github.com/users/cancan101/events{/privacy}", "followers_url": "https://api.github.com/users/cancan101/followers", "following_url": "https://api.github.com/users/cancan101/following{/other_user}", "gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cancan101", "id": 51059, "login": "cancan101", "node_id": "MDQ6VXNlcjUxMDU5", "organizations_url": "https://api.github.com/users/cancan101/orgs", "received_events_url": "https://api.github.com/users/cancan101/received_events", "repos_url": "https://api.github.com/users/cancan101/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cancan101/subscriptions", "type": "User", "url": "https://api.github.com/users/cancan101" }
[]
closed
false
null
[]
null
1
2013-11-13T02:32:59Z
2014-01-25T00:14:46Z
2014-01-25T00:14:46Z
CONTRIBUTOR
null
See SO question: http://stackoverflow.com/questions/19879790/indexing-dataframe-by-argmax-of-column-over-another-column I was thinking something along the lines of: ``` interesting_rows = raw_data.groupby(["city"]).argmax(over='obt_dt') ``` which would pull out the row in each group that has the max value in the column referred to by the `over` keyword,
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5503/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5503/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5504
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5504/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5504/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5504/events
https://github.com/pandas-dev/pandas/issues/5504
22,604,238
MDU6SXNzdWUyMjYwNDIzOA==
5,504
DOC: rolling_* functions: unclear docstrings
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" }, { "color": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
closed
false
null
[]
{ "closed_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
0
2013-11-13T16:42:26Z
2014-02-20T08:34:34Z
2014-02-20T08:34:34Z
MEMBER
null
E.g. for `rolling_sum`: http://pandas.pydata.org/pandas-docs/dev/generated/pandas.stats.moments.rolling_sum.html#pandas.stats.moments.rolling_sum Some issues I encountered: - it is not mentioned the result is set to the right edge of the window. - the `center` keyword is not documented. - the explanation for `freq` (_Frequency to conform to before computing statistic_) is totally unclear to me. Conform how? It seems from the code it is doing a default resample, so this calculates a mean first? - How are NaN's handled? And something else, an interesting feature (and what I first thought `freq` would do) would be that you can specify the window size as a frequency (if dealing with a datetimeindexed series/frame) instead of a number (eg a frequency of '15min' instead of n=15 if your data are every minute).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5504/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5504/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5505
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5505/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5505/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5505/events
https://github.com/pandas-dev/pandas/pull/5505
22,610,983
MDExOlB1bGxSZXF1ZXN0OTk4MjkwNA==
5,505
ENH: Have pivot and pivot_table take similar arguments
{ "avatar_url": "https://avatars.githubusercontent.com/u/1630128?v=4", "events_url": "https://api.github.com/users/jsexauer/events{/privacy}", "followers_url": "https://api.github.com/users/jsexauer/followers", "following_url": "https://api.github.com/users/jsexauer/following{/other_user}", "gists_url": "https://api.github.com/users/jsexauer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jsexauer", "id": 1630128, "login": "jsexauer", "node_id": "MDQ6VXNlcjE2MzAxMjg=", "organizations_url": "https://api.github.com/users/jsexauer/orgs", "received_events_url": "https://api.github.com/users/jsexauer/received_events", "repos_url": "https://api.github.com/users/jsexauer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jsexauer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jsexauer/subscriptions", "type": "User", "url": "https://api.github.com/users/jsexauer" }
[ { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
closed
false
null
[]
{ "closed_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
38
2013-11-13T18:24:13Z
2014-06-12T15:38:56Z
2014-03-14T22:41:31Z
CONTRIBUTOR
null
Right now, there is ``` df.pivot(index=foo, columns=bar, values=baz) ``` and ``` df.pivot_table(rows=foo, cols=bar, values=baz) ``` Because of dirtyness in my data I occasionally have to go back and forth between the two forms (and use `df.pivot_table(..., aggfunc='count')` to see who had the bad data). It would be nice if I didn't have to change the keyword arguments each time and one had an alias of the other. It would also be easier to remember, especially in the trivial case of `cols` vs `columns`. Finally, the two are related operations and having an option for consistent keyword parameters makes sense. I could make a PR to solve this easy enough, if this is an enhancement you are interested in. I'm not really sure what your stance is on redundant keyword arguments.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5505/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5505/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5505.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5505", "merged_at": "2014-03-14T22:41:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5505.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5505" }
https://api.github.com/repos/pandas-dev/pandas/issues/5506
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5506/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5506/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5506/events
https://github.com/pandas-dev/pandas/issues/5506
22,611,023
MDU6SXNzdWUyMjYxMTAyMw==
5,506
to_msgpack() with DateTimeIndex: AttributeError: 'NoneType' object has no attribute 'freqstr'
{ "avatar_url": "https://avatars.githubusercontent.com/u/3529638?v=4", "events_url": "https://api.github.com/users/acowlikeobject/events{/privacy}", "followers_url": "https://api.github.com/users/acowlikeobject/followers", "following_url": "https://api.github.com/users/acowlikeobject/following{/other_user}", "gists_url": "https://api.github.com/users/acowlikeobject/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/acowlikeobject", "id": 3529638, "login": "acowlikeobject", "node_id": "MDQ6VXNlcjM1Mjk2Mzg=", "organizations_url": "https://api.github.com/users/acowlikeobject/orgs", "received_events_url": "https://api.github.com/users/acowlikeobject/received_events", "repos_url": "https://api.github.com/users/acowlikeobject/repos", "site_admin": false, "starred_url": "https://api.github.com/users/acowlikeobject/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/acowlikeobject/subscriptions", "type": "User", "url": "https://api.github.com/users/acowlikeobject" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
3
2013-11-13T18:24:58Z
2013-11-13T19:54:35Z
2013-11-13T19:53:52Z
NONE
null
Trying df.to_msgpack() on a DataFrame with a DateTimeIndex produces an AttributeError. Setting the index to an Int64Index fixes the issue, so it seems like it has to do with DateTimeIndex. pd.**version** = '0.12.0-1095-g3239b29' In [130]: from pandas.io.data import DataReader In [131]: from pandas.io.packers import pack, unpack In [132]: goog = DataReader('goog', 'yahoo') In [133]: buf = pack(goog) AttributeError Traceback (most recent call last) <ipython-input-133-361b2be95a50> in <module>() ----> 1 buf = pack(goog) /home/user/environments/python3/lib/python3.3/site-packages/pandas/io/packers.py in pack(o, default, encoding, unicode_errors, use_single_float) 507 return Packer(default=default, encoding=encoding, 508 unicode_errors=unicode_errors, --> 509 use_single_float=use_single_float).pack(o) 510 511 /home/user/environments/python3/lib/python3.3/site-packages/pandas/msgpack.cpython-33m.so in pandas.msgpack.Packer.pack (pandas/msgpack.cpp:3509)() /home/user/environments/python3/lib/python3.3/site-packages/pandas/msgpack.cpython-33m.so in pandas.msgpack.Packer.pack (pandas/msgpack.cpp:3372)() /home/user/environments/python3/lib/python3.3/site-packages/pandas/msgpack.cpython-33m.so in pandas.msgpack.Packer._pack (pandas/msgpack.cpp:3251)() /home/user/environments/python3/lib/python3.3/site-packages/pandas/msgpack.cpython-33m.so in pandas.msgpack.Packer._pack (pandas/msgpack.cpp:2882)() /home/user/environments/python3/lib/python3.3/site-packages/pandas/msgpack.cpython-33m.so in pandas.msgpack.Packer._pack (pandas/msgpack.cpp:3189)() /home/user/environments/python3/lib/python3.3/site-packages/pandas/msgpack.cpython-33m.so in pandas.msgpack.Packer._pack (pandas/msgpack.cpp:3236)() /home/user/environments/python3/lib/python3.3/site-packages/pandas/io/packers.py in encode(obj) 273 'dtype': obj.dtype.num, 274 'data': convert(obj.asi8), --> 275 'freq': obj.freqstr, 276 'tz': obj.tz} 277 elif isinstance(obj, MultiIndex): /home/user/environments/python3/lib/python3.3/site-packages/pandas/tseries/index.py in freqstr(self) 1394 @property 1395 def freqstr(self): -> 1396 return self.offset.freqstr 1397 1398 year = _field_accessor('year', 'Y') AttributeError: 'NoneType' object has no attribute 'freqstr' In [134]: goog Out[134]: <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 973 entries, 2010-01-04 00:00:00 to 2013-11-12 00:00:00 Data columns (total 6 columns): Open 973 non-null values High 973 non-null values Low 973 non-null values Close 973 non-null values Volume 973 non-null values Adj Close 973 non-null values dtypes: float64(5), int64(1) In [135]: goog.index = np.arange(973) In [136]: buf = pack(goog) In [137]: len(buf) Out[137]: 54908
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5506/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5506/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5507
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5507/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5507/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5507/events
https://github.com/pandas-dev/pandas/pull/5507
22,612,892
MDExOlB1bGxSZXF1ZXN0OTkzMjk3NQ==
5,507
BUG: bug in to_msgpack for timezone aware datetime index
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
2
2013-11-13T18:48:54Z
2014-07-16T08:40:20Z
2013-11-13T19:53:52Z
CONTRIBUTOR
null
BUG: bug in to_msgpack for no freqstr datetime index (GH5506) closes #5506
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5507/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5507/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5507.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5507", "merged_at": "2013-11-13T19:53:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5507.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5507" }
https://api.github.com/repos/pandas-dev/pandas/issues/5508
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5508/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5508/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5508/events
https://github.com/pandas-dev/pandas/issues/5508
22,622,596
MDU6SXNzdWUyMjYyMjU5Ng==
5,508
unexpected behavior when assigning data to a multicolumn dataframe
{ "avatar_url": "https://avatars.githubusercontent.com/u/206581?v=4", "events_url": "https://api.github.com/users/thisch/events{/privacy}", "followers_url": "https://api.github.com/users/thisch/followers", "following_url": "https://api.github.com/users/thisch/following{/other_user}", "gists_url": "https://api.github.com/users/thisch/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/thisch", "id": 206581, "login": "thisch", "node_id": "MDQ6VXNlcjIwNjU4MQ==", "organizations_url": "https://api.github.com/users/thisch/orgs", "received_events_url": "https://api.github.com/users/thisch/received_events", "repos_url": "https://api.github.com/users/thisch/repos", "site_admin": false, "starred_url": "https://api.github.com/users/thisch/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/thisch/subscriptions", "type": "User", "url": "https://api.github.com/users/thisch" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
4
2013-11-13T21:10:28Z
2017-12-21T05:59:38Z
2013-11-14T01:06:30Z
NONE
null
Using the latest git version of pandas (705b677) I have exerienced the following problems: ``` python In [1]: a = pd.DataFrame(index=pd.Index(xrange(1,11))) In [2]: a['foo'] = np.zeros(10, dtype=np.float) In [3]: a['bar'] = np.zeros(10, dtype=np.complex) In [4]: a.ix[2:5, 'bar'] Out[4]: 2 0j 3 0j 4 0j 5 0j Name: bar, dtype: complex128 In [5]: a.ix[2:5, 'bar'] = np.array([2.33j, 1.23+0.1j, 2.2]) # invalid input (RHS has wrong size) -> does not throw an exception! # (The reason why no exception is thrown is because of the different # dtype of a['foo'] - see ``In[9]-In[10]`` In [6]: a Out[6]: foo bar 1 0 0j 2 0 2.33j 3 0 2.33j 4 0 2.33j 5 0 2.33j 6 0 0j 7 0 0j 8 0 0j 9 0 0j 10 0 0j In [7]: a.ix[2:5, 'bar'] = np.array([2.33j, 1.23+0.1j, 2.2, 1.0]) # valid In [8]: a Out[8]: foo bar 1 0 0j 2 0 2.33j 3 0 (1.23+0.1j) 4 0 (2.2+0j) 5 0 (1+0j) 6 0 0j 7 0 0j 8 0 0j 9 0 0j 10 0 0j In [9]: a = pd.DataFrame(index=pd.Index(xrange(1,11))) In [10]: a['bar'] = np.zeros(10, dtype=np.complex) In [11]: a.ix[2:5, 'bar'] = np.array([2.33j, 1.23+0.1j, 2.2]) # invalid RHS-> exception raised OK! --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-11-bde45910cde6> in <module>() ----> 1 a.ix[2:5, 'bar'] = np.array([2.33j, 1.23+0.1j, 2.2]) /home/thomas/.local/lib/python2.7/site-packages/pandas-0.12.0_1098_g705b677-py2.7-linux-x86_64.egg/pandas/core/indexing.pyc in __setitem__(self, key, value) 92 indexer = self._convert_to_indexer(key, is_setter=True) 93 ---> 94 self._setitem_with_indexer(indexer, value) 95 96 def _has_valid_type(self, k, axis): /home/thomas/.local/lib/python2.7/site-packages/pandas-0.12.0_1098_g705b677-py2.7-linux-x86_64.egg/pandas/core/indexing.pyc in _setitem_with_indexer(self, indexer, value) 387 value = self._align_panel(indexer, value) 388 --> 389 self.obj._data = self.obj._data.setitem(indexer,value) 390 self.obj._maybe_update_cacher(clear=True) 391 /home/thomas/.local/lib/python2.7/site-packages/pandas-0.12.0_1098_g705b677-py2.7-linux-x86_64.egg/pandas/core/internals.pyc in setitem(self, *args, **kwargs) 2182 2183 def setitem(self, *args, **kwargs): -> 2184 return self.apply('setitem', *args, **kwargs) 2185 2186 def putmask(self, *args, **kwargs): /home/thomas/.local/lib/python2.7/site-packages/pandas-0.12.0_1098_g705b677-py2.7-linux-x86_64.egg/pandas/core/internals.pyc in apply(self, f, *args, **kwargs) 2162 2163 else: -> 2164 applied = getattr(blk, f)(*args, **kwargs) 2165 2166 if isinstance(applied, list): /home/thomas/.local/lib/python2.7/site-packages/pandas-0.12.0_1098_g705b677-py2.7-linux-x86_64.egg/pandas/core/internals.pyc in setitem(self, indexer, value) 580 try: 581 # set and return a block --> 582 values[indexer] = value 583 584 # coerce and try to infer the dtypes of the result ValueError: could not broadcast input array from shape (3) into shape (4) ``` Here is the 2nd problem: ``` python In [1]: b = pd.DataFrame(index=pd.Index(xrange(1,11))) In [2]: b['foo'] = np.zeros(10, dtype=np.float) In [3]: b['bar'] = np.zeros(10, dtype=np.complex) In [4]: b Out[4]: foo bar 1 0 0j 2 0 0j 3 0 0j 4 0 0j 5 0 0j 6 0 0j 7 0 0j 8 0 0j 9 0 0j 10 0 0j In [5]: b[2:5] Out[5]: foo bar 3 0 0j 4 0 0j 5 0 0j In [6]: b[2:5] = np.arange(1,4)*1j # invalid input (wrong size on RHS) In [7]: b Out[7]: foo bar 1 0j 0j 2 0j 0j 3 1j 2j 4 1j 2j 5 1j 2j 6 0j 0j 7 0j 0j 8 0j 0j 9 0j 0j 10 0j 0j # why does the expression in ``In [6]`` change the dtype of b['foo']. # Is this intended ? In [8]: b[2:5] = np.arange(1,4)*1j # invalid input (wrong size on RHS) --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-8-a729140e3f7f> in <module>() ----> 1 b[2:5] = np.arange(1,4)*1j # invalid input (wrong size on RHS) /home/thomas/.local/lib/python2.7/site-packages/pandas-0.12.0_1098_g705b677-py2.7-linux-x86_64.egg/pandas/core/frame.pyc in __setitem__(self, key, value) 1831 indexer = _convert_to_index_sliceable(self, key) 1832 if indexer is not None: -> 1833 return self._setitem_slice(indexer, value) 1834 1835 if isinstance(key, (Series, np.ndarray, list)): /home/thomas/.local/lib/python2.7/site-packages/pandas-0.12.0_1098_g705b677-py2.7-linux-x86_64.egg/pandas/core/frame.pyc in _setitem_slice(self, key, value) 1842 1843 def _setitem_slice(self, key, value): -> 1844 self.ix._setitem_with_indexer(key, value) 1845 1846 def _setitem_array(self, key, value): /home/thomas/.local/lib/python2.7/site-packages/pandas-0.12.0_1098_g705b677-py2.7-linux-x86_64.egg/pandas/core/indexing.pyc in _setitem_with_indexer(self, indexer, value) 387 value = self._align_panel(indexer, value) 388 --> 389 self.obj._data = self.obj._data.setitem(indexer,value) 390 self.obj._maybe_update_cacher(clear=True) 391 /home/thomas/.local/lib/python2.7/site-packages/pandas-0.12.0_1098_g705b677-py2.7-linux-x86_64.egg/pandas/core/internals.pyc in setitem(self, *args, **kwargs) 2182 2183 def setitem(self, *args, **kwargs): -> 2184 return self.apply('setitem', *args, **kwargs) 2185 2186 def putmask(self, *args, **kwargs): /home/thomas/.local/lib/python2.7/site-packages/pandas-0.12.0_1098_g705b677-py2.7-linux-x86_64.egg/pandas/core/internals.pyc in apply(self, f, *args, **kwargs) 2162 2163 else: -> 2164 applied = getattr(blk, f)(*args, **kwargs) 2165 2166 if isinstance(applied, list): /home/thomas/.local/lib/python2.7/site-packages/pandas-0.12.0_1098_g705b677-py2.7-linux-x86_64.egg/pandas/core/internals.pyc in setitem(self, indexer, value) 580 try: 581 # set and return a block --> 582 values[indexer] = value 583 584 # coerce and try to infer the dtypes of the result ValueError: could not broadcast input array from shape (3) into shape (3,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/5508/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5508/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5509
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5509/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5509/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5509/events
https://github.com/pandas-dev/pandas/issues/5509
22,630,094
MDU6SXNzdWUyMjYzMDA5NA==
5,509
BUG: HDF5 not reading or writing datetime64 correctly (Panel)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "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
[]
null
4
2013-11-13T23:08:08Z
2013-11-27T18:33:18Z
2013-11-27T18:33:04Z
CONTRIBUTOR
null
I'm trying to pin down where this is happening still, maybe you'll be able to tell by looking at the values: ``` python In [10]: a['timestamp'].head() Out[10]: 1 2 \ HRHHID HUHHNUM PULINENO 45004066531 1 1 1996-12-01 00:00:00 1997-01-01 00:00:00 2 1996-12-01 00:00:00 1997-01-01 00:00:00 3 1996-12-01 00:00:00 1997-01-01 00:00:00 4 1996-12-01 00:00:00 1997-01-01 00:00:00 5 1996-12-01 00:00:00 1997-01-01 00:00:00 In [13]: a.to_hdf(tst, '/m1996_12', append=False) /Users/tom/Envs/statsmodels/lib/python2.7/site-packages/pandas-0.12.0_1098_g705b677-py2.7-macosx-10.8-x86_64.egg/pandas/io/pytables.py:2339: PerformanceWarning: your performance may suffer as PyTables will pickle object types that it cannot map directly to c-types [inferred_type->mixed,key->axis0] [items->None] warnings.warn(ws, PerformanceWarning) /Users/tom/Envs/statsmodels/lib/python2.7/site-packages/pandas-0.12.0_1098_g705b677-py2.7-macosx-10.8-x86_64.egg/pandas/io/pytables.py:2339: PerformanceWarning: your performance may suffer as PyTables will pickle object types that it cannot map directly to c-types [inferred_type->mixed,key->block1_items] [items->None] warnings.warn(ws, PerformanceWarning) /Users/tom/Envs/statsmodels/lib/python2.7/site-packages/pandas-0.12.0_1098_g705b677-py2.7-macosx-10.8-x86_64.egg/pandas/io/pytables.py:2339: PerformanceWarning: your performance may suffer as PyTables will pickle object types that it cannot map directly to c-types [inferred_type->mixed,key->block2_values] [items->['flow', 'unemployed_history', 'nonemployed_history', 'either_history']] warnings.warn(ws, PerformanceWarning) In [14]: tst.select('/m1996_12')['timestamp'].head() Out[14]: 1 2 \ HRHHID HUHHNUM PULINENO 45004066531 1 1 2086-12-01 00:00:00 2087-01-01 00:00:00 2 2086-12-01 00:00:00 2087-01-01 00:00:00 3 2086-12-01 00:00:00 2087-01-01 00:00:00 4 2086-12-01 00:00:00 2087-01-01 00:00:00 5 2086-12-01 00:00:00 2087-01-01 00:00:00 ``` I was thinking it was the `NaT`s (and it may still be) by I wasn't able to reproduce with a simple Panel. [link](https://www.dropbox.com/s/o0qmwhh2rsy1b18/tst_comp.h5) (90 MB) to the file. To get the correct dates, I'm using the following: https://gist.github.com/TomAugspurger/7458121 just call `fix_timestamp` on the Panel and it modifies it in place. In [29]: pd.**version** Out[29]: '0.12.0-1098-g705b677' In [30]: np.**version** Out[30]: '1.7.1'
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5509/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5509/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5510
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5510/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5510/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5510/events
https://github.com/pandas-dev/pandas/pull/5510
22,633,278
MDExOlB1bGxSZXF1ZXN0OTk0NDgwNg==
5,510
ENH add cumcount groupby method
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
10
2013-11-14T00:13:44Z
2014-06-14T09:29:13Z
2013-11-14T22:04:00Z
CONTRIBUTOR
null
closes #4646 Happy to hear ways to make this faster, but I think this is a good convenience function as is. Update: made significantly faster...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5510/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5510/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5510.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5510", "merged_at": "2013-11-14T22:04:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5510.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5510" }
https://api.github.com/repos/pandas-dev/pandas/issues/5511
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5511/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5511/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5511/events
https://github.com/pandas-dev/pandas/issues/5511
22,633,833
MDU6SXNzdWUyMjYzMzgzMw==
5,511
BUG: Series Index 0 displays wrong data after converting String index to DatetimeIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/5626477?v=4", "events_url": "https://api.github.com/users/mlvn23/events{/privacy}", "followers_url": "https://api.github.com/users/mlvn23/followers", "following_url": "https://api.github.com/users/mlvn23/following{/other_user}", "gists_url": "https://api.github.com/users/mlvn23/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mlvn23", "id": 5626477, "login": "mlvn23", "node_id": "MDQ6VXNlcjU2MjY0Nzc=", "organizations_url": "https://api.github.com/users/mlvn23/orgs", "received_events_url": "https://api.github.com/users/mlvn23/received_events", "repos_url": "https://api.github.com/users/mlvn23/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mlvn23/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mlvn23/subscriptions", "type": "User", "url": "https://api.github.com/users/mlvn23" }
[]
closed
false
null
[]
null
2
2013-11-14T00:24:48Z
2013-11-14T13:25:25Z
2013-11-14T13:25:25Z
NONE
null
After I convert the index from String to DatetimeIndex, index 0 seems to always point to the data near the Unix epoch. In the example below, b['Close'][0] correctly displays 4, but after the index conversion, b['Close'][0] now shows 54 (1/1/1970). Same goes with Open, High, Low, and Volume. Index other than 0 appears okay. If I use the slice notation, it would display the correct data. The to_csv also displays the right data. ``` >>> pd.__version__ '0.12.0' >>> np.__version__ '1.7.1' >>> b = pd.read_csv('/mnt/Investing/data-new/staging/b.csv', index_col=0) >>> b['Close'][0] 4 >>> b Open High Low Close Volume Date 12/27/1969 1 2 3 4 5 12/28/1969 11 12 13 14 15 12/29/1969 21 22 23 24 25 12/30/1969 31 32 33 34 35 12/31/1969 41 42 43 44 45 1/1/1970 51 52 53 54 55 1/2/1970 61 62 63 64 65 1/3/1970 71 72 73 74 75 1/4/1970 81 82 83 84 85 1/5/1970 91 92 93 94 95 >>> b.index = pd.DatetimeIndex(b.index) >>> b['Close'][0] 54 >>> b Open High Low Close Volume 1969-12-27 1 2 3 4 5 1969-12-28 11 12 13 14 15 1969-12-29 21 22 23 24 25 1969-12-30 31 32 33 34 35 1969-12-31 41 42 43 44 45 1970-01-01 51 52 53 54 55 1970-01-02 61 62 63 64 65 1970-01-03 71 72 73 74 75 1970-01-04 81 82 83 84 85 1970-01-05 91 92 93 94 95 >>> b['Close'][0:1] 1969-12-27 4 Name: Close, dtype: int64 >>> b['Close'][0:2] 1969-12-27 4 1969-12-28 14 Name: Close, 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/5511/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5511/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5512
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5512/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5512/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5512/events
https://github.com/pandas-dev/pandas/pull/5512
22,634,224
MDExOlB1bGxSZXF1ZXN0OTk0NTI5Nw==
5,512
BUG: Fixed various setitem with iterable that does not have a matching length to the indexer (GH5508)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
0
2013-11-14T00:32:11Z
2014-06-24T20:52:21Z
2013-11-14T01:06:31Z
CONTRIBUTOR
null
closes #5508
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5512/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5512/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5512.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5512", "merged_at": "2013-11-14T01:06:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5512.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5512" }
https://api.github.com/repos/pandas-dev/pandas/issues/5513
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5513/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5513/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5513/events
https://github.com/pandas-dev/pandas/issues/5513
22,658,467
MDU6SXNzdWUyMjY1ODQ2Nw==
5,513
Exception when trying to get values from DataFrame with duplicate column names and
{ "avatar_url": "https://avatars.githubusercontent.com/u/1523574?v=4", "events_url": "https://api.github.com/users/RomanPekar/events{/privacy}", "followers_url": "https://api.github.com/users/RomanPekar/followers", "following_url": "https://api.github.com/users/RomanPekar/following{/other_user}", "gists_url": "https://api.github.com/users/RomanPekar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/RomanPekar", "id": 1523574, "login": "RomanPekar", "node_id": "MDQ6VXNlcjE1MjM1NzQ=", "organizations_url": "https://api.github.com/users/RomanPekar/orgs", "received_events_url": "https://api.github.com/users/RomanPekar/received_events", "repos_url": "https://api.github.com/users/RomanPekar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/RomanPekar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/RomanPekar/subscriptions", "type": "User", "url": "https://api.github.com/users/RomanPekar" }
[]
closed
false
null
[]
null
7
2013-11-14T12:02:35Z
2014-01-15T18:00:42Z
2013-11-14T13:24:49Z
CONTRIBUTOR
null
Lately I've been working with DataFrames with duplicate column names. I've found that if I have duplicate column names and there're different types of data in these columns, I cannot get values property from DataFrame (there're some other exceptions too, with iloc for example): ``` # no duplicates - ok >>> df = pd.DataFrame([range(2) + ['x'], range(2) + ['c']], columns=['a','b','c']) >>> df a b c 0 0 1 x 1 0 1 c >>> df.values array([[0L, 1L, 'x'], [0L, 1L, 'c']], dtype=object) # duplicate columns, same type - ok >>> df = pd.DataFrame([range(3), range(3)], columns=['a','b','b']) >>> df a b b 0 0 1 2 1 0 1 2 >>> df.values array([[0, 1, 2], [0, 1, 2]], dtype=int64) # duplicate columns, diff types - error >>> df = pd.DataFrame([range(2) + ['x'], range(2) + ['c']], columns=['a','b','b']) >>> df a b b 0 0 1 x 1 0 1 c >>> df.values Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python27\lib\site-packages\pandas-0.12.0-py2.7-win32.egg\pandas\core\frame.py", line 1748, in as_matrix return self._data.as_matrix(columns).T File "C:\Python27\lib\site-packages\pandas-0.12.0-py2.7-win32.egg\pandas\core\internals.py", line 1517, in as_matrix mat = self._interleave(self.items) File "C:\Python27\lib\site-packages\pandas-0.12.0-py2.7-win32.egg\pandas\core\internals.py", line 1548, in _interleave raise AssertionError('All items must be in block items') AssertionError: All items must be in block items ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5513/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5513/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5514
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5514/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5514/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5514/events
https://github.com/pandas-dev/pandas/pull/5514
22,659,293
MDExOlB1bGxSZXF1ZXN0OTk1ODYwOA==
5,514
CLN: Add more methods to whitelist (for now)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4", "events_url": "https://api.github.com/users/jtratner/events{/privacy}", "followers_url": "https://api.github.com/users/jtratner/followers", "following_url": "https://api.github.com/users/jtratner/following{/other_user}", "gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jtratner", "id": 1598379, "login": "jtratner", "node_id": "MDQ6VXNlcjE1OTgzNzk=", "organizations_url": "https://api.github.com/users/jtratner/orgs", "received_events_url": "https://api.github.com/users/jtratner/received_events", "repos_url": "https://api.github.com/users/jtratner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jtratner/subscriptions", "type": "User", "url": "https://api.github.com/users/jtratner" }
[]
closed
false
null
[]
null
9
2013-11-14T12:20:58Z
2014-06-27T15:02:57Z
2013-12-05T23:35:54Z
CONTRIBUTOR
null
No test cases because goal is just to make sure this is not blocked in 0.13. Can do more tweaks later. If I have time I will try to pull together something to cover what we were discussing in #5480.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5514/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5514/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5514.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5514", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/5514.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5514" }
https://api.github.com/repos/pandas-dev/pandas/issues/5515
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5515/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5515/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5515/events
https://github.com/pandas-dev/pandas/issues/5515
22,668,048
MDU6SXNzdWUyMjY2ODA0OA==
5,515
isnull silently changes the frequency of the datetime index of a dataframe
{ "avatar_url": "https://avatars.githubusercontent.com/u/1564485?v=4", "events_url": "https://api.github.com/users/l736x/events{/privacy}", "followers_url": "https://api.github.com/users/l736x/followers", "following_url": "https://api.github.com/users/l736x/following{/other_user}", "gists_url": "https://api.github.com/users/l736x/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/l736x", "id": 1564485, "login": "l736x", "node_id": "MDQ6VXNlcjE1NjQ0ODU=", "organizations_url": "https://api.github.com/users/l736x/orgs", "received_events_url": "https://api.github.com/users/l736x/received_events", "repos_url": "https://api.github.com/users/l736x/repos", "site_admin": false, "starred_url": "https://api.github.com/users/l736x/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/l736x/subscriptions", "type": "User", "url": "https://api.github.com/users/l736x" }
[]
closed
false
null
[]
null
3
2013-11-14T15:07:09Z
2013-11-14T15:32:23Z
2013-11-14T15:32:23Z
CONTRIBUTOR
null
There is no problem in doing pd.isnull on a series, but apparently in the case of a DataFrame the index frequency is converted silently. If I have an index with freq=None isnull tries to infer the right frequency. This is bad not only because one would expect that isnull does not modify the object in the call, but also because the inference of the frequency is imperfect and generates wrong results. Here an example. '2001-04-03' is tuesday, so the index is entirely in the same week ``` python In [1]: import pandas as pd In [2]: pd.__version__ Out[2]: '0.12.0' In [3]: df = pd.DataFrame(randn(3,2), index=pd.to_datetime(['2001-04-03', '2001-04-04', '2001-04-05'])) In [4]: df.index # Notice Freq: None Out[4]: <class 'pandas.tseries.index.DatetimeIndex'> [2001-04-03 00:00:00, ..., 2001-04-05 00:00:00] Length: 3, Freq: None, Timezone: None In [5]: pd.isnull(df) Out[5]: 0 1 2001-04-03 False False 2001-04-04 False False 2001-04-05 False False In [6]: df.index # Notice Freq: D Out[6]: <class 'pandas.tseries.index.DatetimeIndex'> [2001-04-03 00:00:00, ..., 2001-04-05 00:00:00] Length: 3, Freq: D, Timezone: None ``` In this case the index skips saturday and sunday and the conversion is to business day ``` python In [7]: df2 = pd.DataFrame(randn(5,3), index=pd.to_datetime(['2001-04-'+x for x in ['03', '04', '05', '06', '09']])) In [8]: df2.index Out[8]: <class 'pandas.tseries.index.DatetimeIndex'> [2001-04-03 00:00:00, ..., 2001-04-09 00:00:00] Length: 5, Freq: None, Timezone: None In [9]: pd.isnull(df2) Out[9]: 0 1 2 2001-04-03 False False False 2001-04-04 False False False 2001-04-05 False False False 2001-04-06 False False False 2001-04-09 False False False In [10]: df2.index # Notice Freq: B Out[10]: <class 'pandas.tseries.index.DatetimeIndex'> [2001-04-03 00:00:00, ..., 2001-04-09 00:00:00] Length: 5, Freq: B, Timezone: None ``` This is the tricky case: the index is business days except the 15 which is sunday. isnull converts this to business days and generates a fake line full of nans corresponding to the 13 (which is friday) ``` python In [11]: df3 = pd.DataFrame(randn(9,3), index=pd.to_datetime(['2001-04-'+x for x in ['03', '04', '05', '06', '09', '10', '11', '12', '15']])) In [12]: df3.index Out[12]: <class 'pandas.tseries.index.DatetimeIndex'> [2001-04-03 00:00:00, ..., 2001-04-15 00:00:00] Length: 9, Freq: None, Timezone: None In [13]: pd.isnull(df3) Out[13]: 0 1 2 2001-04-03 False False False 2001-04-04 False False False 2001-04-05 False False False 2001-04-06 False False False 2001-04-09 False False False 2001-04-10 False False False 2001-04-11 False False False 2001-04-12 False False False 2001-04-15 False False False In [14]: df3.index # Notice Freq: B Out[14]: <class 'pandas.tseries.index.DatetimeIndex'> [2001-04-03 00:00:00, ..., 2001-04-15 00:00:00] Length: 9, Freq: B, Timezone: None In [15]: pd.isnull(df3) # The 15 is replaced by the 13 with nans Out[15]: 0 1 2 2001-04-03 False False False 2001-04-04 False False False 2001-04-05 False False False 2001-04-06 False False False 2001-04-09 False False False 2001-04-10 False False False 2001-04-11 False False False 2001-04-12 False False False 2001-04-13 NaN NaN NaN ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5515/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5515/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5516
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5516/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5516/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5516/events
https://github.com/pandas-dev/pandas/issues/5516
22,679,806
MDU6SXNzdWUyMjY3OTgwNg==
5,516
to_datetime() bug on the boundary of Timestamp.max
{ "avatar_url": "https://avatars.githubusercontent.com/u/1903683?v=4", "events_url": "https://api.github.com/users/bluefir/events{/privacy}", "followers_url": "https://api.github.com/users/bluefir/followers", "following_url": "https://api.github.com/users/bluefir/following{/other_user}", "gists_url": "https://api.github.com/users/bluefir/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bluefir", "id": 1903683, "login": "bluefir", "node_id": "MDQ6VXNlcjE5MDM2ODM=", "organizations_url": "https://api.github.com/users/bluefir/orgs", "received_events_url": "https://api.github.com/users/bluefir/received_events", "repos_url": "https://api.github.com/users/bluefir/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bluefir/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bluefir/subscriptions", "type": "User", "url": "https://api.github.com/users/bluefir" }
[]
closed
false
null
[]
null
8
2013-11-14T17:52:36Z
2014-09-23T13:35:45Z
2013-11-14T18:58:53Z
NONE
null
``` import datetime import pandas as pd from pandas.tslib import Timestamp Timestamp.max ``` > Timestamp('2262-04-11 23:47:16.854775807', tz=None) ``` date = datetime.date(2262, 4, 12) pd.to_datetime(date) ``` > Timestamp('2262-04-11 00:25:26.290448384', tz=None)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5516/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5516/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5517
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5517/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5517/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5517/events
https://github.com/pandas-dev/pandas/issues/5517
22,699,440
MDU6SXNzdWUyMjY5OTQ0MA==
5,517
BUG: boxplot does not set limits of axis
{ "avatar_url": "https://avatars.githubusercontent.com/u/1882397?v=4", "events_url": "https://api.github.com/users/aseyboldt/events{/privacy}", "followers_url": "https://api.github.com/users/aseyboldt/followers", "following_url": "https://api.github.com/users/aseyboldt/following{/other_user}", "gists_url": "https://api.github.com/users/aseyboldt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aseyboldt", "id": 1882397, "login": "aseyboldt", "node_id": "MDQ6VXNlcjE4ODIzOTc=", "organizations_url": "https://api.github.com/users/aseyboldt/orgs", "received_events_url": "https://api.github.com/users/aseyboldt/received_events", "repos_url": "https://api.github.com/users/aseyboldt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aseyboldt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aseyboldt/subscriptions", "type": "User", "url": "https://api.github.com/users/aseyboldt" }
[ { "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" }
7
2013-11-14T22:45:52Z
2014-08-30T14:10:48Z
2014-08-30T14:10:48Z
NONE
null
`DataFrame.boxplot` fails to properly set the limits of the y-axis is this example: ``` python df = pd.DataFrame({'X': [1, 0, 1, 0], 'Y': [1, 0, 1, 0], 'Z': [1, 0, 1, 0], #'M': [1, 0, 1, 0], 'B': list("XXYY")}, index=list("UUVV")) print df """ B X Y Z U X 1 1 1 U X 0 0 0 V Y 1 1 1 V Y 0 0 0 """ df.boxplot(by='B') ``` I would expect the y-axis to go from 0 to 1, not -0.06 to 0.06. If I uncomment the `M` it works. I use pandas 0.12.0 and matplotlib 1.3.1 ![Uploading boxplot.png . . .]()
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5517/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5517/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5518
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5518/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5518/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5518/events
https://github.com/pandas-dev/pandas/pull/5518
22,704,950
MDExOlB1bGxSZXF1ZXN0OTk4NDU3Ng==
5,518
PERF faster head, tail and size groupby methods
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[]
closed
false
null
[]
null
8
2013-11-15T00:30:38Z
2014-08-18T13:12:49Z
2013-11-17T04:41:20Z
CONTRIBUTOR
null
This is some low hanging fruit, significantly faster than master. To give some numbers, before the change is below the new: ``` In [1]: df = pd.DataFrame(np.random.randint(0, 100, 1000), columns=['A'], index=[0] * 1000); g = df.groupby('A') In [2]: %timeit g.head(2) 1000 loops, best of 3: 429 µs per loop #100 loops, best of 3: 9.67 ms per loop In [3]: %timeit g.tail(2) 1000 loops, best of 3: 398 µs per loop #100 loops, best of 3: 9.68 ms per loop In [4]: %timeit g.size() 10000 loops, best of 3: 119 µs per loop #1000 loops, best of 3: 649 µs per loop In [11]: df = pd.DataFrame(np.random.randint(0, 10, 1000), columns=['A'], index=[0] * 1000); g = df.groupby('A') In [12]: %timeit g.head(2) 10000 loops, best of 3: 189 µs per loop #100 loops, best of 3: 2.1 ms per loop In [13]: %timeit g.tail(2) 10000 loops, best of 3: 160 µs per loop #100 loops, best of 3: 2.11 ms per loop In [14]: %timeit g.size() 10000 loops, best of 3: 41.9 µs per loop #1000 loops, best of 3: 598 µs per loop ``` ...It's a bit messy to keep track of the as_index stuff (which you get when you apply), see below - am I missing some way to grab out the final 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/5518/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5518/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5518.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5518", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/5518.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5518" }
https://api.github.com/repos/pandas-dev/pandas/issues/5519
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5519/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5519/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5519/events
https://github.com/pandas-dev/pandas/issues/5519
22,710,352
MDU6SXNzdWUyMjcxMDM1Mg==
5,519
Series.weekday is totally undocumented
{ "avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4", "events_url": "https://api.github.com/users/cancan101/events{/privacy}", "followers_url": "https://api.github.com/users/cancan101/followers", "following_url": "https://api.github.com/users/cancan101/following{/other_user}", "gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cancan101", "id": 51059, "login": "cancan101", "node_id": "MDQ6VXNlcjUxMDU5", "organizations_url": "https://api.github.com/users/cancan101/orgs", "received_events_url": "https://api.github.com/users/cancan101/received_events", "repos_url": "https://api.github.com/users/cancan101/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cancan101/subscriptions", "type": "User", "url": "https://api.github.com/users/cancan101" }
[]
closed
false
null
[]
null
6
2013-11-15T03:14:59Z
2014-05-22T14:28:55Z
2014-02-18T01:35:30Z
CONTRIBUTOR
null
There is no documentations for this method: http://pandas.pydata.org/pandas-docs/dev/generated/pandas.Series.weekday.html
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5519/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5519/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5520
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5520/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5520/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5520/events
https://github.com/pandas-dev/pandas/pull/5520
22,722,803
MDExOlB1bGxSZXF1ZXN0OTk5MzgwNQ==
5,520
Ensure that we can get a commit number from git
{ "avatar_url": "https://avatars.githubusercontent.com/u/266668?v=4", "events_url": "https://api.github.com/users/invisibleroads/events{/privacy}", "followers_url": "https://api.github.com/users/invisibleroads/followers", "following_url": "https://api.github.com/users/invisibleroads/following{/other_user}", "gists_url": "https://api.github.com/users/invisibleroads/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/invisibleroads", "id": 266668, "login": "invisibleroads", "node_id": "MDQ6VXNlcjI2NjY2OA==", "organizations_url": "https://api.github.com/users/invisibleroads/orgs", "received_events_url": "https://api.github.com/users/invisibleroads/received_events", "repos_url": "https://api.github.com/users/invisibleroads/repos", "site_admin": false, "starred_url": "https://api.github.com/users/invisibleroads/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/invisibleroads/subscriptions", "type": "User", "url": "https://api.github.com/users/invisibleroads" }
[]
closed
false
null
[]
null
2
2013-11-15T09:52:20Z
2014-07-16T08:40:30Z
2013-11-16T10:36:14Z
CONTRIBUTOR
null
Currently, git describe fails with "fatal: No names found, cannot describe anything."
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5520/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5520/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5520.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5520", "merged_at": "2013-11-16T10:36:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5520.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5520" }
https://api.github.com/repos/pandas-dev/pandas/issues/5521
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5521/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5521/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5521/events
https://github.com/pandas-dev/pandas/issues/5521
22,725,090
MDU6SXNzdWUyMjcyNTA5MA==
5,521
error in common na_values definition
{ "avatar_url": "https://avatars.githubusercontent.com/u/3242660?v=4", "events_url": "https://api.github.com/users/glaucouri/events{/privacy}", "followers_url": "https://api.github.com/users/glaucouri/followers", "following_url": "https://api.github.com/users/glaucouri/following{/other_user}", "gists_url": "https://api.github.com/users/glaucouri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/glaucouri", "id": 3242660, "login": "glaucouri", "node_id": "MDQ6VXNlcjMyNDI2NjA=", "organizations_url": "https://api.github.com/users/glaucouri/orgs", "received_events_url": "https://api.github.com/users/glaucouri/received_events", "repos_url": "https://api.github.com/users/glaucouri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/glaucouri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/glaucouri/subscriptions", "type": "User", "url": "https://api.github.com/users/glaucouri" }
[ { "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": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "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" }
11
2013-11-15T10:42:46Z
2014-07-01T16:33:07Z
2014-07-01T16:33:07Z
NONE
null
Note for 0.14.1: need to add back `#N/A N/A` to na_values defaults in pandas 0.12 i found a little bug: this: _NA_VALUES = set(['-1.#IND', '1.#QNAN', '1.#IND', '-1.#QNAN', '#N/A N/A', 'NA', '#NA', 'NULL', 'NaN', 'nan', '']) must be: _NA_VALUES = set(['-1.#IND', '1.#QNAN', '1.#IND', '-1.#QNAN', '#N/A','N/A', 'NA', '#NA', 'NULL', 'NaN', 'nan', '']) thank you Glauco
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5521/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5521/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5522
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5522/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5522/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5522/events
https://github.com/pandas-dev/pandas/issues/5522
22,737,058
MDU6SXNzdWUyMjczNzA1OA==
5,522
dramatic performance difference b/w DataFrame index.lexsort_depth and index.is_monotonic
{ "avatar_url": "https://avatars.githubusercontent.com/u/1903683?v=4", "events_url": "https://api.github.com/users/bluefir/events{/privacy}", "followers_url": "https://api.github.com/users/bluefir/followers", "following_url": "https://api.github.com/users/bluefir/following{/other_user}", "gists_url": "https://api.github.com/users/bluefir/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bluefir", "id": 1903683, "login": "bluefir", "node_id": "MDQ6VXNlcjE5MDM2ODM=", "organizations_url": "https://api.github.com/users/bluefir/orgs", "received_events_url": "https://api.github.com/users/bluefir/received_events", "repos_url": "https://api.github.com/users/bluefir/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bluefir/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bluefir/subscriptions", "type": "User", "url": "https://api.github.com/users/bluefir" }
[ { "color": "DDDDDD", "default": false, "description": "Long-Term Enhancement Discussions", "id": 157369, "name": "Ideas", "node_id": "MDU6TGFiZWwxNTczNjk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Ideas" }, { "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": "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": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
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" }
9
2013-11-15T15:03:18Z
2019-10-26T03:42:43Z
2019-10-26T03:25:45Z
NONE
null
``` len(alphas.index.levels) ``` > 2 ``` %time alphas.index.lexsort_depth ``` > CPU times: user 0.03 s, sys: 0.00 s, total: 0.03 s > Wall time: 0.02 s > 1 ``` %time alphas.index.is_monotonic ``` > CPU times: user 10.22 s, sys: 0.00 s, total: 10.22 s > Wall time: 10.22 s > 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/5522/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5522/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5523
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5523/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5523/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5523/events
https://github.com/pandas-dev/pandas/issues/5523
22,740,521
MDU6SXNzdWUyMjc0MDUyMQ==
5,523
Minor typo (release docs for 0.13.0)
{ "avatar_url": "https://avatars.githubusercontent.com/u/2418513?v=4", "events_url": "https://api.github.com/users/aldanor/events{/privacy}", "followers_url": "https://api.github.com/users/aldanor/followers", "following_url": "https://api.github.com/users/aldanor/following{/other_user}", "gists_url": "https://api.github.com/users/aldanor/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aldanor", "id": 2418513, "login": "aldanor", "node_id": "MDQ6VXNlcjI0MTg1MTM=", "organizations_url": "https://api.github.com/users/aldanor/orgs", "received_events_url": "https://api.github.com/users/aldanor/received_events", "repos_url": "https://api.github.com/users/aldanor/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aldanor/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aldanor/subscriptions", "type": "User", "url": "https://api.github.com/users/aldanor" }
[]
closed
false
null
[]
null
2
2013-11-15T15:59:10Z
2013-11-19T11:00:46Z
2013-11-19T11:00:46Z
CONTRIBUTOR
null
Replace `serach` with `search` in https://github.com/pydata/pandas/blob/master/doc/source/v0.13.0.txt#L161.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5523/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5523/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5524
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5524/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5524/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5524/events
https://github.com/pandas-dev/pandas/pull/5524
22,742,730
MDExOlB1bGxSZXF1ZXN0MTAwMDUyODA=
5,524
BUG/TST: Fixes isnull behavior on NaT in array. Closes #5443
{ "avatar_url": "https://avatars.githubusercontent.com/u/1171230?v=4", "events_url": "https://api.github.com/users/commonlisp/events{/privacy}", "followers_url": "https://api.github.com/users/commonlisp/followers", "following_url": "https://api.github.com/users/commonlisp/following{/other_user}", "gists_url": "https://api.github.com/users/commonlisp/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/commonlisp", "id": 1171230, "login": "commonlisp", "node_id": "MDQ6VXNlcjExNzEyMzA=", "organizations_url": "https://api.github.com/users/commonlisp/orgs", "received_events_url": "https://api.github.com/users/commonlisp/received_events", "repos_url": "https://api.github.com/users/commonlisp/repos", "site_admin": false, "starred_url": "https://api.github.com/users/commonlisp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/commonlisp/subscriptions", "type": "User", "url": "https://api.github.com/users/commonlisp" }
[]
closed
false
null
[]
{ "closed_at": "2014-02-03T05:17:36Z", "closed_issues": 314, "created_at": "2013-08-26T22:11:58Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4", "events_url": "https://api.github.com/users/jtratner/events{/privacy}", "followers_url": "https://api.github.com/users/jtratner/followers", "following_url": "https://api.github.com/users/jtratner/following{/other_user}", "gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jtratner", "id": 1598379, "login": "jtratner", "node_id": "MDQ6VXNlcjE1OTgzNzk=", "organizations_url": "https://api.github.com/users/jtratner/orgs", "received_events_url": "https://api.github.com/users/jtratner/received_events", "repos_url": "https://api.github.com/users/jtratner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jtratner/subscriptions", "type": "User", "url": "https://api.github.com/users/jtratner" }, "description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.", "due_on": "2014-02-04T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/23", "id": 412013, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels", "node_id": "MDk6TWlsZXN0b25lNDEyMDEz", "number": 23, "open_issues": 0, "state": "closed", "title": "0.13.1", "updated_at": "2014-02-03T05:18:00Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23" }
22
2013-11-15T16:31:06Z
2014-06-25T08:45:15Z
2014-01-06T23:44:31Z
CONTRIBUTOR
null
I added a test case test_isnull_nat() to test_common.py and a check for NaT in lib.isnullobj. pd.isnull(np.array([pd.NaT])) now yields the correct results ([True]). closes #5443
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5524/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5524/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5524.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5524", "merged_at": "2014-01-06T23:44:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5524.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5524" }
https://api.github.com/repos/pandas-dev/pandas/issues/5525
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5525/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5525/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5525/events
https://github.com/pandas-dev/pandas/pull/5525
22,754,246
MDExOlB1bGxSZXF1ZXN0MTAwMTE4MTI=
5,525
StataWriter: Replace non-isalnum characters in variable names by _ inste...
{ "avatar_url": "https://avatars.githubusercontent.com/u/731902?v=4", "events_url": "https://api.github.com/users/PKEuS/events{/privacy}", "followers_url": "https://api.github.com/users/PKEuS/followers", "following_url": "https://api.github.com/users/PKEuS/following{/other_user}", "gists_url": "https://api.github.com/users/PKEuS/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/PKEuS", "id": 731902, "login": "PKEuS", "node_id": "MDQ6VXNlcjczMTkwMg==", "organizations_url": "https://api.github.com/users/PKEuS/orgs", "received_events_url": "https://api.github.com/users/PKEuS/received_events", "repos_url": "https://api.github.com/users/PKEuS/repos", "site_admin": false, "starred_url": "https://api.github.com/users/PKEuS/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PKEuS/subscriptions", "type": "User", "url": "https://api.github.com/users/PKEuS" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
3
2013-11-15T19:43:26Z
2014-07-09T17:56:15Z
2013-12-04T13:02:57Z
CONTRIBUTOR
null
...ad of integral represantation of replaced character. Eliminate duplicates created by replacement.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5525/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5525/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5525.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5525", "merged_at": "2013-12-04T13:02:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5525.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5525" }
https://api.github.com/repos/pandas-dev/pandas/issues/5526
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5526/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5526/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5526/events
https://github.com/pandas-dev/pandas/issues/5526
22,756,084
MDU6SXNzdWUyMjc1NjA4NA==
5,526
Example in 'Essential Basic Functionality' section of Docs incorrect
{ "avatar_url": "https://avatars.githubusercontent.com/u/664326?v=4", "events_url": "https://api.github.com/users/curtis-seare/events{/privacy}", "followers_url": "https://api.github.com/users/curtis-seare/followers", "following_url": "https://api.github.com/users/curtis-seare/following{/other_user}", "gists_url": "https://api.github.com/users/curtis-seare/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/curtis-seare", "id": 664326, "login": "curtis-seare", "node_id": "MDQ6VXNlcjY2NDMyNg==", "organizations_url": "https://api.github.com/users/curtis-seare/orgs", "received_events_url": "https://api.github.com/users/curtis-seare/received_events", "repos_url": "https://api.github.com/users/curtis-seare/repos", "site_admin": false, "starred_url": "https://api.github.com/users/curtis-seare/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/curtis-seare/subscriptions", "type": "User", "url": "https://api.github.com/users/curtis-seare" }
[]
closed
false
null
[]
null
2
2013-11-15T20:14:53Z
2013-12-06T00:07:20Z
2013-12-06T00:07:20Z
NONE
null
http://pandas.pydata.org/pandas-docs/dev/basics.html#function-application The example in line [109](under) of this section does not produce the expected results, as the text indicates the goal of the exercise is to "extract the date where the maximum value for each column occurred". To do this we simply need: tsdf.idxmax() Perhaps replacing it with another example, or at least correcting it, would be beneficial.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5526/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5526/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5527
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5527/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5527/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5527/events
https://github.com/pandas-dev/pandas/issues/5527
22,766,407
MDU6SXNzdWUyMjc2NjQwNw==
5,527
BUG: validate multi index names in HDFStore writing
{ "avatar_url": "https://avatars.githubusercontent.com/u/1903683?v=4", "events_url": "https://api.github.com/users/bluefir/events{/privacy}", "followers_url": "https://api.github.com/users/bluefir/followers", "following_url": "https://api.github.com/users/bluefir/following{/other_user}", "gists_url": "https://api.github.com/users/bluefir/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bluefir", "id": 1903683, "login": "bluefir", "node_id": "MDQ6VXNlcjE5MDM2ODM=", "organizations_url": "https://api.github.com/users/bluefir/orgs", "received_events_url": "https://api.github.com/users/bluefir/received_events", "repos_url": "https://api.github.com/users/bluefir/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bluefir/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bluefir/subscriptions", "type": "User", "url": "https://api.github.com/users/bluefir" }
[ { "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" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
2
2013-11-15T23:38:29Z
2013-12-03T03:00:46Z
2013-12-03T03:00:46Z
NONE
null
``` store_id_map ``` > <class 'pandas.io.pytables.HDFStore'> > File path: C:\output\identifier_map.h5 > /identifier_map frame_table (typ->appendable_multi,nrows->26779823,ncols->9,indexers->[index],dc->[RefIdentifierID]) ``` store_id_map.select('identifier_map') ``` > --------------------------------------------------------------------------- > KeyError Traceback (most recent call last) > <ipython-input-21-4b0da9c6ab3c> in <module>() > ----> 1 store_id_map.select('identifier_map') > > C:\Python27\lib\site-packages\pandas\io\pytables.pyc in select(self, key, where, start, stop, columns, iterator, chunksize, auto_close, *_kwargs) > 456 return TableIterator(self, func, nrows=s.nrows, start=start, stop=stop, chunksize=chunksize, auto_close=auto_close) > 457 > --> 458 return TableIterator(self, func, nrows=s.nrows, start=start, stop=stop, auto_close=auto_close).get_values() > 459 > 460 def select_as_coordinates(self, key, where=None, start=None, stop=None, *_kwargs): > > C:\Python27\lib\site-packages\pandas\io\pytables.pyc in get_values(self) > 982 > 983 def get_values(self): > --> 984 results = self.func(self.start, self.stop) > 985 self.close() > 986 return results > > C:\Python27\lib\site-packages\pandas\io\pytables.pyc in func(_start, _stop) > 449 # what we are actually going to do for a chunk > 450 def func(_start, _stop): > --> 451 return s.read(where=where, start=_start, stop=_stop, columns=columns, **kwargs) > 452 > 453 if iterator or chunksize is not None: > > C:\Python27\lib\site-packages\pandas\io\pytables.pyc in read(self, columns, *_kwargs) > 3259 columns.insert(0, n) > 3260 df = super(AppendableMultiFrameTable, self).read(columns=columns, *_kwargs) > -> 3261 df.set_index(self.levels, inplace=True) > 3262 return df > 3263 > > C:\Python27\lib\site-packages\pandas\core\frame.pyc in set_index(self, keys, drop, append, inplace, verify_integrity) > 2827 names.append(None) > 2828 else: > -> 2829 level = frame[col].values > 2830 names.append(col) > 2831 if drop: > > C:\Python27\lib\site-packages\pandas\core\frame.pyc in **getitem**(self, key) > 2001 # get column > 2002 if self.columns.is_unique: > -> 2003 return self._get_item_cache(key) > 2004 > 2005 # duplicate columns > > C:\Python27\lib\site-packages\pandas\core\generic.pyc in _get_item_cache(self, item) > 665 return cache[item] > 666 except Exception: > --> 667 values = self._data.get(item) > 668 res = self._box_item_values(item, values) > 669 cache[item] = res > > C:\Python27\lib\site-packages\pandas\core\internals.pyc in get(self, item) > 1653 def get(self, item): > 1654 if self.items.is_unique: > -> 1655 _, block = self._find_block(item) > 1656 return block.get(item) > 1657 else: > > C:\Python27\lib\site-packages\pandas\core\internals.pyc in _find_block(self, item) > 1933 > 1934 def _find_block(self, item): > -> 1935 self._check_have(item) > 1936 for i, block in enumerate(self.blocks): > 1937 if item in block: > > C:\Python27\lib\site-packages\pandas\core\internals.pyc in _check_have(self, item) > 1940 def _check_have(self, item): > 1941 if item not in self.items: > -> 1942 raise KeyError('no item named %s' % com.pprint_thing(item)) > 1943 > 1944 def reindex_axis(self, new_axis, method=None, axis=0, copy=True): > > KeyError: u'no item named None' I am at a loss. What does that mean? I successfully saved the DataFrame but I cannot read it back.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5527/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5527/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5528
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5528/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5528/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5528/events
https://github.com/pandas-dev/pandas/issues/5528
22,776,191
MDU6SXNzdWUyMjc3NjE5MQ==
5,528
BUG: iloc getitem with DataFrame with MultiIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/2628740?v=4", "events_url": "https://api.github.com/users/zhangruoyu/events{/privacy}", "followers_url": "https://api.github.com/users/zhangruoyu/followers", "following_url": "https://api.github.com/users/zhangruoyu/following{/other_user}", "gists_url": "https://api.github.com/users/zhangruoyu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zhangruoyu", "id": 2628740, "login": "zhangruoyu", "node_id": "MDQ6VXNlcjI2Mjg3NDA=", "organizations_url": "https://api.github.com/users/zhangruoyu/orgs", "received_events_url": "https://api.github.com/users/zhangruoyu/received_events", "repos_url": "https://api.github.com/users/zhangruoyu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zhangruoyu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zhangruoyu/subscriptions", "type": "User", "url": "https://api.github.com/users/zhangruoyu" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
1
2013-11-16T11:04:18Z
2013-11-16T19:13:59Z
2013-11-16T19:13:47Z
NONE
null
``` import pandas as pd import numpy as np tup = zip(*[['a','a','b','b'],['x','y','x','y']]) index = pd.MultiIndex.from_tuples(tup) df = pd.DataFrame(np.random.randn(4, 4), index=index) df.iloc[[0, 1]] ``` This will raise: ``` ValueError: Buffer dtype mismatch, expected 'Python object' but got 'long' ``` I am using 0.12 version.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5528/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5528/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5529
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5529/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5529/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5529/events
https://github.com/pandas-dev/pandas/pull/5529
22,781,381
MDExOlB1bGxSZXF1ZXN0MTAwMjU3ODk=
5,529
BUG: Bug in getitem with a multi-index and iloc (GH5528)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
0
2013-11-16T17:27:53Z
2014-06-18T13:18:30Z
2013-11-16T19:13:47Z
CONTRIBUTOR
null
closes #5528
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5529/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5529/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5529.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5529", "merged_at": "2013-11-16T19:13:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5529.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5529" }
https://api.github.com/repos/pandas-dev/pandas/issues/5530
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5530/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5530/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5530/events
https://github.com/pandas-dev/pandas/pull/5530
22,784,526
MDExOlB1bGxSZXF1ZXN0MTAwMjY5NzU=
5,530
sphinxext py3 compatibility
{ "avatar_url": "https://avatars.githubusercontent.com/u/1818628?v=4", "events_url": "https://api.github.com/users/metakermit/events{/privacy}", "followers_url": "https://api.github.com/users/metakermit/followers", "following_url": "https://api.github.com/users/metakermit/following{/other_user}", "gists_url": "https://api.github.com/users/metakermit/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/metakermit", "id": 1818628, "login": "metakermit", "node_id": "MDQ6VXNlcjE4MTg2Mjg=", "organizations_url": "https://api.github.com/users/metakermit/orgs", "received_events_url": "https://api.github.com/users/metakermit/received_events", "repos_url": "https://api.github.com/users/metakermit/repos", "site_admin": false, "starred_url": "https://api.github.com/users/metakermit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/metakermit/subscriptions", "type": "User", "url": "https://api.github.com/users/metakermit" }
[]
closed
false
null
[]
{ "closed_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
82
2013-11-16T20:43:28Z
2014-06-12T19:56:32Z
2014-01-30T10:49:25Z
CONTRIBUTOR
null
Temporary sphinxext py3 compatibility fix as discussed in #5479 before #5221 is resolved. So far test_docscrape.py passes on both Python 2.7 and 3.3 (which should be the typical developer interpreters).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5530/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5530/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5530.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5530", "merged_at": "2014-01-30T10:49:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5530.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5530" }
https://api.github.com/repos/pandas-dev/pandas/issues/5531
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5531/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5531/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5531/events
https://github.com/pandas-dev/pandas/issues/5531
22,787,096
MDU6SXNzdWUyMjc4NzA5Ng==
5,531
Join on Column Name not Working
{ "avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4", "events_url": "https://api.github.com/users/cancan101/events{/privacy}", "followers_url": "https://api.github.com/users/cancan101/followers", "following_url": "https://api.github.com/users/cancan101/following{/other_user}", "gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cancan101", "id": 51059, "login": "cancan101", "node_id": "MDQ6VXNlcjUxMDU5", "organizations_url": "https://api.github.com/users/cancan101/orgs", "received_events_url": "https://api.github.com/users/cancan101/received_events", "repos_url": "https://api.github.com/users/cancan101/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cancan101/subscriptions", "type": "User", "url": "https://api.github.com/users/cancan101" }
[]
closed
false
null
[]
null
2
2013-11-16T23:11:14Z
2013-12-05T23:43:18Z
2013-12-05T23:43:18Z
CONTRIBUTOR
null
I assume I am doing something wrong here: ``` s1 = pd.DataFrame({ 'Month':[pd.Timestamp('2010-05-01')], 'Baz':[100]}, index=[pd.Timestamp('2010-05-01')]) s2 = pd.DataFrame({ 'Month':[pd.Timestamp('2010-05-01')], 'Foo':[100]}) ``` and then I join: ``` In [58]: s1.join(s2, on="Month", rsuffix="_r") Out[58]: Baz Month Foo Month_r 2010-05-01 100 2010-05-01 00:00:00 NaN NaT ``` Why is the `join` not matching correctly (I get `NaT` for `Month_r` and `NaN` for `foo`)? Even if I do not add an index to `s1`, the join still fails: ``` s3 = pd.DataFrame({'Month':[pd.Timestamp('2010-05-01')], 'Baz':[100]}) In [68]: s3.join(s2, on="Month", rsuffix="_r") Out[68]: Baz Month Foo Month_r 0 100 2010-05-01 00:00:00 NaN NaT ``` In fact, even a self join fails: ``` In [77]: s3.join(s3, on="Month", rsuffix="_r") Out[77]: Baz Month Baz_r Month_r 0 100 2010-05-01 00:00:00 NaN NaT ``` `Merge`, however, works fine: ``` In [79]: s3.merge(s3, on="Month") Out[79]: Baz_x Month Baz_y 0 100 2010-05-01 00:00:00 100 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5531/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5531/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5532
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5532/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5532/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5532/events
https://github.com/pandas-dev/pandas/issues/5532
22,787,398
MDU6SXNzdWUyMjc4NzM5OA==
5,532
DataFrame.insert not working properly
{ "avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4", "events_url": "https://api.github.com/users/cancan101/events{/privacy}", "followers_url": "https://api.github.com/users/cancan101/followers", "following_url": "https://api.github.com/users/cancan101/following{/other_user}", "gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cancan101", "id": 51059, "login": "cancan101", "node_id": "MDQ6VXNlcjUxMDU5", "organizations_url": "https://api.github.com/users/cancan101/orgs", "received_events_url": "https://api.github.com/users/cancan101/received_events", "repos_url": "https://api.github.com/users/cancan101/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cancan101/subscriptions", "type": "User", "url": "https://api.github.com/users/cancan101" }
[]
closed
false
null
[]
null
13
2013-11-16T23:30:17Z
2013-11-18T14:01:03Z
2013-11-18T14:01:03Z
CONTRIBUTOR
null
For some reason I am just ending up with `NaT`s: ``` def get_month(x): return x.replace(day=1) p1 = pd.DataFrame({ 'Baz':[100]}, index=[pd.Timestamp('2010-05-13')]) p2 = p1.copy() p2.insert(1, "Month", p1.reset_index()['index'].apply(get_month)) p2 Out[1]: Baz Month 2010-05-13 100 NaT ``` the apply does work: ``` In [2]: p1.reset_index()['index'].apply(get_month) Out[2]: 0 2010-05-01 00:00:00 Name: index, dtype: datetime64[ns] ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5532/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5532/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5533
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5533/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5533/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5533/events
https://github.com/pandas-dev/pandas/pull/5533
22,791,286
MDExOlB1bGxSZXF1ZXN0MTAwMjk1NDE=
5,533
PERF faster head, tail and size groupby methods
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[]
closed
false
null
[]
null
6
2013-11-17T04:47:17Z
2014-07-16T08:40:40Z
2013-11-20T01:42:36Z
CONTRIBUTOR
null
Try again with #5518. Massive gains in groupby head and tail, adds more tests for these, slight speed improvement in size (not as much as I'd hoped, basically iterating through grouper.indices is slow :( ). _As mentioned before, I added a helper function to prepend as_index to index (if that makes **any** sense), I think it could be faster, and also using it in apply may fix some bugs there..._
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5533/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5533/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5533.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5533", "merged_at": "2013-11-20T01:42:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5533.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5533" }
https://api.github.com/repos/pandas-dev/pandas/issues/5534
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5534/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5534/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5534/events
https://github.com/pandas-dev/pandas/pull/5534
22,794,329
MDExOlB1bGxSZXF1ZXN0MTAwMzA3NDc=
5,534
ENH nlargest and nsmallest Series methods
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[ { "color": "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": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
closed
false
{ "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" }
46
2013-11-17T10:10:29Z
2014-06-16T20:51:36Z
2014-05-13T14:29:21Z
CONTRIBUTOR
null
closes #3960. _Implemented using kth_largest, could cython using better algo later._
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5534/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5534/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5534.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5534", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/5534.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5534" }
https://api.github.com/repos/pandas-dev/pandas/issues/5535
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5535/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5535/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5535/events
https://github.com/pandas-dev/pandas/issues/5535
22,796,763
MDU6SXNzdWUyMjc5Njc2Mw==
5,535
computation.tests.test_eval.TestScope.test_global_scope generates errors with numexpr engine and numpy 1.7.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/1879063?v=4", "events_url": "https://api.github.com/users/neirbowj/events{/privacy}", "followers_url": "https://api.github.com/users/neirbowj/followers", "following_url": "https://api.github.com/users/neirbowj/following{/other_user}", "gists_url": "https://api.github.com/users/neirbowj/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/neirbowj", "id": 1879063, "login": "neirbowj", "node_id": "MDQ6VXNlcjE4NzkwNjM=", "organizations_url": "https://api.github.com/users/neirbowj/orgs", "received_events_url": "https://api.github.com/users/neirbowj/received_events", "repos_url": "https://api.github.com/users/neirbowj/repos", "site_admin": false, "starred_url": "https://api.github.com/users/neirbowj/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/neirbowj/subscriptions", "type": "User", "url": "https://api.github.com/users/neirbowj" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
5
2013-11-17T13:49:43Z
2016-10-12T23:04:23Z
2013-12-09T20:19:46Z
CONTRIBUTOR
null
``` $ nosetests -v pandas.computation.tests.test_eval:TestScope.test_global_scope pandas.computation.tests.test_eval.TestScope.test_global_scope('_var_s * 2', 'python', 'python') ... ok pandas.computation.tests.test_eval.TestScope.test_global_scope('_var_s * 2', 'python', 'pandas') ... ok pandas.computation.tests.test_eval.TestScope.test_global_scope('_var_s * 2', 'numexpr', 'python') ... ERROR pandas.computation.tests.test_eval.TestScope.test_global_scope('_var_s * 2', 'numexpr', 'pandas') ... ERROR ====================================================================== ERROR: pandas.computation.tests.test_eval.TestScope.test_global_scope('_var_s * 2', 'numexpr', 'python') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/obrienjw/src/github/pandas/pandas/computation/tests/test_eval.py", line 1430, in check_global_scope parser=parser)) File "/home/obrienjw/src/github/pandas/pandas/computation/eval.py", line 208, in eval ret = eng_inst.evaluate() File "/home/obrienjw/src/github/pandas/pandas/computation/engines.py", line 53, in evaluate self.expr.terms.return_type) File "/home/obrienjw/src/github/pandas/pandas/computation/align.py", line 250, in _reconstruct_object ret = ret_value.item() IndexError: index 140737488325120 is out of bounds for axis 0 with size 10 ====================================================================== ERROR: pandas.computation.tests.test_eval.TestScope.test_global_scope('_var_s * 2', 'numexpr', 'pandas') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/obrienjw/src/github/pandas/pandas/computation/tests/test_eval.py", line 1430, in check_global_scope parser=parser)) File "/home/obrienjw/src/github/pandas/pandas/computation/eval.py", line 208, in eval ret = eng_inst.evaluate() File "/home/obrienjw/src/github/pandas/pandas/computation/engines.py", line 53, in evaluate self.expr.terms.return_type) File "/home/obrienjw/src/github/pandas/pandas/computation/align.py", line 250, in _reconstruct_object ret = ret_value.item() IndexError: index 140737488325120 is out of bounds for axis 0 with size 10 ---------------------------------------------------------------------- Ran 4 tests in 0.007s FAILED (errors=2) ``` Here are the version details of my environment. ``` $ git describe v0.12.0-1110-gd250d64 $ ci/print_versions.py INSTALLED VERSIONS ------------------ Python: 2.7.5.final.0 OS: FreeBSD 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0 r254955: Tue Aug 27 11:01:00 EDT 2013 [email protected]:/usr/obj/usr/src/sys/NARB amd64 byteorder: little LC_ALL: None LANG: None pandas: Not installed Cython: 0.19.1 Numpy: 1.7.0 Scipy: 0.12.1 statsmodels: Not installed patsy: Not installed scikits.timeseries: Not installed dateutil: 2.1 pytz: 2013.8 bottleneck: Not installed PyTables: Not Installed numexpr: 2.2.2 matplotlib: 1.2.0 openpyxl: Not installed xlrd: Not installed xlwt: Not installed xlsxwriter: Not installed sqlalchemy: Not installed lxml: Not installed bs4: Not installed html5lib: Not installed bigquery: Not installed apiclient: Not installed ``` Edited title to reflect latest analysis; affected code depends on the version of numpy, not the platform.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5535/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5535/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5536
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5536/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5536/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5536/events
https://github.com/pandas-dev/pandas/issues/5536
22,797,093
MDU6SXNzdWUyMjc5NzA5Mw==
5,536
tools.tests.test_tile:TestCut.test_inf_handling generates error on FreeBSD
{ "avatar_url": "https://avatars.githubusercontent.com/u/1879063?v=4", "events_url": "https://api.github.com/users/neirbowj/events{/privacy}", "followers_url": "https://api.github.com/users/neirbowj/followers", "following_url": "https://api.github.com/users/neirbowj/following{/other_user}", "gists_url": "https://api.github.com/users/neirbowj/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/neirbowj", "id": 1879063, "login": "neirbowj", "node_id": "MDQ6VXNlcjE4NzkwNjM=", "organizations_url": "https://api.github.com/users/neirbowj/orgs", "received_events_url": "https://api.github.com/users/neirbowj/received_events", "repos_url": "https://api.github.com/users/neirbowj/repos", "site_admin": false, "starred_url": "https://api.github.com/users/neirbowj/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/neirbowj/subscriptions", "type": "User", "url": "https://api.github.com/users/neirbowj" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
null
3
2013-11-17T14:15:24Z
2013-11-30T21:36:00Z
2013-11-30T21:34:06Z
CONTRIBUTOR
null
``` $ nosetests -v pandas.tools.tests.test_tile:TestCut.test_inf_handling test_inf_handling (pandas.tools.tests.test_tile.TestCut) ... ERROR ====================================================================== ERROR: test_inf_handling (pandas.tools.tests.test_tile.TestCut) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/obrienjw/src/github/pandas/pandas/tools/tests/test_tile.py", line 121, in test_inf_handling result = cut(data, [-np.inf, 2, 4, np.inf]) File "/home/obrienjw/src/github/pandas/pandas/tools/tile.py", line 103, in cut include_lowest=include_lowest) File "/home/obrienjw/src/github/pandas/pandas/tools/tile.py", line 169, in _bins_to_cuts include_lowest=include_lowest) File "/home/obrienjw/src/github/pandas/pandas/tools/tile.py", line 205, in _format_levels fa, fb = fmt(a), fmt(b) File "/home/obrienjw/src/github/pandas/pandas/tools/tile.py", line 201, in <lambda> fmt = lambda v: _format_label(v, precision=prec) File "/home/obrienjw/src/github/pandas/pandas/tools/tile.py", line 235, in _format_label return '%d' % (-whole - 1) TypeError: %d format: a number is required, not numpy.float64 ---------------------------------------------------------------------- Ran 1 test in 0.002s FAILED (errors=1) ``` My environment: ``` $ git describe v0.12.0-1110-gd250d64 $ ci/print_versions.py INSTALLED VERSIONS ------------------ Python: 2.7.5.final.0 OS: FreeBSD 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0 r254955: Tue Aug 27 11:01:00 EDT 2013 [email protected]:/usr/obj/usr/src/sys/NARB amd64 byteorder: little LC_ALL: None LANG: None pandas: Not installed Cython: 0.19.1 Numpy: 1.7.0 Scipy: 0.12.1 statsmodels: Not installed patsy: Not installed scikits.timeseries: Not installed dateutil: 2.1 pytz: 2013.8 bottleneck: Not installed PyTables: Not Installed numexpr: 2.2.2 matplotlib: 1.2.0 openpyxl: Not installed xlrd: Not installed xlwt: Not installed xlsxwriter: Not installed sqlalchemy: Not installed lxml: Not installed bs4: Not installed html5lib: Not installed bigquery: Not installed apiclient: Not installed ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5536/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5536/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5537
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5537/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5537/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5537/events
https://github.com/pandas-dev/pandas/issues/5537
22,797,158
MDU6SXNzdWUyMjc5NzE1OA==
5,537
tools.tests.test_util:TestLocaleUtils.test_set_locale fails spuriously on FreeBSD
{ "avatar_url": "https://avatars.githubusercontent.com/u/1879063?v=4", "events_url": "https://api.github.com/users/neirbowj/events{/privacy}", "followers_url": "https://api.github.com/users/neirbowj/followers", "following_url": "https://api.github.com/users/neirbowj/following{/other_user}", "gists_url": "https://api.github.com/users/neirbowj/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/neirbowj", "id": 1879063, "login": "neirbowj", "node_id": "MDQ6VXNlcjE4NzkwNjM=", "organizations_url": "https://api.github.com/users/neirbowj/orgs", "received_events_url": "https://api.github.com/users/neirbowj/received_events", "repos_url": "https://api.github.com/users/neirbowj/repos", "site_admin": false, "starred_url": "https://api.github.com/users/neirbowj/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/neirbowj/subscriptions", "type": "User", "url": "https://api.github.com/users/neirbowj" }
[]
closed
false
null
[]
null
0
2013-11-17T14:21:09Z
2013-11-17T15:00:14Z
2013-11-17T15:00:14Z
CONTRIBUTOR
null
``` $ nosetests pandas.tools.tests.test_util:TestLocaleUtils.test_set_locale F ====================================================================== FAIL: test_set_locale (pandas.tools.tests.test_util.TestLocaleUtils) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/obrienjw/src/github/pandas/pandas/tools/tests/test_util.py", line 71, in test_set_locale pass File "/home/obrienjw/src/github/pandas/pandas/util/testing.py", line 1308, in __exit__ raise AssertionError("{0} not raised.".format(name)) AssertionError: Error not raised. ---------------------------------------------------------------------- Ran 1 test in 0.044s FAILED (failures=1) ``` My environment: ``` $ git describe v0.12.0-1110-gd250d64 $ ci/print_versions.py INSTALLED VERSIONS ------------------ Python: 2.7.5.final.0 OS: FreeBSD 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0 r254955: Tue Aug 27 11:01:00 EDT 2013 [email protected]:/usr/obj/usr/src/sys/NARB amd64 byteorder: little LC_ALL: None LANG: None pandas: Not installed Cython: 0.19.1 Numpy: 1.7.0 Scipy: 0.12.1 statsmodels: Not installed patsy: Not installed scikits.timeseries: Not installed dateutil: 2.1 pytz: 2013.8 bottleneck: Not installed PyTables: Not Installed numexpr: 2.2.2 matplotlib: 1.2.0 openpyxl: Not installed xlrd: Not installed xlwt: Not installed xlsxwriter: Not installed sqlalchemy: Not installed lxml: Not installed bs4: Not installed html5lib: Not installed bigquery: Not installed apiclient: Not installed ``` I will submit a pull request for this shortly.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5537/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5537/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5538
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5538/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5538/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5538/events
https://github.com/pandas-dev/pandas/pull/5538
22,797,196
MDExOlB1bGxSZXF1ZXN0MTAwMzE4MzQ=
5,538
TST: correctly predict locale setability
{ "avatar_url": "https://avatars.githubusercontent.com/u/1879063?v=4", "events_url": "https://api.github.com/users/neirbowj/events{/privacy}", "followers_url": "https://api.github.com/users/neirbowj/followers", "following_url": "https://api.github.com/users/neirbowj/following{/other_user}", "gists_url": "https://api.github.com/users/neirbowj/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/neirbowj", "id": 1879063, "login": "neirbowj", "node_id": "MDQ6VXNlcjE4NzkwNjM=", "organizations_url": "https://api.github.com/users/neirbowj/orgs", "received_events_url": "https://api.github.com/users/neirbowj/received_events", "repos_url": "https://api.github.com/users/neirbowj/repos", "site_admin": false, "starred_url": "https://api.github.com/users/neirbowj/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/neirbowj/subscriptions", "type": "User", "url": "https://api.github.com/users/neirbowj" }
[]
closed
false
null
[]
null
1
2013-11-17T14:24:40Z
2014-06-19T22:50:55Z
2013-11-17T15:00:14Z
CONTRIBUTOR
null
Don't join the lang and encoding when performing the trial set, because ``` locale.setlocale(locale.LC_ALL, ('it_CH', 'utf-8')) ``` succeeds, but ``` locale.setlocale(locale.LC_ALL, 'it_CH.utf-8') ``` throws locale.Error. Closes #5537.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5538/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5538/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5538.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5538", "merged_at": "2013-11-17T15:00:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5538.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5538" }
https://api.github.com/repos/pandas-dev/pandas/issues/5539
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5539/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5539/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5539/events
https://github.com/pandas-dev/pandas/issues/5539
22,799,225
MDU6SXNzdWUyMjc5OTIyNQ==
5,539
Regression: to_csv and multiindex columns with header kw
{ "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": "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": "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": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "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": "2017-12-13T13:05:41Z", "closed_issues": 160, "created_at": "2017-10-02T10:21:48Z", "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-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/52", "id": 2806806, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/52/labels", "node_id": "MDk6TWlsZXN0b25lMjgwNjgwNg==", "number": 52, "open_issues": 0, "state": "closed", "title": "0.21.1", "updated_at": "2018-02-19T22:57:23Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/52" }
5
2013-11-17T16:35:39Z
2017-11-05T04:36:52Z
2017-11-05T04:36:52Z
CONTRIBUTOR
null
This used to work (October 2012), but doesn't anymore: ``` python from pandas import DataFrame import numpy as np import StringIO a = ["a","b","a","b","a","b","a","b","a","b","a","b"] b = ["c","d","e","c","d","e","c","d","e","c","d","e"] c = [1,2,3,4,5,6,7,8,9,10,11,12] d = list(reversed(c)) df = DataFrame({"a":a, "b":b, "c":c, "d":d}) _agg_funs = [np.mean, np.std, np.min, np.max] groupby_variables = ["a","b"] df_grouped = df.groupby(groupby_variables, as_index=True).agg(_agg_funs) output = StringIO.StringIO() df_grouped.to_csv(output, header=[var + "_" + agg for (var, agg) in df_grouped.columns]) index = output.getvalue().split("\n")[0].split(",") expected_index = groupby_variables + [var + "_" + agg for (var, agg) in df_grouped.columns] print(index == expected_index) # This was true in October 2012! print(index) print(expected_index) False ['', '', 'c', 'c', 'c', 'c', 'd', 'd', 'd', 'd'] ['a', 'b', 'c_mean', 'c_std', 'c_amin', 'c_amax', 'd_mean', 'd_std', 'd_amin', 'd_amax'] ``` Probably related to #3575
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5539/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5539/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5540
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5540/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5540/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5540/events
https://github.com/pandas-dev/pandas/pull/5540
22,810,517
MDExOlB1bGxSZXF1ZXN0MTAwMzYzMzg=
5,540
TST: fix cumcount test on 32-bit env
{ "avatar_url": "https://avatars.githubusercontent.com/u/746408?v=4", "events_url": "https://api.github.com/users/gdraps/events{/privacy}", "followers_url": "https://api.github.com/users/gdraps/followers", "following_url": "https://api.github.com/users/gdraps/following{/other_user}", "gists_url": "https://api.github.com/users/gdraps/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gdraps", "id": 746408, "login": "gdraps", "node_id": "MDQ6VXNlcjc0NjQwOA==", "organizations_url": "https://api.github.com/users/gdraps/orgs", "received_events_url": "https://api.github.com/users/gdraps/received_events", "repos_url": "https://api.github.com/users/gdraps/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gdraps/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gdraps/subscriptions", "type": "User", "url": "https://api.github.com/users/gdraps" }
[]
closed
false
null
[]
null
3
2013-11-18T01:29:16Z
2014-06-12T16:56:31Z
2013-11-18T01:48:18Z
CONTRIBUTOR
null
Fix `test_groupby.test_cumcount_empty()` on 32-bit platforms by specifying expected dtype of 'int64'. ``` ====================================================================== FAIL: test_cumcount_empty (pandas.tests.test_groupby.TestGroupBy) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/gmd/github_shadow/pandas/pandas/tests/test_groupby.py", line 2579, in test_cumcount_empty assert_series_equal(e, ge.cumcount()) File "/home/gmd/github_shadow/pandas/pandas/util/testing.py", line 423, in assert_series_equal assert_attr_equal('dtype', left, right) File "/home/gmd/github_shadow/pandas/pandas/util/testing.py", line 407, in assert_attr_equal assert_equal(left_attr,right_attr,"attr is not equal [{0}]" .format(attr)) File "/home/gmd/github_shadow/pandas/pandas/util/testing.py", line 390, in assert_equal assert a == b, "%s: %r != %r" % (msg.format(a,b), a, b) AssertionError: attr is not equal [dtype]: dtype('int32') != 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/5540/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5540/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5540.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5540", "merged_at": "2013-11-18T01:48:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5540.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5540" }
https://api.github.com/repos/pandas-dev/pandas/issues/5541
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5541/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5541/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5541/events
https://github.com/pandas-dev/pandas/issues/5541
22,860,198
MDU6SXNzdWUyMjg2MDE5OA==
5,541
Refactor DataFrame.replace to dispatch on types
{ "avatar_url": "https://avatars.githubusercontent.com/u/156719?v=4", "events_url": "https://api.github.com/users/nspies/events{/privacy}", "followers_url": "https://api.github.com/users/nspies/followers", "following_url": "https://api.github.com/users/nspies/following{/other_user}", "gists_url": "https://api.github.com/users/nspies/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nspies", "id": 156719, "login": "nspies", "node_id": "MDQ6VXNlcjE1NjcxOQ==", "organizations_url": "https://api.github.com/users/nspies/orgs", "received_events_url": "https://api.github.com/users/nspies/received_events", "repos_url": "https://api.github.com/users/nspies/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nspies/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nspies/subscriptions", "type": "User", "url": "https://api.github.com/users/nspies" }
[ { "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": "01a886", "default": false, "description": "replace method", "id": 1652721180, "name": "replace", "node_id": "MDU6TGFiZWwxNjUyNzIxMTgw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/replace" } ]
open
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" } ]
{ "closed_at": null, "closed_issues": 278, "created_at": "2013-01-06T03:02:01Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)", "due_on": "2022-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/20", "id": 239227, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels", "node_id": "MDk6TWlsZXN0b25lMjM5MjI3", "number": 20, "open_issues": 108, "state": "open", "title": "Someday", "updated_at": "2021-08-08T01:48:22Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20" }
9
2013-11-18T19:17:07Z
2021-04-11T03:55:33Z
null
CONTRIBUTOR
null
I'm having trouble figuring out how DataFrame.replace() is supposed to work. I'm not sure if this is a bug or a documentation issue. ``` In [1]: import pandas In [2]: df = pandas.DataFrame({"col1":range(5), "col2":[0.5]*3+[1.0]*2}) In [3]: df Out[3]: col1 col2 0 0 0.5 1 1 0.5 2 2 0.5 3 3 1.0 4 4 1.0 In [4]: df.replace(1.0, "a") Out[4]: col1 col2 0 0 0.5 1 a 0.5 2 2 0.5 3 3 a 4 4 a In [5]: df.replace(1.0, "a").replace(0.5, "b") Out[5]: col1 col2 0 0 b 1 a b 2 2 b 3 3 a 4 4 a ``` So far, so good, everything makes sense. But I would have expected this to accomplish the same as above: ``` In [6]: df.replace({1.0:"a", 0.5:"b"}) Out[6]: col1 col2 0 b b 1 a a 2 2 b 3 3 a 4 4 b ``` As you can see, I'm getting alternating "b" and "a". From a quick browse of the source code, it seems that the dictionary-replacement option should result in the same outcome as the following (which gives what I would have expected): ``` In [15]: df.replace([1.0, 0.5], ["a", "b"]) Out[15]: col1 col2 a 0 b b a b c 2 b d 3 a e 4 a ``` I'm not sure what the to_replace=dict option is supposed to be doing but (at least for pandas v 0.12.0) it isn't doing what I would have expected. Whether this is a bug or not, the df.replace() method needs better documentation. It's not enough to include a disclaimer that "This method has a lot of options. You are encouraged to experiment and play with this method to gain intuition about how it works."
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5541/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5541/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5542
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5542/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5542/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5542/events
https://github.com/pandas-dev/pandas/issues/5542
22,872,408
MDU6SXNzdWUyMjg3MjQwOA==
5,542
BUG: del in Series gives strange errors
{ "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": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
2
2013-11-18T22:25:07Z
2013-11-19T01:49:54Z
2013-11-19T01:49:54Z
CONTRIBUTOR
null
I'm not sure whether `del someseries[something]` is supposed to work or not, although there is a `Series.__delitem__` method so maybe at some point it was. And `.drop()` seems to work, so it's not super-important. But ISTM users shouldn't see this: ``` >>> pd.__version__ '0.12.0-1114-g4d0632b' >>> ser = pd.Series(range(5)) >>> del ser[0] Traceback (most recent call last): File "<ipython-input-62-e967e45427c2>", line 1, in <module> del ser[0] File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1114_g4d0632b-py2.7-linux-i686.egg/pandas/core/generic.py", line 1057, in __delitem__ self._data.delete(key) File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1114_g4d0632b-py2.7-linux-i686.egg/pandas/core/internals.py", line 2818, in delete self.set_items_norename(new_items) File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1114_g4d0632b-py2.7-linux-i686.egg/pandas/core/internals.py", line 2923, in set_items_norename self.set_axis(0, value, maybe_rename=False, check_axis=False) TypeError: set_axis() got an unexpected keyword argument 'maybe_rename' >>> del ser[0] Traceback (most recent call last): File "<ipython-input-63-e967e45427c2>", line 1, in <module> del ser[0] File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1114_g4d0632b-py2.7-linux-i686.egg/pandas/core/generic.py", line 1057, in __delitem__ self._data.delete(key) File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1114_g4d0632b-py2.7-linux-i686.egg/pandas/core/internals.py", line 2814, in delete self._delete_from_all_blocks(loc, item) File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1114_g4d0632b-py2.7-linux-i686.egg/pandas/core/internals.py", line 2945, in _delete_from_all_blocks i, _ = self._find_block(item) TypeError: 'NoneType' object is not iterable ``` That the error message isn't the same both times is a little disturbing in any case, because that suggests something stateful changed, which it's hard to believe can be right.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5542/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5542/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5543
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5543/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5543/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5543/events
https://github.com/pandas-dev/pandas/issues/5543
22,877,547
MDU6SXNzdWUyMjg3NzU0Nw==
5,543
ENH: symmetric_difference for Index
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
closed
false
null
[]
{ "closed_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
0
2013-11-18T23:49:12Z
2014-02-17T17:46:58Z
2014-02-17T17:46:58Z
CONTRIBUTOR
null
I've had to use this a few times, maybe some other people could use it too. At least for unique indices, the symmetric difference should be equivalent to `(df1.index - df2.index).union(df2.index - df1.index)`. Example: ``` python In [54]: df1 = pd.DataFrame([1,2,3,4], index=['a', 'b', 'c', 'd']) In [55]: df1 Out[55]: 0 a 1 b 2 c 3 d 4 In [56]: df2 = pd.DataFrame([5, 6, 7, 8], index=['a', 'd', 'e', 'f']) In [57]: df2 Out[57]: 0 a 5 d 6 e 7 f 8 In [58]: (df1.index - df2.index).union(df2.index - df1.index) Out[58]: Index([u'b', u'c', u'e', u'f'], dtype='object') ``` I'll need to look into how would work for - Indicies with duplicates - MultiIndexes
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5543/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5543/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5544
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5544/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5544/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5544/events
https://github.com/pandas-dev/pandas/pull/5544
22,880,832
MDExOlB1bGxSZXF1ZXN0MTAwNzMxMzA=
5,544
BUG: Bug in delitem on a Series (GH5542)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
0
2013-11-19T01:00:56Z
2014-06-23T11:03:02Z
2013-11-19T01:49:54Z
CONTRIBUTOR
null
closes #5542
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5544/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5544/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5544.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5544", "merged_at": "2013-11-19T01:49:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5544.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5544" }
https://api.github.com/repos/pandas-dev/pandas/issues/5545
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5545/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5545/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5545/events
https://github.com/pandas-dev/pandas/issues/5545
22,888,658
MDU6SXNzdWUyMjg4ODY1OA==
5,545
bug in groupby.apply?, goes away if I copy the data.
{ "avatar_url": "https://avatars.githubusercontent.com/u/249407?v=4", "events_url": "https://api.github.com/users/hhuuggoo/events{/privacy}", "followers_url": "https://api.github.com/users/hhuuggoo/followers", "following_url": "https://api.github.com/users/hhuuggoo/following{/other_user}", "gists_url": "https://api.github.com/users/hhuuggoo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hhuuggoo", "id": 249407, "login": "hhuuggoo", "node_id": "MDQ6VXNlcjI0OTQwNw==", "organizations_url": "https://api.github.com/users/hhuuggoo/orgs", "received_events_url": "https://api.github.com/users/hhuuggoo/received_events", "repos_url": "https://api.github.com/users/hhuuggoo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hhuuggoo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hhuuggoo/subscriptions", "type": "User", "url": "https://api.github.com/users/hhuuggoo" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
1
2013-11-19T04:59:29Z
2013-11-20T14:28:49Z
2013-11-20T14:28:49Z
NONE
null
Tested pandas 0.11, and 0.12, both exhibit this problem ``` import pandas as pd data = pd.DataFrame({'id_field' : [100, 100, 200, 300], 'category' : ['a','b','c','c'], 'value' : [1,2,3,4]}) def filt1(x): if x.shape[0] == 1: return x.copy() else: return x[x.category == 'c'] def filt2(x): if x.shape[0] == 1: return x else: return x[x.category == 'c'] #works fine print data.groupby('id_field').apply(filt1) #throws error print data.groupby('id_field').apply(filt2) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5545/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5545/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5546
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5546/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5546/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5546/events
https://github.com/pandas-dev/pandas/issues/5546
22,890,616
MDU6SXNzdWUyMjg5MDYxNg==
5,546
tz_localize does not handle NaT
{ "avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4", "events_url": "https://api.github.com/users/cancan101/events{/privacy}", "followers_url": "https://api.github.com/users/cancan101/followers", "following_url": "https://api.github.com/users/cancan101/following{/other_user}", "gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cancan101", "id": 51059, "login": "cancan101", "node_id": "MDQ6VXNlcjUxMDU5", "organizations_url": "https://api.github.com/users/cancan101/orgs", "received_events_url": "https://api.github.com/users/cancan101/received_events", "repos_url": "https://api.github.com/users/cancan101/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cancan101/subscriptions", "type": "User", "url": "https://api.github.com/users/cancan101" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "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-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
0
2013-11-19T05:55:38Z
2014-04-13T07:14:55Z
2014-04-13T07:14:55Z
CONTRIBUTOR
null
`DatetimeIndex` correctly handles `NaT`: ``` In [2]: pd.DatetimeIndex([pd.NaT]) Out[2]: <class 'pandas.tseries.index.DatetimeIndex'> [NaT] Length: 1, Freq: None, Timezone: None ``` But calling `tz_localize` leads to garbage: ``` In [1]: pd.DatetimeIndex([pd.NaT]).tz_localize('US/Pacific') Out[1]: <class 'pandas.tseries.index.DatetimeIndex'> [2262-04-10 00:12:43.145224192] Length: 1, Freq: None, Timezone: US/Pacific ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5546/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5546/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5547
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5547/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5547/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5547/events
https://github.com/pandas-dev/pandas/pull/5547
22,903,406
MDExOlB1bGxSZXF1ZXN0MTAwODQxMjQ=
5,547
DOC: Fixing a good number of spelling mistakes in 0.13 release notes
{ "avatar_url": "https://avatars.githubusercontent.com/u/2418513?v=4", "events_url": "https://api.github.com/users/aldanor/events{/privacy}", "followers_url": "https://api.github.com/users/aldanor/followers", "following_url": "https://api.github.com/users/aldanor/following{/other_user}", "gists_url": "https://api.github.com/users/aldanor/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aldanor", "id": 2418513, "login": "aldanor", "node_id": "MDQ6VXNlcjI0MTg1MTM=", "organizations_url": "https://api.github.com/users/aldanor/orgs", "received_events_url": "https://api.github.com/users/aldanor/received_events", "repos_url": "https://api.github.com/users/aldanor/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aldanor/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aldanor/subscriptions", "type": "User", "url": "https://api.github.com/users/aldanor" }
[]
closed
false
null
[]
null
1
2013-11-19T10:58:32Z
2014-07-16T08:40:49Z
2013-11-19T23:36:10Z
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/5547/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5547/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5547.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5547", "merged_at": "2013-11-19T23:36:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5547.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5547" }
https://api.github.com/repos/pandas-dev/pandas/issues/5548
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5548/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5548/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5548/events
https://github.com/pandas-dev/pandas/pull/5548
22,906,241
MDExOlB1bGxSZXF1ZXN0MTAwODU1OTI=
5,548
DOC: mention new to_clipboard/paste into excel capability in release docs
{ "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "events_url": "https://api.github.com/users/ghost/events{/privacy}", "followers_url": "https://api.github.com/users/ghost/followers", "following_url": "https://api.github.com/users/ghost/following{/other_user}", "gists_url": "https://api.github.com/users/ghost/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ghost", "id": 10137, "login": "ghost", "node_id": "MDQ6VXNlcjEwMTM3", "organizations_url": "https://api.github.com/users/ghost/orgs", "received_events_url": "https://api.github.com/users/ghost/received_events", "repos_url": "https://api.github.com/users/ghost/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ghost/subscriptions", "type": "User", "url": "https://api.github.com/users/ghost" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
0
2013-11-19T11:52:13Z
2014-07-16T08:40:50Z
2013-11-19T11:52: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/5548/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5548/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5548.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5548", "merged_at": "2013-11-19T11:52:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5548.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5548" }
https://api.github.com/repos/pandas-dev/pandas/issues/5549
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5549/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5549/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5549/events
https://github.com/pandas-dev/pandas/issues/5549
22,921,183
MDU6SXNzdWUyMjkyMTE4Mw==
5,549
Unexpected result from rolling_median when center = True
{ "avatar_url": "https://avatars.githubusercontent.com/u/3467317?v=4", "events_url": "https://api.github.com/users/jonblunt/events{/privacy}", "followers_url": "https://api.github.com/users/jonblunt/followers", "following_url": "https://api.github.com/users/jonblunt/following{/other_user}", "gists_url": "https://api.github.com/users/jonblunt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jonblunt", "id": 3467317, "login": "jonblunt", "node_id": "MDQ6VXNlcjM0NjczMTc=", "organizations_url": "https://api.github.com/users/jonblunt/orgs", "received_events_url": "https://api.github.com/users/jonblunt/received_events", "repos_url": "https://api.github.com/users/jonblunt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jonblunt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jonblunt/subscriptions", "type": "User", "url": "https://api.github.com/users/jonblunt" }
[]
closed
false
null
[]
null
1
2013-11-19T15:35:19Z
2013-11-19T15:51:24Z
2013-11-19T15:51:24Z
NONE
null
``` python s = pd.Series( range(10), index = pd.PeriodIndex(start = '2013-10-1', end = '2013-10-10', freq = 'D')) pd.rolling_median(s,5, min_periods = 1) 2013-10-01 0.0 2013-10-02 0.5 2013-10-03 1.0 2013-10-04 1.5 2013-10-05 2.0 2013-10-06 3.0 2013-10-07 4.0 2013-10-08 5.0 2013-10-09 6.0 2013-10-10 7.0 Freq: D, dtype: float64 ``` When center is specified we get Nans in the last window//2 positions ``` s = pd.Series( range(10), index = pd.PeriodIndex(start = '2013-10-1', end = '2013-10-10', freq = 'D')) pd.rolling_median(s,5, min_periods = 1, center = True) 2013-10-01 1.0 2013-10-02 1.5 2013-10-03 2.0 2013-10-04 3.0 2013-10-05 4.0 2013-10-06 5.0 2013-10-07 6.0 2013-10-08 7.0 2013-10-09 NaN 2013-10-10 NaN Freq: D, dtype: float64 ``` I was expecting the last two values to be 7.5 and 8. I got the same results, nans at the end with rolling_mean as well This is with pandas 12.0 and windows 64.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5549/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5549/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5550
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5550/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5550/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5550/events
https://github.com/pandas-dev/pandas/pull/5550
22,941,825
MDExOlB1bGxSZXF1ZXN0MTAxMDM1ODI=
5,550
HTML (and text) reprs for large dataframes.
{ "avatar_url": "https://avatars.githubusercontent.com/u/327925?v=4", "events_url": "https://api.github.com/users/takluyver/events{/privacy}", "followers_url": "https://api.github.com/users/takluyver/followers", "following_url": "https://api.github.com/users/takluyver/following{/other_user}", "gists_url": "https://api.github.com/users/takluyver/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/takluyver", "id": 327925, "login": "takluyver", "node_id": "MDQ6VXNlcjMyNzkyNQ==", "organizations_url": "https://api.github.com/users/takluyver/orgs", "received_events_url": "https://api.github.com/users/takluyver/received_events", "repos_url": "https://api.github.com/users/takluyver/repos", "site_admin": false, "starred_url": "https://api.github.com/users/takluyver/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/takluyver/subscriptions", "type": "User", "url": "https://api.github.com/users/takluyver" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
59
2013-11-19T19:49:46Z
2014-06-12T17:07:25Z
2013-11-26T01:04:01Z
CONTRIBUTOR
null
As discussed in #4886, the HTML representation of DataFrames currently starts off as a table, but switches to the condensed info view if the table exceeds a certain size (by default, more than 60 rows or 20 columns). I've seen this confusing users, who think that they suddenly have a completely different kind of object, and don't understand why. With these changes, the HTML repr always displays the table, but truncates it when it exceeds a certain size. It reuses the same options, `display.max_rows` and `display.max_columns`. Before: ![pandas_long_repr_before](https://f.cloud.github.com/assets/327925/1575857/ae103a8c-5153-11e3-8a2c-f770cc76bdc2.png) ![pandas_wide_repr_before](https://f.cloud.github.com/assets/327925/1575858/ae40b22a-5153-11e3-8c1e-3d9a632a5136.png) After: ![pandas_long_repr_after](https://f.cloud.github.com/assets/327925/1575860/b35a2caa-5153-11e3-9887-69302703f545.png) ![pandas_wide_repr_after](https://f.cloud.github.com/assets/327925/1575861/b35c7bc2-5153-11e3-872c-6a85523f93db.png)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5550/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5550/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5550.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5550", "merged_at": "2013-11-26T01:04:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5550.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5550" }
https://api.github.com/repos/pandas-dev/pandas/issues/5551
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5551/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5551/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5551/events
https://github.com/pandas-dev/pandas/issues/5551
22,949,847
MDU6SXNzdWUyMjk0OTg0Nw==
5,551
0.12: Strange Series.reindex() error
{ "avatar_url": "https://avatars.githubusercontent.com/u/1903683?v=4", "events_url": "https://api.github.com/users/bluefir/events{/privacy}", "followers_url": "https://api.github.com/users/bluefir/followers", "following_url": "https://api.github.com/users/bluefir/following{/other_user}", "gists_url": "https://api.github.com/users/bluefir/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bluefir", "id": 1903683, "login": "bluefir", "node_id": "MDQ6VXNlcjE5MDM2ODM=", "organizations_url": "https://api.github.com/users/bluefir/orgs", "received_events_url": "https://api.github.com/users/bluefir/received_events", "repos_url": "https://api.github.com/users/bluefir/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bluefir/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bluefir/subscriptions", "type": "User", "url": "https://api.github.com/users/bluefir" }
[]
closed
false
null
[]
null
1
2013-11-19T21:16:45Z
2013-11-19T21:25:57Z
2013-11-19T21:25:57Z
NONE
null
Using 0.12 production version. I have a series res that is indexed by strings: ``` res.index.shape ``` > (2578L,) ``` res.head() ``` > stock_id > 000312 -0.000198 > 00036110 0.000142 > 00101J10 -0.000229 > 00103110 -0.000170 > 00105510 -0.001236 > dtype: float64 I have a DataFrame test also indexed by stock_id. res has some stock_ids missing compared to test. ``` test.index.shape ``` > (2607L,) ``` test.index[:5] ``` > Index([u'000312', u'00036110', u'00101J10', u'00103110', u'00105510'], dtype=object) I am trying to add res as a column to test. For that, I am trying to reindex res: ``` res.reindex(test.index) ``` > --------------------------------------------------------------------------- > AssertionError Traceback (most recent call last) > <ipython-input-148-265ae924cbbf> in <module>() > ----> 1 res.reindex(test.index) > > C:\Python27\lib\site-packages\pandas\core\series.pyc in reindex(self, index, method, level, fill_value, limit, copy, takeable) > 2644 > 2645 # GH4246 (dispatch to a common method with frame to handle possibly duplicate index) > -> 2646 return self._reindex_with_indexers(new_index, indexer, copy=copy, fill_value=fill_value) > 2647 > 2648 def _reindex_with_indexers(self, index, indexer, copy, fill_value): > > C:\Python27\lib\site-packages\pandas\core\series.pyc in _reindex_with_indexers(self, index, indexer, copy, fill_value) > 2648 def _reindex_with_indexers(self, index, indexer, copy, fill_value): > 2649 new_values = com.take_1d(self.values, indexer, fill_value=fill_value) > -> 2650 return Series(new_values, index=index, name=self.name) > 2651 > 2652 def reindex_axis(self, labels, axis=0, **kwargs): > > C:\Python27\lib\site-packages\pandas\core\series.pyc in **new**(cls, data, index, dtype, name, copy) > 490 else: > 491 subarr = subarr.view(Series) > --> 492 subarr.index = index > 493 subarr.name = name > 494 > > C:\Python27\lib\site-packages\pandas\lib.pyd in pandas.lib.SeriesIndex.**set** (pandas\lib.c:29092)() > > AssertionError: Index length did not match values This is strange as I thought this was exactly the reason for reindex. For example, I can easily do this: ``` x = Series(range(10)) x.reindex(range(20)) ``` Why doesn't it work in my case?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5551/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5551/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5552
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5552/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5552/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5552/events
https://github.com/pandas-dev/pandas/issues/5552
22,953,126
MDU6SXNzdWUyMjk1MzEyNg==
5,552
nth groupby method on DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
closed
false
null
[]
{ "closed_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
14
2013-11-19T22:02:44Z
2014-03-07T20:24:22Z
2014-03-07T20:24:22Z
CONTRIBUTOR
null
The nth groupby method on a Series takes the nth **non-NaN** value in the Series. This means on a DataFrame it's not going to be well defined... Should we make this a Series only method? ``` In [1]: g = pd.DataFrame([['a'], ['a'], ['a'], ['b'], ['b'], ['a']],columns=['A']).groupby('A') In [2]: g.nth(0) Out[2]: Empty DataFrame Columns: [] Index: [] In [3]: g.A.nth(0) Out[3]: A a a b b Name: A, 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/5552/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5552/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5553
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5553/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5553/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5553/events
https://github.com/pandas-dev/pandas/issues/5553
22,969,438
MDU6SXNzdWUyMjk2OTQzOA==
5,553
BUG: segfault with .loc indexing
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
11
2013-11-20T03:50:01Z
2013-11-20T16:07:05Z
2013-11-20T16:07:05Z
CONTRIBUTOR
null
I found that segfault that messed up my HDFStore earlier. You'll need to csv files: https://www.dropbox.com/s/55gcpkp3b8byfka/df1.csv https://www.dropbox.com/s/mqqhfgocdg4qggp/df2.csv To reproduce: ``` python In [1]: df1 = pd.read_csv('df1.csv', index_col=[0,1,2]) In [2]: df2 = pd.read_csv('df2.csv', index_col=[0,1,2]) In [3]: df2.loc[df1.index] Segmentation fault: 11 (pandas-dev)dhcp80fff527:Desktop tom$ ``` I've never debugged a segfault before, but I gather there are some [methods](https://wiki.python.org/moin/DebuggingWithGdb). Can anyone reproduce this? Also, that's a valid use of `.loc` right? In [1]: pd.**version** Out[1]: '0.12.0-1084-ged64416' In [2]: np.**version** Out[2]: '1.7.1'
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5553/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5553/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5554
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5554/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5554/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5554/events
https://github.com/pandas-dev/pandas/pull/5554
22,993,036
MDExOlB1bGxSZXF1ZXN0MTAxMzAzODU=
5,554
BUG: Bug fix in apply when using custom function and objects are not mutated (GH5545)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
0
2013-11-20T14:08:02Z
2014-06-22T05:16:05Z
2013-11-20T14:28:49Z
CONTRIBUTOR
null
closes #5545
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5554/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5554/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5554.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5554", "merged_at": "2013-11-20T14:28:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5554.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5554" }
https://api.github.com/repos/pandas-dev/pandas/issues/5555
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5555/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5555/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5555/events
https://github.com/pandas-dev/pandas/pull/5555
22,997,922
MDExOlB1bGxSZXF1ZXN0MTAxMzMxOTA=
5,555
BUG: Bug in selecting from a non-unique index with loc (GH5553)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
0
2013-11-20T15:25:57Z
2014-07-16T08:41:04Z
2013-11-20T16:07:05Z
CONTRIBUTOR
null
closes #5553
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5555/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5555/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5555.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5555", "merged_at": "2013-11-20T16:07:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5555.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5555" }
https://api.github.com/repos/pandas-dev/pandas/issues/5556
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5556/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5556/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5556/events
https://github.com/pandas-dev/pandas/issues/5556
23,001,906
MDU6SXNzdWUyMzAwMTkwNg==
5,556
Panel.apply() still uses np.apply_along_axis, discarding the indices and labels
{ "avatar_url": "https://avatars.githubusercontent.com/u/2418513?v=4", "events_url": "https://api.github.com/users/aldanor/events{/privacy}", "followers_url": "https://api.github.com/users/aldanor/followers", "following_url": "https://api.github.com/users/aldanor/following{/other_user}", "gists_url": "https://api.github.com/users/aldanor/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aldanor", "id": 2418513, "login": "aldanor", "node_id": "MDQ6VXNlcjI0MTg1MTM=", "organizations_url": "https://api.github.com/users/aldanor/orgs", "received_events_url": "https://api.github.com/users/aldanor/received_events", "repos_url": "https://api.github.com/users/aldanor/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aldanor/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aldanor/subscriptions", "type": "User", "url": "https://api.github.com/users/aldanor" }
[ { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
null
4
2013-11-20T16:17:56Z
2014-01-04T18:04:18Z
2013-11-20T16:23:45Z
CONTRIBUTOR
null
`Panel.apply(func, axis)` currently just pulls out `.values` and passes them to `numpy.apply_along_axis` -- which makes its utility questionable since all the indices and labels get lost in the process. Wouldn't it make much more sense to pass DataFrames to the func and then try and recombine the result into either Series, DataFrame or a Panel? By the way, this behaviour is not in the docs and is inconsistent with how apply works for series/frames, so an unwary user might be in for a surprise.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5556/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5556/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5557
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5557/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5557/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5557/events
https://github.com/pandas-dev/pandas/issues/5557
23,015,054
MDU6SXNzdWUyMzAxNTA1NA==
5,557
BUG: KeyErrors during value_counts
{ "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": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
3
2013-11-20T19:16:25Z
2013-11-20T21:10:31Z
2013-11-20T20:15:58Z
CONTRIBUTOR
null
I'm getting occasional KeyErrors during `.value_counts()` on trunk. It's pretty flaky, and this is the smallest example I had at hand (had one with only ~60 but lost it.) ``` >>> import pandas as pd >>> print pd.__version__ 0.12.0-1128-ge6aaf5e >>> >>> ser = {256: 2321.0, 1: 78.0, 2: 2716.0, 3: 0.0, 4: 369.0, 5: 0.0, 6: 269.0, 7: 0.0, 8: 0.0, 9: 0.0, 10: 3536.0, 11: 0.0, 12: 24.0, 13: 0.0, 14: 931.0, 15: 0.0, 16: 101.0, 17: 78.0, 18: 9643.0, 19: 0.0, 20: 0.0, 21: 0.0, 22: 63761.0, 23: 0.0, 24: 446.0, 25: 0.0, 26: 34773.0, 27: 0.0, 28: 729.0, 29: 78.0, 30: 0.0, 31: 0.0, 32: 3374.0, 33: 0.0, 34: 1391.0, 35: 0.0, 36: 361.0, 37: 0.0, 38: 61808.0, 39: 0.0, 40: 0.0, 41: 0.0, 42: 6677.0, 43: 0.0, 44: 802.0, 45: 0.0, 46: 2691.0, 47: 0.0, 48: 3582.0, 49: 0.0, 50: 734.0, 51: 0.0, 52: 627.0, 53: 70.0, 54: 2584.0, 55: 0.0, 56: 324.0, 57: 0.0, 58: 605.0, 59: 0.0, 60: 0.0, 61: 0.0, 62: 3989.0, 63: 10.0, 64: 42.0, 65: 0.0, 66: 904.0, 67: 0.0, 68: 88.0, 69: 70.0, 70: 8172.0, 71: 0.0, 72: 0.0, 73: 0.0, 74: 64902.0, 75: 0.0, 76: 347.0, 77: 0.0, 78: 36605.0, 79: 0.0, 80: 379.0, 81: 70.0, 82: 0.0, 83: 0.0, 84: 3001.0, 85: 0.0, 86: 1630.0, 87: 7.0, 88: 364.0, 89: 0.0, 90: 67404.0, 91: 9.0, 92: 0.0, 93: 0.0, 94: 7685.0, 95: 0.0, 96: 1017.0, 97: 0.0, 98: 2831.0, 99: 0.0, 100: 2963.0, 101: 0.0, 102: 854.0, 103: 0.0, 104: 0.0, 105: 0.0, 106: 0.0, 107: 0.0, 108: 0.0, 109: 0.0, 110: 0.0, 111: 0.0, 112: 0.0, 113: 0.0, 114: 0.0, 115: 0.0, 116: 0.0, 117: 0.0, 118: 0.0, 119: 0.0, 120: 0.0, 121: 0.0, 122: 0.0, 123: 0.0, 124: 0.0, 125: 0.0, 126: 67744.0, 127: 22.0, 128: 264.0, 129: 0.0, 260: 197.0, 268: 0.0, 265: 0.0, 269: 0.0, 261: 0.0, 266: 1198.0, 267: 0.0, 262: 2629.0, 258: 775.0, 257: 0.0, 263: 0.0, 259: 0.0, 264: 163.0, 250: 10326.0, 251: 0.0, 252: 1228.0, 253: 0.0, 254: 2769.0, 255: 0.0} >>> s = pd.Series(ser) >>> s.value_counts() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1128_ge6aaf5e-py2.7-linux-i686.egg/pandas/core/base.py", line 55, in __repr__ return str(self) File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1128_ge6aaf5e-py2.7-linux-i686.egg/pandas/core/base.py", line 35, in __str__ return self.__bytes__() File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1128_ge6aaf5e-py2.7-linux-i686.egg/pandas/core/base.py", line 47, in __bytes__ return self.__unicode__().encode(encoding, 'replace') File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1128_ge6aaf5e-py2.7-linux-i686.egg/pandas/core/series.py", line 854, in __unicode__ result = self._tidy_repr(min(30, max_rows - 4)) File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1128_ge6aaf5e-py2.7-linux-i686.egg/pandas/core/series.py", line 873, in _tidy_repr head = self[:num]._get_repr(print_header=True, length=False, File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1128_ge6aaf5e-py2.7-linux-i686.egg/pandas/core/series.py", line 698, in __getslice__ return self._slice(slobj) File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1128_ge6aaf5e-py2.7-linux-i686.egg/pandas/core/series.py", line 478, in _slice slobj = self.index._convert_slice_indexer(slobj, typ=typ or 'getitem') File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1128_ge6aaf5e-py2.7-linux-i686.egg/pandas/core/index.py", line 1811, in _convert_slice_indexer return self.slice_indexer(key.start, key.stop, key.step) File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1128_ge6aaf5e-py2.7-linux-i686.egg/pandas/core/index.py", line 1493, in slice_indexer start_slice, end_slice = self.slice_locs(start, end) File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1128_ge6aaf5e-py2.7-linux-i686.egg/pandas/core/index.py", line 1555, in slice_locs end_slice = self.get_loc(end) File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1128_ge6aaf5e-py2.7-linux-i686.egg/pandas/core/index.py", line 1017, in get_loc return self._engine.get_loc(_values_from_object(key)) File "index.pyx", line 129, in pandas.index.IndexEngine.get_loc (pandas/index.c:3548) File "index.pyx", line 149, in pandas.index.IndexEngine.get_loc (pandas/index.c:3428) File "hashtable.pyx", line 674, in pandas.hashtable.PyObjectHashTable.get_item (pandas/hashtable.c:10784) File "hashtable.pyx", line 682, in pandas.hashtable.PyObjectHashTable.get_item (pandas/hashtable.c:10737) KeyError: 15 >>> 15 in s True >>> s[15] 0.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/5557/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5557/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5558
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5558/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5558/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5558/events
https://github.com/pandas-dev/pandas/pull/5558
23,018,920
MDExOlB1bGxSZXF1ZXN0MTAxNDQwNTk=
5,558
BUG: repr of series fails repr in the presence of a Float64Index that is not monotonic (GH5557)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
0
2013-11-20T19:52:12Z
2014-06-12T14:46:25Z
2013-11-20T20:15:58Z
CONTRIBUTOR
null
closes #5557 ``` In [4]: s.value_counts() Out[4]: 0 85 70 3 78 3 2584 1 3001 1 734 1 163 1 3374 1 9643 1 42 1 8172 1 931 1 802 1 67744 1 2716 1 ... 775 1 36605 1 1630 1 605 1 347 1 729 1 88 1 854 1 34773 1 2769 1 3536 1 67404 1 264 1 1228 1 324 1 Length: 61, 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/5558/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5558/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5558.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5558", "merged_at": "2013-11-20T20:15:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5558.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5558" }
https://api.github.com/repos/pandas-dev/pandas/issues/5559
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5559/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5559/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5559/events
https://github.com/pandas-dev/pandas/pull/5559
23,024,391
MDExOlB1bGxSZXF1ZXN0MTAxNDcxNTU=
5,559
DOC version added 0.13 to cumcount
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[]
closed
false
null
[]
null
2
2013-11-20T21:12:41Z
2014-06-14T21:14:01Z
2013-11-20T21:15:16Z
CONTRIBUTOR
null
@jreback is this what you mean? #4646
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5559/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5559/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5559.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5559", "merged_at": "2013-11-20T21:15:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5559.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5559" }
https://api.github.com/repos/pandas-dev/pandas/issues/5560
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5560/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5560/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5560/events
https://github.com/pandas-dev/pandas/pull/5560
23,025,200
MDExOlB1bGxSZXF1ZXN0MTAxNDc2MjQ=
5,560
DOC: styling clean-up of docstrings (part 1, frame.py)
{ "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
4
2013-11-20T21:25:18Z
2014-06-23T21:39:28Z
2013-11-23T10:10:45Z
MEMBER
null
Some stylistic clean-up of the docstrings in frame.py. Things changed are mainly: - missing spaces aroung the `:` in `param : type` - explanation of param on second line (instead of on the same line -> there should be the type info) - add bullets to enumerations of possible values of a keyword (so they are rendered as a list in the html docstring instead of one continuous block of text) Eg the `method` keyword explanation in http://pandas.pydata.org/pandas-docs/dev/generated/pandas.DataFrame.corr.html
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5560/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5560/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5560.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5560", "merged_at": "2013-11-23T10:10:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5560.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5560" }
https://api.github.com/repos/pandas-dev/pandas/issues/5561
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5561/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5561/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5561/events
https://github.com/pandas-dev/pandas/issues/5561
23,025,465
MDU6SXNzdWUyMzAyNTQ2NQ==
5,561
CI: build pandas on windows (appveyor)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" }, { "color": "DDDDDD", "default": false, "description": "Administrative tasks related to the pandas project", "id": 32933285, "name": "Admin", "node_id": "MDU6TGFiZWwzMjkzMzI4NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Admin" }, { "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": "fbca04", "default": false, "description": "Windows OS", "id": 57186974, "name": "Windows", "node_id": "MDU6TGFiZWw1NzE4Njk3NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows" } ]
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
2013-11-20T21:29:00Z
2015-12-16T01:01:04Z
2014-10-07T21:52:42Z
CONTRIBUTOR
null
Here is a collection of build scripts/tools for windows: a nice conda recipe: https://github.com/rmcgibbo/python-appveyor-conda-example/blob/master/appveyor.yml https://github.com/pydata/pandas/tree/master/scripts/windows_builder I have found many confusing explanations/suggestion on the web on how to build python extensions on windows 32/64 bit. The following is very simple to build from master. Follow the instructions on the following link to build on windows with a binary compat to the existing python. Bascially. http://pybytes.com/pywavelets/dev/preparing_windows_build_environment.html#installing-windows-sdk-c-c-compiler Essentially: - download the Microsoft SDK (you need the 64-bit one of you are on a 64-bit machine, even if you are going to want to build 32-bit builds); this is just the install kit. I used http://www.slysoft.com/en/virtual-clonedrive.html to mount the `.iso` and install it - open the CMD Shell (installed onto the start menu) - set the env variables (I just copy pasted, but you can make a bat file if you want). for either 32 or 64 bit. you can then just ``` c:\python27\python.exe setup.py build_ext --inplace c:\python27\scripts\nosetests 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/5561/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5561/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5562
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5562/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5562/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5562/events
https://github.com/pandas-dev/pandas/issues/5562
23,030,214
MDU6SXNzdWUyMzAzMDIxNA==
5,562
HTML repr for empty dataframes is ugly
{ "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "events_url": "https://api.github.com/users/ghost/events{/privacy}", "followers_url": "https://api.github.com/users/ghost/followers", "following_url": "https://api.github.com/users/ghost/following{/other_user}", "gists_url": "https://api.github.com/users/ghost/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ghost", "id": 10137, "login": "ghost", "node_id": "MDQ6VXNlcjEwMTM3", "organizations_url": "https://api.github.com/users/ghost/orgs", "received_events_url": "https://api.github.com/users/ghost/received_events", "repos_url": "https://api.github.com/users/ghost/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ghost/subscriptions", "type": "User", "url": "https://api.github.com/users/ghost" }
[ { "color": "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": "006b75", "default": false, "description": "read_html, to_html, Styler.apply, Styler.applymap", "id": 57395487, "name": "IO HTML", "node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 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
2013-11-20T22:41:47Z
2018-07-06T22:12:23Z
2018-07-06T22:12:12Z
NONE
null
see https://github.com/pydata/pandas/pull/5550#issuecomment-28931094 related #6062
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5562/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5562/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5563
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5563/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5563/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5563/events
https://github.com/pandas-dev/pandas/issues/5563
23,030,531
MDU6SXNzdWUyMzAzMDUzMQ==
5,563
Series do not display HTML repr
{ "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "events_url": "https://api.github.com/users/ghost/events{/privacy}", "followers_url": "https://api.github.com/users/ghost/followers", "following_url": "https://api.github.com/users/ghost/following{/other_user}", "gists_url": "https://api.github.com/users/ghost/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ghost", "id": 10137, "login": "ghost", "node_id": "MDQ6VXNlcjEwMTM3", "organizations_url": "https://api.github.com/users/ghost/orgs", "received_events_url": "https://api.github.com/users/ghost/received_events", "repos_url": "https://api.github.com/users/ghost/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ghost/subscriptions", "type": "User", "url": "https://api.github.com/users/ghost" }
[ { "color": "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": "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" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
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" }
10
2013-11-20T22:46:56Z
2019-10-27T22:57:41Z
null
NONE
null
Not sure if it's always been this way or if refactoring broke something. In any case it looks strange when in ipnb: ![series repr](https://f.cloud.github.com/assets/1820866/1587251/87b19ace-5235-11e3-81d9-eabf7e342d53.png) related to #5550, making reprs consistent.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5563/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5563/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5564
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5564/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5564/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5564/events
https://github.com/pandas-dev/pandas/pull/5564
23,064,271
MDExOlB1bGxSZXF1ZXN0MTAxNjgyODI=
5,564
ENH: Add wide_to_long convenience function
{ "avatar_url": "https://avatars.githubusercontent.com/u/296164?v=4", "events_url": "https://api.github.com/users/jseabold/events{/privacy}", "followers_url": "https://api.github.com/users/jseabold/followers", "following_url": "https://api.github.com/users/jseabold/following{/other_user}", "gists_url": "https://api.github.com/users/jseabold/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jseabold", "id": 296164, "login": "jseabold", "node_id": "MDQ6VXNlcjI5NjE2NA==", "organizations_url": "https://api.github.com/users/jseabold/orgs", "received_events_url": "https://api.github.com/users/jseabold/received_events", "repos_url": "https://api.github.com/users/jseabold/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jseabold/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jseabold/subscriptions", "type": "User", "url": "https://api.github.com/users/jseabold" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
16
2013-11-21T12:46:25Z
2014-06-30T21:46:37Z
2013-12-07T14:15:52Z
CONTRIBUTOR
null
closes #4920 I thought I submitted this PR long ago.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5564/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5564/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5564.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5564", "merged_at": "2013-12-07T14:15:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5564.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5564" }
https://api.github.com/repos/pandas-dev/pandas/issues/5565
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5565/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5565/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5565/events
https://github.com/pandas-dev/pandas/pull/5565
23,065,949
MDExOlB1bGxSZXF1ZXN0MTAxNjkyODk=
5,565
ENH: short-circuit config lookup when exact key given GH5147
{ "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "events_url": "https://api.github.com/users/ghost/events{/privacy}", "followers_url": "https://api.github.com/users/ghost/followers", "following_url": "https://api.github.com/users/ghost/following{/other_user}", "gists_url": "https://api.github.com/users/ghost/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ghost", "id": 10137, "login": "ghost", "node_id": "MDQ6VXNlcjEwMTM3", "organizations_url": "https://api.github.com/users/ghost/orgs", "received_events_url": "https://api.github.com/users/ghost/received_events", "repos_url": "https://api.github.com/users/ghost/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ghost/subscriptions", "type": "User", "url": "https://api.github.com/users/ghost" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
0
2013-11-21T13:21:48Z
2014-06-26T05:41:17Z
2013-11-21T13:22:16Z
NONE
null
Related #5147, #5457 before ``` In [4]: %timeit -r 10 pd.get_option("display.max_rows") 10000 loops, best of 10: 53.3 us per loop ``` after ``` In [1]: %timeit -r 10 pd.get_option("display.max_rows") 100000 loops, best of 10: 5.5 us per loop ``` jeff's version with no error checking or rerouting deprecated keys ``` In [1]: %timeit -r 10 pd.core.config._get_option_fast("display.max_rows") 1000000 loops, best of 10: 792 ns per loop ``` Probably makes no practical difference.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5565/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5565/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5565.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5565", "merged_at": "2013-11-21T13:22:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5565.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5565" }
https://api.github.com/repos/pandas-dev/pandas/issues/5566
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5566/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5566/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5566/events
https://github.com/pandas-dev/pandas/pull/5566
23,069,433
MDExOlB1bGxSZXF1ZXN0MTAxNzEyODM=
5,566
TST/API/BUG: resolve scoping issues in pytables query where rhs is a compound selection or scoped variable
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
0
2013-11-21T14:24:45Z
2014-07-16T08:41:13Z
2013-11-21T15:07:41Z
CONTRIBUTOR
null
e.g. 'l1=selection.index' and 'l1=l', where l = selection.index were failing example reproduced here: http://stackoverflow.com/questions/20111542/selecting-rows-from-an-hdfstore-given-list-of-indexes ``` In [5]: parms = DataFrame({ 'A' : [1,1,2,2,3] }) In [6]: parms Out[6]: A 0 1 1 1 2 2 3 2 4 3 In [7]: parms.to_hdf('parms.hdf','df',mode='w',format='table',data_columns=['A']) In [8]: selection = pd.read_hdf('parms.hdf','df',where='A=[2,3]') In [9]: selection Out[9]: A 2 2 3 2 4 3 In [10]: hist = DataFrame(np.random.randn(25,1),columns=['data'], ....: index=MultiIndex.from_tuples([ (i,j) for i in range(5) for j in range(5) ], ....: names=['l1','l2'])) In [11]: hist Out[11]: data l1 l2 0 0 1.232358 1 -2.677047 2 -0.168854 3 0.538848 4 -0.678224 1 0 0.092575 1 1.297578 2 -1.489906 3 -1.380054 4 0.701762 2 0 1.397368 1 0.198522 2 1.034036 3 0.650406 4 1.823683 3 0 0.045635 1 -0.213975 2 -1.221950 3 -0.145615 4 -1.187883 4 0 -0.782221 1 -0.626280 2 -0.331885 3 -0.975978 4 2.006322 ``` this works in 0.12 ``` In [15]: pd.read_hdf('hist.hdf','df',where=pd.Term('l1','=',selection.index.tolist())) Out[15]: data l1 l2 2 0 1.397368 1 0.198522 2 1.034036 3 0.650406 4 1.823683 3 0 0.045635 1 -0.213975 2 -1.221950 3 -0.145615 4 -1.187883 4 0 -0.782221 1 -0.626280 2 -0.331885 3 -0.975978 4 2.006322 ``` This works in 0.13 as well ``` In [16]: pd.read_hdf('hist.hdf','df',where='l1=selection.index') Out[16]: data l1 l2 2 0 1.397368 1 0.198522 2 1.034036 3 0.650406 4 1.823683 3 0 0.045635 1 -0.213975 2 -1.221950 3 -0.145615 4 -1.187883 4 0 -0.782221 1 -0.626280 2 -0.331885 3 -0.975978 4 2.006322 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5566/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5566/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5566.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5566", "merged_at": "2013-11-21T15:07:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5566.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5566" }
https://api.github.com/repos/pandas-dev/pandas/issues/5567
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5567/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5567/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5567/events
https://github.com/pandas-dev/pandas/issues/5567
23,076,939
MDU6SXNzdWUyMzA3NjkzOQ==
5,567
PERF: .ix performance on series
{ "avatar_url": "https://avatars.githubusercontent.com/u/1564485?v=4", "events_url": "https://api.github.com/users/l736x/events{/privacy}", "followers_url": "https://api.github.com/users/l736x/followers", "following_url": "https://api.github.com/users/l736x/following{/other_user}", "gists_url": "https://api.github.com/users/l736x/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/l736x", "id": 1564485, "login": "l736x", "node_id": "MDQ6VXNlcjE1NjQ0ODU=", "organizations_url": "https://api.github.com/users/l736x/orgs", "received_events_url": "https://api.github.com/users/l736x/received_events", "repos_url": "https://api.github.com/users/l736x/repos", "site_admin": false, "starred_url": "https://api.github.com/users/l736x/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/l736x/subscriptions", "type": "User", "url": "https://api.github.com/users/l736x" }
[ { "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": "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-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
13
2013-11-21T16:11:23Z
2014-02-16T14:05:32Z
2014-02-16T00:41:29Z
CONTRIBUTOR
null
Series xs when presented with a multi-index should use the data frame logic (whereby it can use the levels to avoid having to scan the entire set). Need to move the logic of `xs` to `core/generic.py` so both Series/Frame can use it. --- I stumbled on a weird issue. The first time I access a series location with ix I have a huge overhead. This is not the case if I transform the series in a dataframe and the access it. I use a mutliindex below because it makes the effect more visible, but the same problem is present for regular indexes. ``` python In [1]: import pandas as pd In [2]: pd.__version__ Out[2]: '0.12.0' In [3]: mi = pd.MultiIndex.from_tuples([(x,y) for x in range(1000) for y in range(1000)]) In [4]: s = pd.Series(randn(1000000), index=mi) In [5]: %time s.ix[999] CPU times: user 652 ms, sys: 4 ms, total: 656 ms Wall time: 656 ms Out[5]: 0 -0.271328 ... 999 -0.832013 Length: 1000, dtype: float64 In [6]: %time s.ix[999] CPU times: user 0 ns, sys: 0 ns, total: 0 ns Wall time: 249 us Out[6]: 0 -0.271328 ... 999 -0.832013 Length: 1000, dtype: float64 ``` The behavior seems related to the index because recreating the series does not reproduce it, but sorting the index does: ``` python In [7]: s = pd.Series(randn(1000000), index=mi) In [8]: %time s.ix[999] CPU times: user 0 ns, sys: 0 ns, total: 0 ns Wall time: 247 us Out[8]: 0 -1.207499 ... 999 -0.370578 Length: 1000, dtype: float64 In [9]: %time s.ix[999] CPU times: user 0 ns, sys: 0 ns, total: 0 ns Wall time: 202 us Out[9]: 0 -1.207499 ... 999 -0.370578 Length: 1000, dtype: float64 In [10]: s = s.sort_index() In [11]: %time s.ix[999] CPU times: user 856 ms, sys: 32 ms, total: 888 ms Wall time: 890 ms Out[11]: 0 -1.207499 ... 999 -0.370578 Length: 1000, dtype: float64 In [12]: %time s.ix[999] CPU times: user 0 ns, sys: 0 ns, total: 0 ns Wall time: 213 us Out[12]: 0 -1.207499 ... 999 -0.370578 Length: 1000, dtype: float64 ``` And now the weird thing. I convert the series into a df: ``` python In [16]: s = s.sort_index() In [17]: %time pd.DataFrame(s).ix[999] CPU times: user 4 ms, sys: 0 ns, total: 4 ms Wall time: 3.78 ms Out[17]: <class 'pandas.core.frame.DataFrame'> Int64Index: 1000 entries, 0 to 999 Data columns (total 1 columns): 0 1000 non-null values dtypes: float64(1) In [18]: %time pd.DataFrame(s).ix[999] CPU times: user 0 ns, sys: 0 ns, total: 0 ns Wall time: 397 us Out[18]: <class 'pandas.core.frame.DataFrame'> Int64Index: 1000 entries, 0 to 999 Data columns (total 1 columns): 0 1000 non-null values dtypes: float64(1) ``` There is still a little overhead but nothing compared to the previous case. It might seem an innocent problem but for large time-series the lag becomes of the order of the second and can eat up a lot of performance. Lastly, I'm sorry but I don't have easy access to current dev version, so it might be that the problem is already solved. (although I'd be curious to know where it comes from) Edit: can it be linked to #4198 ?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5567/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5567/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5568
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5568/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5568/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5568/events
https://github.com/pandas-dev/pandas/pull/5568
23,099,830
MDExOlB1bGxSZXF1ZXN0MTAxODg3MDE=
5,568
PERF: slow conversion of single series to data frame
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
0
2013-11-21T21:42:56Z
2014-06-23T14:23:49Z
2013-11-21T21:44:06Z
CONTRIBUTOR
null
``` ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- frame_from_series | 0.1043 | 17.8473 | 0.0058 | ``` an oversight in handling a case like: `DataFrame(a_series)`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5568/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5568/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5568.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5568", "merged_at": "2013-11-21T21:44:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5568.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5568" }
https://api.github.com/repos/pandas-dev/pandas/issues/5569
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5569/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5569/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5569/events
https://github.com/pandas-dev/pandas/issues/5569
23,118,344
MDU6SXNzdWUyMzExODM0NA==
5,569
Feature request: Option to include NaNs in value_counts()
{ "avatar_url": "https://avatars.githubusercontent.com/u/69774?v=4", "events_url": "https://api.github.com/users/michaelaye/events{/privacy}", "followers_url": "https://api.github.com/users/michaelaye/followers", "following_url": "https://api.github.com/users/michaelaye/following{/other_user}", "gists_url": "https://api.github.com/users/michaelaye/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/michaelaye", "id": 69774, "login": "michaelaye", "node_id": "MDQ6VXNlcjY5Nzc0", "organizations_url": "https://api.github.com/users/michaelaye/orgs", "received_events_url": "https://api.github.com/users/michaelaye/received_events", "repos_url": "https://api.github.com/users/michaelaye/repos", "site_admin": false, "starred_url": "https://api.github.com/users/michaelaye/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/michaelaye/subscriptions", "type": "User", "url": "https://api.github.com/users/michaelaye" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
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" }
10
2013-11-22T05:17:44Z
2021-02-02T06:27:18Z
2014-06-17T12:01:37Z
CONTRIBUTOR
null
I find it highly valuable to also receive the information how many NaN values are in my Series. Could we have an option in value_counts(), maybe `include_nans=True` that would add a count for those in the output of 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/5569/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5569/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5570
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5570/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5570/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5570/events
https://github.com/pandas-dev/pandas/issues/5570
23,140,123
MDU6SXNzdWUyMzE0MDEyMw==
5,570
Pandas sometimes converts multi-indexes to indexes when indexing with all elements
{ "avatar_url": "https://avatars.githubusercontent.com/u/204942?v=4", "events_url": "https://api.github.com/users/bergtholdt/events{/privacy}", "followers_url": "https://api.github.com/users/bergtholdt/followers", "following_url": "https://api.github.com/users/bergtholdt/following{/other_user}", "gists_url": "https://api.github.com/users/bergtholdt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bergtholdt", "id": 204942, "login": "bergtholdt", "node_id": "MDQ6VXNlcjIwNDk0Mg==", "organizations_url": "https://api.github.com/users/bergtholdt/orgs", "received_events_url": "https://api.github.com/users/bergtholdt/received_events", "repos_url": "https://api.github.com/users/bergtholdt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bergtholdt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bergtholdt/subscriptions", "type": "User", "url": "https://api.github.com/users/bergtholdt" }
[]
closed
false
null
[]
null
5
2013-11-22T14:11:21Z
2013-11-22T15:14:39Z
2013-11-22T15:07:40Z
NONE
null
these is done with Pandas 0.12 I create a DataFrame with a MultiIndex ``` Python >>> h = pd.DataFrame([{'a':1, 'b':1, 'c':1}, {'a':1, 'b':2, 'c':1}]) >>> h.set_index(['a', 'b'], inplace=True) ``` If I take a list of elements (here only a list with one) of a column, I get back a Series with a MultiIndex: ``` >>> h['c'][[(1,1)]].index MultiIndex [(1, 1)] ``` However, if I happen to include all elements in the indexing list, then somehow pandas convertes my MultiIndex to an Index: ``` Python >>> h['c'][[(1,1), (1,2)]].index Index([(1, 1), (1, 2)], dtype=object) ``` First indexing and taking the column of the DataFrame preserves the MultiIndex: ``` Python >>> h.ix[[(1,1), (1,2)]]['c'].index MultiIndex [(1, 1), (1, 2)] ``` I noticed this while trying to unstack a Series that I indexed with a MultiIndex list and for a certain case the list included all elements leading to this exception: ``` Python >>> h['c'][[(1,1), (1,2)]].unstack() AttributeError Traceback (most recent call last) <ipython-input-916-d897801d99a0> in <module>() ----> 1 h['c'][[(1,1), (1,2)]].unstack() C:\x64\Python27\lib\site-packages\pandas\core\series.pyc in unstack(self, level) 2437 """ 2438 from pandas.core.reshape import unstack -> 2439 return unstack(self, level) 2440 2441 #---------------------------------------------------------------------- C:\x64\Python27\lib\site-packages\pandas\core\reshape.pyc in unstack(obj, level) 417 return obj.T.stack(dropna=False) 418 else: --> 419 unstacker = _Unstacker(obj.values, obj.index, level=level) 420 return unstacker.get_result() 421 C:\x64\Python27\lib\site-packages\pandas\core\reshape.pyc in __init__(self, values, index, level, value_columns) 72 self.level = self.index._get_level_number(level) 73 ---> 74 levels = index.levels 75 labels = index.labels 76 def _make_index(lev,lab): AttributeError: 'Index' object has no attribute 'levels' ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5570/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5570/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5571
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5571/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5571/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5571/events
https://github.com/pandas-dev/pandas/issues/5571
23,157,350
MDU6SXNzdWUyMzE1NzM1MA==
5,571
Should Series.__contains__ look at indexes or values?
{ "avatar_url": "https://avatars.githubusercontent.com/u/2279598?v=4", "events_url": "https://api.github.com/users/danielballan/events{/privacy}", "followers_url": "https://api.github.com/users/danielballan/followers", "following_url": "https://api.github.com/users/danielballan/following{/other_user}", "gists_url": "https://api.github.com/users/danielballan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/danielballan", "id": 2279598, "login": "danielballan", "node_id": "MDQ6VXNlcjIyNzk1OTg=", "organizations_url": "https://api.github.com/users/danielballan/orgs", "received_events_url": "https://api.github.com/users/danielballan/received_events", "repos_url": "https://api.github.com/users/danielballan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/danielballan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/danielballan/subscriptions", "type": "User", "url": "https://api.github.com/users/danielballan" }
[ { "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-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
4
2013-11-22T18:23:36Z
2014-03-19T23:16:04Z
2014-03-19T23:16:04Z
CONTRIBUTOR
null
When writing this SO answer, I came upon this behavior, which I did not expect. ``` In [1]: 1 in Series([1]) Out[1]: False In [2]: 1 in Series([1, 2]) Out[2]: True ``` Apparently, `__contains__` looks at the index. ``` In [3]: 1 in Series([1], index=[1]) Out[3]: True ``` I can see how that makes sense. But I think it's fair to say that it is potentially confusing. Do we rely on this behavior of `__contains__` for data alignment? Might it be reasonable to change it? I'm not sure that's a good idea, but I want to raise the issue.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5571/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5571/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5572
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5572/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5572/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5572/events
https://github.com/pandas-dev/pandas/issues/5572
23,165,519
MDU6SXNzdWUyMzE2NTUxOQ==
5,572
Read_csv() expects wrong number of columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/1115226?v=4", "events_url": "https://api.github.com/users/chrisfs/events{/privacy}", "followers_url": "https://api.github.com/users/chrisfs/followers", "following_url": "https://api.github.com/users/chrisfs/following{/other_user}", "gists_url": "https://api.github.com/users/chrisfs/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chrisfs", "id": 1115226, "login": "chrisfs", "node_id": "MDQ6VXNlcjExMTUyMjY=", "organizations_url": "https://api.github.com/users/chrisfs/orgs", "received_events_url": "https://api.github.com/users/chrisfs/received_events", "repos_url": "https://api.github.com/users/chrisfs/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chrisfs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chrisfs/subscriptions", "type": "User", "url": "https://api.github.com/users/chrisfs" }
[]
closed
false
null
[]
null
3
2013-11-22T20:30:09Z
2013-12-19T13:55:34Z
2013-12-19T13:55:34Z
NONE
null
I have a csv file that has a few hundred rows and 26 columns, but the last few columns only have a value in a few rows and they are towards the middle or end of the file. When I try to read it in using read_csv() I get the following error. "ValueError: Expecting 23 columns, got 26 in row 64" The dump is below In [3]: infile =open(easygui.fileopenbox(),"r") pledge = read_csv(infile,parse_dates='true') --- ValueError Traceback (most recent call last) <ipython-input-3-b35e7a16b389> in <module>() 1 infile =open(easygui.fileopenbox(),"r") 2 ----> 3 pledge = read_csv(infile,parse_dates='true') C:\Python27\lib\site-packages\pandas-0.8.1-py2.7-win32.egg\pandas\io\parsers.pyc in read_csv(filepath_or_buffer, sep, dialect, header, index_col, names, skiprows, na_values, thousands, comment, parse_dates, keep_date_col, dayfirst, date_parser, nrows, iterator, chunksize, skip_footer, converters, verbose, delimiter, encoding, squeeze) 234 kwds['delimiter'] = sep 235 --> 236 return _read(TextParser, filepath_or_buffer, kwds) 237 238 @Appender(_read_table_doc) C:\Python27\lib\site-packages\pandas-0.8.1-py2.7-win32.egg\pandas\io\parsers.pyc in _read(cls, filepath_or_buffer, kwds) 189 return parser 190 --> 191 return parser.get_chunk() 192 193 @Appender(_read_csv_doc) C:\Python27\lib\site-packages\pandas-0.8.1-py2.7-win32.egg\pandas\io\parsers.pyc in get_chunk(self, rows) 779 msg = ('Expecting %d columns, got %d in row %d' % 780 (col_len, zip_len, row_num)) --> 781 raise ValueError(msg) 782 783 data = dict((k, v) for k, v in izip(self.columns, zipped_content)) ValueError: Expecting 23 columns, got 26 in row 64
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5572/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5572/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5573
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5573/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5573/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5573/events
https://github.com/pandas-dev/pandas/pull/5573
23,169,897
MDExOlB1bGxSZXF1ZXN0MTAyMjY0Njk=
5,573
DOC/TST: Series.reorder_levels() can take names; added tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[]
closed
false
null
[]
null
11
2013-11-22T21:54:25Z
2014-06-16T03:18:06Z
2013-11-24T07:31:28Z
CONTRIBUTOR
null
Minor change to the docstring. It said you must refer to the position (not keys). Keys work: ``` python In [18]: res.head() Out[18]: same_employer stamp -3 1996-02-01 2 -2 1996-01-01 1 1996-02-01 1 1996-03-01 4 1 1996-01-01 13877 dtype: int64 In [19]: res.reorder_levels(['stamp', 'same_employer']).head() Out[19]: stamp same_employer 1996-02-01 -3 2 1996-01-01 -2 1 1996-02-01 -2 1 1996-03-01 -2 4 1996-01-01 1 13877 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/5573/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5573/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5573.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5573", "merged_at": "2013-11-24T07:31:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5573.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5573" }
https://api.github.com/repos/pandas-dev/pandas/issues/5574
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5574/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5574/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5574/events
https://github.com/pandas-dev/pandas/pull/5574
23,172,423
MDExOlB1bGxSZXF1ZXN0MTAyMjgwMDc=
5,574
Win32 fix2
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
0
2013-11-22T22:42:13Z
2014-06-19T00:06:19Z
2013-11-22T23:30:13Z
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/5574/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5574/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5574.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5574", "merged_at": "2013-11-22T23:30:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5574.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5574" }
https://api.github.com/repos/pandas-dev/pandas/issues/5575
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5575/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5575/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5575/events
https://github.com/pandas-dev/pandas/issues/5575
23,175,805
MDU6SXNzdWUyMzE3NTgwNQ==
5,575
Create maintenance branch for 0.13
{ "avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4", "events_url": "https://api.github.com/users/jtratner/events{/privacy}", "followers_url": "https://api.github.com/users/jtratner/followers", "following_url": "https://api.github.com/users/jtratner/following{/other_user}", "gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jtratner", "id": 1598379, "login": "jtratner", "node_id": "MDQ6VXNlcjE1OTgzNzk=", "organizations_url": "https://api.github.com/users/jtratner/orgs", "received_events_url": "https://api.github.com/users/jtratner/received_events", "repos_url": "https://api.github.com/users/jtratner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jtratner/subscriptions", "type": "User", "url": "https://api.github.com/users/jtratner" }
[]
closed
false
null
[]
null
9
2013-11-22T23:56:11Z
2013-12-06T02:29:54Z
2013-12-05T23:29:48Z
CONTRIBUTOR
null
@jreback and I were discussing and we think it makes sense to freeze features for 0.13 and have master focus on 0.14-dev. Just wanted to throw it out there to make sure everyone is okay with this. After this point, we're only going to allow doc changes and, until 0.13 is released, we'll backport bug fixes as well. I think it's better to keep master as bleeding edge so it's simpler for new contributors. If no one objects, wherever master is 24 hours-ish from this issue I'll mark current master as 0.14-dev and checkout a separate `rc/0.13` branch.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5575/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5575/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5576
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5576/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5576/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5576/events
https://github.com/pandas-dev/pandas/issues/5576
23,179,832
MDU6SXNzdWUyMzE3OTgzMg==
5,576
Add gmean and hmean to Pandas
{ "avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4", "events_url": "https://api.github.com/users/cancan101/events{/privacy}", "followers_url": "https://api.github.com/users/cancan101/followers", "following_url": "https://api.github.com/users/cancan101/following{/other_user}", "gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cancan101", "id": 51059, "login": "cancan101", "node_id": "MDQ6VXNlcjUxMDU5", "organizations_url": "https://api.github.com/users/cancan101/orgs", "received_events_url": "https://api.github.com/users/cancan101/received_events", "repos_url": "https://api.github.com/users/cancan101/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cancan101/subscriptions", "type": "User", "url": "https://api.github.com/users/cancan101" }
[ { "color": "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
7
2013-11-23T02:25:17Z
2019-11-05T16:54:45Z
2013-12-05T23:41:43Z
CONTRIBUTOR
null
Currently pandas has the regular `mean` that can be called on a `DataFrame` or a `Series`, but does not have `gmean` or `hmean`: http://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.mstats.gmean.html http://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.mstats.hmean.html
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5576/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5576/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5577
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5577/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5577/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5577/events
https://github.com/pandas-dev/pandas/issues/5577
23,180,698
MDU6SXNzdWUyMzE4MDY5OA==
5,577
ma.mrecords not found
{ "avatar_url": "https://avatars.githubusercontent.com/u/453086?v=4", "events_url": "https://api.github.com/users/dieterv77/events{/privacy}", "followers_url": "https://api.github.com/users/dieterv77/followers", "following_url": "https://api.github.com/users/dieterv77/following{/other_user}", "gists_url": "https://api.github.com/users/dieterv77/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dieterv77", "id": 453086, "login": "dieterv77", "node_id": "MDQ6VXNlcjQ1MzA4Ng==", "organizations_url": "https://api.github.com/users/dieterv77/orgs", "received_events_url": "https://api.github.com/users/dieterv77/received_events", "repos_url": "https://api.github.com/users/dieterv77/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dieterv77/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dieterv77/subscriptions", "type": "User", "url": "https://api.github.com/users/dieterv77" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
2
2013-11-23T03:27:08Z
2013-11-24T01:08:16Z
2013-11-24T01:08:16Z
CONTRIBUTOR
null
Running into the issue below with pandas master and numpy compiled from 1.8.x maintenance branch. If i do "import numpy.ma.mrecords" in ipython and try again, then creating the DataFrame works fine. Maybe the best thing to do is to add "import numpy.ma.mrecords" in core/frame.py? ``` import numpy.ma as ma import pandas x = ma.masked_all((3,4)) df = pandas.DataFrame(x) AttributeError Traceback (most recent call last) <ipython-input-4-8935d2e6ea81> in <module>() ----> 1 df = pandas.DataFrame(x) C:\Python27\lib\site-packages\pandas-0.12.0_1147_g39ad4cb-py2.7-win-amd64.egg\pandas\core\frame.pyc in __init__(self, data, index, columns, dtype, copy) 203 204 # masked recarray --> 205 if isinstance(data, ma.mrecords.MaskedRecords): 206 mgr = _masked_rec_array_to_mgr(data, index, columns, dtype, 207 copy) AttributeError: 'module' object has no attribute 'mrecords' ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5577/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5577/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5578
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5578/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5578/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5578/events
https://github.com/pandas-dev/pandas/issues/5578
23,189,867
MDU6SXNzdWUyMzE4OTg2Nw==
5,578
Add log return version of pct_change
{ "avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4", "events_url": "https://api.github.com/users/cancan101/events{/privacy}", "followers_url": "https://api.github.com/users/cancan101/followers", "following_url": "https://api.github.com/users/cancan101/following{/other_user}", "gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cancan101", "id": 51059, "login": "cancan101", "node_id": "MDQ6VXNlcjUxMDU5", "organizations_url": "https://api.github.com/users/cancan101/orgs", "received_events_url": "https://api.github.com/users/cancan101/received_events", "repos_url": "https://api.github.com/users/cancan101/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cancan101/subscriptions", "type": "User", "url": "https://api.github.com/users/cancan101" }
[]
closed
false
null
[]
null
5
2013-11-23T16:45:20Z
2013-11-24T13:24:14Z
2013-11-24T13:24:14Z
CONTRIBUTOR
null
`NDFrame` has a `pct_change` method that works as: `x_t/x_{t-period} - 1` `log_return` would work as: `log(x_t/x_{t-period})` These two values are approximately equal for small values of `x_t/x_{t-period}`. The log return version tends to be used in finance more often than the pct_change.
{ "+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/5578/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5578/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5579
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5579/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5579/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5579/events
https://github.com/pandas-dev/pandas/pull/5579
23,192,268
MDExOlB1bGxSZXF1ZXN0MTAyMzcwNzY=
5,579
BUG: Add separate import for numpy.ma.mrecords (GH5577)
{ "avatar_url": "https://avatars.githubusercontent.com/u/453086?v=4", "events_url": "https://api.github.com/users/dieterv77/events{/privacy}", "followers_url": "https://api.github.com/users/dieterv77/followers", "following_url": "https://api.github.com/users/dieterv77/following{/other_user}", "gists_url": "https://api.github.com/users/dieterv77/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dieterv77", "id": 453086, "login": "dieterv77", "node_id": "MDQ6VXNlcjQ1MzA4Ng==", "organizations_url": "https://api.github.com/users/dieterv77/orgs", "received_events_url": "https://api.github.com/users/dieterv77/received_events", "repos_url": "https://api.github.com/users/dieterv77/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dieterv77/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dieterv77/subscriptions", "type": "User", "url": "https://api.github.com/users/dieterv77" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
0
2013-11-23T19:06:48Z
2014-06-26T19:33:48Z
2013-11-24T01:08:16Z
CONTRIBUTOR
null
Fixes https://github.com/pydata/pandas/issues/5577
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5579/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5579/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5579.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5579", "merged_at": "2013-11-24T01:08:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5579.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5579" }
https://api.github.com/repos/pandas-dev/pandas/issues/5580
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5580/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5580/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5580/events
https://github.com/pandas-dev/pandas/issues/5580
23,201,637
MDU6SXNzdWUyMzIwMTYzNw==
5,580
Pandas Series doesn't display table as HTML in IPython notebook
{ "avatar_url": "https://avatars.githubusercontent.com/u/109167?v=4", "events_url": "https://api.github.com/users/scls19fr/events{/privacy}", "followers_url": "https://api.github.com/users/scls19fr/followers", "following_url": "https://api.github.com/users/scls19fr/following{/other_user}", "gists_url": "https://api.github.com/users/scls19fr/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/scls19fr", "id": 109167, "login": "scls19fr", "node_id": "MDQ6VXNlcjEwOTE2Nw==", "organizations_url": "https://api.github.com/users/scls19fr/orgs", "received_events_url": "https://api.github.com/users/scls19fr/received_events", "repos_url": "https://api.github.com/users/scls19fr/repos", "site_admin": false, "starred_url": "https://api.github.com/users/scls19fr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/scls19fr/subscriptions", "type": "User", "url": "https://api.github.com/users/scls19fr" }
[ { "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": "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": "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-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
5
2013-11-24T07:57:52Z
2014-01-24T16:30:15Z
2014-01-24T14:58:54Z
CONTRIBUTOR
null
Contrary to Pandas DataFrame, Pandas Series doesn't display as HTML into IPython notebook. Moreover Pandas Series doesn't provide to_html() method. (I'm using 0.12 version)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5580/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5580/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5581
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5581/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5581/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5581/events
https://github.com/pandas-dev/pandas/pull/5581
23,213,169
MDExOlB1bGxSZXF1ZXN0MTAyNDQ4Nzg=
5,581
CLN/BUG: Fix stacklevel on setting with copy warning.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4", "events_url": "https://api.github.com/users/jtratner/events{/privacy}", "followers_url": "https://api.github.com/users/jtratner/followers", "following_url": "https://api.github.com/users/jtratner/following{/other_user}", "gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jtratner", "id": 1598379, "login": "jtratner", "node_id": "MDQ6VXNlcjE1OTgzNzk=", "organizations_url": "https://api.github.com/users/jtratner/orgs", "received_events_url": "https://api.github.com/users/jtratner/received_events", "repos_url": "https://api.github.com/users/jtratner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jtratner/subscriptions", "type": "User", "url": "https://api.github.com/users/jtratner" }
[]
closed
false
null
[]
null
12
2013-11-24T21:22:48Z
2014-07-16T08:41:24Z
2013-11-24T22:43:43Z
CONTRIBUTOR
null
May not be perfect, but gets us most of the way there. Resolves [@TomAugspurger's comment](https://github.com/pydata/pandas/pull/5390#issuecomment-29166038) on #5390. Put the following in a file called `test.py`. ``` python from pandas import DataFrame def myfunction(): df = DataFrame({"A": [1, 2, 3, 4, 5], "B": [3.125, 4.12, 3.1, 6.2, 7.]}) row = df.loc[0] row["A"] = 0 def anotherfunction(): myfunction() def third_function(): anotherfunction() third_function() ``` Running it will generate this warning: ``` test.py:5: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_index,col_indexer] = value instead row["A"] = 0 ``` I don't think it's worth testing (especially because there's not necessarily a simple way to do 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/5581/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5581/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5581.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5581", "merged_at": "2013-11-24T22:43:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5581.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5581" }
https://api.github.com/repos/pandas-dev/pandas/issues/5582
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5582/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5582/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5582/events
https://github.com/pandas-dev/pandas/issues/5582
23,222,822
MDU6SXNzdWUyMzIyMjgyMg==
5,582
possible easier dataframe/series selection
{ "avatar_url": "https://avatars.githubusercontent.com/u/4016707?v=4", "events_url": "https://api.github.com/users/jerryzhujian9/events{/privacy}", "followers_url": "https://api.github.com/users/jerryzhujian9/followers", "following_url": "https://api.github.com/users/jerryzhujian9/following{/other_user}", "gists_url": "https://api.github.com/users/jerryzhujian9/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jerryzhujian9", "id": 4016707, "login": "jerryzhujian9", "node_id": "MDQ6VXNlcjQwMTY3MDc=", "organizations_url": "https://api.github.com/users/jerryzhujian9/orgs", "received_events_url": "https://api.github.com/users/jerryzhujian9/received_events", "repos_url": "https://api.github.com/users/jerryzhujian9/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jerryzhujian9/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jerryzhujian9/subscriptions", "type": "User", "url": "https://api.github.com/users/jerryzhujian9" }
[]
closed
false
null
[]
null
2
2013-11-25T05:20:36Z
2014-01-23T21:14:10Z
2014-01-23T21:14:10Z
NONE
null
I believe lots of pandas users need to do lots of selection/slicing. The existing methods are flexible, such as iloc, loc, ix, ["columnname"]. In practice, I found it is not convenient to do complex selection. For example: Frame.ix((Frame["ColumnName"]=="MatchValue") & (Frame["AnotherColumn"]=="AnotherMatch"), ["SelectColumn"]) It is error prone and confusing. Therefore, I came up with my own solution: now you just use Frame.Sel(["SelectColumn"],{"ColumnName":"MatchValue","AnotherColumn":"AnotherMatch"}) And you can mix index and labels for selection. For example Frame.Sel([0,"ColumnName"]) will select column 0 and "ColumnName". Things now are natural and simplier, in my opinions; at least you don't have to switch between iloc[] and loc[] This is just my suggestions, and definitely not a bug or issue. I don't know how to give the feedback to the development team or other users, so I posted here. The following is some doc of my method. This is from my personal "enhancement" to pandas module, called kungfu at https://github.com/jerryzhujian9/kungfu Feel free to change my codes. Greatly appreciate the hard work of all developers! --- frame.Sel(*args) Select certain columns and rows from a frame. Args: 1) [] for columns FIRST, {} or [] for rows SECOND 2) if only pass [], treated as columns; if only {}, as rows 3) additionally, a single int(or str) can be parsed to a list of that int(or str) 4) int alone or in a list treated as (column/row) index; str alone or in a list as (column/row) name 5) does NOT support slice; however, one can use the function range(start,stop) to generate a list 6) better see some examples: ('Session') column "Session" (1) column 1 (index based, starts from 0) (['Session', 1]) columns "Session" and 1 the order of selected columns does not have to follow the order in the original frame! could be [2,4,0,1]({'Session': 1}) all columns where "Session" == 1 ('Session', '0') <---raise error because of '0' ('Session', 0) column "Session" and row 0 (index based, starts from 0) ('Session', [0, 1]) column "Session" and rows 0 and 1 ('Session', {'Session': 1}) column "Session" where "Session" == 1 (0, '0') <---raise error because of '0' (0, 0) column 0 and row 0 (0, [0, 1]) column 0 and rows 0 and 1 (0, {'Session': 1}) column 0 where "Session" == 1 (['Session', 1], '0') <---raise error because of '0' (['Session', 1], 0) columns "Session" and 1, and row 0 (['Session', 1], [0, 1]) columns "Session" and 1, and, rows 0 and 1 (['Session', 1], {"Subject":5101,"Procedure[Trial]":["PresentPair","PresentPair1"]}) columns "Session" and 1 where "Subject" == 5101 and ("Procedure[Trial]" == "PresentPair" or "Procedure[Trial]" == "PresentPair1") ([],0) all columns and row 0 Returns: a Frame object even for a frame with only one column or row to select a column or row as a series, use SelCol() or SelRow() However, if only a cell is selected, returns the value of that cell with being its own data type. Raises: 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/5582/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5582/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5583
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5583/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5583/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5583/events
https://github.com/pandas-dev/pandas/pull/5583
23,240,129
MDExOlB1bGxSZXF1ZXN0MTAyNTgxODg=
5,583
ENH: Excel writer takes locale setting for date and datetime into account
{ "avatar_url": "https://avatars.githubusercontent.com/u/4057110?v=4", "events_url": "https://api.github.com/users/Jaydyou/events{/privacy}", "followers_url": "https://api.github.com/users/Jaydyou/followers", "following_url": "https://api.github.com/users/Jaydyou/following{/other_user}", "gists_url": "https://api.github.com/users/Jaydyou/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Jaydyou", "id": 4057110, "login": "Jaydyou", "node_id": "MDQ6VXNlcjQwNTcxMTA=", "organizations_url": "https://api.github.com/users/Jaydyou/orgs", "received_events_url": "https://api.github.com/users/Jaydyou/received_events", "repos_url": "https://api.github.com/users/Jaydyou/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Jaydyou/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Jaydyou/subscriptions", "type": "User", "url": "https://api.github.com/users/Jaydyou" }
[]
closed
false
null
[]
{ "closed_at": "2014-02-03T05:17:36Z", "closed_issues": 314, "created_at": "2013-08-26T22:11:58Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4", "events_url": "https://api.github.com/users/jtratner/events{/privacy}", "followers_url": "https://api.github.com/users/jtratner/followers", "following_url": "https://api.github.com/users/jtratner/following{/other_user}", "gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jtratner", "id": 1598379, "login": "jtratner", "node_id": "MDQ6VXNlcjE1OTgzNzk=", "organizations_url": "https://api.github.com/users/jtratner/orgs", "received_events_url": "https://api.github.com/users/jtratner/received_events", "repos_url": "https://api.github.com/users/jtratner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jtratner/subscriptions", "type": "User", "url": "https://api.github.com/users/jtratner" }, "description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.", "due_on": "2014-02-04T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/23", "id": 412013, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels", "node_id": "MDk6TWlsZXN0b25lNDEyMDEz", "number": 23, "open_issues": 0, "state": "closed", "title": "0.13.1", "updated_at": "2014-02-03T05:18:00Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23" }
20
2013-11-25T12:45:46Z
2014-06-27T10:05:29Z
2014-01-26T18:58:10Z
CONTRIBUTOR
null
closes #4133 Based on the locale setting the date and datetime values are formatted in excel exports. Moreover the this behaviour can be overruled by keyword arguments. Old behavior can be enforced by ExcelWriter(file, date_format='YYYY-MM-DD', datetime_format='YYYY-MM-DD HH:MM:SS')
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5583/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5583/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5583.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5583", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/5583.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5583" }
https://api.github.com/repos/pandas-dev/pandas/issues/5584
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5584/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5584/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5584/events
https://github.com/pandas-dev/pandas/pull/5584
23,244,402
MDExOlB1bGxSZXF1ZXN0MTAyNjA1OTA=
5,584
BUG/TST: reset setitem_copy on object enlargement
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
20
2013-11-25T14:12:59Z
2014-06-19T16:10:09Z
2013-11-29T19:13:20Z
CONTRIBUTOR
null
related #5581 closes #5597
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5584/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5584/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5584.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5584", "merged_at": "2013-11-29T19:13:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5584.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5584" }
https://api.github.com/repos/pandas-dev/pandas/issues/5585
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5585/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5585/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5585/events
https://github.com/pandas-dev/pandas/issues/5585
23,252,954
MDU6SXNzdWUyMzI1Mjk1NA==
5,585
Concatenation can fail when indexes use nanoseconds and tseries.index.union_many is called
{ "avatar_url": "https://avatars.githubusercontent.com/u/2659989?v=4", "events_url": "https://api.github.com/users/notbanker/events{/privacy}", "followers_url": "https://api.github.com/users/notbanker/followers", "following_url": "https://api.github.com/users/notbanker/following{/other_user}", "gists_url": "https://api.github.com/users/notbanker/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/notbanker", "id": 2659989, "login": "notbanker", "node_id": "MDQ6VXNlcjI2NTk5ODk=", "organizations_url": "https://api.github.com/users/notbanker/orgs", "received_events_url": "https://api.github.com/users/notbanker/received_events", "repos_url": "https://api.github.com/users/notbanker/repos", "site_admin": false, "starred_url": "https://api.github.com/users/notbanker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/notbanker/subscriptions", "type": "User", "url": "https://api.github.com/users/notbanker" }
[]
closed
false
null
[]
null
5
2013-11-25T16:19:15Z
2013-11-26T18:28:45Z
2013-11-26T18:28:41Z
NONE
null
Concatenation can fail when indexes use nanoseconds and tseries.index.union_many is called. ``` def thisFails(): # May be related to https://github.com/pydata/pandas/issues/1238 timeStep = np.timedelta64( 1, 'ns' ) t0 = np.datetime64( datetime.datetime.now() ) ndx1 = [t0 + k*timeStep for k in xrange( 5 ) ] ndx2 = [t0 + (k-1)*timeStep for k in xrange( 5 )] df1 = pd.DataFrame( data = list( xrange( 5 ) ), index = ndx1, columns = ['Apples'] ) df2 = pd.DataFrame( data = list( xrange( 5 ) ), index = ndx2, columns = ['Bananas'] ) _both = pd.concat( [df1, df2], axis = 1 ) print "Failed to replicate bug" def thisWorks(): # May be related to https://github.com/pydata/pandas/issues/1238 timeStep = np.timedelta64( 1, 'ms' ) t0 = np.datetime64( datetime.datetime.now() ) ndx1 = [t0 + k*timeStep for k in xrange( 5 ) ] ndx2 = [t0 + (k-1)*timeStep for k in xrange( 5 )] df1 = pd.DataFrame( data = list( xrange( 5 ) ), index = ndx1, columns = ['Apples'] ) df2 = pd.DataFrame( data = list( xrange( 5 ) ), index = ndx2, columns = ['Bananas'] ) _both = pd.concat( [df1, df2], axis = 1 ) print "Failed to replicate bug" try: thisFails() raise ValueError(" This was expected to fail. It might be that pandas has been updated from 0.11.0 ") except: pass thisWorks() ``` The error message is ``` File "D:\ATHENA~1\RELEAS~1\build\ext2\vc90_xp/lib\python2.6\site-packages\pandas-0.11.0-py2.6-win32.egg\pandas\tools\merge.py", li\ ne 872, in concat File "D:\ATHENA~1\RELEAS~1\build\ext2\vc90_xp/lib\python2.6\site-packages\pandas-0.11.0-py2.6-win32.egg\pandas\tools\merge.py", li\ ne 942, in __init__ File "D:\ATHENA~1\RELEAS~1\build\ext2\vc90_xp/lib\python2.6\site-packages\pandas-0.11.0-py2.6-win32.egg\pandas\tools\merge.py", li\ ne 1104, in _get_new_axes File "D:\ATHENA~1\RELEAS~1\build\ext2\vc90_xp/lib\python2.6\site-packages\pandas-0.11.0-py2.6-win32.egg\pandas\tools\merge.py", li\ ne 1130, in _get_comb_axis File "D:\ATHENA~1\RELEAS~1\build\ext2\vc90_xp/lib\python2.6\site-packages\pandas-0.11.0-py2.6-win32.egg\pandas\core\index.py", lin\ e 2705, in _get_combined_index File "D:\ATHENA~1\RELEAS~1\build\ext2\vc90_xp/lib\python2.6\site-packages\pandas-0.11.0-py2.6-win32.egg\pandas\core\index.py", lin\ e 2728, in _union_indexes File "D:\ATHENA~1\RELEAS~1\build\ext2\vc90_xp/lib\python2.6\site-packages\pandas-0.11.0-py2.6-win32.egg\pandas\tseries\index.py", \ line 874, in union_many File "D:\ATHENA~1\RELEAS~1\build\ext2\vc90_xp/lib\python2.6\site-packages\pandas-0.11.0-py2.6-win32.egg\pandas\tseries\frequencies\ .py", line 431, in to_offset ValueError: Could not evaluate N Locals: _: '' delta: 'None' freqstr: 'N' stride: '' stride_sign: 'None' ``` Apologies if this has already been fixed.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5585/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5585/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5586
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5586/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5586/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5586/events
https://github.com/pandas-dev/pandas/issues/5586
23,256,885
MDU6SXNzdWUyMzI1Njg4NQ==
5,586
resample with numpy.product gives unexpected results
{ "avatar_url": "https://avatars.githubusercontent.com/u/849427?v=4", "events_url": "https://api.github.com/users/ruidc/events{/privacy}", "followers_url": "https://api.github.com/users/ruidc/followers", "following_url": "https://api.github.com/users/ruidc/following{/other_user}", "gists_url": "https://api.github.com/users/ruidc/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ruidc", "id": 849427, "login": "ruidc", "node_id": "MDQ6VXNlcjg0OTQyNw==", "organizations_url": "https://api.github.com/users/ruidc/orgs", "received_events_url": "https://api.github.com/users/ruidc/received_events", "repos_url": "https://api.github.com/users/ruidc/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ruidc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ruidc/subscriptions", "type": "User", "url": "https://api.github.com/users/ruidc" }
[ { "color": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "cdea3c", "default": false, "description": "Unit test(s) needed to prevent regressions", "id": 986278782, "name": "Needs Tests", "node_id": "MDU6TGFiZWw5ODYyNzg3ODI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "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": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
12
2013-11-25T17:04:46Z
2019-12-26T00:25:34Z
2019-12-26T00:25:34Z
CONTRIBUTOR
null
``` import datetime import numpy import pandas index = pandas.DatetimeIndex(start=datetime.date(2012, 1, 31), freq='M', periods=12) ts = pandas.Series(range(12), index=index) df = pandas.DataFrame(dict(A=ts, B=ts+2)) print df # Correct print df.resample('M', how=numpy.sum) # Incorrect print df.resample('M', how=numpy.product) # Correct print df.resample('Q', how=numpy.sum) # Incorrect print df.resample('Q', how=numpy.product) ``` for print df.resample('Q', how=numpy.product), was expecting: ``` 2012-03-31 2*1*0 4*3*2 2012-06-30 5*4*3 7*6*5 2012-09-30 8*7*6 10*9*8 2012-12-31 11*10*9 13*12*11 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5586/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5586/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5587
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5587/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5587/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5587/events
https://github.com/pandas-dev/pandas/pull/5587
23,265,185
MDExOlB1bGxSZXF1ZXN0MTAyNzE3OTU=
5,587
Fix typo
{ "avatar_url": "https://avatars.githubusercontent.com/u/64128?v=4", "events_url": "https://api.github.com/users/Bklyn/events{/privacy}", "followers_url": "https://api.github.com/users/Bklyn/followers", "following_url": "https://api.github.com/users/Bklyn/following{/other_user}", "gists_url": "https://api.github.com/users/Bklyn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Bklyn", "id": 64128, "login": "Bklyn", "node_id": "MDQ6VXNlcjY0MTI4", "organizations_url": "https://api.github.com/users/Bklyn/orgs", "received_events_url": "https://api.github.com/users/Bklyn/received_events", "repos_url": "https://api.github.com/users/Bklyn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Bklyn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Bklyn/subscriptions", "type": "User", "url": "https://api.github.com/users/Bklyn" }
[]
closed
false
null
[]
null
1
2013-11-25T19:12:21Z
2014-07-12T13:20:39Z
2013-11-25T19:18:40Z
NONE
null
While I know timezone conversion might be difficult, I think you mean different here :smile:
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5587/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5587/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5587.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5587", "merged_at": "2013-11-25T19:18:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5587.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5587" }
https://api.github.com/repos/pandas-dev/pandas/issues/5588
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5588/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5588/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5588/events
https://github.com/pandas-dev/pandas/issues/5588
23,299,682
MDU6SXNzdWUyMzI5OTY4Mg==
5,588
be80898 breaks display of large dataframes in IPython notebooks
{ "avatar_url": "https://avatars.githubusercontent.com/u/69774?v=4", "events_url": "https://api.github.com/users/michaelaye/events{/privacy}", "followers_url": "https://api.github.com/users/michaelaye/followers", "following_url": "https://api.github.com/users/michaelaye/following{/other_user}", "gists_url": "https://api.github.com/users/michaelaye/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/michaelaye", "id": 69774, "login": "michaelaye", "node_id": "MDQ6VXNlcjY5Nzc0", "organizations_url": "https://api.github.com/users/michaelaye/orgs", "received_events_url": "https://api.github.com/users/michaelaye/received_events", "repos_url": "https://api.github.com/users/michaelaye/repos", "site_admin": false, "starred_url": "https://api.github.com/users/michaelaye/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/michaelaye/subscriptions", "type": "User", "url": "https://api.github.com/users/michaelaye" }
[ { "color": "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": "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": "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": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
15
2013-11-26T08:22:44Z
2013-12-05T22:58:18Z
2013-12-05T22:58:18Z
CONTRIBUTOR
null
In 044ee06, I could just do, with no apparent delay: ``` python df <class 'pandas.core.frame.DataFrame'> Int64Index: 10718114 entries, 0 to 10718113 Columns: 20 entries, classification_id to spread dtypes: datetime64[ns](2), float64(11), object(7) ``` In be80898, the notebook gets stuck and CPU is boiling and nothing is returned after 5 mins. related #5550
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5588/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5588/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5589
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5589/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5589/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5589/events
https://github.com/pandas-dev/pandas/pull/5589
23,311,522
MDExOlB1bGxSZXF1ZXN0MTAyOTY5MTM=
5,589
BUG: to_html doesn't truncate index to max_rows before formatting
{ "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "events_url": "https://api.github.com/users/ghost/events{/privacy}", "followers_url": "https://api.github.com/users/ghost/followers", "following_url": "https://api.github.com/users/ghost/following{/other_user}", "gists_url": "https://api.github.com/users/ghost/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ghost", "id": 10137, "login": "ghost", "node_id": "MDQ6VXNlcjEwMTM3", "organizations_url": "https://api.github.com/users/ghost/orgs", "received_events_url": "https://api.github.com/users/ghost/received_events", "repos_url": "https://api.github.com/users/ghost/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ghost/subscriptions", "type": "User", "url": "https://api.github.com/users/ghost" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
1
2013-11-26T12:39:53Z
2014-06-24T12:51:13Z
2013-11-26T12:55:50Z
NONE
null
@takluyver, missed an O(N) there. #5588
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5589/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5589/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5589.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5589", "merged_at": "2013-11-26T12:55:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5589.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5589" }
https://api.github.com/repos/pandas-dev/pandas/issues/5590
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5590/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5590/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5590/events
https://github.com/pandas-dev/pandas/pull/5590
23,316,020
MDExOlB1bGxSZXF1ZXN0MTAyOTk0Mzg=
5,590
PERF: perf enhancements in indexing/query/eval
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
0
2013-11-26T14:09:14Z
2014-07-16T08:41:34Z
2013-11-26T14:28:18Z
CONTRIBUTOR
null
perf improvement in eval/query (and general take-like indexing) ``` In [1]: N = 1000000 In [2]: df = DataFrame({'a': np.random.randn(N)}) In [3]: min_val = df['a'].min() In [4]: max_val = df['a'].max() ``` current master: 66980c68d188842b1c4d80d3508f539baab3cbe8 ``` In [5]: %timeit df.query('(a >= min_val) & (a <= max_val)') 10 loops, best of 3: 31.6 ms per loop ``` This PR ``` In [5]: %timeit df.query('(a >= min_val) & (a <= max_val)') 10 loops, best of 3: 20.2 ms per loop ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5590/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5590/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5590.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5590", "merged_at": "2013-11-26T14:28:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5590.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5590" }
https://api.github.com/repos/pandas-dev/pandas/issues/5591
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5591/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5591/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5591/events
https://github.com/pandas-dev/pandas/issues/5591
23,326,552
MDU6SXNzdWUyMzMyNjU1Mg==
5,591
Series.__contains__ gives unexpected results
{ "avatar_url": "https://avatars.githubusercontent.com/u/6042395?v=4", "events_url": "https://api.github.com/users/whoburg/events{/privacy}", "followers_url": "https://api.github.com/users/whoburg/followers", "following_url": "https://api.github.com/users/whoburg/following{/other_user}", "gists_url": "https://api.github.com/users/whoburg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/whoburg", "id": 6042395, "login": "whoburg", "node_id": "MDQ6VXNlcjYwNDIzOTU=", "organizations_url": "https://api.github.com/users/whoburg/orgs", "received_events_url": "https://api.github.com/users/whoburg/received_events", "repos_url": "https://api.github.com/users/whoburg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/whoburg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/whoburg/subscriptions", "type": "User", "url": "https://api.github.com/users/whoburg" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "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-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
7
2013-11-26T16:29:40Z
2014-02-18T19:24:24Z
2014-02-18T19:24:24Z
NONE
null
`__contains__` should validate the key to be of a correctly castable type, e.g. 0.1 should raise a `TypeError` with an `Int64Index` --- I may well be missing something, but the following behavior seems unexpected: """ In [58]: 5 in pd.Series([1.5, 2.5, 3.5]) Out[58]: False In [59]: 5.0 in pd.Series([1.5, 2.5, 3.5]) Out[59]: False In [60]: 0.1 in pd.Series([1.5, 2.5, 3.5]) Out[60]: True In [61]: 0 in pd.Series([1.5, 2.5, 3.5]) Out[61]: True In [62]: 3.5 in pd.Series([1.5, 2.5, 3.5]) Out[62]: False In [63]: 3.4 in pd.Series([1.5, 2.5, 3.5]) Out[63]: False In [64]: 0.2 in pd.Series([1.5, 2.5, 3.5]) Out[64]: True In [65]: 1.6 in pd.Series([1.5, 2.5, 3.5]) Out[65]: True In [66]: 2.6 in pd.Series([1.5, 2.5, 3.5]) Out[66]: True In [67]: 3.0 in pd.Series([1.5, 2.5, 3.5]) Out[67]: False In [68]: 2.5 in pd.Series([1.5, 2.5, 3.5]) Out[68]: True In [69]: 0.1 in pd.Series([1.5, 2.5, 3.5]) Out[69]: 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/5591/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5591/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5592
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5592/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5592/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5592/events
https://github.com/pandas-dev/pandas/issues/5592
23,336,324
MDU6SXNzdWUyMzMzNjMyNA==
5,592
BUG/API: inconsistent results in a groupby-apply when mix of scalar/Series are returned
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
8
2013-11-26T18:41:04Z
2014-06-05T17:19:54Z
2013-11-26T19:49:55Z
CONTRIBUTOR
null
http://stackoverflow.com/questions/20224564/how-does-pandas-grouped-apply-decide-on-output-and-why-does-this-depend-on-w/20225276#20225276
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5592/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5592/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5593
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5593/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5593/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5593/events
https://github.com/pandas-dev/pandas/pull/5593
23,340,488
MDExOlB1bGxSZXF1ZXN0MTAzMTE3ODY=
5,593
BUG: Bug in groupby returning non-consistent types when user function returns a None, (GH5992)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
0
2013-11-26T19:22:51Z
2014-06-21T12:52:16Z
2013-11-26T19:49:55Z
CONTRIBUTOR
null
closes #5592
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5593/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5593/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5593.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5593", "merged_at": "2013-11-26T19:49:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5593.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5593" }
https://api.github.com/repos/pandas-dev/pandas/issues/5594
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5594/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5594/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5594/events
https://github.com/pandas-dev/pandas/pull/5594
23,355,872
MDExOlB1bGxSZXF1ZXN0MTAzMjAzNjc=
5,594
Add image for whatsnew docs
{ "avatar_url": "https://avatars.githubusercontent.com/u/327925?v=4", "events_url": "https://api.github.com/users/takluyver/events{/privacy}", "followers_url": "https://api.github.com/users/takluyver/followers", "following_url": "https://api.github.com/users/takluyver/following{/other_user}", "gists_url": "https://api.github.com/users/takluyver/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/takluyver", "id": 327925, "login": "takluyver", "node_id": "MDQ6VXNlcjMyNzkyNQ==", "organizations_url": "https://api.github.com/users/takluyver/orgs", "received_events_url": "https://api.github.com/users/takluyver/received_events", "repos_url": "https://api.github.com/users/takluyver/repos", "site_admin": false, "starred_url": "https://api.github.com/users/takluyver/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/takluyver/subscriptions", "type": "User", "url": "https://api.github.com/users/takluyver" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
5
2013-11-26T23:16:56Z
2014-06-27T12:06:24Z
2013-11-27T18:31:42Z
CONTRIBUTOR
null
This should have been in PR #5550, but the directory is gitignored, and I missed 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/5594/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5594/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5594.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5594", "merged_at": "2013-11-27T18:31:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5594.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5594" }
https://api.github.com/repos/pandas-dev/pandas/issues/5595
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5595/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5595/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5595/events
https://github.com/pandas-dev/pandas/issues/5595
23,367,540
MDU6SXNzdWUyMzM2NzU0MA==
5,595
Test failures on windows
{ "avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4", "events_url": "https://api.github.com/users/changhiskhan/events{/privacy}", "followers_url": "https://api.github.com/users/changhiskhan/followers", "following_url": "https://api.github.com/users/changhiskhan/following{/other_user}", "gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/changhiskhan", "id": 759245, "login": "changhiskhan", "node_id": "MDQ6VXNlcjc1OTI0NQ==", "organizations_url": "https://api.github.com/users/changhiskhan/orgs", "received_events_url": "https://api.github.com/users/changhiskhan/received_events", "repos_url": "https://api.github.com/users/changhiskhan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions", "type": "User", "url": "https://api.github.com/users/changhiskhan" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
2
2013-11-27T05:09:57Z
2013-11-27T13:28:17Z
2013-11-27T13:28:17Z
CONTRIBUTOR
null
The included error message is on 32-bit windows for python 2.6 but it's the same for 64-bit (waiting for other python versions to finish) this is a blocker for 0.13 rc1 ``` ====================================================================== FAIL: test_groupby_return_type (pandas.tests.test_groupby.TestGroupBy) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\workspace\pandas-windows-test-py26\pandas\tests\test_groupby.py", line 331, in test_groupby_return_type assert_frame_equal(result,expected) File "C:\workspace\pandas-windows-test-py26\pandas\util\testing.py", line 475, in assert_frame_equal check_less_precise=check_less_precise) File "C:\workspace\pandas-windows-test-py26\pandas\util\testing.py", line 423, in assert_series_equal assert_attr_equal('dtype', left, right) File "C:\workspace\pandas-windows-test-py26\pandas\util\testing.py", line 407, in assert_attr_equal assert_equal(left_attr,right_attr,"attr is not equal [{0}]" .format(attr)) File "C:\workspace\pandas-windows-test-py26\pandas\util\testing.py", line 390, in assert_equal assert a == b, "%s: %r != %r" % (msg.format(a,b), a, b) AssertionError: attr is not equal [dtype]: dtype('int64') != dtype('int32') ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5595/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5595/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5596
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5596/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5596/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5596/events
https://github.com/pandas-dev/pandas/issues/5596
23,376,193
MDU6SXNzdWUyMzM3NjE5Mw==
5,596
Indexing with hierarchical index issue
{ "avatar_url": "https://avatars.githubusercontent.com/u/6048516?v=4", "events_url": "https://api.github.com/users/Ranadheer1/events{/privacy}", "followers_url": "https://api.github.com/users/Ranadheer1/followers", "following_url": "https://api.github.com/users/Ranadheer1/following{/other_user}", "gists_url": "https://api.github.com/users/Ranadheer1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Ranadheer1", "id": 6048516, "login": "Ranadheer1", "node_id": "MDQ6VXNlcjYwNDg1MTY=", "organizations_url": "https://api.github.com/users/Ranadheer1/orgs", "received_events_url": "https://api.github.com/users/Ranadheer1/received_events", "repos_url": "https://api.github.com/users/Ranadheer1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Ranadheer1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Ranadheer1/subscriptions", "type": "User", "url": "https://api.github.com/users/Ranadheer1" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
closed
false
null
[]
null
7
2013-11-27T09:44:38Z
2013-11-27T16:13:57Z
2013-11-27T16:13:49Z
NONE
null
I'm using pandas 0.12.0 and having issue with accessing hierarchically indexed data frame elements using the ix. As a note, the issue is coming only when I have datetime objects in level 0 of hierarchical index. arrays = [date_range('2013-11-15', periods=4).repeat(2), ['one', 'two', 'one', 'two', 'one', 'two', 'one', 'two']] tuples = list(zip(*arrays)) index = MultiIndex.from_tuples(tuples, names=['first', 'second']) df = DataFrame(randn(8, 3), index=index, columns=['A', 'B', 'C']) df.ix['2013-11-15', 'one'] --- KeyError Traceback (most recent call last) <ipython-input-99-c55bdd03164b> in <module>() ----> 1 df.ix['2013-11-15', 'one'] ~/env/lib/python2.6/site-packages/pandas/core/indexing.pyc in **getitem**(self, key) 45 pass 46 ---> 47 return self._getitem_tuple(key) 48 else: 49 return self._getitem_axis(key, axis=0) ~/env/lib/python2.6/site-packages/pandas/core/indexing.pyc in _getitem_tuple(self, tup) 251 def _getitem_tuple(self, tup): 252 try: --> 253 return self._getitem_lowerdim(tup) 254 except IndexingError: 255 pass ~/env/lib/python2.6/site-packages/pandas/core/indexing.pyc in _getitem_lowerdim(self, tup) 384 new_key, = new_key 385 --> 386 return getattr(section,self.name)[new_key] 387 388 raise IndexingError('not applicable') ~/env/lib/python2.6/site-packages/pandas/core/indexing.pyc in **getitem**(self, key) 45 pass 46 ---> 47 return self._getitem_tuple(key) 48 else: 49 return self._getitem_axis(key, axis=0) ~/env/lib/python2.6/site-packages/pandas/core/indexing.pyc in _getitem_tuple(self, tup) 251 def _getitem_tuple(self, tup): 252 try: --> 253 return self._getitem_lowerdim(tup) 254 except IndexingError: 255 pass ~/env/lib/python2.6/site-packages/pandas/core/indexing.pyc in _getitem_lowerdim(self, tup) 361 for i, key in enumerate(tup): 362 if _is_label_like(key) or isinstance(key, tuple): --> 363 section = self._getitem_axis(key, axis=i) 364 365 # we have yielded a scalar ? ~/env/lib/python2.6/site-packages/pandas/core/indexing.pyc in _getitem_axis(self, key, axis) 411 return self._get_loc(key, axis=axis) 412 --> 413 return self._get_label(key, axis=axis) 414 415 def _getitem_iterable(self, key, axis=0): ~/env/lib/python2.6/site-packages/pandas/core/indexing.pyc in _get_label(self, label, axis) 59 return self.obj._xs(label, axis=axis, copy=False) 60 except Exception: ---> 61 return self.obj._xs(label, axis=axis, copy=True) 62 63 def _get_loc(self, key, axis=0): ~/env/lib/python2.6/site-packages/pandas/core/frame.pyc in xs(self, key, axis, level, copy) 2358 2359 if axis == 1: -> 2360 data = self[key] 2361 if copy: 2362 data = data.copy() /u/pullurur/dig/quantinvest/env/lib/python2.6/site-packages/pandas/core/frame.pyc in **getitem**(self, key) 2001 # get column 2002 if self.columns.is_unique: -> 2003 return self._get_item_cache(key) 2004 2005 # duplicate columns ~/env/lib/python2.6/site-packages/pandas/core/generic.pyc in _get_item_cache(self, item) 665 return cache[item] 666 except Exception: --> 667 values = self._data.get(item) 668 res = self._box_item_values(item, values) 669 cache[item] = res ~/env/lib/python2.6/site-packages/pandas/core/internals.pyc in get(self, item) 1653 def get(self, item): 1654 if self.items.is_unique: -> 1655 _, block = self._find_block(item) 1656 return block.get(item) 1657 else: ~/env/lib/python2.6/site-packages/pandas/core/internals.pyc in _find_block(self, item) 1933 1934 def _find_block(self, item): -> 1935 self._check_have(item) 1936 for i, block in enumerate(self.blocks): 1937 if item in block: ~/env/lib/python2.6/site-packages/pandas/core/internals.pyc in _check_have(self, item) 1940 def _check_have(self, item): 1941 if item not in self.items: -> 1942 raise KeyError('no item named %s' % com.pprint_thing(item)) 1943 1944 def reindex_axis(self, new_axis, method=None, axis=0, copy=True): KeyError: u'no item named one'
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5596/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5596/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5597
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5597/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5597/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5597/events
https://github.com/pandas-dev/pandas/issues/5597
23,379,811
MDU6SXNzdWUyMzM3OTgxMQ==
5,597
spurious SettingWithCopyWarning
{ "avatar_url": "https://avatars.githubusercontent.com/u/296164?v=4", "events_url": "https://api.github.com/users/jseabold/events{/privacy}", "followers_url": "https://api.github.com/users/jseabold/followers", "following_url": "https://api.github.com/users/jseabold/following{/other_user}", "gists_url": "https://api.github.com/users/jseabold/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jseabold", "id": 296164, "login": "jseabold", "node_id": "MDQ6VXNlcjI5NjE2NA==", "organizations_url": "https://api.github.com/users/jseabold/orgs", "received_events_url": "https://api.github.com/users/jseabold/received_events", "repos_url": "https://api.github.com/users/jseabold/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jseabold/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jseabold/subscriptions", "type": "User", "url": "https://api.github.com/users/jseabold" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "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": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
19
2013-11-27T10:57:51Z
2015-03-07T22:51:45Z
2013-11-29T19:13:20Z
CONTRIBUTOR
null
I'm getting spurious warnings on some old code that I'm running with new pandas. You can replicate by doing something like this (you have to take a subset of the data first, that's the key) ``` import pandas as pd from pandas.core.common import SettingWithCopyWarning from string import letters import warnings warnings.simplefilter('error', SettingWithCopyWarning) def random_text(nobs=100): df = [] for i in range(nobs): idx= np.random.randint(len(letters), size=2) idx.sort() df.append([letters[idx[0]:idx[1]]]) return pd.DataFrame(df, columns=['letters']) df = random_text(100000) df = df.ix[df.letters.apply(lambda x : len(x) > 10)] df['letters'] = df['letters'].apply(str.lower) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5597/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5597/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/5598
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5598/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5598/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5598/events
https://github.com/pandas-dev/pandas/pull/5598
23,385,088
MDExOlB1bGxSZXF1ZXN0MTAzMzY1NzE=
5,598
TST: dtype issue in test_groupby.py on windows (GH5595)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
0
2013-11-27T12:55:23Z
2014-07-09T19:32:06Z
2013-11-27T13:28:17Z
CONTRIBUTOR
null
closes #5595
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5598/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5598/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5598.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5598", "merged_at": "2013-11-27T13:28:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5598.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5598" }
https://api.github.com/repos/pandas-dev/pandas/issues/5599
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5599/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5599/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5599/events
https://github.com/pandas-dev/pandas/pull/5599
23,396,038
MDExOlB1bGxSZXF1ZXN0MTAzNDI4OTc=
5,599
DOC: limit code snippet output to max_rows=15
{ "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "events_url": "https://api.github.com/users/ghost/events{/privacy}", "followers_url": "https://api.github.com/users/ghost/followers", "following_url": "https://api.github.com/users/ghost/following{/other_user}", "gists_url": "https://api.github.com/users/ghost/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ghost", "id": 10137, "login": "ghost", "node_id": "MDQ6VXNlcjEwMTM3", "organizations_url": "https://api.github.com/users/ghost/orgs", "received_events_url": "https://api.github.com/users/ghost/received_events", "repos_url": "https://api.github.com/users/ghost/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ghost/subscriptions", "type": "User", "url": "https://api.github.com/users/ghost" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
0
2013-11-27T16:03:07Z
2014-07-16T08:41:43Z
2013-11-27T16:03:16Z
NONE
null
Most noticable in timeseries chapter.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5599/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5599/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5599.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5599", "merged_at": "2013-11-27T16:03:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5599.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5599" }
https://api.github.com/repos/pandas-dev/pandas/issues/5600
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/5600/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/5600/comments
https://api.github.com/repos/pandas-dev/pandas/issues/5600/events
https://github.com/pandas-dev/pandas/pull/5600
23,403,382
MDExOlB1bGxSZXF1ZXN0MTAzNDcwNDU=
5,600
BUG: replace with a scalar works like a list of to_replace for compat with 0.12 (GH5319)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
1
2013-11-27T17:50:11Z
2014-06-14T11:01:36Z
2013-12-01T20:00:10Z
CONTRIBUTOR
null
closes #5319 Essentitally this is `ffill` ``` In [1]: Series([1,np.nan,2]).replace([np.nan]) Out[1]: 0 1 1 1 2 2 dtype: float64 In [2]: Series([1,np.nan,2]).replace(np.nan) Out[2]: 0 1 1 1 2 2 dtype: float64 ``` A bit confusing on a Frame, so raise an error ``` In [3]: DataFrame(randn(5,2)).replace(np.nan) TypeError: cannot replace [nan] with method pad on a DataFrame ``` This was the exception before this PR on a Frame ``` TypeError: If "to_replace" and "value" are both None and "to_replace" is not a list, then regex must be a mapping ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/5600/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/5600/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/5600.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/5600", "merged_at": "2013-12-01T20:00:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/5600.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5600" }