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/6601
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6601/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6601/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6601/events
https://github.com/pandas-dev/pandas/pull/6601
29,200,541
MDExOlB1bGxSZXF1ZXN0MTM0MzM3ODY=
6,601
BUG: Bug in popping from a Series (GH6600)
{ "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": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
0
2014-03-11T17:43:46Z
2014-06-30T13:50:31Z
2014-03-11T19:00:54Z
CONTRIBUTOR
null
closes #6600
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6601/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6601/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6601.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6601", "merged_at": "2014-03-11T19:00:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6601.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6601" }
https://api.github.com/repos/pandas-dev/pandas/issues/6602
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6602/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6602/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6602/events
https://github.com/pandas-dev/pandas/issues/6602
29,201,456
MDU6SXNzdWUyOTIwMTQ1Ng==
6,602
makeMissingDataFrame is broken
{ "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
[]
null
3
2014-03-11T17:54:10Z
2014-03-14T14:06:53Z
2014-03-11T18:50:06Z
CONTRIBUTOR
null
Did something change in iloc...? I could have sworn this worked and we talked about it during the PR. I was told _not_ to use values but to use iloc instead IIRC. ``` [~/] [18]: pd.version.version [18]: '0.13.1-254-g150f323' from pandas.util.testing import _create_missing_idx df = pd.util.testing.makeDataFrame() density = .9 random_state = None i, j = _create_missing_idx(*df.shape, density=density, random_state=random_state) df.iloc[i, j] = np.nan ``` This must be a copy because there's no assignment. This still works ``` df.values[i, j] = np.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/6602/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6602/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6603
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6603/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6603/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6603/events
https://github.com/pandas-dev/pandas/pull/6603
29,202,113
MDExOlB1bGxSZXF1ZXN0MTM0MzQ3Njk=
6,603
ENH: Make sure makeMissing* works as expected.
{ "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
[]
null
2
2014-03-11T18:01:45Z
2014-07-16T08:57:55Z
2014-03-11T18:50:06Z
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/6603/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6603/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6603.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6603", "merged_at": "2014-03-11T18:50:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6603.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6603" }
https://api.github.com/repos/pandas-dev/pandas/issues/6604
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6604/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6604/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6604/events
https://github.com/pandas-dev/pandas/pull/6604
29,209,884
MDExOlB1bGxSZXF1ZXN0MTM0Mzk2Nzg=
6,604
ENH: Allow update to use an on keyword. Allow one to many update.
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
7
2014-03-11T19:35:54Z
2015-01-25T22:57:04Z
2015-01-25T22:57:04Z
CONTRIBUTOR
null
Scratch an itch I had. Use case ``` df = DataFrame([[np.nan, 'A'], [np.nan, 'A'], [np.nan, 'A'], [1.5, 'B'], [2.2, 'C'], [3.1, 'C'], [1.2,' B']], columns=['number', 'name']) df2 = pd.DataFrame([[3.5, 'A']], columns=['number', 'name']) df.update(df2, on='name') ``` The tests fail though because when you reset the index, the column order is not preserved and `self = self[col_order]` doesn't seem to do what I'd expect it to do. Maybe there's a better way to go about doing all of this? Also, I dropped reindex_like because you were just iterating through columns of NaNs in `other`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6604/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6604/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6604.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6604", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/6604.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6604" }
https://api.github.com/repos/pandas-dev/pandas/issues/6605
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6605/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6605/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6605/events
https://github.com/pandas-dev/pandas/pull/6605
29,212,642
MDExOlB1bGxSZXF1ZXN0MTM0NDEzOTA=
6,605
Change Panel.shift to use NDFrame.shift
{ "avatar_url": "https://avatars.githubusercontent.com/u/610115?v=4", "events_url": "https://api.github.com/users/dalejung/events{/privacy}", "followers_url": "https://api.github.com/users/dalejung/followers", "following_url": "https://api.github.com/users/dalejung/following{/other_user}", "gists_url": "https://api.github.com/users/dalejung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dalejung", "id": 610115, "login": "dalejung", "node_id": "MDQ6VXNlcjYxMDExNQ==", "organizations_url": "https://api.github.com/users/dalejung/orgs", "received_events_url": "https://api.github.com/users/dalejung/received_events", "repos_url": "https://api.github.com/users/dalejung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dalejung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dalejung/subscriptions", "type": "User", "url": "https://api.github.com/users/dalejung" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": "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" }
12
2014-03-11T20:10:41Z
2014-06-29T18:16:04Z
2014-04-01T20:55:05Z
CONTRIBUTOR
null
closes #4867 This brings `Panel.shift` in line with `DataFrame.shift`. The shifted data retains the same dimensions/indexes and doesn't drop the empty rows. So I have two concerns. 1. This is an API change and could conceivably break existing code. 2. The perf regresses quite a bit. Here is the vbench. ``` ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- panel_shift | 578.2867 | 0.0773 | 7478.4491 | ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- ``` The previous implementation did not create a copy and thus had a constant time. The general shift scales linearly. I think the current implementation just defers work done in later alignments, but I can only speak to my own workflow.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6605/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6605/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6605.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6605", "merged_at": "2014-04-01T20:55:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6605.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6605" }
https://api.github.com/repos/pandas-dev/pandas/issues/6606
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6606/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6606/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6606/events
https://github.com/pandas-dev/pandas/issues/6606
29,213,920
MDU6SXNzdWUyOTIxMzkyMA==
6,606
tzinfo lost when concatenating multiindex arrays
{ "avatar_url": "https://avatars.githubusercontent.com/u/1260747?v=4", "events_url": "https://api.github.com/users/sleibman/events{/privacy}", "followers_url": "https://api.github.com/users/sleibman/followers", "following_url": "https://api.github.com/users/sleibman/following{/other_user}", "gists_url": "https://api.github.com/users/sleibman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sleibman", "id": 1260747, "login": "sleibman", "node_id": "MDQ6VXNlcjEyNjA3NDc=", "organizations_url": "https://api.github.com/users/sleibman/orgs", "received_events_url": "https://api.github.com/users/sleibman/received_events", "repos_url": "https://api.github.com/users/sleibman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sleibman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sleibman/subscriptions", "type": "User", "url": "https://api.github.com/users/sleibman" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
4
2014-03-11T20:25:44Z
2014-06-24T14:50:40Z
2014-06-04T00:12:39Z
NONE
null
This may be related to https://github.com/pydata/pandas/issues/3950 though my symptoms are a bit different. In that issue, the tzinfo was lost during the creation of a MultiIndex array. In my case, I'm able to create a MultiIndex array with intact tzinfo, but tzinfo gets lost when I concatenate one or more such arrays. Here's an example. Note the lack of tzinfo in the final line: ``` python In [47]: import pandas In [48]: import datetime In [49]: import pytz In [50]: array = pandas.DataFrame({'a':[datetime.datetime(2014,1,1,tzinfo=pytz.UTC), datetime.datetime(2014,1,2,tzinfo=pytz.UTC)], 'b':[1, 2], 'c':[3, 4]}) In [51]: a2 = array.set_index('a') In [52]: a3 = array.set_index(['a', 'b']) In [53]: a2_concatenated = pandas.concat([a2]) In [54]: a3_concatenated = pandas.concat([a3]) In [55]: array.iloc[0,0] Out[55]: datetime.datetime(2014, 1, 1, 0, 0, tzinfo=<UTC>) In [56]: a2.index[0] Out[56]: Timestamp('2014-01-01 00:00:00+0000', tz='UTC') In [57]: a3.index[0] Out[57]: (Timestamp('2014-01-01 00:00:00+0000', tz='UTC'), 1) In [58]: a2_concatenated.index[0] Out[58]: Timestamp('2014-01-01 00:00:00+0000', tz='UTC') In [59]: a3_concatenated.index[0] Out[59]: (Timestamp('2014-01-01 00:00:00', tz=None), 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/6606/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6606/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6607
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6607/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6607/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6607/events
https://github.com/pandas-dev/pandas/issues/6607
29,219,934
MDU6SXNzdWUyOTIxOTkzNA==
6,607
BUG: read_table() ignores dtype argument when multi-character separator is specified
{ "avatar_url": "https://avatars.githubusercontent.com/u/319411?v=4", "events_url": "https://api.github.com/users/mcwitt/events{/privacy}", "followers_url": "https://api.github.com/users/mcwitt/followers", "following_url": "https://api.github.com/users/mcwitt/following{/other_user}", "gists_url": "https://api.github.com/users/mcwitt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mcwitt", "id": 319411, "login": "mcwitt", "node_id": "MDQ6VXNlcjMxOTQxMQ==", "organizations_url": "https://api.github.com/users/mcwitt/orgs", "received_events_url": "https://api.github.com/users/mcwitt/received_events", "repos_url": "https://api.github.com/users/mcwitt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mcwitt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mcwitt/subscriptions", "type": "User", "url": "https://api.github.com/users/mcwitt" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "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" }
26
2014-03-11T22:19:14Z
2014-04-23T22:23:11Z
2014-04-23T22:23:11Z
CONTRIBUTOR
null
related #4363 closes #3374 Here is a minimal example: ``` ipython In [21]: df = pd.DataFrame({'A': range(5), 'B': rand(5)}) In [22]: df Out[22]: A B 0 0 0.402616 1 1 0.880696 2 2 0.184491 3 3 0.832732 4 4 0.393917 [5 rows x 2 columns] In [23]: df.to_csv('test.csv', sep=' ') In [24]: pd.read_csv('test.csv', sep=' ', dtype={'A': np.float64}).dtypes Out[24]: Unnamed: 0 int64 A float64 B float64 dtype: object ``` Here the dtype argument behaves as expected, and column A has type float. However with sep='\s' the dtype argument appears to be ignored: ``` ipython In [25]: pd.read_csv('test.csv', sep='\s', dtype={'A': np.float64}).dtypes Out[25]: A int64 B float64 dtype: object ``` ## Version information ``` ipython In [27]: show_versions() INSTALLED VERSIONS ------------------ commit: None python: 2.7.6.final.0 python-bits: 64 OS: Darwin OS-release: 10.8.0 machine: i386 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.13.1-413-ga71ede3 Cython: 0.20.1 numpy: 1.8.0 scipy: 0.13.3 statsmodels: 0.5.0 IPython: 2.0.0-dev sphinx: 1.2.1 patsy: 0.2.1 scikits.timeseries: None dateutil: 1.5 pytz: 2013b bottleneck: None tables: 3.1.0 numexpr: 2.3.1 matplotlib: 1.3.1 openpyxl: 1.8.2 xlrd: 0.9.2 xlwt: 0.7.5 xlsxwriter: 0.5.2 lxml: 3.3.1 bs4: 4.3.1 html5lib: None bq: None apiclient: None rpy2: None sqlalchemy: 0.9.2 pymysql: None psycopg2: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6607/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6607/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6608
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6608/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6608/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6608/events
https://github.com/pandas-dev/pandas/issues/6608
29,223,533
MDU6SXNzdWUyOTIyMzUzMw==
6,608
BUG: strange timeseries plot behavior
{ "avatar_url": "https://avatars.githubusercontent.com/u/5356340?v=4", "events_url": "https://api.github.com/users/rosnfeld/events{/privacy}", "followers_url": "https://api.github.com/users/rosnfeld/followers", "following_url": "https://api.github.com/users/rosnfeld/following{/other_user}", "gists_url": "https://api.github.com/users/rosnfeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rosnfeld", "id": 5356340, "login": "rosnfeld", "node_id": "MDQ6VXNlcjUzNTYzNDA=", "organizations_url": "https://api.github.com/users/rosnfeld/orgs", "received_events_url": "https://api.github.com/users/rosnfeld/received_events", "repos_url": "https://api.github.com/users/rosnfeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rosnfeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rosnfeld/subscriptions", "type": "User", "url": "https://api.github.com/users/rosnfeld" }
[ { "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": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "2017-10-28T18:54:27Z", "closed_issues": 764, "created_at": "2017-03-23T13:26:25Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2017-10-27T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/46", "id": 2406656, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46/labels", "node_id": "MDk6TWlsZXN0b25lMjQwNjY1Ng==", "number": 46, "open_issues": 0, "state": "closed", "title": "0.21.0", "updated_at": "2018-07-08T21:53:21Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46" }
29
2014-03-11T23:10:06Z
2017-05-24T12:12:12Z
2017-05-24T12:12:12Z
CONTRIBUTOR
null
After some discussion below, here's a simple repro case: ``` python s1 = pd.Series([1, 2, 3], index=[datetime.datetime(1995, 12, 31), datetime.datetime(2000, 12, 31), datetime.datetime(2005, 12, 31)]) s2 = pd.Series([1, 2, 3], index=[datetime.datetime(1997, 12, 31), datetime.datetime(2003, 12, 31), datetime.datetime(2008, 12, 31)]) # plot first series, then add the second series to those axes, then try adding the first series again ax = s1.plot() s2.plot(ax=ax) s1.plot(ax=ax) ``` causes ``` Traceback (most recent call last): File "simple_repro.py", line 10, in <module> s1.plot(ax=ax) File "/home/andrew/git/pandas-rosnfeld/pandas/tools/plotting.py", line 2116, in plot_series plot_obj.generate() File "/home/andrew/git/pandas-rosnfeld/pandas/tools/plotting.py", line 920, in generate self._make_plot() File "/home/andrew/git/pandas-rosnfeld/pandas/tools/plotting.py", line 1482, in _make_plot self._make_ts_plot(data) File "/home/andrew/git/pandas-rosnfeld/pandas/tools/plotting.py", line 1577, in _make_ts_plot _plot(data, 0, ax, label, self.style, **kwds) File "/home/andrew/git/pandas-rosnfeld/pandas/tools/plotting.py", line 1553, in _plot style=style, **kwds) File "/home/andrew/git/pandas-rosnfeld/pandas/tseries/plotting.py", line 82, in tsplot left, right = _get_xlim(ax.get_lines()) File "/home/andrew/git/pandas-rosnfeld/pandas/tseries/plotting.py", line 226, in _get_xlim left = min(x[0].ordinal, left) AttributeError: 'datetime.datetime' object has no attribute 'ordinal' ``` -- ORIGINAL MESSAGE -- Here's a small dataset: ``` date,region,value 1996-12-31,BRA,4.5 2003-12-31,BRA,3.7 2007-12-31,BRA,2.2 1995-12-31,COL,6.3 2000-12-31,COL,4.9 2005-12-31,COL,5.1 2010-12-31,COL,3.4 1997-12-31,PAN,6.3 2003-12-31,PAN,5.1 2008-12-31,PAN,3.9 1990-12-31,VEN,6.7 1991-12-31,VEN,5.4 1992-12-31,VEN,4.5 1993-12-31,VEN,4 1994-12-31,VEN,3.9 1995-12-31,VEN,4.1 1996-12-31,VEN,4.4 1997-12-31,VEN,4.5 1998-12-31,VEN,4.6 1999-12-31,VEN,4.1 2000-12-31,VEN,3.9 2007-12-31,VEN,3.7 ``` If I read this in using ``` python data = pd.read_csv('./data.csv', parse_dates='date', index_col='date') ``` and then try and plot it using ``` python data.groupby('region').value.plot(legend=True) ``` I get more or less what I expect (perhaps the xlim doesn't go up to 2010-12-31, but otherwise fine). If I delete out the BRA rows and try this again, I get: ``` Traceback (most recent call last): File "repro.py", line 6, in <module> data.groupby('region').value.plot() File "/home/andrew/git/pandas-rosnfeld/pandas/core/groupby.py", line 342, in wrapper return self.apply(curried) File "/home/andrew/git/pandas-rosnfeld/pandas/core/groupby.py", line 428, in apply return self._python_apply_general(f) File "/home/andrew/git/pandas-rosnfeld/pandas/core/groupby.py", line 432, in _python_apply_general self.axis) File "/home/andrew/git/pandas-rosnfeld/pandas/core/groupby.py", line 958, in apply res = f(group) File "/home/andrew/git/pandas-rosnfeld/pandas/core/groupby.py", line 426, in f return func(g, *args, **kwargs) File "/home/andrew/git/pandas-rosnfeld/pandas/core/groupby.py", line 333, in curried return f(x, *args, **kwargs) File "/home/andrew/git/pandas-rosnfeld/pandas/tools/plotting.py", line 1921, in plot_series plot_obj.generate() File "/home/andrew/git/pandas-rosnfeld/pandas/tools/plotting.py", line 912, in generate self._make_plot() File "/home/andrew/git/pandas-rosnfeld/pandas/tools/plotting.py", line 1379, in _make_plot self._make_ts_plot(data, **self.kwds) File "/home/andrew/git/pandas-rosnfeld/pandas/tools/plotting.py", line 1450, in _make_ts_plot _plot(data, 0, ax, label, self.style, **kwds) File "/home/andrew/git/pandas-rosnfeld/pandas/tools/plotting.py", line 1434, in _plot style=style, **kwds) File "/home/andrew/git/pandas-rosnfeld/pandas/tseries/plotting.py", line 82, in tsplot left, right = _get_xlim(ax.get_lines()) File "/home/andrew/git/pandas-rosnfeld/pandas/tseries/plotting.py", line 226, in _get_xlim left = min(x[0].ordinal, left) AttributeError: 'datetime.datetime' object has no attribute 'ordinal' ``` If I delete out both BRA and VEN rows, then there is no exception raised but I only see one series plotted and the x-axis is not formatted as a date. One could also approach this whole exercise via something like ``` python data = pd.read_csv('./data.csv', parse_dates='date') data.pivot('date', 'region', 'value').plot() ``` but this works even worse, I just get a truncated VEN series and nothing else. This is with current master pandas (but also happens in 0.13.1) and matplotlib 1.3.1. Are there known issues with plotting sparse-yet-overlapping timeseries?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6608/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6608/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6609
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6609/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6609/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6609/events
https://github.com/pandas-dev/pandas/issues/6609
29,236,668
MDU6SXNzdWUyOTIzNjY2OA==
6,609
string match returns NaN on non strings
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" } ]
{ "closed_at": "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
2014-03-12T04:16:55Z
2014-03-14T06:18:09Z
2014-03-14T06:18:09Z
CONTRIBUTOR
null
Or just not respecting na flag. ``` In [44]: s = pd.Series(['a', 0, np.nan]) In [45]: s.str.contains('a', na=False) Out[45]: 0 True 1 False 2 False dtype: bool In [46]: s.str.match('a', na=False) Out[46]: 0 True 1 NaN 2 NaN 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/6609/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6609/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6610
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6610/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6610/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6610/events
https://github.com/pandas-dev/pandas/issues/6610
29,237,544
MDU6SXNzdWUyOTIzNzU0NA==
6,610
to_csv drops values if DataFrame is int64 but assigned array of float64
{ "avatar_url": "https://avatars.githubusercontent.com/u/1489338?v=4", "events_url": "https://api.github.com/users/absolutelyNoWarranty/events{/privacy}", "followers_url": "https://api.github.com/users/absolutelyNoWarranty/followers", "following_url": "https://api.github.com/users/absolutelyNoWarranty/following{/other_user}", "gists_url": "https://api.github.com/users/absolutelyNoWarranty/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/absolutelyNoWarranty", "id": 1489338, "login": "absolutelyNoWarranty", "node_id": "MDQ6VXNlcjE0ODkzMzg=", "organizations_url": "https://api.github.com/users/absolutelyNoWarranty/orgs", "received_events_url": "https://api.github.com/users/absolutelyNoWarranty/received_events", "repos_url": "https://api.github.com/users/absolutelyNoWarranty/repos", "site_admin": false, "starred_url": "https://api.github.com/users/absolutelyNoWarranty/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/absolutelyNoWarranty/subscriptions", "type": "User", "url": "https://api.github.com/users/absolutelyNoWarranty" }
[]
closed
false
null
[]
null
1
2014-03-12T04:46:08Z
2014-03-12T08:48:56Z
2014-03-12T08:48:56Z
NONE
null
If I assign a subset of a DataFrame column of type int64 an array of values of float64, printing the DataFrame's values will show the result of the assignment but dumping it to csv will not. Minimal Reproducible Example on my system (Ubuntu 13.04, python 2.7.4, pandas 0.13.1, numpy 1.8.0): ``` python import pandas as pd df = pd.DataFrame({'target':np.zeros(10)}, dtype='int64') df['target'][0] = 3333.0 df['target'][0:2] = [9999.0, 9999.0] print df['target'] df.to_csv('bug.csv', index=False) ``` Printing df: ``` 0 9999 1 9999 Name: target, dtype: int64 ``` But the csv file is: ``` target 3333 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/6610/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6610/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6611
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6611/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6611/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6611/events
https://github.com/pandas-dev/pandas/pull/6611
29,239,883
MDExOlB1bGxSZXF1ZXN0MTM0NTcwODk=
6,611
FIX str.match uses na flag
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" } ]
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" }
10
2014-03-12T06:11:39Z
2014-06-20T20:48:38Z
2014-03-14T06:18:09Z
CONTRIBUTOR
null
fixes #6609
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6611/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6611/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6611.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6611", "merged_at": "2014-03-14T06:18:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6611.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6611" }
https://api.github.com/repos/pandas-dev/pandas/issues/6612
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6612/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6612/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6612/events
https://github.com/pandas-dev/pandas/issues/6612
29,241,112
MDU6SXNzdWUyOTI0MTExMg==
6,612
BUG/API: maybe drop recently introduced "takeable" from reindex?
{ "avatar_url": "https://avatars.githubusercontent.com/u/579798?v=4", "events_url": "https://api.github.com/users/immerrr/events{/privacy}", "followers_url": "https://api.github.com/users/immerrr/followers", "following_url": "https://api.github.com/users/immerrr/following{/other_user}", "gists_url": "https://api.github.com/users/immerrr/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/immerrr", "id": 579798, "login": "immerrr", "node_id": "MDQ6VXNlcjU3OTc5OA==", "organizations_url": "https://api.github.com/users/immerrr/orgs", "received_events_url": "https://api.github.com/users/immerrr/received_events", "repos_url": "https://api.github.com/users/immerrr/repos", "site_admin": false, "starred_url": "https://api.github.com/users/immerrr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/immerrr/subscriptions", "type": "User", "url": "https://api.github.com/users/immerrr" }
[ { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
8
2014-03-12T06:48:59Z
2014-03-12T18:33:43Z
2014-03-12T18:33:43Z
CONTRIBUTOR
null
I think there might be an issue with `reindex(..., takeable=True)` introduced in a recent release and you might want to consider deprecating/dropping it while it hasn't crept to user code too much. The main reason is that _reindex takeable_ is conceptually different from _reindex_: the latter can introduce new rows with values that must be filled while the former cannot. Essentially, _reindex takeable_ is no more than a fancy indexing operation of numpy which is already available via `iloc` indexer. If you consider _reindex_ parameters, you can see there' no additional value in _reindex takeable_: - `method`, `limit` & `fill_value` parameters are useless since no empty cells can appear - `level` parameter should be available to user via fancy multiindex slicing added recently - `copy` is also achievable via `.copy()` method So not only it adds no value, but it also increases complexity: - externally, by adding yet another way to do fancy indexing - internally, by adding more code paths to follow when implementing & executing reindex The last point has already caused a bug: ``` python In [1]: s = pd.Series(list('abc'), index=np.arange(3)[::-1]) In [2]: s Out[2]: 2 a 1 b 0 c dtype: object In [3]: s.take([2,1,0]) Out[3]: 0 c 1 b 2 a dtype: object In [4]: s.reindex([2,1,0], takeable=True) Out[4]: 2 a 1 b 0 c dtype: object In [5]: s.iloc[[2,1,0]] Out[5]: 2 a 1 b 0 c dtype: object ``` Of course, this can be fixed by inserting workarounds [here](https://github.com/pydata/pandas/blob/master/pandas/core/generic.py#L1579) and [here](https://github.com/pydata/pandas/blob/master/pandas/core/index.py#L1329) but this will increase complexity even more and won't address the conceptual 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/6612/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6612/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6613
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6613/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6613/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6613/events
https://github.com/pandas-dev/pandas/pull/6613
29,247,741
MDExOlB1bGxSZXF1ZXN0MTM0NjEzNzU=
6,613
TST: enable MySQL tests
{ "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": "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": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
18
2014-03-12T09:23:14Z
2014-07-07T14:23:04Z
2014-03-12T13:52:25Z
MEMBER
null
PR to fix and enable the MySQL tests for the new sql functionality. - floats (decimal.Decimal) were not converted due to a small bug in the `coerce_float` arg. This is now OK. - MySQL has no real BOOL type (it is just an alias for tiny int). So I changed the tests for that (so a bool column is converted to int64 (or float if there are NA's) We should maybe add somewhere in the sql docs an overview of the limitations of the type conversion.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6613/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6613/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6613.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6613", "merged_at": "2014-03-12T13:52:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6613.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6613" }
https://api.github.com/repos/pandas-dev/pandas/issues/6614
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6614/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6614/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6614/events
https://github.com/pandas-dev/pandas/pull/6614
29,254,051
MDExOlB1bGxSZXF1ZXN0MTM0NjUwMTE=
6,614
BUG/CLN: fix iloc when positional indexer matched Int64Index key
{ "avatar_url": "https://avatars.githubusercontent.com/u/579798?v=4", "events_url": "https://api.github.com/users/immerrr/events{/privacy}", "followers_url": "https://api.github.com/users/immerrr/followers", "following_url": "https://api.github.com/users/immerrr/following{/other_user}", "gists_url": "https://api.github.com/users/immerrr/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/immerrr", "id": 579798, "login": "immerrr", "node_id": "MDQ6VXNlcjU3OTc5OA==", "organizations_url": "https://api.github.com/users/immerrr/orgs", "received_events_url": "https://api.github.com/users/immerrr/received_events", "repos_url": "https://api.github.com/users/immerrr/repos", "site_admin": false, "starred_url": "https://api.github.com/users/immerrr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/immerrr/subscriptions", "type": "User", "url": "https://api.github.com/users/immerrr" }
[ { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
4
2014-03-12T11:09:22Z
2014-07-16T08:58:04Z
2014-03-12T18:33:43Z
CONTRIBUTOR
null
closes #6612 As discussed in #6612, `reindex(..., takeable=True)` as released in 0.13.0 didn't do anything that's not achieved by `.take`, `.iloc` and `.copy` attrs/methods, but also contained a bug which propagated to `iloc` when the latter was changed to use _reindex/takeable_ internally. The proposed solution is to remove _reindex/takeable_ functionality altogether. According to @jreback, it was never supposed to be a part of public API, so probably no deprecation procedure is necessary.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6614/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6614/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6614.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6614", "merged_at": "2014-03-12T18:33:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6614.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6614" }
https://api.github.com/repos/pandas-dev/pandas/issues/6615
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6615/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6615/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6615/events
https://github.com/pandas-dev/pandas/pull/6615
29,264,974
MDExOlB1bGxSZXF1ZXN0MTM0NzE0MDk=
6,615
CLN #6589 remove print statements when sep=None is passed to read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/743508?v=4", "events_url": "https://api.github.com/users/mangecoeur/events{/privacy}", "followers_url": "https://api.github.com/users/mangecoeur/followers", "following_url": "https://api.github.com/users/mangecoeur/following{/other_user}", "gists_url": "https://api.github.com/users/mangecoeur/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mangecoeur", "id": 743508, "login": "mangecoeur", "node_id": "MDQ6VXNlcjc0MzUwOA==", "organizations_url": "https://api.github.com/users/mangecoeur/orgs", "received_events_url": "https://api.github.com/users/mangecoeur/received_events", "repos_url": "https://api.github.com/users/mangecoeur/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mangecoeur/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mangecoeur/subscriptions", "type": "User", "url": "https://api.github.com/users/mangecoeur" }
[ { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
1
2014-03-12T14:04:31Z
2014-07-11T13:43:40Z
2014-03-12T14:22:51Z
CONTRIBUTOR
null
Simply removed unneceesary print. fix https://github.com/pydata/pandas/issues/6589
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6615/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6615/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6615.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6615", "merged_at": "2014-03-12T14:22:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6615.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6615" }
https://api.github.com/repos/pandas-dev/pandas/issues/6616
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6616/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6616/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6616/events
https://github.com/pandas-dev/pandas/issues/6616
29,269,873
MDU6SXNzdWUyOTI2OTg3Mw==
6,616
Add longtable keyword for to_latex
{ "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": "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" } ]
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
2014-03-12T14:59:29Z
2014-03-12T18:51:26Z
2014-03-12T18:50:31Z
CONTRIBUTOR
null
Allow specifying longtable environment format for to_latex. Might even make sense to have a to_longtable_latex, since there is going to be a bit to customize. May be able to get away with some sensible defaults though.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6616/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6616/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6617
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6617/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6617/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6617/events
https://github.com/pandas-dev/pandas/pull/6617
29,274,197
MDExOlB1bGxSZXF1ZXN0MTM0NzY4Njg=
6,617
ENH: Allow use of longtable package in to_latex.
{ "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": "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" } ]
closed
false
null
[]
{ "closed_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
9
2014-03-12T15:43:56Z
2014-06-12T14:54:04Z
2014-03-12T18:51:06Z
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/6617/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6617/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6617.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6617", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/6617.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6617" }
https://api.github.com/repos/pandas-dev/pandas/issues/6618
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6618/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6618/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6618/events
https://github.com/pandas-dev/pandas/issues/6618
29,277,874
MDU6SXNzdWUyOTI3Nzg3NA==
6,618
BUG: to_csv extra header line with multiindex columns
{ "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": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
10
2014-03-12T16:22:58Z
2020-01-13T12:46:31Z
2016-09-02T11:19:42Z
CONTRIBUTOR
null
This seems strange to me, but I don't often use a MultiIndex so I might be missing something obvious. ``` >>> pd.__version__ '0.13.1-420-g6899ed6' >>> df2 = pd.DataFrame([1], columns=pd.MultiIndex.from_arrays([[1],[2]])) >>> df2 1 2 0 1 [1 rows x 1 columns] >>> df2.columns MultiIndex(levels=[[1], [2]], labels=[[0], [0]]) >>> print df2.to_csv() ,1 ,2 , 0,1 ``` Is there supposed to be that empty line at the end of the header? Compare ``` >>> print df2.to_csv(header=False) 0,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/6618/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6618/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6619
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6619/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6619/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6619/events
https://github.com/pandas-dev/pandas/issues/6619
29,288,224
MDU6SXNzdWUyOTI4ODIyNA==
6,619
BLD: python3.4 support
{ "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": "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": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
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" }
3
2014-03-12T18:18:02Z
2014-04-30T15:48:21Z
2014-04-30T15:48:21Z
CONTRIBUTOR
null
wheels are set, and travis I think is almost there https://github.com/travis-ci/travis-ci/issues/1989 jreback/pandas@5989bbe
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6619/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6619/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6620
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6620/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6620/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6620/events
https://github.com/pandas-dev/pandas/issues/6620
29,292,735
MDU6SXNzdWUyOTI5MjczNQ==
6,620
groupby producing incorrect results applying functions to int64 columns due to internal cast to float
{ "avatar_url": "https://avatars.githubusercontent.com/u/6933145?v=4", "events_url": "https://api.github.com/users/jbezaire/events{/privacy}", "followers_url": "https://api.github.com/users/jbezaire/followers", "following_url": "https://api.github.com/users/jbezaire/following{/other_user}", "gists_url": "https://api.github.com/users/jbezaire/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbezaire", "id": 6933145, "login": "jbezaire", "node_id": "MDQ6VXNlcjY5MzMxNDU=", "organizations_url": "https://api.github.com/users/jbezaire/orgs", "received_events_url": "https://api.github.com/users/jbezaire/received_events", "repos_url": "https://api.github.com/users/jbezaire/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbezaire/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbezaire/subscriptions", "type": "User", "url": "https://api.github.com/users/jbezaire" }
[ { "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": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
1
2014-03-12T19:11:53Z
2015-02-14T03:10:28Z
2015-02-14T03:10:28Z
NONE
null
dupe of #3707 groupby often casts int64 data to floats before applying functions to the grouped data, and then casts the result back to an int64. This produces incorrect results. Here is a simple example: ``` python import pandas as pd import numpy as np label = np.array([1, 2, 2, 3],dtype=np.int) data = np.array([1, 2, 3,4], dtype=np.int64) + 24650000000000000 z = pd.DataFrame({'a':label,'data':data}) f = z.groupby('a').first() In [40]: print z a data 0 1 24650000000000001 1 2 24650000000000002 2 2 24650000000000003 3 3 24650000000000004 In [41]: print f data a 1 24650000000000000 2 24650000000000000 3 24650000000000004 ``` The result is clearly incorrect and should be ``` python data a 1 24650000000000001 2 24650000000000002 3 24650000000000004 ``` z.data and f.data are both numpy.int64, which masks the fact that z.data was converted to a float with a loss of precision during the groupby operation. Tests of software using groupby on int64 will only show a problem if the tests include integers large enough to cause this loss of precision. Otherwise the tests will pass and the software will just quietly produce incorrect results in production.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6620/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6620/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6621
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6621/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6621/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6621/events
https://github.com/pandas-dev/pandas/issues/6621
29,303,312
MDU6SXNzdWUyOTMwMzMxMg==
6,621
groupby nth for multiindex regression
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" } ]
{ "closed_at": "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" }
10
2014-03-12T21:20:11Z
2014-05-10T19:49:51Z
2014-05-10T19:49:51Z
CONTRIBUTOR
null
regression in groupby nth, it raises an index error on MI in master. This is my fault (need to add tests, should also test for axis!=0). http://stackoverflow.com/questions/22361385/integer-position-based-indexing-of-multi-index-dataframes reason this raise is as I use obj.loc[[[]] :s
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6621/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6621/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6622
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6622/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6622/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6622/events
https://github.com/pandas-dev/pandas/pull/6622
29,317,093
MDExOlB1bGxSZXF1ZXN0MTM1MDIwNTM=
6,622
BUG: Error in to_stata when DataFrame contains non-string column names
{ "avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4", "events_url": "https://api.github.com/users/bashtage/events{/privacy}", "followers_url": "https://api.github.com/users/bashtage/followers", "following_url": "https://api.github.com/users/bashtage/following{/other_user}", "gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bashtage", "id": 5585221, "login": "bashtage", "node_id": "MDQ6VXNlcjU1ODUyMjE=", "organizations_url": "https://api.github.com/users/bashtage/orgs", "received_events_url": "https://api.github.com/users/bashtage/received_events", "repos_url": "https://api.github.com/users/bashtage/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bashtage/subscriptions", "type": "User", "url": "https://api.github.com/users/bashtage" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" } ]
closed
false
null
[]
{ "closed_at": "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
2014-03-13T00:37:24Z
2014-07-16T08:58:09Z
2014-03-13T22:19:16Z
CONTRIBUTOR
null
closes #4558 to_stata does not work correctly when used with non-string names. Since Stata requires string names, the proposed fix attempts to rename columns using the string representation of the column name used. A warning is raised if the column name is changed.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6622/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6622/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6622.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6622", "merged_at": "2014-03-13T22:19:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6622.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6622" }
https://api.github.com/repos/pandas-dev/pandas/issues/6623
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6623/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6623/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6623/events
https://github.com/pandas-dev/pandas/issues/6623
29,323,059
MDU6SXNzdWUyOTMyMzA1OQ==
6,623
BUG: timeseries plot mouse-over indicates incorrect time
{ "avatar_url": "https://avatars.githubusercontent.com/u/5356340?v=4", "events_url": "https://api.github.com/users/rosnfeld/events{/privacy}", "followers_url": "https://api.github.com/users/rosnfeld/followers", "following_url": "https://api.github.com/users/rosnfeld/following{/other_user}", "gists_url": "https://api.github.com/users/rosnfeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rosnfeld", "id": 5356340, "login": "rosnfeld", "node_id": "MDQ6VXNlcjUzNTYzNDA=", "organizations_url": "https://api.github.com/users/rosnfeld/orgs", "received_events_url": "https://api.github.com/users/rosnfeld/received_events", "repos_url": "https://api.github.com/users/rosnfeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rosnfeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rosnfeld/subscriptions", "type": "User", "url": "https://api.github.com/users/rosnfeld" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
2
2014-03-13T03:12:00Z
2014-06-12T21:04:04Z
2014-04-30T03:54:36Z
CONTRIBUTOR
null
In pandas 0.13.1 this code produces a plot that, when "moused over", indicates incorrect dates on the 't' (x) axis, despite having the correct axis label. ``` python pd.Series([1, 2, 3], index=pd.date_range('2014-01-01', periods=3, freq='D')).plot() ``` ![screenshot](https://f.cloud.github.com/assets/5356340/2405879/8f7d2ef6-aa5c-11e3-9c68-f1383efc6b52.png) (matplotlib version is 1.3.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/6623/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6623/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6624
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6624/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6624/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6624/events
https://github.com/pandas-dev/pandas/issues/6624
29,323,337
MDU6SXNzdWUyOTMyMzMzNw==
6,624
Join 2 data-frames on a common column (values mismatch)
{ "avatar_url": "https://avatars.githubusercontent.com/u/18949?v=4", "events_url": "https://api.github.com/users/epifanio/events{/privacy}", "followers_url": "https://api.github.com/users/epifanio/followers", "following_url": "https://api.github.com/users/epifanio/following{/other_user}", "gists_url": "https://api.github.com/users/epifanio/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/epifanio", "id": 18949, "login": "epifanio", "node_id": "MDQ6VXNlcjE4OTQ5", "organizations_url": "https://api.github.com/users/epifanio/orgs", "received_events_url": "https://api.github.com/users/epifanio/received_events", "repos_url": "https://api.github.com/users/epifanio/repos", "site_admin": false, "starred_url": "https://api.github.com/users/epifanio/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/epifanio/subscriptions", "type": "User", "url": "https://api.github.com/users/epifanio" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "be21f2", "default": false, "description": "May be closeable, needs more eyeballs", "id": 2365504893, "name": "Closing Candidate", "node_id": "MDU6TGFiZWwyMzY1NTA0ODkz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
5
2014-03-13T03:21:26Z
2021-04-11T04:14:44Z
2021-04-11T04:14:44Z
NONE
null
i'm using pandas to read and join the 2 dataframe, but the data are not aligned on the column i chose for the join. [Here](http://nbviewer.ipython.org/gist/epifanio/9126057) is reproducible example. _Note at index 8 and 16, the values of SVSPP['_left'] and SVSPP do not match. with my real data the mismatch is true for all the values and is always equal to 1._ You can see this issue clearly with the much smaller sub frame below: ``` df1 = pd.DataFrame({'SVSPP': {13: 14, 14: 15, 15: 16}, 'COMNAME': {13: 'CHAIN DOGFISH', 14: 'SPINY DOGFISH', 15: 'ATLANTIC ANGEL SHARK'}, 'SCINAME': {13: 'SCYLIORHINUS RETIFER', 14: 'SQUALUS ACANTHIAS', 15: 'SQUATINA DUMERIL'}}) df2 = pd.DataFrame({'ABUNDANCE': {8: 2, 7: 228}, 'CRUISE6': {8: 201105, 7: 201105}, 'SEASON': {8: 'FALL', 7: 'FALL'}, 'SVSPP': {8: 15, 7: 4}, 'BIOMASS': {8: 0.26200000000000001, 7: 5.7850000000000001}, 'LONGITUDE': {8: -74.630740000000003, 7: -74.630740000000003}, 'STATION': {8: 6, 7: 6}, 'LATITUDE': {8: 36.977443000000001, 7: 36.977443000000001}}) In [13]: df2.join(df1, on='SVSPP', lsuffix='_left') Out[13]: SEASON CRUISE6 STATION SVSPP_left LATITUDE LONGITUDE ABUNDANCE BIOMASS SVSPP COMNAME SCINAME 7 FALL 201105 6 4 36.977443 -74.63074 228 5.785 NaN NaN NaN 8 FALL 201105 6 15 36.977443 -74.63074 2 0.262 16 ATLANTIC ANGEL SHARK SQUATINA DUMERIL In [14]: df2.merge(df1, on='SVSPP') Out[14]: SEASON CRUISE6 STATION SVSPP LATITUDE LONGITUDE ABUNDANCE BIOMASS COMNAME SCINAME 0 FALL 201105 6 15 36.977443 -74.63074 2 0.262 SPINY DOGFISH SQUALUS ACANTHIAS ``` See how SPINY DOGFISH appears in the second whilst ATLANTIC ANGEL SHARK is incorrectly in the first. ``` In [15]: df2.merge(df1, on='SVSPP')['COMNAME'] Out[15]: 0 SPINY DOGFISH Name: COMNAME, dtype: object In [16]: df2.join(df1, on='SVSPP', lsuffix='_left')['COMNAME'] Out[16]: 7 NaN 8 ATLANTIC ANGEL SHARK Name: COMNAME, dtype: object In [17]: df2.merge(df1, on='SVSPP', how='left')['COMNAME'] Out[17]: 0 NaN 1 SPINY DOGFISH Name: COMNAME, 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/6624/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6624/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6625
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6625/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6625/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6625/events
https://github.com/pandas-dev/pandas/issues/6625
29,331,860
MDU6SXNzdWUyOTMzMTg2MA==
6,625
describe() for boolean series
{ "avatar_url": "https://avatars.githubusercontent.com/u/1100923?v=4", "events_url": "https://api.github.com/users/waitingkuo/events{/privacy}", "followers_url": "https://api.github.com/users/waitingkuo/followers", "following_url": "https://api.github.com/users/waitingkuo/following{/other_user}", "gists_url": "https://api.github.com/users/waitingkuo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/waitingkuo", "id": 1100923, "login": "waitingkuo", "node_id": "MDQ6VXNlcjExMDA5MjM=", "organizations_url": "https://api.github.com/users/waitingkuo/orgs", "received_events_url": "https://api.github.com/users/waitingkuo/received_events", "repos_url": "https://api.github.com/users/waitingkuo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/waitingkuo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/waitingkuo/subscriptions", "type": "User", "url": "https://api.github.com/users/waitingkuo" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "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": "2016-03-12T16:19:08Z", "closed_issues": 469, "created_at": "2015-07-19T20:18:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-03-13T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/36", "id": 1214851, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36/labels", "node_id": "MDk6TWlsZXN0b25lMTIxNDg1MQ==", "number": 36, "open_issues": 0, "state": "closed", "title": "0.18.0", "updated_at": "2016-12-06T21:34:41Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36" }
3
2014-03-13T08:03:26Z
2016-02-27T15:33:58Z
2016-02-27T15:33:36Z
CONTRIBUTOR
null
Seems the boolean series is considered as numeric data ``` In [27]: import pandas as pd In [28]: s = pd.Series([True, True, False]) In [29]: s.describe() Out[29]: count 3 mean 0.6666667 std 0.5773503 min False 25% 0.5 50% 1 75% 1 max True dtype: object ``` Should we deem it as non-numeric data? Says, output as followings: ``` In [31]: s.describe() Out[31]: count 3 unique 2 top True freq 2 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/6625/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6625/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6626
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6626/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6626/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6626/events
https://github.com/pandas-dev/pandas/issues/6626
29,345,861
MDU6SXNzdWUyOTM0NTg2MQ==
6,626
ENH/CLN: add CategoricalGrouper
{ "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": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
1
2014-03-13T12:21:31Z
2018-07-06T21:21:00Z
2018-07-06T21:21:00Z
CONTRIBUTOR
null
see #6516 after #6516 it is possible to add a `CategoricalGrouper` subclassing `Grouper`, like how `TimeGrouper` does. It won't be user visible, but will 'clean' up things a bit.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6626/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6626/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6627
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6627/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6627/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6627/events
https://github.com/pandas-dev/pandas/pull/6627
29,347,165
MDExOlB1bGxSZXF1ZXN0MTM1MTkyMzE=
6,627
SQL: fix meta/has_table
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
14
2014-03-13T12:44:31Z
2015-03-06T09:11:56Z
2015-03-06T09:11:14Z
MEMBER
null
Further work for cleaning up the sql code (#6292). - the `meta` attribute is not updated automatically, with the consequence that eg when you delete a table from sql directly, the `has_table` function does not work anymore: - I added a test for that - I converted the `meta` attribute to one which is always updated when called. @mangecoeur looks OK? - now the tests are skipped when no connection could be made. @jreback, I just did a `raise nose.SkipTest` inside the setup function of the test class. -> moved and merged this in #6651
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6627/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6627/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6627.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6627", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/6627.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6627" }
https://api.github.com/repos/pandas-dev/pandas/issues/6628
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6628/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6628/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6628/events
https://github.com/pandas-dev/pandas/pull/6628
29,350,178
MDExOlB1bGxSZXF1ZXN0MTM1MjEwNDk=
6,628
BUG: Bug in fillna with limit and value specified
{ "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": "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" } ]
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" }
2
2014-03-13T13:32:40Z
2014-06-25T08:40:04Z
2014-03-13T14:37:40Z
CONTRIBUTOR
null
from SO: http://stackoverflow.com/questions/22379343/change-first-occurrence-of-nan-in-a-specific-dataframe-row-to-a-new-value/22380225#22380225
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6628/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6628/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6628.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6628", "merged_at": "2014-03-13T14:37:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6628.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6628" }
https://api.github.com/repos/pandas-dev/pandas/issues/6629
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6629/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6629/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6629/events
https://github.com/pandas-dev/pandas/issues/6629
29,354,979
MDU6SXNzdWUyOTM1NDk3OQ==
6,629
"Awkward" Integer-indexing in MultiIndex DataFrames
{ "avatar_url": "https://avatars.githubusercontent.com/u/1993919?v=4", "events_url": "https://api.github.com/users/amelio-vazquez-reina/events{/privacy}", "followers_url": "https://api.github.com/users/amelio-vazquez-reina/followers", "following_url": "https://api.github.com/users/amelio-vazquez-reina/following{/other_user}", "gists_url": "https://api.github.com/users/amelio-vazquez-reina/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/amelio-vazquez-reina", "id": 1993919, "login": "amelio-vazquez-reina", "node_id": "MDQ6VXNlcjE5OTM5MTk=", "organizations_url": "https://api.github.com/users/amelio-vazquez-reina/orgs", "received_events_url": "https://api.github.com/users/amelio-vazquez-reina/received_events", "repos_url": "https://api.github.com/users/amelio-vazquez-reina/repos", "site_admin": false, "starred_url": "https://api.github.com/users/amelio-vazquez-reina/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/amelio-vazquez-reina/subscriptions", "type": "User", "url": "https://api.github.com/users/amelio-vazquez-reina" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "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
[]
null
2
2014-03-13T14:33:59Z
2014-03-22T21:14:03Z
2014-03-22T21:13:46Z
CONTRIBUTOR
null
As reported here: [Integer-position-based indexing of Multi-Index DataFrames](http://stackoverflow.com/questions/22361385/integer-position-based-indexing-of-multi-index-dataframes), currently, the only way to do integer-position based indexing in a Multi-Index DataFrame is: `df.xs(df.index.levels[N][K], level=N)` or with: `df.groupby(level=N).nth(K)` where in both cases, `N` refers to the level, and `K` to the position within that level. I wonder why this can't be done with `iloc` since technically we are indexing the dataframe using **integer positions** on the DataFrame's `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/6629/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6629/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6630
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6630/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6630/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6630/events
https://github.com/pandas-dev/pandas/issues/6630
29,370,652
MDU6SXNzdWUyOTM3MDY1Mg==
6,630
Non-aligned x-axes when plotting two series on the same axes
{ "avatar_url": "https://avatars.githubusercontent.com/u/81476?v=4", "events_url": "https://api.github.com/users/fonnesbeck/events{/privacy}", "followers_url": "https://api.github.com/users/fonnesbeck/followers", "following_url": "https://api.github.com/users/fonnesbeck/following{/other_user}", "gists_url": "https://api.github.com/users/fonnesbeck/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fonnesbeck", "id": 81476, "login": "fonnesbeck", "node_id": "MDQ6VXNlcjgxNDc2", "organizations_url": "https://api.github.com/users/fonnesbeck/orgs", "received_events_url": "https://api.github.com/users/fonnesbeck/received_events", "repos_url": "https://api.github.com/users/fonnesbeck/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fonnesbeck/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fonnesbeck/subscriptions", "type": "User", "url": "https://api.github.com/users/fonnesbeck" }
[ { "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" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
5
2014-03-13T17:22:27Z
2020-04-25T14:00:28Z
null
NONE
null
I have the following `DataFrame` that I want to create a boxplot for: ``` estimates.head() Out[162]: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 \ DATE 2009-04-28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2009-04-29 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 2009-04-30 10 10 10 10 10 9 9 9 9 9 9 9 9 9 9 9 2009-05-13 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 2009-05-14 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 16 17 18 19 20 21 22 23 24 25 26 27 28 29 DATE 2009-04-28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 2009-04-29 6 6 6 6 6 6 6 6 6 6 6 6 6 6 ... 2009-04-30 9 9 9 9 9 9 9 9 9 9 9 9 9 9 ... 2009-05-13 9 9 9 9 9 9 9 9 9 9 9 9 9 9 ... 2009-05-14 11 11 11 11 11 11 11 11 11 11 12 12 12 12 ... ``` along with a `Series` that I want to plot on the same axes: ``` counts.head() Out[165]: DATE 2009-04-28 0 2009-04-29 2 2009-04-30 4 2009-05-13 2 2009-05-14 5 Name: OBS1_NMANATEES, dtype: float64 ``` They are both the same length, and have the same index (in fact, to ensure the latter, I assigned the index `estimates` to `counts`). However, when I plot them on the same set of axes, the plot for the `counts` is off by one on the x-axis: ``` fig, axes = plt.subplots(figsize=(18,6)) estimates.T.boxplot(ax=axes, grid=False, rot=90) axes.plot(counts) plt.tight_layout() plt.xlabel('Survey') plt.ylabel('Population estimate') ``` ![](http://d.pr/i/pHI8+) Notice in the plot the line graph does not begin with zero at 2009-04-28 as is clearly shown in the data, and you can see the entire line is shifted. This looks like an alignment error, no?
{ "+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/6630/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6630/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6631
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6631/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6631/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6631/events
https://github.com/pandas-dev/pandas/issues/6631
29,389,813
MDU6SXNzdWUyOTM4OTgxMw==
6,631
set_index/reindex bugs with time indices
{ "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": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" } ]
closed
false
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" }
2
2014-03-13T21:10:09Z
2014-05-12T13:34:58Z
2014-05-12T13:34:58Z
CONTRIBUTOR
null
``` [14]: pd.version.version [14]: '0.13.1-426-ge19b2eb' ``` Noticed these. This one's minor. `set_index` seems to drop frequency information for DatetimeIndex. I'm not sure what other metadata is ignored. ``` import statsmodels.api as sm import pandas as pd index = pd.PeriodIndex(start='1959Q1', end='2009Q3') dta = sm.datasets.macrodata.load_pandas().data assert dta.set_index(index.to_timestamp()).index.freq == index.to_timestamp().freq ``` This one is less minor. `set_index` and `reindex` are broken for a PeriodIndex. Treats it as regular integer index I guess. Not sure if it ever worked, though I don't recall running into this before. ``` dta.set_index(index).head() dta.reindex(index).head() ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6631/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6631/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6632
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6632/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6632/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6632/events
https://github.com/pandas-dev/pandas/pull/6632
29,396,804
MDExOlB1bGxSZXF1ZXN0MTM1NDk3NjU=
6,632
ENH add base arg to value_counts
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "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
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
12
2014-03-13T22:50:51Z
2015-01-26T01:23:15Z
2015-01-25T22:57:34Z
CONTRIBUTOR
null
Often I find myself wanting to throw away values which aren't in a given set when doing `value_counts`... This basically just does this but inside value_counts (before possibly sorting): ``` pd.value_counts(x).reindex(base, fill_value=0) # same as Series method ``` _I previously thought this was trickier to implement, so feel a bit stupid, but anyway could be useful....?_
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6632/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6632/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6632.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6632", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/6632.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6632" }
https://api.github.com/repos/pandas-dev/pandas/issues/6633
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6633/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6633/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6633/events
https://github.com/pandas-dev/pandas/issues/6633
29,397,737
MDU6SXNzdWUyOTM5NzczNw==
6,633
Series.plot broken for Int64Index
{ "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": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
null
2
2014-03-13T23:06:27Z
2014-03-14T11:45:01Z
2014-03-14T11:44:51Z
CONTRIBUTOR
null
Sorry to do my daily issue bombardment, but I live on the edge for better or worse. I thought this should work. It does if it's a single column DataFrame ie., `y.to_frame().plot()` ``` [~/] [121]: y = pd.util.testing.makeStringSeries() [~/] [122]: y.reset_index(drop=True, inplace=True) [~/] [123]: y.plot() --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-123-2d08882c171f> in <module>() ----> 1 y.plot() /home/skipper/src/pandas-skipper/pandas/tools/plotting.pyc in plot_series(series, label, kind, use_index, rot, xticks, yticks, xlim, ylim, ax, style, grid, legend, logx, logy, secondary_y, **kwds) 1919 secondary_y=secondary_y, **kwds) 1920 -> 1921 plot_obj.generate() 1922 plot_obj.draw() 1923 /home/skipper/src/pandas-skipper/pandas/tools/plotting.pyc in generate(self) 910 self._compute_plot_data() 911 self._setup_subplots() --> 912 self._make_plot() 913 self._post_plot_logic() 914 self._adorn_subplots() /home/skipper/src/pandas-skipper/pandas/tools/plotting.pyc in _make_plot(self) 1377 if not self.x_compat and self.use_index and self._use_dynamic_x(): 1378 data = self._maybe_convert_index(self.data) -> 1379 self._make_ts_plot(data, **self.kwds) 1380 else: 1381 lines = [] /home/skipper/src/pandas-skipper/pandas/tools/plotting.pyc in _make_ts_plot(self, data, **kwargs) 1448 self._maybe_add_color(colors, kwds, style, 0) 1449 -> 1450 _plot(data, 0, ax, label, self.style, **kwds) 1451 else: 1452 for i, col in enumerate(data.columns): /home/skipper/src/pandas-skipper/pandas/tools/plotting.pyc in _plot(data, col_num, ax, label, style, **kwds) 1432 def _plot(data, col_num, ax, label, style, **kwds): 1433 newlines = tsplot(data, plotf, ax=ax, label=label, -> 1434 style=style, **kwds) 1435 ax.grid(self.grid) 1436 lines.append(newlines[0]) /home/skipper/src/pandas-skipper/pandas/tseries/plotting.pyc in tsplot(series, plotf, **kwargs) 80 # set date formatter, locators and rescale limits 81 format_dateaxis(ax, ax.freq) ---> 82 left, right = _get_xlim(ax.get_lines()) 83 ax.set_xlim(left, right) 84 /home/skipper/src/pandas-skipper/pandas/tseries/plotting.pyc in _get_xlim(lines) 224 for l in lines: 225 x = l.get_xdata() --> 226 left = min(x[0].ordinal, left) 227 right = max(x[-1].ordinal, right) 228 return left, right AttributeError: 'numpy.int64' object has no attribute 'ordinal' [~/] [124]: pd.version.version [124]: '0.13.1-426-ge19b2eb' ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6633/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6633/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6634
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6634/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6634/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6634/events
https://github.com/pandas-dev/pandas/issues/6634
29,413,273
MDU6SXNzdWUyOTQxMzI3Mw==
6,634
str.get_dummies uses astype(str)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "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": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" } ]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
11
2014-03-14T06:21:17Z
2014-04-30T16:29:24Z
2014-04-30T16:29:24Z
CONTRIBUTOR
null
I wrote this so my fault. This probably means some stuff with break when passing stuff with unicode. Will add example. The reason is to include integers as strings before getting dummies, maybe should just drop that functionality?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6634/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6634/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6635
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6635/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6635/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6635/events
https://github.com/pandas-dev/pandas/issues/6635
29,416,767
MDU6SXNzdWUyOTQxNjc2Nw==
6,635
Date range generation is incorrect or misconstrued
{ "avatar_url": "https://avatars.githubusercontent.com/u/148402?v=4", "events_url": "https://api.github.com/users/kontinuity/events{/privacy}", "followers_url": "https://api.github.com/users/kontinuity/followers", "following_url": "https://api.github.com/users/kontinuity/following{/other_user}", "gists_url": "https://api.github.com/users/kontinuity/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kontinuity", "id": 148402, "login": "kontinuity", "node_id": "MDQ6VXNlcjE0ODQwMg==", "organizations_url": "https://api.github.com/users/kontinuity/orgs", "received_events_url": "https://api.github.com/users/kontinuity/received_events", "repos_url": "https://api.github.com/users/kontinuity/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kontinuity/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kontinuity/subscriptions", "type": "User", "url": "https://api.github.com/users/kontinuity" }
[]
closed
false
null
[]
null
3
2014-03-14T08:12:02Z
2014-03-17T18:38:53Z
2014-03-14T11:35:35Z
NONE
null
``` >>> from_time = dateutil.parser.parse('2014-02-12 18:30:00') >>> to_time = dateutil.parser.parse('2014-03-14 18:29:59') >>> pandas.date_range(from_time, to_time, freq='MS', tz='Asia/Kolkata') <class 'pandas.tseries.index.DatetimeIndex'> Length: 0, Freq: MS, Timezone: Asia/Kolkata ``` Why are there no dates being generated even though `2014-03-01 00:00:00+05:30` is in the range?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6635/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6635/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6636
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6636/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6636/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6636/events
https://github.com/pandas-dev/pandas/issues/6636
29,457,471
MDU6SXNzdWUyOTQ1NzQ3MQ==
6,636
Speed up DatetimeConverter for plotting
{ "avatar_url": "https://avatars.githubusercontent.com/u/1579083?v=4", "events_url": "https://api.github.com/users/agijsberts/events{/privacy}", "followers_url": "https://api.github.com/users/agijsberts/followers", "following_url": "https://api.github.com/users/agijsberts/following{/other_user}", "gists_url": "https://api.github.com/users/agijsberts/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/agijsberts", "id": 1579083, "login": "agijsberts", "node_id": "MDQ6VXNlcjE1NzkwODM=", "organizations_url": "https://api.github.com/users/agijsberts/orgs", "received_events_url": "https://api.github.com/users/agijsberts/received_events", "repos_url": "https://api.github.com/users/agijsberts/repos", "site_admin": false, "starred_url": "https://api.github.com/users/agijsberts/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/agijsberts/subscriptions", "type": "User", "url": "https://api.github.com/users/agijsberts" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "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" }
11
2014-03-14T18:05:35Z
2014-05-25T20:02:46Z
2014-03-17T19:48:28Z
CONTRIBUTOR
null
I've recently started using pandas (impressed so far!) and found that plotting large data (from around 100k) samples is quite slow. I traced the bottleneck to the _dt_to_float_ordinal helper function called by DatetimeConverter.(https://github.com/pydata/pandas/blob/master/pandas/tseries/converter.py#L144). More specifically, this function uses matplotlib's date2num, which converts arrays and iterables using a slow list comprehension. Since pandas seem to natively store datetimes as epoch+nanoseconds in an int64 array, it would be much faster to use matplotlib's vectorized epoch2num instead. In a testcase with 1 million points, using epoch2num is about 100 times faster than date2num: ``` python from pandas import date_range, DataFrame from numpy import int64, arange from matplotlib import pyplot, dates import time n = 1e6 df = DataFrame(arange(n), index = date_range('20130101', periods=n, freq='S')) start = time.time() pyplot.plot(df.index, df) print('date2num took {0:g}s'.format(time.time() - start)) pyplot.show() # monkey patch import pandas.tseries.converter def _my_dt_to_float_ordinal(dt): try: base = dates.epoch2num(dt.astype(int64) / 1.0E9) except AttributeError: base = dates.date2num(dt) return base pandas.tseries.converter._dt_to_float_ordinal = _my_dt_to_float_ordinal start = time.time() pyplot.plot(df.index, df) print('epoch2num took {0:g}s'.format(time.time() - start)) pyplot.show() ``` Unfortunately, I am not familiar enough with pandas to know whether date2num is used intentionally or to implement a proper patch myself that works in all cases.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6636/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6636/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6637
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6637/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6637/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6637/events
https://github.com/pandas-dev/pandas/pull/6637
29,458,645
MDExOlB1bGxSZXF1ZXN0MTM1ODUwMzg=
6,637
ENH: Have inferred_freq set offset. Have freq always try to infer.
{ "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": "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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
null
5
2014-03-14T18:21:27Z
2014-07-04T19:23:46Z
2014-03-14T19:37:45Z
CONTRIBUTOR
null
I'm on the fence about this. Having a property with side effects doesn't quite sit right to me. But I think it kinda makes sense here. If it didn't set `freq`, then it really doesn't make sense for `freq` to exist. I'd just use `inferred_freq` all of the time. Now calling `freq` always tries to infer the frequency. Why not? Seems sensible to me. `inferred_freq` is kind of redundant now, but I left it anyway. I was never really sure of the rationale for its existence.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6637/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6637/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6637.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6637", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/6637.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6637" }
https://api.github.com/repos/pandas-dev/pandas/issues/6638
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6638/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6638/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6638/events
https://github.com/pandas-dev/pandas/issues/6638
29,472,143
MDU6SXNzdWUyOTQ3MjE0Mw==
6,638
frequency issues
{ "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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 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" }
5
2014-03-14T21:26:36Z
2021-04-12T16:18:19Z
2021-04-11T04:21:06Z
CONTRIBUTOR
null
I'm just trying to get my head around what these tools actually do and what they're used for. I can't tell if I'm misunderstanding or this is all just unfinished. ``` from pandas.tseries import frequencies frequencies._is_annual('AS') # oversight? # can I go from quarterly to annual? frequencies.is_subsample('Q', 'A') # yes frequencies.is_subsample('Q', 'AS') # none? frequencies.is_subperiod(frequencies.to_offset('Q'), frequencies.to_offset('AS')) # none # what about weekly to annual? frequencies.is_subperiod('W', 'A') # false? ``` It looks like a combination of _is_annual and friends not also checking for `AS-`, etc. and the omission of frequency strings in the checks in `is_subperiod`. Easy fix, just want some sanity checking.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6638/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6638/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6639
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6639/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6639/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6639/events
https://github.com/pandas-dev/pandas/pull/6639
29,472,904
MDExOlB1bGxSZXF1ZXN0MTM1OTM1Nzc=
6,639
API: A tuple passed to DataFame.sort_index will be interpreted as the levels of the index (GH4370)
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2014-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" }
3
2014-03-14T21:38:21Z
2014-06-24T17:52:10Z
2014-03-15T14:34:37Z
CONTRIBUTOR
null
closes #4370 ``` In [3]: df = DataFrame({'one':[2,1,1,1],'two':[1,3,2,4],'three':[5,4,3,2]}) In [7]: df.columns = MultiIndex.from_tuples([('a','one'),('a','two'),('b','three')]) In [8]: df Out[8]: a b one two three 0 2 5 1 1 1 4 3 2 1 3 2 3 1 2 4 [4 rows x 3 columns] ``` These are now equivalent. Used to be able to do only the 2nd. ``` In [9]: df.sort_index(by=('a','two')) Out[9]: a b one two three 3 1 2 4 2 1 3 2 1 1 4 3 0 2 5 1 [4 rows x 3 columns] In [10]: df.sort_index(by=[('a','two')]) Out[10]: a b one two three 3 1 2 4 2 1 3 2 1 1 4 3 0 2 5 1 [4 rows x 3 columns] ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6639/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6639/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6639.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6639", "merged_at": "2014-03-15T14:34:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6639.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6639" }
https://api.github.com/repos/pandas-dev/pandas/issues/6640
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6640/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6640/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6640/events
https://github.com/pandas-dev/pandas/issues/6640
29,476,340
MDU6SXNzdWUyOTQ3NjM0MA==
6,640
DEPR: deprecate rows/cols to pivot
{ "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": "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" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
1
2014-03-14T22:31:13Z
2014-03-14T22:31:50Z
2014-03-14T22:31:50Z
CONTRIBUTOR
null
fair warning in #5505
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6640/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6640/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6641
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6641/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6641/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6641/events
https://github.com/pandas-dev/pandas/issues/6641
29,477,299
MDU6SXNzdWUyOTQ3NzI5OQ==
6,641
DEPR: create issues for the current FutureWarnings in pandas
{ "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": "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
6
2014-03-14T22:49:39Z
2014-04-08T22:37:50Z
2014-04-08T22:37:50Z
CONTRIBUTOR
null
need to have open issues so remember to remove these deprecations indciated by FutureWarnings ideally also link the issues back to the original deprecation. Off the top of my head. their are more though. Here is what I found (line numbers as of commit 70de129): - [x] Deprecate load and save in favor of pickle and to_pickle (#3787) .\pandas\core\common56.py:{2740, 2756} .\pandas\core\generic.py:{960, 967} - [x] Deprecate DateRange in favor of DatetimeIndex (no issue number, commit 6fe2db57) .\pandas\core\daterange.py:{24} - [x] Deprecate timeRule and offset in favor of freq (#4853, #4864) .\pandas\core\datetools.py:{55} - [x] Deprecate force_unicode (#2224, #2225) .\pandas\core\format.py:{369, 442} .\pandas\core\frame.py:{1283,1342,1387} - [x] Deprecate precision in favor of accuracy (#395) .\pandas\core\format.py:{2143} - [x] Deprecate nanRep in favor of na_rep (#275) .\pandas\core\frame.py:{1133,1285} .\pandas\core\series.py:{910,1770} - [x] Deprecate colSpace in favor of col_space (no issue, commit 4a5a677c) .\pandas\core\frame.py:{1292,1346,1392} - [x] Deprecate broadcasting TimeSeries along DataFrame index (#2304) .\pandas\core\frame.py"{2837} - [x] Deprecate na_last in favor of na_position (#5231, #3917) .\pandas\core\series.py:{1770} - [x] Deprecate 'name' in favor of 'symbols' (no issue, commit b921d1a2) .\pandas\io\data.py:{344} - [x] Deprecate year/month parameters in finance option signatures (#3822, #3817) .\pandas\io\data.py:{588,811,848} - [x] Remove kind from read_excel (#4713) .\pandas\io\excel.py:{103} - [x] Deprecate infer_types to have no effect (#4770) .\pandas\io\html.py:{830} - [x] Deprecate unique in HDFStore (#3256) .\pandas\io\pytables.py:{691} - [x] Deprecate table keyword in HDFStore (#4645) .\pandas\io\pytables.py:{1124} - [x] Deprecate rolling_corr_pairwise and expanding_corr_pairwise (#4950) .\pandas\stats\moments.py:{301,957} - [x] Deprecate time_rule favor freq (#1042) .\pandas\stats\moments.py:{554} - [x] Deprecate inferTimeRule in favor of infer_freq (#391) .\pandas\tseries\frequencies.py:{247} - [ ] Deprecate offset in favor of freq (no issue, commit 31363905c20) .\pandas\tseries\index.py:{180}
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6641/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6641/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6642
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6642/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6642/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6642/events
https://github.com/pandas-dev/pandas/pull/6642
29,477,813
MDExOlB1bGxSZXF1ZXN0MTM1OTY0MDU=
6,642
SQL: add index_label keyword to to_sql
{ "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": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
11
2014-03-14T23:01:01Z
2014-06-30T13:49:37Z
2014-03-28T20:40:51Z
MEMBER
null
Further work on #6292. While looking at possible multi-index support, I thought of first adding this: - added ability to specify the used column name for the index column in `to_sql` (analoguous to `to_csv`). Good idea? - I only did it for the new sqlalchemy function, not the legacy one. Only problem is that it starts from the same function call, so all keyword arguments have also to be added to the legacy `to_sql` (https://github.com/jorisvandenbossche/pandas/compare/sql-multiindex?expand=1#diff-b41f9fd042c423682f8e4c4d808dbe64R891) without using it. Is there a better approach? Should I warn that this is ignored if the user specifies this? - added tests for it to do: - [x] should also change this in generic.py - [ ] check for name conflicts (warn and suggest to use index_label?) @mangecoeur
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6642/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6642/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6642.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6642", "merged_at": "2014-03-28T20:40:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6642.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6642" }
https://api.github.com/repos/pandas-dev/pandas/issues/6643
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6643/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6643/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6643/events
https://github.com/pandas-dev/pandas/issues/6643
29,485,430
MDU6SXNzdWUyOTQ4NTQzMA==
6,643
CLN: enforce four-space indentation
{ "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": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
4
2014-03-15T03:51:14Z
2014-06-17T21:54:57Z
2014-06-17T21:54:57Z
CONTRIBUTOR
null
Many files: ``` ['./bench/bench_join_panel.py', './pandas/sandbox/qtpandas.py', './pandas/tests/test_common.py', './pandas/tests/test_frame.py', './pandas/tests/test_generic.py', './pandas/core/series.py', './pandas/core/format.py', './pandas/core/internals.py', './pandas/core/indexing.py', './pandas/io/tests/test_sql.py', './pandas/tseries/converter.py', './setup.py', './doc/make.py', './doc/sphinxext/numpydoc/docscrape.py', './doc/sphinxext/ipython_sphinxext/ipython_directive.py'] ``` have indentation which isn't four-space. Sometimes it's consistently eight spaces: ``` def create_panels_append(cls, panels): """ return an append list of panels """ panels = [a for a in panels if a is not None] # corner cases ``` and sometimes it's more inconsistent (5 here, but not elsewhere): ``` with ensure_clean(pname) as path: self.frame['A'][:5] = nan ``` so that pylint spits out complaints like ``` W:5577,0: Bad indentation. Found 23 spaces, expected 20 ``` There's also at least one rogue tab in `testing.py`: ``` def assert_numpy_array_equal(self, np_array, assert_equal): if np.array_equal(np_array, assert_equal): return raise AssertionError('{0} is not equal to {1}.'.format(np_array, assert$ ``` Easily fixed, although I wonder if it should be hooked to avoid it happening again.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6643/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6643/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6644
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6644/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6644/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6644/events
https://github.com/pandas-dev/pandas/pull/6644
29,493,504
MDExOlB1bGxSZXF1ZXN0MTM2MDM3NDc=
6,644
ENH/VIS: Dataframe bar plot can now accept width and pos keywords
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "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" }
18
2014-03-15T14:23:05Z
2014-06-21T02:16:26Z
2014-03-19T14:04:33Z
MEMBER
null
Following keywords are now acceptable for `dataframe.plot(kind='bar')` and `dataframe.plot(kind='barh')`. `width`: Specify the bar width. In previous versions, static value 0.5 was passed to matplotlib and it cannot be overwritten. `pos`: Specify relative alignments for bar plot layout. From 0 (left/bottom-end) to 1(right/top-end). Default is 0.5 (center). _Examples:_ ![figure_1](https://f.cloud.github.com/assets/1696302/2428540/7496a148-ac4c-11e3-9964-8c3353551606.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/6644/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6644/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6644.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6644", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/6644.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6644" }
https://api.github.com/repos/pandas-dev/pandas/issues/6645
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6645/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6645/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6645/events
https://github.com/pandas-dev/pandas/issues/6645
29,493,759
MDU6SXNzdWUyOTQ5Mzc1OQ==
6,645
DEPR: deprecate cols / change to columns in to_csv / to_excel
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
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
2014-03-15T14:37:40Z
2014-03-25T11:48:31Z
2014-03-25T11:48:31Z
CONTRIBUTOR
null
related is #6581
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6645/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6645/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6646
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6646/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6646/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6646/events
https://github.com/pandas-dev/pandas/pull/6646
29,494,670
MDExOlB1bGxSZXF1ZXN0MTM2MDQxOTg=
6,646
CLN: Fix many indentation errors found in #6643.
{ "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": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
5
2014-03-15T15:26:21Z
2014-06-17T21:55:10Z
2014-06-17T21:54:57Z
CONTRIBUTOR
null
Changes should only affect whitespace. closes #6643
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6646/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6646/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6646.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6646", "merged_at": "2014-06-17T21:54:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6646.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6646" }
https://api.github.com/repos/pandas-dev/pandas/issues/6647
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6647/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6647/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6647/events
https://github.com/pandas-dev/pandas/pull/6647
29,494,870
MDExOlB1bGxSZXF1ZXN0MTM2MDQyNzY=
6,647
BUG: Bug in DataFrame.reindex(labels,level=0) with with reordered labels (GH4088)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
3
2014-03-15T15:36:32Z
2015-01-18T21:38:51Z
2015-01-18T21:38:51Z
CONTRIBUTOR
null
closes #4088
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6647/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6647/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6647.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6647", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/6647.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6647" }
https://api.github.com/repos/pandas-dev/pandas/issues/6648
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6648/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6648/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6648/events
https://github.com/pandas-dev/pandas/issues/6648
29,495,543
MDU6SXNzdWUyOTQ5NTU0Mw==
6,648
REGR: Timestamp - series is failing
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "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": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
9
2014-03-15T16:05:33Z
2014-03-18T10:09:59Z
2014-03-18T10:09:59Z
CONTRIBUTOR
null
I think this changed when the subtraction in Timestamp was changed to be minus adding. #6544 ``` In [1]: s = pd.Series(pd.date_range('2012-1-1', periods=3, freq='D')) In [2]: m = s.max() In [3]: x = m.to_datetime() In [4]: x - s Out[4]: 0 2 days 1 1 days 2 0 days dtype: timedelta64[ns] In [5]: m - s TypeError: ufunc 'negative' did not contain a loop with signature matching types dtype('<M8[ns]') dtype('<M8[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/6648/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6648/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6649
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6649/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6649/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6649/events
https://github.com/pandas-dev/pandas/pull/6649
29,498,429
MDExOlB1bGxSZXF1ZXN0MTM2MDU3NjI=
6,649
PLAT: platform sorting issue surfaced with time_grouper
{ "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": "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-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
2014-03-15T18:26:46Z
2014-07-22T18:41:02Z
2014-03-17T12:25:22Z
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/6649/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6649/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6649.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6649", "merged_at": "2014-03-17T12:25:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6649.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6649" }
https://api.github.com/repos/pandas-dev/pandas/issues/6650
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6650/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6650/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6650/events
https://github.com/pandas-dev/pandas/pull/6650
29,501,667
MDExOlB1bGxSZXF1ZXN0MTM2MDcxMjk=
6,650
PERF: Speed up DatetimeConverter by using Matplotlib's epoch2num when possible...
{ "avatar_url": "https://avatars.githubusercontent.com/u/1579083?v=4", "events_url": "https://api.github.com/users/agijsberts/events{/privacy}", "followers_url": "https://api.github.com/users/agijsberts/followers", "following_url": "https://api.github.com/users/agijsberts/following{/other_user}", "gists_url": "https://api.github.com/users/agijsberts/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/agijsberts", "id": 1579083, "login": "agijsberts", "node_id": "MDQ6VXNlcjE1NzkwODM=", "organizations_url": "https://api.github.com/users/agijsberts/orgs", "received_events_url": "https://api.github.com/users/agijsberts/received_events", "repos_url": "https://api.github.com/users/agijsberts/repos", "site_admin": false, "starred_url": "https://api.github.com/users/agijsberts/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/agijsberts/subscriptions", "type": "User", "url": "https://api.github.com/users/agijsberts" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "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" }
15
2014-03-15T21:17:46Z
2014-06-19T14:26:36Z
2014-03-17T19:48:28Z
CONTRIBUTOR
null
closes #6636 This fixes the performance bottleneck described in #6636 by using the vectorized epoch2num for DataIndex arrays. The included test ensures that the DatetimeConverter produces the same results as the Matplotlib's date2num for individual Timestamp objects as well as DatetimeIndex array objects.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6650/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6650/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6650.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6650", "merged_at": "2014-03-17T19:48:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6650.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6650" }
https://api.github.com/repos/pandas-dev/pandas/issues/6651
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6651/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6651/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6651/events
https://github.com/pandas-dev/pandas/pull/6651
29,514,658
MDExOlB1bGxSZXF1ZXN0MTM2MTE0OTQ=
6,651
TST: skip sql tests if connection to server fails
{ "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
0
2014-03-16T11:11:01Z
2014-07-03T07:26:40Z
2014-03-16T11:12:29Z
MEMBER
null
Further work on #6292, non-controversial part of #6627.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6651/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6651/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6651.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6651", "merged_at": "2014-03-16T11:12:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6651.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6651" }
https://api.github.com/repos/pandas-dev/pandas/issues/6652
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6652/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6652/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6652/events
https://github.com/pandas-dev/pandas/pull/6652
29,527,112
MDExOlB1bGxSZXF1ZXN0MTM2MTY0NDI=
6,652
BUG: disallow mixed dtype operations in eval/query
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[]
closed
false
null
[]
null
2
2014-03-16T21:32:51Z
2014-06-21T20:57:48Z
2014-03-17T14:18:12Z
MEMBER
null
closes #5198
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6652/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6652/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6652.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6652", "merged_at": "2014-03-17T14:18:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6652.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6652" }
https://api.github.com/repos/pandas-dev/pandas/issues/6653
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6653/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6653/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6653/events
https://github.com/pandas-dev/pandas/pull/6653
29,529,401
MDExOlB1bGxSZXF1ZXN0MTM2MTc0NDA=
6,653
DOC: some minor doc fixes
{ "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
0
2014-03-16T23:14:57Z
2014-07-16T08:58:36Z
2014-03-16T23:15:45Z
MEMBER
null
- some sphinx format tweaks in release.rst - use new api in 10min.rst
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6653/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6653/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6653.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6653", "merged_at": "2014-03-16T23:15:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6653.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6653" }
https://api.github.com/repos/pandas-dev/pandas/issues/6654
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6654/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6654/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6654/events
https://github.com/pandas-dev/pandas/issues/6654
29,543,639
MDU6SXNzdWUyOTU0MzYzOQ==
6,654
Time used increased a lot after we updated the pandas version from 0.12.0 to 0.13.1
{ "avatar_url": "https://avatars.githubusercontent.com/u/4454867?v=4", "events_url": "https://api.github.com/users/wopz0/events{/privacy}", "followers_url": "https://api.github.com/users/wopz0/followers", "following_url": "https://api.github.com/users/wopz0/following{/other_user}", "gists_url": "https://api.github.com/users/wopz0/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wopz0", "id": 4454867, "login": "wopz0", "node_id": "MDQ6VXNlcjQ0NTQ4Njc=", "organizations_url": "https://api.github.com/users/wopz0/orgs", "received_events_url": "https://api.github.com/users/wopz0/received_events", "repos_url": "https://api.github.com/users/wopz0/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wopz0/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wopz0/subscriptions", "type": "User", "url": "https://api.github.com/users/wopz0" }
[ { "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
[]
null
2
2014-03-17T08:32:34Z
2014-03-22T21:06:03Z
2014-03-22T21:06:03Z
NONE
null
Like the title said,we use pandas to handle data from mysql,after some groupby and apply operation,we than send them back to mysql. The problem is time used to run the same script increased a lot after we update pandas to the newest version. Could you give any suggestion to the possible reasion for this?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6654/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6654/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6655
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6655/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6655/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6655/events
https://github.com/pandas-dev/pandas/pull/6655
29,559,474
MDExOlB1bGxSZXF1ZXN0MTM2MzMzNzA=
6,655
DOC/API: pd.Grouper docs / api
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" } ]
closed
false
null
[]
{ "closed_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
1
2014-03-17T13:23:26Z
2014-07-08T16:11:44Z
2014-03-17T13:43:57Z
CONTRIBUTOR
null
address comments from #6516 docs and api
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6655/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6655/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6655.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6655", "merged_at": "2014-03-17T13:43:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6655.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6655" }
https://api.github.com/repos/pandas-dev/pandas/issues/6656
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6656/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6656/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6656/events
https://github.com/pandas-dev/pandas/pull/6656
29,560,435
MDExOlB1bGxSZXF1ZXN0MTM2MzM5NDQ=
6,656
ENH/VIS: Area plot is now supported by kind='area'.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "2014-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" }
16
2014-03-17T13:38:17Z
2014-06-12T05:20:06Z
2014-05-01T15:14:42Z
MEMBER
null
Area plot is added to plotting method. The AreaPlot class is created as a subclass of LinePlot, thus it works also in time series. By default, area plot is being stacked. When area plot is not stacked (`stacked=False`), alpha value is set to 0.5 to show overlapped area if not configured specifically. As a side benefit, line plot also can be stacked by specifying `stacked=True` (disabled by default). Different from stacked bar plot, I don't know good visualization for positive/negative mixed data. Thus, input must be all positive or all negative when `stacked=True`. I'll try to implement it if there is a good way. Also, area plot doesn't support logy and loglog plot because filling area starts from 0. Note: Area plot's legend is implemented based on the answer described in: http://stackoverflow.com/questions/14534130/legend-not-showing-up-in-matplotlib-stacked-area-plot _Example:_ ![figure_1](https://f.cloud.github.com/assets/1696302/2436288/dee8f4e6-add8-11e3-9297-a7403935844d.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/6656/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6656/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6656.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6656", "merged_at": "2014-05-01T15:14:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6656.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6656" }
https://api.github.com/repos/pandas-dev/pandas/issues/6657
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6657/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6657/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6657/events
https://github.com/pandas-dev/pandas/pull/6657
29,607,435
MDExOlB1bGxSZXF1ZXN0MTM2NjE5NzM=
6,657
REGR: fixing Timestamp/Series subtraction, resolves #6648
{ "avatar_url": "https://avatars.githubusercontent.com/u/5356340?v=4", "events_url": "https://api.github.com/users/rosnfeld/events{/privacy}", "followers_url": "https://api.github.com/users/rosnfeld/followers", "following_url": "https://api.github.com/users/rosnfeld/following{/other_user}", "gists_url": "https://api.github.com/users/rosnfeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rosnfeld", "id": 5356340, "login": "rosnfeld", "node_id": "MDQ6VXNlcjUzNTYzNDA=", "organizations_url": "https://api.github.com/users/rosnfeld/orgs", "received_events_url": "https://api.github.com/users/rosnfeld/received_events", "repos_url": "https://api.github.com/users/rosnfeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rosnfeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rosnfeld/subscriptions", "type": "User", "url": "https://api.github.com/users/rosnfeld" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": "2014-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" }
3
2014-03-17T23:10:30Z
2014-07-16T08:58:46Z
2014-03-18T10:09:59Z
CONTRIBUTOR
null
closes #6648. Admittedly the conditional in `__sub__` is a little gross now. I didn't add release notes as this is really just patching up a yet-to-be released item, but please let me know if I should. Also, the test only runs on numpy >= 1.7, is that okay?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6657/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6657/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6657.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6657", "merged_at": "2014-03-18T10:09:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6657.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6657" }
https://api.github.com/repos/pandas-dev/pandas/issues/6658
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6658/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6658/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6658/events
https://github.com/pandas-dev/pandas/issues/6658
29,618,419
MDU6SXNzdWUyOTYxODQxOQ==
6,658
BUG: test_boxplot failure
{ "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" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2014-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
2014-03-18T03:50:47Z
2014-03-18T14:39:47Z
2014-03-18T14:39:47Z
CONTRIBUTOR
null
`test_graphics.py` seems to be failing for me: ``` test_boxplot (__main__.TestDataFramePlots) ... > /usr/local/lib/python2.7/dist-packages/pandas-0.13.1_436_g4216178-py2.7-linux-i686.egg/pandas/core/internals.py(64)__init__() -> '%d' % (len(values), len(items))) (Pdb) bt /usr/lib/python2.7/unittest/case.py(331)run() -> testMethod() /home/dsm/sys/pandas/pandas/tests/test_graphics.py(633)test_boxplot() -> _check_plot_works(df.boxplot, column=['one', 'two'], by='indic') /home/dsm/sys/pandas/pandas/tests/test_graphics.py(1226)_check_plot_works() -> ret = f(*args, **kwargs) /usr/local/lib/python2.7/dist-packages/pandas-0.13.1_436_g4216178-py2.7-linux-i686.egg/pandas/core/frame.py(4865)boxplot() -> fontsize=fontsize, grid=grid, rot=rot, **kwds) /usr/local/lib/python2.7/dist-packages/pandas-0.13.1_436_g4216178-py2.7-linux-i686.egg/pandas/tools/plotting.py(1995)boxplot() -> ax=ax) /usr/local/lib/python2.7/dist-packages/pandas-0.13.1_436_g4216178-py2.7-linux-i686.egg/pandas/tools/plotting.py(2409)_grouped_plot_by_column() -> plotf(gp_col, ax, **kwargs) /usr/local/lib/python2.7/dist-packages/pandas-0.13.1_436_g4216178-py2.7-linux-i686.egg/pandas/tools/plotting.py(1973)plot_group() -> bp = ax.boxplot(values, **kwds) /usr/local/lib/python2.7/dist-packages/matplotlib-1.4.x-py2.7-linux-i686.egg/matplotlib/axes/_axes.py(3003)boxplot() -> labels=labels) /usr/local/lib/python2.7/dist-packages/matplotlib-1.4.x-py2.7-linux-i686.egg/matplotlib/cbook.py(2029)boxplot_stats() -> np.compress(x < stats['whislo'], x), /usr/local/lib/python2.7/dist-packages/numpy/core/fromnumeric.py(1560)compress() -> return _wrapit(a, 'compress', condition, axis, out) /usr/local/lib/python2.7/dist-packages/numpy/core/fromnumeric.py(47)_wrapit() -> result = wrap(result) /usr/local/lib/python2.7/dist-packages/pandas-0.13.1_436_g4216178-py2.7-linux-i686.egg/pandas/core/series.py(374)__array_wrap__() -> copy=False).__finalize__(self) /usr/local/lib/python2.7/dist-packages/pandas-0.13.1_436_g4216178-py2.7-linux-i686.egg/pandas/core/series.py(232)__init__() -> data = SingleBlockManager(data, index, fastpath=True) /usr/local/lib/python2.7/dist-packages/pandas-0.13.1_436_g4216178-py2.7-linux-i686.egg/pandas/core/internals.py(3670)__init__() -> block = make_block(block, axis, axis, ndim=1, fastpath=True) /usr/local/lib/python2.7/dist-packages/pandas-0.13.1_436_g4216178-py2.7-linux-i686.egg/pandas/core/internals.py(2058)make_block() -> placement=placement) > /usr/local/lib/python2.7/dist-packages/pandas-0.13.1_436_g4216178-py2.7-linux-i686.egg/pandas/core/internals.py(64)__init__() -> '%d' % (len(values), len(items))) (Pdb) print values [] (Pdb) print items Index([u'b', u'd', u'f'], dtype='object') (Pdb) print ref_items Index([u'b', u'd', u'f'], dtype='object') (Pdb) print ndim 1 (Pdb) print fastpath True (Pdb) print placement None ``` Standard TMI dump: ``` >>> pd.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 2.7.5.final.0 python-bits: 32 OS: Linux OS-release: 3.11.0-18-generic machine: i686 processor: i686 byteorder: little LC_ALL: None LANG: en_CA.UTF-8 pandas: 0.13.1-436-g4216178 Cython: 0.20.1 numpy: 1.9.0.dev-e792e15 scipy: 0.15.0.dev-4aa534f statsmodels: 0.6.0.dev-f3f5467 IPython: 1.2.1 sphinx: 1.2.2 patsy: 0.2.1 scikits.timeseries: None dateutil: 2.2 pytz: 2014.1 bottleneck: 0.8.0 tables: None numexpr: 2.3.1 matplotlib: 1.4.x openpyxl: 1.8.4 xlrd: 0.9.2 xlwt: 0.7.5 xlsxwriter: None lxml: 3.3.3 bs4: 4.3.2 html5lib: 1.0b3 bq: None apiclient: 1.2 rpy2: None sqlalchemy: 0.9.3 pymysql: None psycopg2: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6658/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6658/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6659
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6659/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6659/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6659/events
https://github.com/pandas-dev/pandas/pull/6659
29,640,384
MDExOlB1bGxSZXF1ZXN0MTM2ODA3MTI=
6,659
BUG: Bug in compat with np.compress, surfaced in (GH6658)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2014-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
2014-03-18T12:18:47Z
2014-06-21T09:06:49Z
2014-03-18T14:39:47Z
CONTRIBUTOR
null
closes #6658
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6659/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6659/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6659.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6659", "merged_at": "2014-03-18T14:39:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6659.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6659" }
https://api.github.com/repos/pandas-dev/pandas/issues/6660
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6660/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6660/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6660/events
https://github.com/pandas-dev/pandas/pull/6660
29,645,299
MDExOlB1bGxSZXF1ZXN0MTM2ODM2NTY=
6,660
DOC: Mention date and time formatting available throughout MPL
{ "avatar_url": "https://avatars.githubusercontent.com/u/1579083?v=4", "events_url": "https://api.github.com/users/agijsberts/events{/privacy}", "followers_url": "https://api.github.com/users/agijsberts/followers", "following_url": "https://api.github.com/users/agijsberts/following{/other_user}", "gists_url": "https://api.github.com/users/agijsberts/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/agijsberts", "id": 1579083, "login": "agijsberts", "node_id": "MDQ6VXNlcjE1NzkwODM=", "organizations_url": "https://api.github.com/users/agijsberts/orgs", "received_events_url": "https://api.github.com/users/agijsberts/received_events", "repos_url": "https://api.github.com/users/agijsberts/repos", "site_admin": false, "starred_url": "https://api.github.com/users/agijsberts/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/agijsberts/subscriptions", "type": "User", "url": "https://api.github.com/users/agijsberts" }
[ { "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": "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-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" }
11
2014-03-18T13:38:31Z
2014-07-05T02:53:02Z
2014-03-24T11:03:56Z
CONTRIBUTOR
null
The visualization documentation only mentions plotting using pandas' interface. This patch adds another section mentions that it is also possible to plot directly with MPL and that date and time formatters are automatically available through all plots in MPL. An example shows matplotlib's errorbar function where points and errors on the x axis are respectively timestamps and offsets.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6660/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6660/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6660.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6660", "merged_at": "2014-03-24T11:03:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6660.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6660" }
https://api.github.com/repos/pandas-dev/pandas/issues/6661
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6661/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6661/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6661/events
https://github.com/pandas-dev/pandas/pull/6661
29,650,553
MDExOlB1bGxSZXF1ZXN0MTM2ODY4Mzg=
6,661
ENH/VIS: Plotting DataFrame/Series with matplotlib.table
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
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
2014-03-18T14:42:00Z
2014-07-08T21:46:11Z
2014-04-07T15:41:42Z
MEMBER
null
closes #4803 Related to #4803, I prepared some codes to add a `matplotlib.Table` to `DataFrame` and `Series` plot using `table` keyword. `table` can take followings as an input: - `False`: Do nothing (default). - `True`: Draw a table using the data called `plot` method. Data will be transposed to meet the matplotlib's default layout. - `DataFrame` or `Series`: Draw matplotlib.table using the passed data. The data will be drawn as displayed in print method (not transposed automatically). Also, helper function `pandas.tools.plotting.table` is added to create a table from `DataFrame` and `Series`, and add it to the `matplotlib.Axes`. _Example:_ ``` fig, axes = plt.subplots(1, 3, figsize=(14, 4)) plt.subplots_adjust(top=0.97, bottom=0.2, left=0.05, right=0.97, hspace=0.2) df.plot(ax=axes[0], table=True, legend=False) axes[0].get_xaxis().set_visible(False) df.plot(ax=axes[1], table=np.round(df.T, 2), legend=False) axes[1].get_xaxis().set_visible(False) df.plot(ax=axes[2], legend=False) import pandas.tools.plotting as plotting plotting.table(axes[2], np.round(df.describe(), 2), loc='upper right', colWidths=[0.2, 0.2, 0.2]) plt.show() ``` _Outputs:_ ![figure_table](https://f.cloud.github.com/assets/1696302/2448693/7d4028e6-aea9-11e3-9a2e-f36087638dac.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/6661/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6661/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6661.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6661", "merged_at": "2014-04-07T15:41:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6661.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6661" }
https://api.github.com/repos/pandas-dev/pandas/issues/6662
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6662/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6662/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6662/events
https://github.com/pandas-dev/pandas/issues/6662
29,659,052
MDU6SXNzdWUyOTY1OTA1Mg==
6,662
DataFrame.mean takes a very long time with mixed dtype columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[]
closed
false
null
[]
null
4
2014-03-18T16:11:24Z
2014-03-18T17:20:01Z
2014-03-18T16:14:39Z
MEMBER
null
If I have some numeric columns over which I want to compute the mean and I have at least one string column, it takes much too long to compute. I can't even hit Ctrl-C to interrupt the process (if the frame is large enough). Interestingly, the string columns _are_ discarded in the final result. The perf difference is about a factor of 800 when the frame has 10000 elements. ``` In [18]: n = 10000 In [19]: df = DataFrame(randn(n, 2), columns=list('ab')) In [20]: df['c'] = [pd.util.testing.rands(5) for _ in xrange(n)] In [21]: df.head(10) Out[21]: a b c 0 1.0393 0.5719 AVi6V 1 0.6642 0.7441 mtqXk 2 -1.1552 0.1583 euUoo 3 0.7759 0.7647 cAAk2 4 -0.4958 0.4079 TYRRj 5 -0.7168 -1.1523 YT34i 6 1.5557 -1.7054 vXtgM 7 0.2898 -0.4858 2Rs1P 8 0.3752 0.2802 4UUz1 9 -0.2449 -2.3170 Bbue3 [10 rows x 3 columns] In [22]: timeit df.mean() 10 loops, best of 3: 48.6 ms per loop In [23]: dfnum = df[['a', 'b']] In [24]: timeit dfnum.mean() 10000 loops, best of 3: 61.6 µs per loop In [25]: 48.6 * 1000 / 61.6 Out[25]: 788.961038961039 # this is huge ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6662/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6662/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6663
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6663/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6663/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6663/events
https://github.com/pandas-dev/pandas/issues/6663
29,662,495
MDU6SXNzdWUyOTY2MjQ5NQ==
6,663
Ability to Sort DataFrame by Transformed Values
{ "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": "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
5
2014-03-18T16:48:18Z
2014-03-18T17:16:57Z
2014-03-18T17:16:52Z
CONTRIBUTOR
null
Let's say I have a DataFrame of stock returns. It would be great to be able to sort easily the DataFrame by the `abs` value of the returns. Currently I do this by inserting a new column and then sorting on the new column and than slicing on the original columns. This is ungainly: ``` ret["returns_abs"] = ret.returns.abs() ret.sort("returns_abs", ascending=False)[["returns", "key"]] ``` It would be great if I could either pass a Series or a function to the sort method: ``` ret.sort(ret.returns.abs(), ascending=False) ``` or ``` ret.sort(lambda x: abs(x.ix["returns"], ascending=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/6663/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6663/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6664
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6664/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6664/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6664/events
https://github.com/pandas-dev/pandas/issues/6664
29,664,023
MDU6SXNzdWUyOTY2NDAyMw==
6,664
Poorly Chosen X-Axis Labeling
{ "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": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
null
3
2014-03-18T17:05:09Z
2014-03-21T19:36:31Z
2014-03-21T19:36:23Z
CONTRIBUTOR
null
If I plot the entire DataFrame, the x-axis has too many labels (there are only 89 rows): ![capture](https://f.cloud.github.com/assets/51059/2450814/287d41fc-aebf-11e3-9ea5-a9fb2520bca1.PNG) Even plotting 80/89 rows works fine: ![capture2](https://f.cloud.github.com/assets/51059/2450840/6c2294de-aebf-11e3-9ff3-556a0fcdd0a7.PNG) I am using the following data: ``` csv_text ="""Date,99% 2013-10-31,1 2013-11-01,1 2013-11-05,1 2013-11-06,1 2013-11-07,1 2013-11-08,1 2013-11-12,1 2013-11-13,1 2013-11-14,1 2013-11-15,1 2013-11-18,1 2013-11-19,1 2013-11-20,1 2013-11-21,1 2013-11-22,1 2013-11-25,1 2013-11-26,1 2013-11-27,1 2013-11-29,1 2013-12-02,1 2013-12-03,1 2013-12-04,1 2013-12-05,1 2013-12-06,1 2013-12-09,1 2013-12-10,1 2013-12-11,1 2013-12-12,1 2013-12-13,1 2013-12-16,1 2013-12-17,1 2013-12-18,1 2013-12-19,1 2013-12-20,1 2013-12-23,1 2013-12-24,1 2013-12-26,1 2013-12-27,1 2013-12-30,1 2013-12-31,1 2014-01-02,1 2014-01-03,1 2014-01-06,1 2014-01-07,1 2014-01-08,1 2014-01-10,1 2014-01-13,1 2014-01-14,1 2014-01-15,1 2014-01-16,1 2014-01-17,1 2014-01-21,1 2014-01-22,1 2014-01-23,1 2014-01-24,1 2014-01-27,1 2014-01-28,1 2014-01-29,1 2014-01-30,1 2014-01-31,1 2014-02-04,1 2014-02-05,1 2014-02-06,1 2014-02-07,1 2014-02-10,1 2014-02-11,1 2014-02-12,1 2014-02-13,1 2014-02-14,1 2014-02-18,1 2014-02-19,1 2014-02-20,1 2014-02-21,1 2014-02-24,1 2014-02-25,1 2014-02-26,1 2014-02-27,1 2014-02-28,1 2014-03-03,1 2014-03-04,1 2014-03-05,1 2014-03-06,1 2014-03-07,1 2014-03-10,1 2014-03-11,1 2014-03-12,1 2014-03-13,1 2014-03-14,1 2014-03-17,1""" df = pd.read_csv(StringIO(csv_text), parse_dates="Date", index_col=["Date"]) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6664/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6664/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6665
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6665/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6665/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6665/events
https://github.com/pandas-dev/pandas/issues/6665
29,699,341
MDU6SXNzdWUyOTY5OTM0MQ==
6,665
na_values for read_html
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "006b75", "default": false, "description": "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" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 278, "created_at": "2013-01-06T03:02:01Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)", "due_on": "2022-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/20", "id": 239227, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels", "node_id": "MDk6TWlsZXN0b25lMjM5MjI3", "number": 20, "open_issues": 108, "state": "open", "title": "Someday", "updated_at": "2021-08-08T01:48:22Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20" }
0
2014-03-19T01:00:18Z
2021-04-11T04:21:23Z
null
CONTRIBUTOR
null
maybe some more args similar to read_csv would be good too?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6665/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6665/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6666
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6666/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6666/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6666/events
https://github.com/pandas-dev/pandas/issues/6666
29,704,590
MDU6SXNzdWUyOTcwNDU5MA==
6,666
read_csv guessing it's a date from column name
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": 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" }
1
2014-03-19T03:25:46Z
2017-07-09T02:37:35Z
2017-07-09T02:37:30Z
CONTRIBUTOR
null
In read_json we parse columns as dates if they have column names that look like they might be dates e.g. `created_at`, `date`, `something_date`. It's a cheeky solution ... Perhaps we could pop this same logic into read_csv?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6666/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6666/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6667
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6667/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6667/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6667/events
https://github.com/pandas-dev/pandas/pull/6667
29,715,210
MDExOlB1bGxSZXF1ZXN0MTM3MjU0Mjk=
6,667
Add layout support in plot_frame similar to the hist_frame layout
{ "avatar_url": "https://avatars.githubusercontent.com/u/4366344?v=4", "events_url": "https://api.github.com/users/pascal-schetelat/events{/privacy}", "followers_url": "https://api.github.com/users/pascal-schetelat/followers", "following_url": "https://api.github.com/users/pascal-schetelat/following{/other_user}", "gists_url": "https://api.github.com/users/pascal-schetelat/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pascal-schetelat", "id": 4366344, "login": "pascal-schetelat", "node_id": "MDQ6VXNlcjQzNjYzNDQ=", "organizations_url": "https://api.github.com/users/pascal-schetelat/orgs", "received_events_url": "https://api.github.com/users/pascal-schetelat/received_events", "repos_url": "https://api.github.com/users/pascal-schetelat/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pascal-schetelat/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pascal-schetelat/subscriptions", "type": "User", "url": "https://api.github.com/users/pascal-schetelat" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
7
2014-03-19T08:50:55Z
2014-08-19T17:09:14Z
2014-08-19T17:09:14Z
NONE
null
Add an optional layout keyword argument in order to set the subplots layout. If none provided, falls back to default behavior.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6667/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6667/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6667.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6667", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/6667.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6667" }
https://api.github.com/repos/pandas-dev/pandas/issues/6668
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6668/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6668/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6668/events
https://github.com/pandas-dev/pandas/pull/6668
29,722,039
MDExOlB1bGxSZXF1ZXN0MTM3Mjk0NTI=
6,668
Add an 'escape' keyword to DataFrame.to_latex
{ "avatar_url": "https://avatars.githubusercontent.com/u/588407?v=4", "events_url": "https://api.github.com/users/m-kuhn/events{/privacy}", "followers_url": "https://api.github.com/users/m-kuhn/followers", "following_url": "https://api.github.com/users/m-kuhn/following{/other_user}", "gists_url": "https://api.github.com/users/m-kuhn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/m-kuhn", "id": 588407, "login": "m-kuhn", "node_id": "MDQ6VXNlcjU4ODQwNw==", "organizations_url": "https://api.github.com/users/m-kuhn/orgs", "received_events_url": "https://api.github.com/users/m-kuhn/received_events", "repos_url": "https://api.github.com/users/m-kuhn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/m-kuhn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/m-kuhn/subscriptions", "type": "User", "url": "https://api.github.com/users/m-kuhn" }
[ { "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" } ]
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" }
33
2014-03-19T10:49:48Z
2014-06-16T02:44:13Z
2014-04-21T17:42:45Z
CONTRIBUTOR
null
closes #6472 The new keyword prevents the conversion from escaping column names Currently, a sequence like $e^x$ gets properly formatted when you display a dataframe in an ipython notebook, but gets escaped when converted to latex.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6668/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6668/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6668.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6668", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/6668.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6668" }
https://api.github.com/repos/pandas-dev/pandas/issues/6669
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6669/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6669/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6669/events
https://github.com/pandas-dev/pandas/issues/6669
29,736,667
MDU6SXNzdWUyOTczNjY2Nw==
6,669
Slice timeseries with "pro-rata" behaviour at endpoints
{ "avatar_url": "https://avatars.githubusercontent.com/u/4502?v=4", "events_url": "https://api.github.com/users/mjwillson/events{/privacy}", "followers_url": "https://api.github.com/users/mjwillson/followers", "following_url": "https://api.github.com/users/mjwillson/following{/other_user}", "gists_url": "https://api.github.com/users/mjwillson/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mjwillson", "id": 4502, "login": "mjwillson", "node_id": "MDQ6VXNlcjQ1MDI=", "organizations_url": "https://api.github.com/users/mjwillson/orgs", "received_events_url": "https://api.github.com/users/mjwillson/received_events", "repos_url": "https://api.github.com/users/mjwillson/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mjwillson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mjwillson/subscriptions", "type": "User", "url": "https://api.github.com/users/mjwillson" }
[ { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" }, { "color": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" } ]
closed
false
null
[]
{ "closed_at": 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" }
8
2014-03-19T14:33:03Z
2015-03-08T16:41:48Z
2015-03-08T16:41:48Z
NONE
null
Hi all Suppose I have a timeseries indexed by a PeriodIndex at day resolution, and I want to numerically integrate it over a range whose start- and end-point are known to a higher time resolution (say, to the exact second). As the first step towards this, it'd help to take a slice of my timeseries in which the values at the start and end are computed "pro rata" according to the proportion of that calendar day Period which is included in the range. I was looking for a way to do this with `reindex`, but it's not really a reindexing, more a slicing kind of operation with special-casing of the endpoints. Is there a way to do this in pandas? Seems like it could be a useful addition if not, I imagine it could be useful for various accounting applications too. (Even better would be a way to numerically integrate a timeseries directly while specifying endpoints at higher time resolution than the index. Unfortunately this doesn't seem possible with the sample-based integrators in `scipy.integrate`.) Cheers!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6669/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6669/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6670
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6670/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6670/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6670/events
https://github.com/pandas-dev/pandas/pull/6670
29,737,346
MDExOlB1bGxSZXF1ZXN0MTM3Mzg3NDU=
6,670
BUG: Seed RNG in test_partially_invalid_plot_data
{ "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
5
2014-03-19T14:40:29Z
2017-05-15T21:15:52Z
2014-03-19T16:59:43Z
CONTRIBUTOR
null
Came up upon merging another PR. See comment https://github.com/pydata/pandas/pull/6644#issuecomment-38057195 The test relies on drawing at least 1 draw out of 10 uniform draw to be larger than 0.5; even if this didn't cause the failure originally, it should still be fixed. I set a seed that's known to produce the desired values.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6670/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6670/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6670.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6670", "merged_at": "2014-03-19T16:59:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6670.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6670" }
https://api.github.com/repos/pandas-dev/pandas/issues/6671
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6671/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6671/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6671/events
https://github.com/pandas-dev/pandas/issues/6671
29,773,425
MDU6SXNzdWUyOTc3MzQyNQ==
6,671
API: helper for easier selection with iloc
{ "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": "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": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 278, "created_at": "2013-01-06T03:02:01Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)", "due_on": "2022-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/20", "id": 239227, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels", "node_id": "MDk6TWlsZXN0b25lMjM5MjI3", "number": 20, "open_issues": 108, "state": "open", "title": "Someday", "updated_at": "2021-08-08T01:48:22Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20" }
8
2014-03-19T21:20:40Z
2019-05-06T23:29:56Z
2019-05-06T23:29:56Z
CONTRIBUTOR
null
http://stackoverflow.com/questions/22517167/slicing-pandas-dataframe-by-column-numbers-i-dont-want/22517737?noredirect=1#comment34263807_22517737 ``` ic = lambda x: pd.Int64Index(np.arange(x)) In [11]: df1.iloc[:,~ic(len(df1.columns)).isin(np.r_[0,3:5])] ``` could borrow from `query` and support parsing I think ``` df1.iloc[:,'~np.r_[0,3:5]`] ``` can't parse this normally as `~` makes the indexer negative which means you index off the rhs of frame, which is not 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/6671/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6671/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6672
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6672/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6672/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6672/events
https://github.com/pandas-dev/pandas/pull/6672
29,792,646
MDExOlB1bGxSZXF1ZXN0MTM3NzIwNTU=
6,672
PERF: Quick Shift Implementation (GH5609)
{ "avatar_url": "https://avatars.githubusercontent.com/u/4218827?v=4", "events_url": "https://api.github.com/users/gouthambs/events{/privacy}", "followers_url": "https://api.github.com/users/gouthambs/followers", "following_url": "https://api.github.com/users/gouthambs/following{/other_user}", "gists_url": "https://api.github.com/users/gouthambs/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gouthambs", "id": 4218827, "login": "gouthambs", "node_id": "MDQ6VXNlcjQyMTg4Mjc=", "organizations_url": "https://api.github.com/users/gouthambs/orgs", "received_events_url": "https://api.github.com/users/gouthambs/received_events", "repos_url": "https://api.github.com/users/gouthambs/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gouthambs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gouthambs/subscriptions", "type": "User", "url": "https://api.github.com/users/gouthambs" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "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
2014-03-20T04:05:54Z
2014-08-10T13:36:10Z
2014-03-20T20:04:35Z
CONTRIBUTOR
null
closes #5609 ## Test code ``` import pandas as pd import numpy as np import timeit xdim = 10000 ydim = 500 repeats = 10 df = pd.DataFrame(np.random.rand(xdim,ydim)) # axis 0 shift s = timeit.default_timer() for i in range(repeats): df1 = df.shift(1,axis=0) e = timeit.default_timer() print "Axis 0 shift",e-s # axis 1 shift s = timeit.default_timer() for i in range(repeats): df1 = df.shift(1,axis=1) e = timeit.default_timer() print "Axis 1 shift",e-s ``` ## Results ``` V0.13.1 Axis 0 shift 0.958936203491 Axis 1 shift: IndexError: index 500 is out of bounds for size 500 ---------------------------------------------------------------------------------- V0.13.1-iss5609 branch Axis 0 shift 0.1622 Axis 1 shift 0.3466 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6672/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6672/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6672.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6672", "merged_at": "2014-03-20T20:04:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6672.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6672" }
https://api.github.com/repos/pandas-dev/pandas/issues/6673
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6673/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6673/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6673/events
https://github.com/pandas-dev/pandas/issues/6673
29,803,585
MDU6SXNzdWUyOTgwMzU4NQ==
6,673
Bug in date_range with semi-open interval and freq='B'?
{ "avatar_url": "https://avatars.githubusercontent.com/u/881019?v=4", "events_url": "https://api.github.com/users/dhirschfeld/events{/privacy}", "followers_url": "https://api.github.com/users/dhirschfeld/followers", "following_url": "https://api.github.com/users/dhirschfeld/following{/other_user}", "gists_url": "https://api.github.com/users/dhirschfeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dhirschfeld", "id": 881019, "login": "dhirschfeld", "node_id": "MDQ6VXNlcjg4MTAxOQ==", "organizations_url": "https://api.github.com/users/dhirschfeld/orgs", "received_events_url": "https://api.github.com/users/dhirschfeld/received_events", "repos_url": "https://api.github.com/users/dhirschfeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dhirschfeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dhirschfeld/subscriptions", "type": "User", "url": "https://api.github.com/users/dhirschfeld" }
[ { "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": "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" }, { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
null
[]
{ "closed_at": "2019-01-26T00:51:26Z", "closed_issues": 2048, "created_at": "2018-03-29T12:00:12Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "", "due_on": "2019-01-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/55", "id": 3228419, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55/labels", "node_id": "MDk6TWlsZXN0b25lMzIyODQxOQ==", "number": 55, "open_issues": 0, "state": "closed", "title": "0.24.0", "updated_at": "2019-01-29T07:42:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55" }
5
2014-03-20T09:20:04Z
2018-07-31T13:13:28Z
2018-07-31T13:13:28Z
CONTRIBUTOR
null
#5637 has some examples as well When the end date in `date_range` is not a valid business day it appears that `date_range` first sets it to a valid date _before_ deciding whether to return the last date depending on whether the interval is closed or open on the right. This results in the date range being incorrectly truncated when the interval is open-right - e.g. ``` python In [22]: for d in pd.date_range('20-Mar-2014', '23-Mar-2014', freq='D'): ...: print d.strftime('%a %d-%b-%Y') ...: Thu 20-Mar-2014 Fri 21-Mar-2014 Sat 22-Mar-2014 Sun 23-Mar-2014 In [23]: pd.date_range('20-Mar-2014', '23-Mar-2014', freq='B') Out[23]: <class 'pandas.tseries.index.DatetimeIndex'> [2014-03-20, 2014-03-21] Length: 2, Freq: B, Timezone: None In [24]: # should return all valid business days <= '23-Mar-2014' ...: pd.date_range('20-Mar-2014', '23-Mar-2014', freq='B', closed='left') <class 'pandas.tseries.index.DatetimeIndex'> [2014-03-20] Length: 1, Freq: B, Timezone: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6673/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6673/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6674
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6674/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6674/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6674/events
https://github.com/pandas-dev/pandas/issues/6674
29,806,731
MDU6SXNzdWUyOTgwNjczMQ==
6,674
peculiar performance drop for inplace rename after dropna
{ "avatar_url": "https://avatars.githubusercontent.com/u/3859135?v=4", "events_url": "https://api.github.com/users/eldad-a/events{/privacy}", "followers_url": "https://api.github.com/users/eldad-a/followers", "following_url": "https://api.github.com/users/eldad-a/following{/other_user}", "gists_url": "https://api.github.com/users/eldad-a/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/eldad-a", "id": 3859135, "login": "eldad-a", "node_id": "MDQ6VXNlcjM4NTkxMzU=", "organizations_url": "https://api.github.com/users/eldad-a/orgs", "received_events_url": "https://api.github.com/users/eldad-a/received_events", "repos_url": "https://api.github.com/users/eldad-a/repos", "site_admin": false, "starred_url": "https://api.github.com/users/eldad-a/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eldad-a/subscriptions", "type": "User", "url": "https://api.github.com/users/eldad-a" }
[]
closed
false
null
[]
null
2
2014-03-20T10:12:57Z
2014-03-20T13:25:25Z
2014-03-20T12:25:07Z
NONE
null
Upon profiling a process which needed to be optimized I found that renaming columns NOT inplace improves performance (execution time) by x120. Profiling indicates this is related to garbage collection (see below). Furthermore, the expected performance is recovered by avoiding the dropna method. The following short example demonstrates a factor x12: ``` python import pandas as pd import numpy as np ``` ### inplace=True ``` python %%timeit np.random.seed(0) r,c = (7,3) t = np.random.rand(r) df1 = pd.DataFrame(np.random.rand(r,c), columns=range(c), index=t) indx = np.random.choice(range(r),r/3, replace=False) t[indx] = np.random.rand(len(indx)) df2 = pd.DataFrame(np.random.rand(r,c), columns=range(c), index=t) df = (df1-df2).dropna() ## inplace rename: df.rename(columns={col:'d{}'.format(col) for col in df.columns}, inplace=True) ``` > 100 loops, best of 3: 15.6 ms per loop first output line of `%%prun`: > ncalls tottime percall cumtime percall filename:lineno(function) > 1 0.018 0.018 0.018 0.018 {gc.collect} ### inplace=False ``` python %%timeit np.random.seed(0) r,c = (7,3) t = np.random.rand(r) df1 = pd.DataFrame(np.random.rand(r,c), columns=range(c), index=t) indx = np.random.choice(range(r),r/3, replace=False) t[indx] = np.random.rand(len(indx)) df2 = pd.DataFrame(np.random.rand(r,c), columns=range(c), index=t) df = (df1-df2).dropna() ## avoid inplace: df = df.rename(columns={col:'d{}'.format(col) for col in df.columns}) ``` > 1000 loops, best of 3: 1.24 ms per loop ### avoiding dropna The expected performance is recovered by avoiding the `dropna` method: ``` python %%timeit np.random.seed(0) r,c = (7,3) t = np.random.rand(r) df1 = pd.DataFrame(np.random.rand(r,c), columns=range(c), index=t) indx = np.random.choice(range(r),r/3, replace=False) t[indx] = np.random.rand(len(indx)) df2 = pd.DataFrame(np.random.rand(r,c), columns=range(c), index=t) #no dropna: df = (df1-df2)#.dropna() ## inplace rename: df.rename(columns={col:'d{}'.format(col) for col in df.columns}, inplace=True) ``` > 1000 loops, best of 3: 865 µs per loop ``` python %%timeit np.random.seed(0) r,c = (7,3) t = np.random.rand(r) df1 = pd.DataFrame(np.random.rand(r,c), columns=range(c), index=t) indx = np.random.choice(range(r),r/3, replace=False) t[indx] = np.random.rand(len(indx)) df2 = pd.DataFrame(np.random.rand(r,c), columns=range(c), index=t) ## no dropna df = (df1-df2)#.dropna() ## avoid inplace: df = df.rename(columns={col:'d{}'.format(col) for col in df.columns}) ``` > 1000 loops, best of 3: 902 µs per loop
{ "+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/6674/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6674/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6675
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6675/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6675/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6675/events
https://github.com/pandas-dev/pandas/issues/6675
29,855,601
MDU6SXNzdWUyOTg1NTYwMQ==
6,675
API for selecting ranged groups
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
5
2014-03-20T20:37:45Z
2021-04-11T04:21:52Z
null
MEMBER
null
I often find myself writing code that looks like this: ``` python start_group = df[df.str_col == 'start'].index.values + 1 end_group = df[df.str_col == 'end'].index.values - 1 for s, e in zip(start_group, end_group): some_function(df[s:e]) ``` to get frame subsets between repeated start and end indicators from a particular column. Possible API: ``` df.grange(marker_col='str_col', start='start', end='end') ``` which would return an iterator over the the subsets. I'm not sure if this is general enough to include in library code. I'll happily close the issue if it's not. There also might be a way to do this already.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6675/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6675/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6676
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6676/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6676/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6676/events
https://github.com/pandas-dev/pandas/issues/6676
29,869,415
MDU6SXNzdWUyOTg2OTQxNQ==
6,676
Define and document the order of index names vs column names in query eval
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "color": "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" }
1
2014-03-21T00:06:53Z
2014-03-21T12:46:08Z
2014-03-21T12:46:08Z
MEMBER
null
Current behavior is to use the index over the columns. I think it makes more sense to prefer the columns. Current behavior: ``` In [7]: n = 10 In [8]: df = DataFrame(randint(40, 50, size=(n, 2)), columns=list('ab')) In [9]: df.index.name = 'a' In [10]: df Out[10]: a b a 0 43 40 1 43 46 2 41 42 3 40 45 4 41 41 5 40 45 6 47 44 7 49 41 8 40 40 9 47 40 [10 rows x 2 columns] In [11]: df.query('a > 5') Out[11]: a b a 6 47 44 7 49 41 8 40 40 9 47 40 [4 rows x 2 columns] ``` New behavior: ``` In [10]: df Out[10]: a b a 0 45 47 1 44 41 2 44 48 3 47 40 4 48 48 5 47 40 6 41 47 7 44 44 8 41 41 9 40 47 [10 rows x 2 columns] In [11]: df.query('a > 43') Out[11]: a b a 0 45 47 1 44 41 2 44 48 3 47 40 4 48 48 5 47 40 7 44 44 [7 rows x 2 columns] ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6676/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6676/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6677
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6677/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6677/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6677/events
https://github.com/pandas-dev/pandas/pull/6677
29,869,611
MDExOlB1bGxSZXF1ZXN0MTM4MTg2MTE=
6,677
ENH: define the order of resolution for index vs columns in query/eval
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "color": "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" }
1
2014-03-21T00:09:32Z
2014-06-24T20:05:14Z
2014-03-21T12:46:08Z
MEMBER
null
closes #6676
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6677/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6677/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6677.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6677", "merged_at": "2014-03-21T12:46:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6677.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6677" }
https://api.github.com/repos/pandas-dev/pandas/issues/6678
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6678/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6678/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6678/events
https://github.com/pandas-dev/pandas/pull/6678
29,883,192
MDExOlB1bGxSZXF1ZXN0MTM4MjU2Njg=
6,678
BUG: legend behaves inconsistently when plotting to the same axes
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "2014-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" }
15
2014-03-21T07:30:24Z
2014-06-12T19:37:46Z
2014-04-22T13:10:31Z
MEMBER
null
There seems to be some inconsistencies related to `DataFrame.plot` and `Series.plot` legend behaviors. _Problems:_ - When `DataFrame.plot` or `Series.plot` plots data on the same axes repeatedly: - If the target axes already has a legend, line plot always appends its legend to existing one ignoring `legend` kw and existing legend will be drawn as line artist regardless of actual artist type. Also, legend cannot be `reverse`ed if the axes already has a legend. - Bar/BarH plot deletes the existing legend and overwrites with latest one. - KDE plot appends its legend to the existing one, and will apply `reverse` to all artists including the existing one. - When `subplots` is enabled, line plot draws legends on each axes but bar plot doesn't. - Scatter plot does not draw legend even if `label` keyword is passed. _Fix:_ I've prepared a fix based on following concept, except `hexbin` which doesn't use legend. - Legend should be drawn by the order of the artists drawn. - Each legend should be drawn according to the passed `legend` value. - If df1 plots with `legend=True` and df2 with `legend=False`, only df1's legend should appear. - If df2 plots with `legend='reverse'`d, only df2's legend should be reversed. - When `subplots=True` and `legend=True`, each subplot axes should have its own legend (standardize current line plot behavior). _Example Code_ ``` df1 = DataFrame(randn(6, 3), index=range(6), columns=['a', 'b', 'c']) df2 = DataFrame(randn(6, 3), index=range(6), columns=['d', 'e', 'f']) df3 = DataFrame(randn(6, 3), index=range(6), columns=['x', 'y', 'z']) fig, axes = plt.subplots(1, 5, figsize=(14, 3)) for i, (legend, df) in enumerate(zip([True, False, 'reverse'], [df1, df2, df3])): df.plot(ax=axes[0], legend=legend, title='line') df.plot(kind='bar', ax=axes[1], legend=legend, title='bar') df.plot(kind='barh', ax=axes[2], legend=legend, title='barh') df.plot(kind='kde', ax=axes[3], legend=legend, title='kde') df.plot(kind='scatter', ax=axes[4], x=df.columns[0], y=df.columns[1], label=i, legend=legend, title='scatter') plt.show() ``` _Output using current repository_ - For line, bar, kde plot, expected legend is `a, b, c, z, y x`. Because df2 was plot by `legend=False`, and df3 was plot by `legend='reverse'`. - For scatter plot, `0, 2` is expected because df2 was plot by `legend=False`. ![figure_legend_current](https://f.cloud.github.com/assets/1696302/2480801/ba3c694a-b0c9-11e3-8f5b-d2ebec0798e3.png) _Output after fix_ ![figure_fixed](https://f.cloud.github.com/assets/1696302/2480773/b1bd8f70-b0c8-11e3-9654-3e3c2b20157b.png) If there is anything should be considered, please let me know. Thanks.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6678/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6678/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6678.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6678", "merged_at": "2014-04-22T13:10:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6678.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6678" }
https://api.github.com/repos/pandas-dev/pandas/issues/6679
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6679/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6679/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6679/events
https://github.com/pandas-dev/pandas/issues/6679
29,901,252
MDU6SXNzdWUyOTkwMTI1Mg==
6,679
inconsistent result of groupby().sum()
{ "avatar_url": "https://avatars.githubusercontent.com/u/1304950?v=4", "events_url": "https://api.github.com/users/sdementen/events{/privacy}", "followers_url": "https://api.github.com/users/sdementen/followers", "following_url": "https://api.github.com/users/sdementen/following{/other_user}", "gists_url": "https://api.github.com/users/sdementen/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sdementen", "id": 1304950, "login": "sdementen", "node_id": "MDQ6VXNlcjEzMDQ5NTA=", "organizations_url": "https://api.github.com/users/sdementen/orgs", "received_events_url": "https://api.github.com/users/sdementen/received_events", "repos_url": "https://api.github.com/users/sdementen/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sdementen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sdementen/subscriptions", "type": "User", "url": "https://api.github.com/users/sdementen" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
5
2014-03-21T13:57:55Z
2014-06-26T08:01:41Z
2014-03-22T21:02:43Z
CONTRIBUTOR
null
The following code: ``` df=DataFrame(data=[1,2,True,4.5], columns=["A"]) df["B"]=[1,1,1,2] print df.groupby(df["B"]).sum() print df.groupby(df["B"]).max() ``` gives as ouput ``` B B 1 3 2 2 [2 rows x 1 columns] A B B 1 2.0 1 2 4.5 2 [2 rows x 2 columns] ``` As we can see, the sum() operation has removed the column A (probably because the dtype is object/mixed). Is it expected ? The max() operation has no trouble with the column A. Moreover ``` df["A"].sum() ``` gives ``` 8.5 ``` which shows sum() is capable of handling mixed dtype. Using aggregate(numpy.sum) gives the same result than sum().
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6679/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6679/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6680
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6680/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6680/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6680/events
https://github.com/pandas-dev/pandas/issues/6680
29,906,352
MDU6SXNzdWUyOTkwNjM1Mg==
6,680
DEPR: deprecate cols / change to subset in duplicated/drop_duplicates
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
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
2014-03-21T14:56:43Z
2014-04-24T12:01:25Z
2014-03-25T11:49:45Z
CONTRIBUTOR
null
for consistency with `dropna` (and also to not use `cols` which is being deprecated) related #6645
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6680/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6680/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6681
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6681/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6681/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6681/events
https://github.com/pandas-dev/pandas/issues/6681
29,918,780
MDU6SXNzdWUyOTkxODc4MA==
6,681
BUG: align on level for binary ops
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2014-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
2014-03-21T17:26:56Z
2014-03-21T20:10:13Z
2014-03-21T20:10:13Z
CONTRIBUTOR
null
http://stackoverflow.com/questions/22559172/multiply-all-columns-of-a-multi-indexed-dataframe-by-appropriate-values-in-a-ser related to #5645 as well
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6681/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6681/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6682
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6682/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6682/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6682/events
https://github.com/pandas-dev/pandas/pull/6682
29,919,095
MDExOlB1bGxSZXF1ZXN0MTM4NDY5MjQ=
6,682
BUG: Bug in binary operations with a rhs of a Series not aligning (GH6681)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2014-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
2014-03-21T17:30:43Z
2014-06-23T20:21:08Z
2014-03-21T20:10:13Z
CONTRIBUTOR
null
closes #6681 ``` In [11]: index=MultiIndex.from_product([list('abc'), ['one','two','three'], [1,2,3]], names=['first','second','third']) In [12]: df = DataFrame(np.arange(27*3).reshape(27,3), index=index, columns=['value1','value2','value3']).sortlevel() In [13]: df Out[13]: value1 value2 value3 first second third a one 1 0 1 2 2 3 4 5 3 6 7 8 three 1 18 19 20 2 21 22 23 3 24 25 26 two 1 9 10 11 2 12 13 14 3 15 16 17 b one 1 27 28 29 2 30 31 32 3 33 34 35 three 1 45 46 47 2 48 49 50 3 51 52 53 two 1 36 37 38 2 39 40 41 3 42 43 44 c one 1 54 55 56 2 57 58 59 3 60 61 62 three 1 72 73 74 2 75 76 77 3 78 79 80 two 1 63 64 65 2 66 67 68 3 69 70 71 [27 rows x 3 columns] In [15]: x = Series([ 1.0, 10.0], ['two','three']) In [16]: x Out[16]: two 1 three 10 dtype: float64 ``` Passing a level now aligns by that level ``` In [14]: df.mul(x,level='second',axis=0) Out[14]: value1 value2 value3 first second third a one 1 NaN NaN NaN 2 NaN NaN NaN 3 NaN NaN NaN three 1 180 190 200 2 210 220 230 3 240 250 260 two 1 9 10 11 2 12 13 14 3 15 16 17 b one 1 NaN NaN NaN 2 NaN NaN NaN 3 NaN NaN NaN three 1 450 460 470 2 480 490 500 3 510 520 530 two 1 36 37 38 2 39 40 41 3 42 43 44 c one 1 NaN NaN NaN 2 NaN NaN NaN 3 NaN NaN NaN three 1 720 730 740 2 750 760 770 3 780 790 800 two 1 63 64 65 2 66 67 68 3 69 70 71 [27 rows x 3 columns] ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6682/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6682/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6682.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6682", "merged_at": "2014-03-21T20:10:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6682.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6682" }
https://api.github.com/repos/pandas-dev/pandas/issues/6683
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6683/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6683/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6683/events
https://github.com/pandas-dev/pandas/issues/6683
29,920,664
MDU6SXNzdWUyOTkyMDY2NA==
6,683
Poor performance for .loc and .iloc compared to .ix
{ "avatar_url": "https://avatars.githubusercontent.com/u/6635285?v=4", "events_url": "https://api.github.com/users/brownmk/events{/privacy}", "followers_url": "https://api.github.com/users/brownmk/followers", "following_url": "https://api.github.com/users/brownmk/following{/other_user}", "gists_url": "https://api.github.com/users/brownmk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/brownmk", "id": 6635285, "login": "brownmk", "node_id": "MDQ6VXNlcjY2MzUyODU=", "organizations_url": "https://api.github.com/users/brownmk/orgs", "received_events_url": "https://api.github.com/users/brownmk/received_events", "repos_url": "https://api.github.com/users/brownmk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/brownmk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/brownmk/subscriptions", "type": "User", "url": "https://api.github.com/users/brownmk" }
[]
closed
false
null
[]
null
23
2014-03-21T17:51:15Z
2021-04-10T16:28:37Z
2014-03-21T18:24:30Z
NONE
null
When using indices, we are encouraged to use .loc instead of .ix. Also the "SettingWithCopyWarning:" recommends us to use .loc instead. But it seems the performance of .loc and .iloc is 20-30 times slower than .ix (I am using Pandas 0.13.1) .ix takes 4.54897093773 sec .iloc takes 111.531260967 sec .loc takes 92.8014230728 sec The costs for .loc and .iloc seems too high. Thanks! -- test code --- # !/usr/bin/env python import pandas as pd import numpy as np import time t=pd.DataFrame(data=np.zeros([100000,6]), columns=['A','B','C','D','E','F']) start=time.time() for i in t.index: for j in ['A','B','C','D','E']: t.ix[i,j] t1=time.time() print t1-start for i in xrange(100000): for j in xrange(6): t.iloc[i,j] t2=time.time() print t2-t1 for i in t.index: for j in ['A','B','C','D','E']: t.loc[i,j] t3=time.time() print t3-t2
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6683/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6683/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6684
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6684/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6684/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6684/events
https://github.com/pandas-dev/pandas/issues/6684
29,923,749
MDU6SXNzdWUyOTkyMzc0OQ==
6,684
Bug: Export to Stata NaN not converted to "."
{ "avatar_url": "https://avatars.githubusercontent.com/u/650534?v=4", "events_url": "https://api.github.com/users/ozak/events{/privacy}", "followers_url": "https://api.github.com/users/ozak/followers", "following_url": "https://api.github.com/users/ozak/following{/other_user}", "gists_url": "https://api.github.com/users/ozak/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ozak", "id": 650534, "login": "ozak", "node_id": "MDQ6VXNlcjY1MDUzNA==", "organizations_url": "https://api.github.com/users/ozak/orgs", "received_events_url": "https://api.github.com/users/ozak/received_events", "repos_url": "https://api.github.com/users/ozak/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ozak/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ozak/subscriptions", "type": "User", "url": "https://api.github.com/users/ozak" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "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" } ]
closed
false
null
[]
{ "closed_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
9
2014-03-21T18:30:20Z
2014-03-23T13:41:24Z
2014-03-23T13:41:24Z
NONE
null
Hi, I noticed that when exporting data to stata the `NaN` values are not always converted to Stata missing values but instead left blank. This somehow confuses Stata which does not allow using the `destring` command to solve the problem nor using `replace value=. if value==.`. As an Example I downloaded the [World Development Indicators](http://databank.worldbank.org/data/download/WDI_excel.zip) and used the following commands to export National Savings to an the excel and csv file: ``` import pandas as pd import os dfwdi=pd.read_excel('WDI.xlsx','Data') dfwdi.columns dfout=dfwdi.ix[dfwdi['Indicator Code']=='NY.GDS.TOTL.ZS'] dfout cols=['savyr'+str(i) for i in xrange(1960,dfwdi.columns.values[-1]+1)] dfout.reset_index(inplace=True, drop=True) dfout.to_csv('sav.csv', index=False) dfout.to_stata('sav.dta', write_index=False) ``` If you import the data into Stata (I am using v.13) and run the following commands, things fail. ``` use "sav.dta", clear * Correct number of missing values summ savyr2000 reg savyr2010 savyr 2000 * Correct countries identified as missing tab code if savyr==. * replace missing values to "." * One cannot replace the missing not presented as "." replace savyr2010==. if savyr=="" * Use "." to identify replace savyr2010==. if savyr==. * Perform analysis again summ savyr2000 reg savyr2010 savyr 2000 * Still fails ``` As you can see Stata does not perform the analysis, even though it correctly recognizes the missing values. But not all of them are presented as ".". If one imports the the csv version into Stata and runs the same initial commands it works fine. ``` import delimited "sav.csv" * Correct number of missing values summ savyr2000 reg savyr2010 savyr 2000 ``` Furthermore, for some reason the index is still present in the stata file, even though I had used the `write_index=False` option. I am using Enthought's Canopy distribution on OSX Mavericks with Pandas '0.13.1'. Haven't tried on other Python dists.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6684/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6684/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6685
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6685/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6685/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6685/events
https://github.com/pandas-dev/pandas/pull/6685
29,944,202
MDExOlB1bGxSZXF1ZXN0MTM4NTk5ODg=
6,685
BUG: NaN values not converted to Stata missing values (GH6684)
{ "avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4", "events_url": "https://api.github.com/users/bashtage/events{/privacy}", "followers_url": "https://api.github.com/users/bashtage/followers", "following_url": "https://api.github.com/users/bashtage/following{/other_user}", "gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bashtage", "id": 5585221, "login": "bashtage", "node_id": "MDQ6VXNlcjU1ODUyMjE=", "organizations_url": "https://api.github.com/users/bashtage/orgs", "received_events_url": "https://api.github.com/users/bashtage/received_events", "repos_url": "https://api.github.com/users/bashtage/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bashtage/subscriptions", "type": "User", "url": "https://api.github.com/users/bashtage" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "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" } ]
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
2014-03-21T22:22:24Z
2014-06-13T03:14:11Z
2014-03-23T13:41:24Z
CONTRIBUTOR
null
closes #6684 Stata does not correctly handle NaNs, and so these must be replaced with Stata missing values (. by default). The fix checks floating point columns for nan and replaces these with the Stata numeric code for (.). The write_index option was also being ignored by omission. This has been fixed and numerous tests which were not correct have 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/6685/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6685/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6685.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6685", "merged_at": "2014-03-23T13:41:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6685.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6685" }
https://api.github.com/repos/pandas-dev/pandas/issues/6686
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6686/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6686/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6686/events
https://github.com/pandas-dev/pandas/pull/6686
29,951,481
MDExOlB1bGxSZXF1ZXN0MTM4NjM5MDA=
6,686
DEPR: deprecate cols / change to columns in to_csv / to_excel
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
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" }
10
2014-03-22T01:13:20Z
2014-06-19T17:33:46Z
2014-03-23T20:00:06Z
CONTRIBUTOR
null
Fix #6645
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6686/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6686/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6686.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6686", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/6686.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6686" }
https://api.github.com/repos/pandas-dev/pandas/issues/6687
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6687/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6687/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6687/events
https://github.com/pandas-dev/pandas/pull/6687
29,961,833
MDExOlB1bGxSZXF1ZXN0MTM4Njg0MjM=
6,687
add train_test_split function to DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/1320343?v=4", "events_url": "https://api.github.com/users/cloga/events{/privacy}", "followers_url": "https://api.github.com/users/cloga/followers", "following_url": "https://api.github.com/users/cloga/following{/other_user}", "gists_url": "https://api.github.com/users/cloga/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cloga", "id": 1320343, "login": "cloga", "node_id": "MDQ6VXNlcjEzMjAzNDM=", "organizations_url": "https://api.github.com/users/cloga/orgs", "received_events_url": "https://api.github.com/users/cloga/received_events", "repos_url": "https://api.github.com/users/cloga/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cloga/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cloga/subscriptions", "type": "User", "url": "https://api.github.com/users/cloga" }
[]
closed
false
null
[]
null
13
2014-03-22T14:13:42Z
2014-06-14T20:58:20Z
2014-04-22T15:34:50Z
NONE
null
Use random sample to split a DataFrame to train set and test set which ready for cross validation.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6687/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6687/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6687.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6687", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/6687.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6687" }
https://api.github.com/repos/pandas-dev/pandas/issues/6688
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6688/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6688/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6688/events
https://github.com/pandas-dev/pandas/issues/6688
29,968,667
MDU6SXNzdWUyOTk2ODY2Nw==
6,688
to_excel fails when there are lists, dict, objects in DF
{ "avatar_url": "https://avatars.githubusercontent.com/u/637415?v=4", "events_url": "https://api.github.com/users/sirinath/events{/privacy}", "followers_url": "https://api.github.com/users/sirinath/followers", "following_url": "https://api.github.com/users/sirinath/following{/other_user}", "gists_url": "https://api.github.com/users/sirinath/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sirinath", "id": 637415, "login": "sirinath", "node_id": "MDQ6VXNlcjYzNzQxNQ==", "organizations_url": "https://api.github.com/users/sirinath/orgs", "received_events_url": "https://api.github.com/users/sirinath/received_events", "repos_url": "https://api.github.com/users/sirinath/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sirinath/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sirinath/subscriptions", "type": "User", "url": "https://api.github.com/users/sirinath" }
[ { "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": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 278, "created_at": "2013-01-06T03:02:01Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)", "due_on": "2022-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/20", "id": 239227, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels", "node_id": "MDk6TWlsZXN0b25lMjM5MjI3", "number": 20, "open_issues": 108, "state": "open", "title": "Someday", "updated_at": "2021-08-08T01:48:22Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20" }
5
2014-03-22T17:55:40Z
2014-03-23T13:42:56Z
2014-03-23T13:42:56Z
NONE
null
To Excel does not seam to be able to handle when there are objects in the DF. Some way to flatten and export should be used.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6688/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6688/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6689
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6689/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6689/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6689/events
https://github.com/pandas-dev/pandas/issues/6689
29,973,923
MDU6SXNzdWUyOTk3MzkyMw==
6,689
DataFrame.replace only replaces the first occurrence of replacement pattern
{ "avatar_url": "https://avatars.githubusercontent.com/u/81476?v=4", "events_url": "https://api.github.com/users/fonnesbeck/events{/privacy}", "followers_url": "https://api.github.com/users/fonnesbeck/followers", "following_url": "https://api.github.com/users/fonnesbeck/following{/other_user}", "gists_url": "https://api.github.com/users/fonnesbeck/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fonnesbeck", "id": 81476, "login": "fonnesbeck", "node_id": "MDQ6VXNlcjgxNDc2", "organizations_url": "https://api.github.com/users/fonnesbeck/orgs", "received_events_url": "https://api.github.com/users/fonnesbeck/received_events", "repos_url": "https://api.github.com/users/fonnesbeck/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fonnesbeck/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fonnesbeck/subscriptions", "type": "User", "url": "https://api.github.com/users/fonnesbeck" }
[ { "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" } ]
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" }
8
2014-03-22T22:11:29Z
2016-10-12T23:04:43Z
2014-04-08T22:55:12Z
NONE
null
This is best explained by a screenshot: ![bad_replace](http://d.pr/i/vVgH+) I'm running a pretty recent build of Pandas ('0.13.1-213-gc174c3d') on Python 2.7.5 on OS X 0.9.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/6689/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6689/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6690
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6690/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6690/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6690/events
https://github.com/pandas-dev/pandas/pull/6690
29,975,230
MDExOlB1bGxSZXF1ZXN0MTM4NzMzMTQ=
6,690
BUG: Bug in resample with extra bins when using an evenly divisible freq (GH4076)
{ "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": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" } ]
closed
false
null
[]
{ "closed_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
0
2014-03-22T23:25:25Z
2014-06-27T12:22:23Z
2014-03-23T13:49:21Z
CONTRIBUTOR
null
closes #4076 this only happened on the cythonized methods and not the python agg ones (this is why count worked, but sum did not)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6690/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6690/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6690.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6690", "merged_at": "2014-03-23T13:49:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6690.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6690" }
https://api.github.com/repos/pandas-dev/pandas/issues/6691
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6691/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6691/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6691/events
https://github.com/pandas-dev/pandas/pull/6691
29,975,953
MDExOlB1bGxSZXF1ZXN0MTM4NzM1OTA=
6,691
ENH/VIS: Dataframe bar plot can now handle align keyword properly
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
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
2014-03-23T00:01:35Z
2014-06-17T15:37:54Z
2014-03-26T20:50:44Z
MEMBER
null
Closes #4525. I modified the `BarPlot` internal alignment to meet line coordinates. Previously, `BarPlot` doesn't pass `align` keyword to matplotlib (thus matplotlib uses `align='edge'`), but it adjusts bar locations to looks like `align='center'`. Now `BarPlot` pass `align=center` to matplotlib by default and ticks are being locates on integer value starts from 0 (0.0, 1.0 ...). Drawing bar and line on the same axes looks like below. _Output using current master:_ ![align_incorrect](https://f.cloud.github.com/assets/1696302/2492234/0df22b26-b21c-11e3-8a96-95cffa20a7c6.png) _Output after fix_ ![align_correct](https://f.cloud.github.com/assets/1696302/2492238/5f5bc26a-b21c-11e3-9b70-76892cea9eca.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/6691/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6691/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6691.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6691", "merged_at": "2014-03-26T20:50:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/6691.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6691" }
https://api.github.com/repos/pandas-dev/pandas/issues/6692
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6692/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6692/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6692/events
https://github.com/pandas-dev/pandas/issues/6692
29,981,225
MDU6SXNzdWUyOTk4MTIyNQ==
6,692
pandas insert into cassandra table like SQL
{ "avatar_url": "https://avatars.githubusercontent.com/u/3161099?v=4", "events_url": "https://api.github.com/users/venuktan/events{/privacy}", "followers_url": "https://api.github.com/users/venuktan/followers", "following_url": "https://api.github.com/users/venuktan/following{/other_user}", "gists_url": "https://api.github.com/users/venuktan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/venuktan", "id": 3161099, "login": "venuktan", "node_id": "MDQ6VXNlcjMxNjEwOTk=", "organizations_url": "https://api.github.com/users/venuktan/orgs", "received_events_url": "https://api.github.com/users/venuktan/received_events", "repos_url": "https://api.github.com/users/venuktan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/venuktan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/venuktan/subscriptions", "type": "User", "url": "https://api.github.com/users/venuktan" }
[ { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
null
2
2014-03-23T05:10:06Z
2014-05-05T13:25:59Z
2014-05-05T13:25:55Z
NONE
null
Wondering if there is a way to insert a pandas DF into Cassandra? Here is the info of the python driver: https://github.com/datastax/python-driver
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6692/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6692/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6693
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6693/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6693/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6693/events
https://github.com/pandas-dev/pandas/pull/6693
29,994,431
MDExOlB1bGxSZXF1ZXN0MTM4ODAwNzc=
6,693
DEPR: Deprecate cols in several functions
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
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" }
11
2014-03-23T18:42:34Z
2014-06-17T07:59:48Z
2014-03-25T11:49:20Z
CONTRIBUTOR
null
closes #6680 -- Deprecate `cols` in `drop_duplicates()` and `duplicated()` (rename to `subset`) closes #6645 -- Deprecate `cols` in `to_csv()` and `to_excel()` (rename to `columns`) releated to #6686 Related #5505 -- Deprecate `cols` and `rows` in `pivot_table()` and `crosstab()` (rename to `columns` and `index`) Related #6581 -- Reminder to come back in 0.16, remove deprecation warnings, and use new 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/6693/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6693/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/6693.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/6693", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/6693.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6693" }
https://api.github.com/repos/pandas-dev/pandas/issues/6694
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6694/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6694/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6694/events
https://github.com/pandas-dev/pandas/issues/6694
29,995,490
MDU6SXNzdWUyOTk5NTQ5MA==
6,694
to_datetime on python 3
{ "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
[]
null
7
2014-03-23T19:16:40Z
2014-03-23T20:28:25Z
2014-03-23T19:36:04Z
CONTRIBUTOR
null
Is this our fault or a pandas bug? ``` ====================================================================== ERROR: test suite for <class 'statsmodels.tsa.tests.test_expsmoothing.TestExpSmoothing'> ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/nose/suite.py", line 209, in run self.setUp() File "/usr/lib/python3/dist-packages/nose/suite.py", line 292, in setUp self.setupContext(ancestor) File "/usr/lib/python3/dist-packages/nose/suite.py", line 315, in setupContext try_run(context, names) File "/usr/lib/python3/dist-packages/nose/util.py", line 478, in try_run return func() File "/usr/local/lib/python3.2/dist-packages/statsmodels/tsa/tests/test_expsmoothing.py", line 13, in setupClass dta = co2.load_pandas().data File "/usr/local/lib/python3.2/dist-packages/statsmodels/datasets/co2/data.py", line 62, in load_pandas index = pd.to_datetime(data.data['date'], format='%Y%m%d') File "/usr/lib/python3/dist-packages/pandas/tseries/tools.py", line 128, in to_datetime return _convert_listlike(arg, box=box) File "/usr/lib/python3/dist-packages/pandas/tseries/tools.py", line 104, in _convert_listlike result = tslib.array_strptime(arg, format) File "tslib.pyx", line 1112, in pandas.tslib.array_strptime (pandas/tslib.c:18285) TypeError: can't use a string pattern on a bytes-like object ``` https://travis-ci.org/statsmodels/statsmodels/jobs/21129388
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6694/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6694/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6695
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6695/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6695/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6695/events
https://github.com/pandas-dev/pandas/issues/6695
30,017,698
MDU6SXNzdWUzMDAxNzY5OA==
6,695
apply fct on TimeSeries : performance issue
{ "avatar_url": "https://avatars.githubusercontent.com/u/1043822?v=4", "events_url": "https://api.github.com/users/patrickhoebeke/events{/privacy}", "followers_url": "https://api.github.com/users/patrickhoebeke/followers", "following_url": "https://api.github.com/users/patrickhoebeke/following{/other_user}", "gists_url": "https://api.github.com/users/patrickhoebeke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/patrickhoebeke", "id": 1043822, "login": "patrickhoebeke", "node_id": "MDQ6VXNlcjEwNDM4MjI=", "organizations_url": "https://api.github.com/users/patrickhoebeke/orgs", "received_events_url": "https://api.github.com/users/patrickhoebeke/received_events", "repos_url": "https://api.github.com/users/patrickhoebeke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/patrickhoebeke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/patrickhoebeke/subscriptions", "type": "User", "url": "https://api.github.com/users/patrickhoebeke" }
[]
closed
false
null
[]
null
3
2014-03-24T09:08:20Z
2014-03-24T11:09:36Z
2014-03-24T11:09:36Z
NONE
null
Hello, I have a strange performance issue that I want to share with you... When I have a TimeSeries (let's call it "ts"), I discovered that it is faster to apply it on ts.values than on ts (see example 1). Is that logical ? This have a large impact on performance when running for example the "apply function after a groupby (see example 2 below). I do not understand exactly the reason but from now, I'm usung a wrapper around the apply function that first checks if a could simply use the "ts.values" version of the function... Hope this can help to improve this great tool ! Patrick Example 1 ``` import pandas as pd ts=pd.TimeSeries(index=range(0,10000),data=np.random.normal(scale=100,size=10000)) %timeit np.mean(ts) 10000 loops, best of 3: 42.7 µs per loop %timeit np.mean(ts.values) 10000 loops, best of 3: 28.9 µs per loop ``` Example 2 ``` import pandas as pd ts=pd.TimeSeries(index=range(0,10000),data=np.random.normal(scale=100,size=10000)) grouped=ts.groupby(by=lambda x:np.round(x/100)*100) def fct(x): med = x.median() threshold = np.percentile(abs(x-med),[90]) return x[abs(x-med)<threshold].mean() def fct2(x): x=x.values med = np.median(x) threshold = np.percentile(abs(x-med),[90]) return x[abs(x-med)<threshold].mean() %timeit grouped.apply(fct) 10 loops, best of 3: 76.4 ms per loop %timeit grouped.apply(fct2) 100 loops, best of 3: 17.9 ms per loop %timeit np.mean(ts) 10000 loops, best of 3: 42.7 µs per loop %timeit np.mean(ts.values) 10000 loops, best of 3: 28.9 µs 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/6695/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6695/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6696
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6696/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6696/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6696/events
https://github.com/pandas-dev/pandas/issues/6696
30,023,065
MDU6SXNzdWUzMDAyMzA2NQ==
6,696
Problem Using partial with groupby and apply in Pandas
{ "avatar_url": "https://avatars.githubusercontent.com/u/6370289?v=4", "events_url": "https://api.github.com/users/nikhilketkar/events{/privacy}", "followers_url": "https://api.github.com/users/nikhilketkar/followers", "following_url": "https://api.github.com/users/nikhilketkar/following{/other_user}", "gists_url": "https://api.github.com/users/nikhilketkar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nikhilketkar", "id": 6370289, "login": "nikhilketkar", "node_id": "MDQ6VXNlcjYzNzAyODk=", "organizations_url": "https://api.github.com/users/nikhilketkar/orgs", "received_events_url": "https://api.github.com/users/nikhilketkar/received_events", "repos_url": "https://api.github.com/users/nikhilketkar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nikhilketkar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nikhilketkar/subscriptions", "type": "User", "url": "https://api.github.com/users/nikhilketkar" }
[]
closed
false
null
[]
null
1
2014-03-24T10:38:30Z
2014-03-24T11:10:41Z
2014-03-24T11:10:41Z
NONE
null
I am having trouble using partial with groupby and apply in Pandas. Perhaps I am not using this right? data = {'a':[1,1,2,2],'b':['Y','Y','N','Y'], 'c':['Y','Y','N','Y']} df = pandas.DataFrame(data) def countY(columnName, group): return len(group[group[columnName] == 'Y']) df.groupby('a').apply(partial(countY, 'b')) AttributeError: 'functools.partial' object has no attribute '_module_' welcome@welcome-ThinkCentre-Edge72:~$ python Python 2.7.3 (default, Feb 27 2014, 19:58:35) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. > > > import pandas > > > from functools import partial > > > data = {'a':[1,1,2,2],'b':['Y','Y','N','Y'], 'c':['Y','Y','N','Y']} > > > df = pandas.DataFrame(data) > > > def countY(columnName, group): return len(group[group[columnName] == 'Y']) > > > ... > > > df.groupby('a').apply(partial(countY, 'b')) > > > Traceback (most recent call last): > > > File "<stdin>", line 1, in <module> > > > File "/usr/local/lib/python2.7/dist-packages/pandas/core/groupby.py", line 420, in apply > > > @wraps(func) > > > File "/usr/lib/python2.7/functools.py", line 33, in update_wrapper > > > setattr(wrapper, attr, getattr(wrapped, attr)) > > > AttributeError: 'functools.partial' object has no attribute '**module**' > > > pandas.**version** > > > '0.13.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/6696/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6696/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6697
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6697/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6697/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6697/events
https://github.com/pandas-dev/pandas/issues/6697
30,024,660
MDU6SXNzdWUzMDAyNDY2MA==
6,697
col.replace(dict) takes too much memory
{ "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": "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": "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": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
34
2014-03-24T11:06:01Z
2021-10-02T08:10:51Z
null
CONTRIBUTOR
null
I've code which run fine about ~10 month ago and now fails due to running out of memory. The code basically does this: ``` groups = [[1,2,3][222,333,444, 555], ...] # from a 1.4MB json file # about 30k such groups, results in ~70k replacements for replace_list in groups: replacement = sorted(replace_list)[0] for replace_id in replace_list: if replace_id == replacement: continue replace_dict[replace_id] = replacement # len(_col) == 974757 _col = df[column].astype("int64") _col.replace(replace_dict, inplace=True) ``` I've now split the replacement_dict into 2k chunks and and this works (takes about 20 seconds for each chunk).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6697/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6697/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6698
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6698/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6698/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6698/events
https://github.com/pandas-dev/pandas/issues/6698
30,042,713
MDU6SXNzdWUzMDA0MjcxMw==
6,698
df.groupby(...).apply(<function>) changed between 0.11 and now
{ "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" }
[]
closed
false
null
[]
null
4
2014-03-24T15:05:37Z
2014-03-24T18:02:54Z
2014-03-24T18:02:54Z
CONTRIBUTOR
null
This code was working in 0.11 but not anymore in newer versions: ``` >>> import pandas as pd >>> import numpy as np >>> print(pd.__version__) 0.11.0 >>> df = pd.DataFrame(np.random.rand(20,4), columns=["a","b","c","d"]) >>> df["group"] = ['a', 'b', 'c', 'd'] * 5 >>> def _top10cites(group): ... m = group['a'].quantile(q=0.9) ... return (group['a'] >= m).astype(int) ... >>> df[["a","c","group"]].groupby("group").apply(_top10cites) 0 0 1 0 2 0 3 0 4 0 5 1 6 1 7 0 8 0 9 0 10 0 11 0 12 1 13 0 14 0 15 0 16 0 17 0 18 0 19 1 Name: a, dtype: int32 ``` Newer versions output: ``` 0.13.1-489-g7ffa655 Out[39]: a 0 4 8 12 16 group a 0 0 0 1 0 b 0 1 0 0 0 c 0 0 0 0 1 d 0 0 1 0 0 [4 rows x 5 columns] ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6698/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6698/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6699
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6699/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6699/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6699/events
https://github.com/pandas-dev/pandas/issues/6699
30,067,412
MDU6SXNzdWUzMDA2NzQxMg==
6,699
new row not created upon assignment to nonexistent row label in DataFrame with MultiIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/218546?v=4", "events_url": "https://api.github.com/users/lebedov/events{/privacy}", "followers_url": "https://api.github.com/users/lebedov/followers", "following_url": "https://api.github.com/users/lebedov/following{/other_user}", "gists_url": "https://api.github.com/users/lebedov/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lebedov", "id": 218546, "login": "lebedov", "node_id": "MDQ6VXNlcjIxODU0Ng==", "organizations_url": "https://api.github.com/users/lebedov/orgs", "received_events_url": "https://api.github.com/users/lebedov/received_events", "repos_url": "https://api.github.com/users/lebedov/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lebedov/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lebedov/subscriptions", "type": "User", "url": "https://api.github.com/users/lebedov" }
[ { "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": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
3
2014-03-24T19:31:57Z
2017-02-22T18:00:30Z
2017-02-22T18:00:30Z
NONE
null
According to the [documentation](http://pandas.pydata.org/pandas-docs/stable/indexing.html#setting-with-enlargement) for pandas 0.13+, assigning to a non-existent key via the .ix or .loc operations should create a new row in the DataFrame. Using pandas 0.13.1 with Python 2.7.5, I noticed that this doesn't seem to be the case when the DataFrame has a MultiIndex. To illustrate, consider a DataFrame created as follows: ``` import itertools import numpy as np import pandas rows = 2 cols = 3 a = np.random.randint(0, 2, rows*cols).reshape((rows, cols)) b = a*np.random.rand(rows, cols) idx = pandas.MultiIndex.from_tuples([(i, j) for i, j in \ itertools.product(xrange(rows), xrange(cols))], names=['rows','cols']) df = pandas.DataFrame({'a': a.flatten(), 'b': b.flatten()}, index=idx) ``` If `df` is ``` a b rows cols 0 0 0 0.000000 1 0 0.000000 2 1 0.315458 1 0 0 0.000000 1 0 0.000000 2 1 0.061142 ``` then running `df.loc[(0, 1), :] = (10, 20.0)` modifies `df` as follows: ``` a b rows cols 0 0 0 0.000000 1 10 20.000000 2 1 0.315458 1 0 0 0.000000 1 0 0.000000 2 1 0.061142 ``` However, if one attempts to run `df.loc[(0,3), :] = (10, 20.0)` on the original `df`, one obtains ``` a b rows cols 0 0 10 20.000000 1 0 0.000000 2 1 0.315458 1 0 10 20.000000 1 0 0.000000 2 1 0.061142 ``` Is this behavior expected?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6699/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6699/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/6700
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/6700/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/6700/comments
https://api.github.com/repos/pandas-dev/pandas/issues/6700/events
https://github.com/pandas-dev/pandas/issues/6700
30,086,990
MDU6SXNzdWUzMDA4Njk5MA==
6,700
PERF: generators in dataframe.from_records
{ "avatar_url": "https://avatars.githubusercontent.com/u/50891?v=4", "events_url": "https://api.github.com/users/westurner/events{/privacy}", "followers_url": "https://api.github.com/users/westurner/followers", "following_url": "https://api.github.com/users/westurner/following{/other_user}", "gists_url": "https://api.github.com/users/westurner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/westurner", "id": 50891, "login": "westurner", "node_id": "MDQ6VXNlcjUwODkx", "organizations_url": "https://api.github.com/users/westurner/orgs", "received_events_url": "https://api.github.com/users/westurner/received_events", "repos_url": "https://api.github.com/users/westurner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/westurner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/westurner/subscriptions", "type": "User", "url": "https://api.github.com/users/westurner" }
[ { "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" }
12
2014-03-25T00:06:37Z
2014-04-06T15:47:41Z
2014-04-06T15:47:14Z
CONTRIBUTOR
null
itertools.islice would be faster than n*comparisons here: https://github.com/pydata/pandas/blob/88c4c5526b38194f00a00c207ee5388dfd508092/pandas/core/frame.py#L759 Not sure whether to amortize an `import itertoosl` or not.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/6700/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/6700/timeline
null
null
null