url
stringlengths 55
59
| repository_url
stringclasses 1
value | labels_url
stringlengths 69
73
| comments_url
stringlengths 64
68
| events_url
stringlengths 62
66
| html_url
stringlengths 44
49
| id
int64 338k
1.06B
| node_id
stringlengths 18
32
| number
int64 1
44.6k
| title
stringlengths 1
590
| user
dict | labels
listlengths 0
9
| state
stringclasses 2
values | locked
bool 2
classes | assignee
dict | assignees
listlengths 0
5
| milestone
dict | comments
int64 0
477
| created_at
unknown | updated_at
unknown | closed_at
unknown | author_association
stringclasses 3
values | active_lock_reason
stringclasses 4
values | body
stringlengths 0
251k
⌀ | reactions
dict | timeline_url
stringlengths 64
68
| performed_via_github_app
float64 | draft
float64 0
1
⌀ | pull_request
dict |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/pandas-dev/pandas/issues/901 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/901/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/901/comments | https://api.github.com/repos/pandas-dev/pandas/issues/901/events | https://github.com/pandas-dev/pandas/issues/901 | 3,603,410 | MDU6SXNzdWUzNjAzNDEw | 901 | timeseries branch, intervals w/ alternate durations | {
"avatar_url": "https://avatars.githubusercontent.com/u/869232?v=4",
"events_url": "https://api.github.com/users/adamklein/events{/privacy}",
"followers_url": "https://api.github.com/users/adamklein/followers",
"following_url": "https://api.github.com/users/adamklein/following{/other_user}",
"gists_url": "https://api.github.com/users/adamklein/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/adamklein",
"id": 869232,
"login": "adamklein",
"node_id": "MDQ6VXNlcjg2OTIzMg==",
"organizations_url": "https://api.github.com/users/adamklein/orgs",
"received_events_url": "https://api.github.com/users/adamklein/received_events",
"repos_url": "https://api.github.com/users/adamklein/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/adamklein/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adamklein/subscriptions",
"type": "User",
"url": "https://api.github.com/users/adamklein"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "DDDDDD",
"default": false,
"description": "Long-Term Enhancement Discussions",
"id": 157369,
"name": "Ideas",
"node_id": "MDU6TGFiZWwxNTczNjk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Ideas"
},
{
"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": "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": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 11 | "2012-03-11T20:55:39Z" | "2020-12-18T23:25:01Z" | "2015-01-28T11:05:37Z" | CONTRIBUTOR | null | Can the scikits.timeseries based interval code be extended to handle multiples of base durations?
Is it worth considering dropping the existing implementation and use, eg, start + end points (either two arrays, or one structured array), also have for fuzzier indexing some sort of
http://en.wikipedia.org/wiki/Interval_tree
"Specifically, it allows one to efficiently find all intervals that overlap with any given interval or point"
ie log(n) operations for querying range intersections
Another possibility is an interval skip list, probabilistic log(n) 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/901/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/901/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/902 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/902/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/902/comments | https://api.github.com/repos/pandas-dev/pandas/issues/902/events | https://github.com/pandas-dev/pandas/issues/902 | 3,603,863 | MDU6SXNzdWUzNjAzODYz | 902 | timeseries, integrate concept of period | {
"avatar_url": "https://avatars.githubusercontent.com/u/869232?v=4",
"events_url": "https://api.github.com/users/adamklein/events{/privacy}",
"followers_url": "https://api.github.com/users/adamklein/followers",
"following_url": "https://api.github.com/users/adamklein/following{/other_user}",
"gists_url": "https://api.github.com/users/adamklein/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/adamklein",
"id": 869232,
"login": "adamklein",
"node_id": "MDQ6VXNlcjg2OTIzMg==",
"organizations_url": "https://api.github.com/users/adamklein/orgs",
"received_events_url": "https://api.github.com/users/adamklein/received_events",
"repos_url": "https://api.github.com/users/adamklein/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/adamklein/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adamklein/subscriptions",
"type": "User",
"url": "https://api.github.com/users/adamklein"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "DDDDDD",
"default": false,
"description": "Long-Term Enhancement Discussions",
"id": 157369,
"name": "Ideas",
"node_id": "MDU6TGFiZWwxNTczNjk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Ideas"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 1 | "2012-03-11T21:56:35Z" | "2012-04-23T00:53:23Z" | "2012-04-23T00:53:23Z" | CONTRIBUTOR | null | Analogously to lubridate or joda date/time, this would be a period of time (say a month or a year) without reference to particular time endpoints. In contrast to a duration, which is an absolute length of time in seconds, a period is relative (e.g, a month has 28 to 31 days)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/902/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/902/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/903 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/903/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/903/comments | https://api.github.com/repos/pandas-dev/pandas/issues/903/events | https://github.com/pandas-dev/pandas/pull/903 | 3,606,354 | MDExOlB1bGxSZXF1ZXN0OTY1MTMx | 903 | Weighted rolling average | {
"avatar_url": "https://avatars.githubusercontent.com/u/229748?v=4",
"events_url": "https://api.github.com/users/jeffhsu3/events{/privacy}",
"followers_url": "https://api.github.com/users/jeffhsu3/followers",
"following_url": "https://api.github.com/users/jeffhsu3/following{/other_user}",
"gists_url": "https://api.github.com/users/jeffhsu3/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jeffhsu3",
"id": 229748,
"login": "jeffhsu3",
"node_id": "MDQ6VXNlcjIyOTc0OA==",
"organizations_url": "https://api.github.com/users/jeffhsu3/orgs",
"received_events_url": "https://api.github.com/users/jeffhsu3/received_events",
"repos_url": "https://api.github.com/users/jeffhsu3/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jeffhsu3/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jeffhsu3/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jeffhsu3"
} | [] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 1 | "2012-03-12T05:14:41Z" | "2014-06-12T16:38:17Z" | "2013-02-27T18:41:23Z" | NONE | null | My attempt at a weighted rolling average. Doesn't force the weights to sum to 1. If the min period is less than the length of the arrays, the nan value is skipped along with weighted value. Should the weights be re-normed somehow?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/903/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/903/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/903.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/903",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/903.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/903"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/904 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/904/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/904/comments | https://api.github.com/repos/pandas-dev/pandas/issues/904/events | https://github.com/pandas-dev/pandas/pull/904 | 3,608,177 | MDExOlB1bGxSZXF1ZXN0OTY1NjYx | 904 | Fixed a typo. | {
"avatar_url": "https://avatars.githubusercontent.com/u/408526?v=4",
"events_url": "https://api.github.com/users/elpres/events{/privacy}",
"followers_url": "https://api.github.com/users/elpres/followers",
"following_url": "https://api.github.com/users/elpres/following{/other_user}",
"gists_url": "https://api.github.com/users/elpres/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/elpres",
"id": 408526,
"login": "elpres",
"node_id": "MDQ6VXNlcjQwODUyNg==",
"organizations_url": "https://api.github.com/users/elpres/orgs",
"received_events_url": "https://api.github.com/users/elpres/received_events",
"repos_url": "https://api.github.com/users/elpres/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/elpres/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/elpres/subscriptions",
"type": "User",
"url": "https://api.github.com/users/elpres"
} | [] | closed | false | null | [] | null | 1 | "2012-03-12T09:15:15Z" | "2012-03-12T09:28:26Z" | "2012-03-12T09:28:26Z" | CONTRIBUTOR | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/904/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/904/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/904.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/904",
"merged_at": "2012-03-12T09:28:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/904.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/904"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/905 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/905/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/905/comments | https://api.github.com/repos/pandas-dev/pandas/issues/905/events | https://github.com/pandas-dev/pandas/issues/905 | 3,608,944 | MDU6SXNzdWUzNjA4OTQ0 | 905 | Tests pandas.tests.test_graphics.XXX fail | {
"avatar_url": "https://avatars.githubusercontent.com/u/11860?v=4",
"events_url": "https://api.github.com/users/timmie/events{/privacy}",
"followers_url": "https://api.github.com/users/timmie/followers",
"following_url": "https://api.github.com/users/timmie/following{/other_user}",
"gists_url": "https://api.github.com/users/timmie/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/timmie",
"id": 11860,
"login": "timmie",
"node_id": "MDQ6VXNlcjExODYw",
"organizations_url": "https://api.github.com/users/timmie/orgs",
"received_events_url": "https://api.github.com/users/timmie/received_events",
"repos_url": "https://api.github.com/users/timmie/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/timmie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timmie/subscriptions",
"type": "User",
"url": "https://api.github.com/users/timmie"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 4 | "2012-03-12T10:22:53Z" | "2012-06-01T19:20:48Z" | "2012-06-01T19:20:43Z" | CONTRIBUTOR | null | https://launchpadlibrarian.net/96431877/buildlog_ubuntu-precise-amd64.pandas_0.7.2-ubuntu0~1987~precise1_FAILEDTOBUILD.txt.gz
```
pandas.tests.test_tseries.test_pad_backfill_object_segfault ... ok
pandas.tests.test_tseries.test_arrmap ... ok
pandas.tests.test_tseries.test_series_grouper ... ok
======================================================================
ERROR: test_boxplot (pandas.tests.test_graphics.TestDataFramePlots)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/buildd/pandas-0.7.2/debian/python-pandas/usr/lib/python2.7/dist-packages/pandas/tests/test_graphics.py", line 109, in test_boxplot
_check_plot_works(df.boxplot)
File "/build/buildd/pandas-0.7.2/debian/python-pandas/usr/lib/python2.7/dist-packages/pandas/tests/test_graphics.py", line 136, in _check_plot_works
fig = plt.gcf()
File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 369, in gcf
return figure()
File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 343, in figure
**kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py", line 80, in new_figure_manager
window = Tk.Tk()
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1688, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
TclError: no display name and no $DISPLAY environment variable
======================================================================
ERROR: test_hist (pandas.tests.test_graphics.TestDataFramePlots)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/buildd/pandas-0.7.2/debian/python-pandas/usr/lib/python2.7/dist-packages/pandas/tests/test_graphics.py", line 120, in test_hist
_check_plot_works(df.hist)
File "/build/buildd/pandas-0.7.2/debian/python-pandas/usr/lib/python2.7/dist-packages/pandas/tests/test_graphics.py", line 136, in _check_plot_works
fig = plt.gcf()
File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 369, in gcf
return figure()
File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 343, in figure
**kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py", line 80, in new_figure_manager
window = Tk.Tk()
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1688, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
TclError: no display name and no $DISPLAY environment variable
======================================================================
ERROR: test_plot (pandas.tests.test_graphics.TestDataFramePlots)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/buildd/pandas-0.7.2/debian/python-pandas/usr/lib/python2.7/dist-packages/pandas/tests/test_graphics.py", line 67, in test_plot
_check_plot_works(df.plot, grid=False)
File "/build/buildd/pandas-0.7.2/debian/python-pandas/usr/lib/python2.7/dist-packages/pandas/tests/test_graphics.py", line 136, in _check_plot_works
fig = plt.gcf()
File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 369, in gcf
return figure()
File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 343, in figure
**kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py", line 80, in new_figure_manager
window = Tk.Tk()
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1688, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
TclError: no display name and no $DISPLAY environment variable
======================================================================
ERROR: test_plot_bar (pandas.tests.test_graphics.TestDataFramePlots)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/buildd/pandas-0.7.2/debian/python-pandas/usr/lib/python2.7/dist-packages/pandas/tests/test_graphics.py", line 89, in test_plot_bar
_check_plot_works(df.plot, kind='bar')
File "/build/buildd/pandas-0.7.2/debian/python-pandas/usr/lib/python2.7/dist-packages/pandas/tests/test_graphics.py", line 136, in _check_plot_works
fig = plt.gcf()
File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 369, in gcf
return figure()
File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 343, in figure
**kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py", line 80, in new_figure_manager
window = Tk.Tk()
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1688, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
TclError: no display name and no $DISPLAY environment variable
======================================================================
ERROR: test_plot_int_columns (pandas.tests.test_graphics.TestDataFramePlots)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/buildd/pandas-0.7.2/debian/python-pandas/usr/lib/python2.7/dist-packages/pandas/tests/test_graphics.py", line 126, in test_plot_int_columns
_check_plot_works(df.plot, legend=True)
File "/build/buildd/pandas-0.7.2/debian/python-pandas/usr/lib/python2.7/dist-packages/pandas/tests/test_graphics.py", line 136, in _check_plot_works
fig = plt.gcf()
File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 369, in gcf
return figure()
File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 343, in figure
**kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py", line 80, in new_figure_manager
window = Tk.Tk()
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1688, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
TclError: no display name and no $DISPLAY environment variable
======================================================================
ERROR: test_hist (pandas.tests.test_graphics.TestSeriesPlots)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/buildd/pandas-0.7.2/debian/python-pandas/usr/lib/python2.7/dist-packages/pandas/tests/test_graphics.py", line 46, in test_hist
_check_plot_works(self.ts.hist)
File "/build/buildd/pandas-0.7.2/debian/python-pandas/usr/lib/python2.7/dist-packages/pandas/tests/test_graphics.py", line 136, in _check_plot_works
fig = plt.gcf()
File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 369, in gcf
return figure()
File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 343, in figure
**kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py", line 80, in new_figure_manager
window = Tk.Tk()
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1688, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
TclError: no display name and no $DISPLAY environment variable
======================================================================
ERROR: test_plot (pandas.tests.test_graphics.TestSeriesPlots)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/buildd/pandas-0.7.2/debian/python-pandas/usr/lib/python2.7/dist-packages/pandas/tests/test_graphics.py", line 36, in test_plot
_check_plot_works(self.ts.plot, label='foo')
File "/build/buildd/pandas-0.7.2/debian/python-pandas/usr/lib/python2.7/dist-packages/pandas/tests/test_graphics.py", line 136, in _check_plot_works
fig = plt.gcf()
File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 369, in gcf
return figure()
File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 343, in figure
**kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py", line 80, in new_figure_manager
window = Tk.Tk()
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1688, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
TclError: no display name and no $DISPLAY environment variable
----------------------------------------------------------------------
Ran 1475 tests in 31.196s
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/905/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/905/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/906 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/906/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/906/comments | https://api.github.com/repos/pandas-dev/pandas/issues/906/events | https://github.com/pandas-dev/pandas/issues/906 | 3,609,087 | MDU6SXNzdWUzNjA5MDg3 | 906 | build updated Ubuntu packages daily based on repo status | {
"avatar_url": "https://avatars.githubusercontent.com/u/11860?v=4",
"events_url": "https://api.github.com/users/timmie/events{/privacy}",
"followers_url": "https://api.github.com/users/timmie/followers",
"following_url": "https://api.github.com/users/timmie/following{/other_user}",
"gists_url": "https://api.github.com/users/timmie/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/timmie",
"id": 11860,
"login": "timmie",
"node_id": "MDQ6VXNlcjExODYw",
"organizations_url": "https://api.github.com/users/timmie/orgs",
"received_events_url": "https://api.github.com/users/timmie/received_events",
"repos_url": "https://api.github.com/users/timmie/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/timmie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timmie/subscriptions",
"type": "User",
"url": "https://api.github.com/users/timmie"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 9 | "2012-03-12T10:35:19Z" | "2014-01-20T22:48:31Z" | "2014-01-20T22:48:31Z" | CONTRIBUTOR | null | Since pandas is developing very quickly, daily packages can help users to keep track of changes while using their usual software install mechanisms.
Launchpad offers inidvidual package repositories (PPA) and automatic build procedures based on the [bazaar repository](https://code.launchpad.net/+branch/~pythonxy/numpy/pandas), a mirror of the github repository.
As part of the [PythonXY for Ubuntu initiative](https://launchpad.net/~pythonxy), a bzr builder [recipe has been set up](https://code.launchpad.net/~timmie/+recipe/pandas-daily-current) to automatically create updated packages after repository changes.
The packages will be placed in the [Packaged Upstream Development Snapshots](https://code.launchpad.net/~pythonxy/+archive/individual-devel).
This bug shall track problems encountered during the builds.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/906/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/906/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/907 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/907/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/907/comments | https://api.github.com/repos/pandas-dev/pandas/issues/907/events | https://github.com/pandas-dev/pandas/pull/907 | 3,611,695 | MDExOlB1bGxSZXF1ZXN0OTY3MDI2 | 907 | Patched _safe_fetch to ensure a list of tuples is returned. | {
"avatar_url": "https://avatars.githubusercontent.com/u/617870?v=4",
"events_url": "https://api.github.com/users/aman-thakral/events{/privacy}",
"followers_url": "https://api.github.com/users/aman-thakral/followers",
"following_url": "https://api.github.com/users/aman-thakral/following{/other_user}",
"gists_url": "https://api.github.com/users/aman-thakral/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aman-thakral",
"id": 617870,
"login": "aman-thakral",
"node_id": "MDQ6VXNlcjYxNzg3MA==",
"organizations_url": "https://api.github.com/users/aman-thakral/orgs",
"received_events_url": "https://api.github.com/users/aman-thakral/received_events",
"repos_url": "https://api.github.com/users/aman-thakral/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aman-thakral/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aman-thakral/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aman-thakral"
} | [] | closed | false | null | [] | null | 2 | "2012-03-12T14:17:04Z" | "2014-06-12T05:13:10Z" | "2012-03-16T19:35:46Z" | CONTRIBUTOR | null | When MSSQL is used via pyodbc, Cursor.fetchall() returns a list of pyodbc.Row instances. This just casts the rows as tuples so they don't give a TypeError in DataFrame.from_records.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/907/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/907/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/907.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/907",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/907.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/907"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/908 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/908/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/908/comments | https://api.github.com/repos/pandas-dev/pandas/issues/908/events | https://github.com/pandas-dev/pandas/issues/908 | 3,612,619 | MDU6SXNzdWUzNjEyNjE5 | 908 | Test Failed: pandas.io.tests.test_parsers.TestParsers | {
"avatar_url": "https://avatars.githubusercontent.com/u/617870?v=4",
"events_url": "https://api.github.com/users/aman-thakral/events{/privacy}",
"followers_url": "https://api.github.com/users/aman-thakral/followers",
"following_url": "https://api.github.com/users/aman-thakral/following{/other_user}",
"gists_url": "https://api.github.com/users/aman-thakral/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aman-thakral",
"id": 617870,
"login": "aman-thakral",
"node_id": "MDQ6VXNlcjYxNzg3MA==",
"organizations_url": "https://api.github.com/users/aman-thakral/orgs",
"received_events_url": "https://api.github.com/users/aman-thakral/received_events",
"repos_url": "https://api.github.com/users/aman-thakral/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aman-thakral/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aman-thakral/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aman-thakral"
} | [] | closed | false | null | [] | null | 1 | "2012-03-12T15:06:48Z" | "2012-03-12T19:45:02Z" | "2012-03-12T19:45:02Z" | CONTRIBUTOR | null | Following error when I ran nosetests in pandas\io\tests:
Traceback (most recent call last):
File "C:\src\pandas\pandas\io\tests\test_parsers.py", line 219, in test_read_c
sv_no_index_name
self.assert_(df.ix[:, ['A', 'B', 'C', 'D']].values.dtype == np.float64)
File "C:\src\pandas\pandas\core\indexing.py", line 33, in **getitem**
return self._getitem_tuple(key)
File "C:\src\pandas\pandas\core\indexing.py", line 115, in _getitem_tuple
retval = retval.ix._getitem_axis(key, axis=i)
File "C:\src\pandas\pandas\core\indexing.py", line 174, in _getitem_axis
return self._getitem_iterable(key, axis=axis)
File "C:\src\pandas\pandas\core\indexing.py", line 215, in _getitem_iterable
return self.obj.reindex(**{axis_name: keyarr})
File "C:\src\pandas\pandas\core\frame.py", line 1851, in reindex
frame = frame._reindex_columns(columns, copy, level, fill_value)
File "C:\src\pandas\pandas\core\frame.py", line 1914, in _reindex_columns
copy, fill_value)
File "C:\src\pandas\pandas\core\frame.py", line 1929, in _reindex_with_indexer
s
fill_value=fill_value)
File "C:\src\pandas\pandas\core\internals.py", line 737, in reindex_indexer
return self._reindex_indexer_items(new_axis, indexer, fill_value)
File "C:\src\pandas\pandas\core\internals.py", line 757, in _reindex_indexer_i
tems
item_order = com.take_1d(self.items.values, indexer)
File "C:\src\pandas\pandas\core\common.py", line 188, in take_1d
take_f(arr, indexer, out=out, fill_value=fill_value)
File "generated.pyx", line 951, in pandas._tseries.take_1d_object (pandas\src\
tseries.c:40483)
fv = fill_value
TypeError: take_1d_object() got an unexpected keyword argument 'fill_value'
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/908/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/908/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/909 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/909/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/909/comments | https://api.github.com/repos/pandas-dev/pandas/issues/909/events | https://github.com/pandas-dev/pandas/issues/909 | 3,619,805 | MDU6SXNzdWUzNjE5ODA1 | 909 | Columns off one cell in to_html with MultiIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | {
"closed_at": "2012-03-16T16:11:29Z",
"closed_issues": 34,
"created_at": "2012-03-01T23:49:11Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-03-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/12",
"id": 91054,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/12/labels",
"node_id": "MDk6TWlsZXN0b25lOTEwNTQ=",
"number": 12,
"open_issues": 0,
"state": "closed",
"title": "0.7.2",
"updated_at": "2012-03-29T03:04:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/12"
} | 2 | "2012-03-12T21:47:53Z" | "2012-03-15T20:49:48Z" | "2012-03-15T20:49:48Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/909/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/909/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/910 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/910/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/910/comments | https://api.github.com/repos/pandas-dev/pandas/issues/910/events | https://github.com/pandas-dev/pandas/issues/910 | 3,639,116 | MDU6SXNzdWUzNjM5MTE2 | 910 | Error when subtracting mixed type DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/617870?v=4",
"events_url": "https://api.github.com/users/aman-thakral/events{/privacy}",
"followers_url": "https://api.github.com/users/aman-thakral/followers",
"following_url": "https://api.github.com/users/aman-thakral/following{/other_user}",
"gists_url": "https://api.github.com/users/aman-thakral/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aman-thakral",
"id": 617870,
"login": "aman-thakral",
"node_id": "MDQ6VXNlcjYxNzg3MA==",
"organizations_url": "https://api.github.com/users/aman-thakral/orgs",
"received_events_url": "https://api.github.com/users/aman-thakral/received_events",
"repos_url": "https://api.github.com/users/aman-thakral/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aman-thakral/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aman-thakral/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aman-thakral"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2012-03-16T16:11:29Z",
"closed_issues": 34,
"created_at": "2012-03-01T23:49:11Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-03-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/12",
"id": 91054,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/12/labels",
"node_id": "MDk6TWlsZXN0b25lOTEwNTQ=",
"number": 12,
"open_issues": 0,
"state": "closed",
"title": "0.7.2",
"updated_at": "2012-03-29T03:04:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/12"
} | 3 | "2012-03-13T21:49:05Z" | "2012-03-15T01:10:22Z" | "2012-03-15T01:09:59Z" | CONTRIBUTOR | null | Sample code to reproduce the error:
import numpy as np
import pandas
X = np.random.rand(10,10)
Y = np.ones((10,1),dtype=int)
df1 = pandas.DataFrame(X)
df1 = df1.join(pandas.DataFrame(Y),lsuffix='.X')
print df1-df1.mean()
---
Traceback (most recent call last):
File "pls_model.py", line 383, in <module>
run(df)
File "pls_model.py", line 305, in run
report(df.copy(),n_comp,priors=priors,plot=False)
File "pls_model.py", line 83, in report
plsgnb.fit(X,Y,priors=priors)
File "C:\src\multivariate\src\multivariate\PLS.py", line 477, in fit
self.model.fit(X,Y)
File "C:\src\multivariate\src\multivariate\PLS.py", line 145, in fit
print x - self.Xmean
File "C:\src\pandas\pandas\core\frame.py", line 177, in f
return self._combine_series(other, func, fill_value, axis, level)
File "C:\src\pandas\pandas\core\frame.py", line 2526, in _combine_series
return self._combine_series_infer(other, func, fill_value)
File "C:\src\pandas\pandas\core\frame.py", line 2541, in _combine_series_infer
return self._combine_match_columns(other, func, fill_value)
File "C:\src\pandas\pandas\core\frame.py", line 2552, in _combine_match_columns
left, right = self.align(other, join='outer', axis=1, copy=False)
File "C:\src\pandas\pandas\core\frame.py", line 1735, in align
method=method)
File "C:\src\pandas\pandas\core\frame.py", line 1804, in _align_series
return (left_result.fillna(fill_value, method=method),
File "C:\src\pandas\pandas\core\frame.py", line 2426, in fillna
new_data = self._data.fillna(value)
File "C:\src\pandas\pandas\core\internals.py", line 938, in fillna
new_blocks = [b.fillna(value) for b in self.blocks]
File "C:\src\pandas\pandas\core\internals.py", line 211, in fillna
new_values.flat[mask] = value
ValueError: cannot convert float NaN to integer
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/910/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/910/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/911 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/911/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/911/comments | https://api.github.com/repos/pandas-dev/pandas/issues/911/events | https://github.com/pandas-dev/pandas/issues/911 | 3,644,419 | MDU6SXNzdWUzNjQ0NDE5 | 911 | DataFrame.set_value() issue | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https://api.github.com/users/lodagro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lodagro",
"id": 1094464,
"login": "lodagro",
"node_id": "MDQ6VXNlcjEwOTQ0NjQ=",
"organizations_url": "https://api.github.com/users/lodagro/orgs",
"received_events_url": "https://api.github.com/users/lodagro/received_events",
"repos_url": "https://api.github.com/users/lodagro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lodagro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lodagro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lodagro"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2012-03-16T16:11:29Z",
"closed_issues": 34,
"created_at": "2012-03-01T23:49:11Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-03-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/12",
"id": 91054,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/12/labels",
"node_id": "MDk6TWlsZXN0b25lOTEwNTQ=",
"number": 12,
"open_issues": 0,
"state": "closed",
"title": "0.7.2",
"updated_at": "2012-03-29T03:04:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/12"
} | 2 | "2012-03-14T08:15:11Z" | "2017-12-14T09:44:09Z" | "2012-03-14T10:08:53Z" | CONTRIBUTOR | null | Accedentically swapping the index and column label in using `DataFrame.set_value()` gave an unexpected result.
All values, except the one to be set, in the _DataFrame_ became _NaN_.
``` python
In [4]: df
Out[4]:
A B C
0 0.463981 0.163885 0.644793
1 0.979047 0.347373 0.736267
2 0.103155 0.304439 0.911314
In [5]: df.set_value('C', 2, 1.0)
Out[5]:
A B C 2
0 NaN NaN NaN NaN
1 NaN NaN NaN NaN
2 NaN NaN NaN NaN
C NaN NaN NaN 1
In [6]: pandas.__version__
Out[6]: '0.7.2.dev-79decd7'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/911/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/911/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/912 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/912/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/912/comments | https://api.github.com/repos/pandas-dev/pandas/issues/912/events | https://github.com/pandas-dev/pandas/issues/912 | 3,648,519 | MDU6SXNzdWUzNjQ4NTE5 | 912 | DataFrame data alignment issue | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https://api.github.com/users/lodagro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lodagro",
"id": 1094464,
"login": "lodagro",
"node_id": "MDQ6VXNlcjEwOTQ0NjQ=",
"organizations_url": "https://api.github.com/users/lodagro/orgs",
"received_events_url": "https://api.github.com/users/lodagro/received_events",
"repos_url": "https://api.github.com/users/lodagro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lodagro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lodagro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lodagro"
} | [] | closed | false | null | [] | null | 3 | "2012-03-14T13:59:12Z" | "2012-03-14T21:16:04Z" | "2012-03-14T14:47:33Z" | CONTRIBUTOR | null | ``` python
In [20]: df1 = pandas.DataFrame(np.random.rand(3,3), index=range(3), columns=list('ABC'))
In [21]: df1
Out[21]:
A B C
0 0.061189 0.035471 0.104002
1 0.894004 0.545950 0.852395
2 0.794040 0.448952 0.338134
In [22]: df2 = pandas.DataFrame(np.random.rand(3,3), index=range(3,6), columns=list('DEF'))
In [23]: df2
Out[23]:
D E F
3 0.558891 0.097873 0.643581
4 0.572424 0.856442 0.484147
5 0.865900 0.968363 0.793452
In [24]: df1 - df2
Out[24]:
A B C D E F
0 NaN NaN NaN NaN NaN NaN
1 NaN NaN NaN NaN NaN NaN
2 NaN NaN NaN NaN NaN NaN
3 NaN NaN NaN NaN NaN NaN
4 NaN NaN NaN NaN NaN NaN
5 NaN NaN NaN NaN NaN NaN
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/912/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/912/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/913 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/913/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/913/comments | https://api.github.com/repos/pandas-dev/pandas/issues/913/events | https://github.com/pandas-dev/pandas/issues/913 | 3,650,892 | MDU6SXNzdWUzNjUwODky | 913 | Could be integrated with the Orange data mining suite | {
"avatar_url": "https://avatars.githubusercontent.com/u/803603?v=4",
"events_url": "https://api.github.com/users/gw0/events{/privacy}",
"followers_url": "https://api.github.com/users/gw0/followers",
"following_url": "https://api.github.com/users/gw0/following{/other_user}",
"gists_url": "https://api.github.com/users/gw0/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gw0",
"id": 803603,
"login": "gw0",
"node_id": "MDQ6VXNlcjgwMzYwMw==",
"organizations_url": "https://api.github.com/users/gw0/orgs",
"received_events_url": "https://api.github.com/users/gw0/received_events",
"repos_url": "https://api.github.com/users/gw0/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gw0/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gw0/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gw0"
} | [
{
"color": "DDDDDD",
"default": false,
"description": "Long-Term Enhancement Discussions",
"id": 157369,
"name": "Ideas",
"node_id": "MDU6TGFiZWwxNTczNjk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Ideas"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 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 | "2012-03-14T16:05:22Z" | "2016-01-18T00:39:36Z" | "2016-01-18T00:39:36Z" | NONE | null | The open source Orange project (http://orange.biolab.si/) is a component-based data mining and machine learning suite that can be controlled through the visual Orange Canvas interface or (for experts) through the Python scripting interface. It has many advanced data mining algorithms, visualizations and is probably suited to be integrated with Pandas.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/913/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/913/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/914 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/914/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/914/comments | https://api.github.com/repos/pandas-dev/pandas/issues/914/events | https://github.com/pandas-dev/pandas/issues/914 | 3,659,473 | MDU6SXNzdWUzNjU5NDcz | 914 | improve docs on numpy boolean ops (for indexing) | {
"avatar_url": "https://avatars.githubusercontent.com/u/869232?v=4",
"events_url": "https://api.github.com/users/adamklein/events{/privacy}",
"followers_url": "https://api.github.com/users/adamklein/followers",
"following_url": "https://api.github.com/users/adamklein/following{/other_user}",
"gists_url": "https://api.github.com/users/adamklein/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/adamklein",
"id": 869232,
"login": "adamklein",
"node_id": "MDQ6VXNlcjg2OTIzMg==",
"organizations_url": "https://api.github.com/users/adamklein/orgs",
"received_events_url": "https://api.github.com/users/adamklein/received_events",
"repos_url": "https://api.github.com/users/adamklein/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/adamklein/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adamklein/subscriptions",
"type": "User",
"url": "https://api.github.com/users/adamklein"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 1 | "2012-03-15T00:54:19Z" | "2012-05-12T16:31:41Z" | "2012-05-12T16:31:41Z" | CONTRIBUTOR | null | from mailing list:
There's general stuff about boolean indexing but this actually is not a pandas feature but rather a NumPy feature (or-ing arrays with |). Could definitely use a section in the docs about 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/914/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/914/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/915 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/915/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/915/comments | https://api.github.com/repos/pandas-dev/pandas/issues/915/events | https://github.com/pandas-dev/pandas/issues/915 | 3,659,912 | MDU6SXNzdWUzNjU5OTEy | 915 | read_csv gives incorrect chunks when chunking headerless single column file of data | {
"avatar_url": "https://avatars.githubusercontent.com/u/4290?v=4",
"events_url": "https://api.github.com/users/cartazio/events{/privacy}",
"followers_url": "https://api.github.com/users/cartazio/followers",
"following_url": "https://api.github.com/users/cartazio/following{/other_user}",
"gists_url": "https://api.github.com/users/cartazio/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cartazio",
"id": 4290,
"login": "cartazio",
"node_id": "MDQ6VXNlcjQyOTA=",
"organizations_url": "https://api.github.com/users/cartazio/orgs",
"received_events_url": "https://api.github.com/users/cartazio/received_events",
"repos_url": "https://api.github.com/users/cartazio/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cartazio/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cartazio/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cartazio"
} | [] | closed | false | null | [] | null | 8 | "2012-03-15T01:53:14Z" | "2012-03-15T17:59:03Z" | "2012-03-15T16:38:39Z" | NONE | null | say I have a file
pred.dat
which has only two lines of content
0.001
0.051
(this being the actual test case where this happens).
if I do
``````
labchunks = read_csv(fromvw, sep=" ",header=None,chunksize = 100000) #
predchunks= read_table( preddat ,header=None, names=["prediction"],chunksize = 100000 )
print labchunks
print predchunks
for labels,preds in izip(labchunks,preddat):
# print labels
# print predd
# currentrange = min( len(labels.ix[:,0]), len(predd.ix[:,0]))
# print preds
for lbl,prd in zip( labels.ix[:,"X.1"] ,preds.prediction):
fl.write(str(lbl) + "," +str(logistic(prd))+ "\n" )
fl.flush()
fl.close()```
``i get "Traceback (most recent call last):
File "./fixedpear.py", line 29, in <module>
for lbl,prd in zip( labels.ix[:,"X.1"] ,preds.prediction):
AttributeError: 'str' object has no attribute 'prediction'"``
which I don't understand, because it looks like somehow preds is actually the sequence of characters in the filename "pred.dat"
rather than a chunk of the contents!
``````
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/915/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/915/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/916 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/916/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/916/comments | https://api.github.com/repos/pandas-dev/pandas/issues/916/events | https://github.com/pandas-dev/pandas/issues/916 | 3,659,998 | MDU6SXNzdWUzNjU5OTk4 | 916 | Malformed block from DataFrame.GroupBy | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2012-03-16T16:11:29Z",
"closed_issues": 34,
"created_at": "2012-03-01T23:49:11Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-03-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/12",
"id": 91054,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/12/labels",
"node_id": "MDk6TWlsZXN0b25lOTEwNTQ=",
"number": 12,
"open_issues": 0,
"state": "closed",
"title": "0.7.2",
"updated_at": "2012-03-29T03:04:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/12"
} | 0 | "2012-03-15T02:05:48Z" | "2012-03-15T02:28:16Z" | "2012-03-15T02:26:50Z" | MEMBER | null | When excluding nuisance columns, block ref_items are not updated
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/916/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/916/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/917 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/917/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/917/comments | https://api.github.com/repos/pandas-dev/pandas/issues/917/events | https://github.com/pandas-dev/pandas/issues/917 | 3,660,227 | MDU6SXNzdWUzNjYwMjI3 | 917 | Potential out-of-bounds array access in Series | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | null | 0 | "2012-03-15T02:41:35Z" | "2012-03-15T02:49:31Z" | "2012-03-15T02:49:31Z" | MEMBER | null | Can cause segfault if dtype=object
```
s = Series([], index=[])
s[-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/917/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/917/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/918 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/918/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/918/comments | https://api.github.com/repos/pandas-dev/pandas/issues/918/events | https://github.com/pandas-dev/pandas/pull/918 | 3,661,215 | MDExOlB1bGxSZXF1ZXN0OTg3NjI0 | 918 | Add sort_columns parameter to plot to allow unsorted plots | {
"avatar_url": "https://avatars.githubusercontent.com/u/91798?v=4",
"events_url": "https://api.github.com/users/danbirken/events{/privacy}",
"followers_url": "https://api.github.com/users/danbirken/followers",
"following_url": "https://api.github.com/users/danbirken/following{/other_user}",
"gists_url": "https://api.github.com/users/danbirken/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/danbirken",
"id": 91798,
"login": "danbirken",
"node_id": "MDQ6VXNlcjkxNzk4",
"organizations_url": "https://api.github.com/users/danbirken/orgs",
"received_events_url": "https://api.github.com/users/danbirken/received_events",
"repos_url": "https://api.github.com/users/danbirken/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/danbirken/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danbirken/subscriptions",
"type": "User",
"url": "https://api.github.com/users/danbirken"
} | [] | closed | false | null | [] | null | 3 | "2012-03-15T05:17:14Z" | "2014-06-17T05:41:35Z" | "2012-03-15T16:09:42Z" | CONTRIBUTOR | null | I was using pandas for the first time and when plot()ing I noticed it was sorting the columns alphanumerically.
I felt like the ordering I had defined in the DataFrame was a pretty decent proxy for how I wanted the subplots to be ordered, so I think this should be an option so I can over-ride the sorting and have the plot go in the direction specified.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/918/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/918/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/918.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/918",
"merged_at": "2012-03-15T16:09:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/918.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/918"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/919 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/919/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/919/comments | https://api.github.com/repos/pandas-dev/pandas/issues/919/events | https://github.com/pandas-dev/pandas/issues/919 | 3,667,418 | MDU6SXNzdWUzNjY3NDE4 | 919 | Add filtering capability to GroupBy | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | null | [] | {
"closed_at": "2013-07-24T23:25:44Z",
"closed_issues": 410,
"created_at": "2013-04-30T04:12:30Z",
"creator": null,
"description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)",
"due_on": "2013-07-05T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/22",
"id": 323643,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels",
"node_id": "MDk6TWlsZXN0b25lMzIzNjQz",
"number": 22,
"open_issues": 0,
"state": "closed",
"title": "0.12",
"updated_at": "2013-07-24T23:25:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22"
} | 7 | "2012-03-15T15:13:56Z" | "2013-06-06T21:07:08Z" | "2013-06-06T21:06:26Z" | MEMBER | null | Can be accomplished in a hackish way using apply, but a more structured approach would be nice
7/12/2012: Not sure what I was intending with this one
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/919/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/919/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/920 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/920/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/920/comments | https://api.github.com/repos/pandas-dev/pandas/issues/920/events | https://github.com/pandas-dev/pandas/issues/920 | 3,668,239 | MDU6SXNzdWUzNjY4MjM5 | 920 | Implement fixed-width file reader | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 3 | "2012-03-15T15:56:10Z" | "2012-04-02T16:28:06Z" | "2012-04-02T16:28:06Z" | MEMBER | null | Like R's `read.fwf`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/920/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/920/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/921 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/921/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/921/comments | https://api.github.com/repos/pandas-dev/pandas/issues/921/events | https://github.com/pandas-dev/pandas/issues/921 | 3,670,621 | MDU6SXNzdWUzNjcwNjIx | 921 | ENH: specify header=['list', 'of', 'headers'] in DataFrame.write_csv() | {
"avatar_url": "https://avatars.githubusercontent.com/u/1739?v=4",
"events_url": "https://api.github.com/users/brentp/events{/privacy}",
"followers_url": "https://api.github.com/users/brentp/followers",
"following_url": "https://api.github.com/users/brentp/following{/other_user}",
"gists_url": "https://api.github.com/users/brentp/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/brentp",
"id": 1739,
"login": "brentp",
"node_id": "MDQ6VXNlcjE3Mzk=",
"organizations_url": "https://api.github.com/users/brentp/orgs",
"received_events_url": "https://api.github.com/users/brentp/received_events",
"repos_url": "https://api.github.com/users/brentp/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/brentp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/brentp/subscriptions",
"type": "User",
"url": "https://api.github.com/users/brentp"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 1 | "2012-03-15T18:10:31Z" | "2012-06-25T16:24:48Z" | "2012-06-25T16:24:48Z" | NONE | null | As with R's write.table col.names which can take a list of column headers to output instead of the
headers.
here's a start, though I'm unsure about hwo it interacts with the index label stuff.
``` Patch
diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 248a4e9..8c93488 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -13,7 +13,7 @@ labeling information
# pylint: disable=E1101,E1103
# pylint: disable=W0212,W0231,W0703,W0622
-
+import collections
from itertools import izip
from StringIO import StringIO
import csv
@@ -889,7 +889,9 @@ class DataFrame(NDFrame):
cols = self.columns
series = self._series
- if header:
+ if isinstance(header, collections.Iterable):
+ writer.writerow([h or '' for h in header])
+ elif header:
if index:
# should write something for index label
if index_label is 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/921/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/921/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/922 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/922/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/922/comments | https://api.github.com/repos/pandas-dev/pandas/issues/922/events | https://github.com/pandas-dev/pandas/issues/922 | 3,671,124 | MDU6SXNzdWUzNjcxMTI0 | 922 | Enable use of index level in joins by name | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "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"
} | 4 | "2012-03-15T18:44:05Z" | "2016-10-12T23:02:51Z" | "2014-02-18T20:26:57Z" | MEMBER | null | ```
In [35]: A
Out[35]:
Aattr3 Aattr1 Aattr2
Aidx1
37 Delta East hard
59 Epsilon East hard
96 Zeta East hard
21 Gamma West medium hard
2 Alpha West soft
10 Beta West soft
In [36]: B
Out[36]:
Bname Battr
Bidx1 Bidx2
37 20579 Alan 45.20
59 20693 Betty 4.40
20706 Charlie 9.95
37 20742 Dougal 16.60
96 20861 Emma 7.40
37 21167 Freddy 20.60
59 20947 Gareth 21.00
96 20536 Helen 9.65
37 21002 Ivan 43.80
21 21491 Jenny 6.90
20655 Keith 42.40
2 21083 Leonard 23.60
21391 Mandy 30.40
21381 Nicola 11.60
10 21416 Oswald 30.30
2 21392 Peter 44.40
21386 Quentin 5.40
In [15]: A.index.intersection(B.index)
Out[15]: Index([], dtype=object)
In [9]: pandas.merge(A, B, left_index=True, right_on=['Bidx1'])
...
KeyError: 'no item named Bidx1'
In [10]: pandas.merge(A, B, left_index=True, right_on=['Bidx1',
'Bidx2'])
...
/usr/local/lib/python2.7/dist-packages/pandas-0.7.2.dev_be66c27-py2.7-
linux-x86_64.egg/pandas/tools/merge.pyc in
_validate_specification(self)
278 n = len(self.right_on)
279 if self.left_index:
--> 280 assert(len(self.right_on) ==
self.left.index.nlevels)
281 self.left_on = [None] * n
282 assert(len(self.right_on) == len(self.left_on))
AssertionError:
In [18]: pandas.merge(A, B)
...
/usr/local/lib/python2.7/dist-packages/pandas-0.7.2.dev_be66c27-py2.7-
linux-x86_64.egg/pandas/core/groupby.pyc in
get_group_index(label_list, shape)
1494 return label_list[0]
1495
-> 1496 n = len(label_list[0])
1497 group_index = np.zeros(n, dtype=np.int64)
1498 mask = np.zeros(n, dtype=bool)
IndexError: list index out of 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/922/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/922/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/923 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/923/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/923/comments | https://api.github.com/repos/pandas-dev/pandas/issues/923/events | https://github.com/pandas-dev/pandas/issues/923 | 3,676,296 | MDU6SXNzdWUzNjc2Mjk2 | 923 | dropna able to accept a list/tuple for axis argument | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | null | 0 | "2012-03-16T01:17:54Z" | "2012-03-16T01:19:39Z" | "2012-03-16T01:19:39Z" | CONTRIBUTOR | null | rationale:
I sometimes work with square matricies that potentially could have a column (and row) of all na's
I find myself doing:
df.dropna(how='all',axis=0).dropna(how='all',axis=1)
so
df.dropna(how='all',axis=[0,1])
e.g.
_dropna = DataFrame.dropna
def revised_dropna(self, axis = None, **kwargs):
if isinstance(axis,(list,tuple)):
return _dropna(_dropna(self,axis=axis[0],**kwargs),axis=axis[1],**kwargs)
return _dropna(self,axis=axis,**kwargs)
DataFrame.dropna = revised_dropna
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/923/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/923/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/924 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/924/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/924/comments | https://api.github.com/repos/pandas-dev/pandas/issues/924/events | https://github.com/pandas-dev/pandas/issues/924 | 3,676,297 | MDU6SXNzdWUzNjc2Mjk3 | 924 | dropna able to accept a list/tuple for axis argument | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-09-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/15",
"id": 150435,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15/labels",
"node_id": "MDk6TWlsZXN0b25lMTUwNDM1",
"number": 15,
"open_issues": 0,
"state": "closed",
"title": "0.9",
"updated_at": "2013-01-15T02:49:55Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/15"
} | 1 | "2012-03-16T01:17:54Z" | "2012-09-18T16:34:43Z" | "2012-09-18T16:34:30Z" | CONTRIBUTOR | null | rationale:
I sometimes work with square matricies that potentially could have a column (and row) of all na's
I find myself doing:
`df.dropna(how='all',axis=0).dropna(how='all',axis=1)`
so
`df.dropna(how='all',axis=[0,1])`
e.g.
```
_dropna = DataFrame.dropna
def revised_dropna(self, axis = None, **kwargs):
if isinstance(axis,(list,tuple)):
return _dropna(_dropna(self,axis=axis[0],**kwargs),axis=axis[1],**kwargs)
return _dropna(self,axis=axis,**kwargs)
DataFrame.dropna = revised_dropna
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/924/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/924/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/925 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/925/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/925/comments | https://api.github.com/repos/pandas-dev/pandas/issues/925/events | https://github.com/pandas-dev/pandas/issues/925 | 3,682,815 | MDU6SXNzdWUzNjgyODE1 | 925 | Inconsistent NA handling in comparison ops with dtype=object | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2012-03-16T16:11:29Z",
"closed_issues": 34,
"created_at": "2012-03-01T23:49:11Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-03-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/12",
"id": 91054,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/12/labels",
"node_id": "MDk6TWlsZXN0b25lOTEwNTQ=",
"number": 12,
"open_issues": 0,
"state": "closed",
"title": "0.7.2",
"updated_at": "2012-03-29T03:04:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/12"
} | 0 | "2012-03-16T14:22:36Z" | "2012-03-16T16:11:29Z" | "2012-03-16T16:11:29Z" | MEMBER | null | ```
test=PD.Series(index=PD.DateRange(DT.datetime(2012,3,15), DT.datetime(2012,3,16)), data=NP.ones(2))
test == test.shift(1)
```
vs
```
test2=PD.Series(index=PD.DateRange(DT.datetime(2012,3,15), DT.datetime(2012,3,16)), data=['a','a'])
test2 == test2.shift(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/925/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/925/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/926 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/926/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/926/comments | https://api.github.com/repos/pandas-dev/pandas/issues/926/events | https://github.com/pandas-dev/pandas/issues/926 | 3,683,566 | MDU6SXNzdWUzNjgzNTY2 | 926 | File reader improvements: explicit dtype, usecols | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-03-16T15:10:35Z" | "2012-11-28T05:47:34Z" | "2012-11-28T05:47:34Z" | MEMBER | null | per
http://stackoverflow.com/questions/9695668/how-to-specify-dtype-when-using-pandas-read-csv-to-load-data-from-csv-files
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/926/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/926/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/927 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/927/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/927/comments | https://api.github.com/repos/pandas-dev/pandas/issues/927/events | https://github.com/pandas-dev/pandas/issues/927 | 3,686,430 | MDU6SXNzdWUzNjg2NDMw | 927 | pip install borked... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119405?v=4",
"events_url": "https://api.github.com/users/mattharrison/events{/privacy}",
"followers_url": "https://api.github.com/users/mattharrison/followers",
"following_url": "https://api.github.com/users/mattharrison/following{/other_user}",
"gists_url": "https://api.github.com/users/mattharrison/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mattharrison",
"id": 119405,
"login": "mattharrison",
"node_id": "MDQ6VXNlcjExOTQwNQ==",
"organizations_url": "https://api.github.com/users/mattharrison/orgs",
"received_events_url": "https://api.github.com/users/mattharrison/received_events",
"repos_url": "https://api.github.com/users/mattharrison/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mattharrison/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mattharrison/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mattharrison"
} | [] | closed | false | null | [] | null | 6 | "2012-03-16T17:47:10Z" | "2012-03-28T21:21:43Z" | "2012-03-16T17:55:27Z" | NONE | null | Tried the following on Ubuntu machine
```
$ virtualenv /tmp/pandatest
$ source /tmp/pandatest/bin/activate
$ pip install pandas
$ python
Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/tmp/pandatest/lib/python2.6/site-packages/pandas/__init__.py", line 10, in <module>
import pandas._tseries as lib
ImportError: /tmp/pandatest/lib/python2.6/site-packages/pandas/_tseries.so: undefined symbol: PyArray_IsIntegerScalar
```
It would be really cool if this worked :)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/927/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/927/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/928 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/928/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/928/comments | https://api.github.com/repos/pandas-dev/pandas/issues/928/events | https://github.com/pandas-dev/pandas/issues/928 | 3,689,691 | MDU6SXNzdWUzNjg5Njkx | 928 | Not able to change direction of sort on per column basis for DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/119405?v=4",
"events_url": "https://api.github.com/users/mattharrison/events{/privacy}",
"followers_url": "https://api.github.com/users/mattharrison/followers",
"following_url": "https://api.github.com/users/mattharrison/following{/other_user}",
"gists_url": "https://api.github.com/users/mattharrison/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mattharrison",
"id": 119405,
"login": "mattharrison",
"node_id": "MDQ6VXNlcjExOTQwNQ==",
"organizations_url": "https://api.github.com/users/mattharrison/orgs",
"received_events_url": "https://api.github.com/users/mattharrison/received_events",
"repos_url": "https://api.github.com/users/mattharrison/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mattharrison/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mattharrison/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mattharrison"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 7 | "2012-03-16T21:29:14Z" | "2012-11-05T07:07:31Z" | "2012-11-01T15:17:40Z" | NONE | null | The `sort` method on DataFrame supports sorting by multiple columns, yet only supports sorting in one direction (ascending or descending). It would be great to specify this. Perhaps something like this: `df.sort(columns=['Name|descending', 'Age']` which would sort name first in descending order and then where names match use ascending order.
Also I see no mention of whether the sort is stable. If it is, this can be replicated by multiple sort calls.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/928/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/928/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/929 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/929/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/929/comments | https://api.github.com/repos/pandas-dev/pandas/issues/929/events | https://github.com/pandas-dev/pandas/issues/929 | 3,690,456 | MDU6SXNzdWUzNjkwNDU2 | 929 | Add a replace method to Series/DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 0 | "2012-03-16T22:33:10Z" | "2016-10-12T23:02:51Z" | "2012-05-15T20:31:48Z" | MEMBER | null | More generalized version of fillna. Want to be able to do stuff like:
```
s.replace([np.nan, ''], 'Missing')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/929/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/929/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/930 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/930/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/930/comments | https://api.github.com/repos/pandas-dev/pandas/issues/930/events | https://github.com/pandas-dev/pandas/issues/930 | 3,690,674 | MDU6SXNzdWUzNjkwNjc0 | 930 | Short Version Number | {
"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"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 0 | "2012-03-16T22:55:39Z" | "2012-04-02T03:51:35Z" | "2012-04-02T03:51:35Z" | CONTRIBUTOR | null | Is there one already or is there any chance of getting a version.short_version like numpy/scipy or a version number for 'anal retentives' (see distutils.version.StrictVersion?). This obviously isn't high priority but it's nice.
<snip>
ValueError: invalid version number '0.7.2.dev-81dcf10'
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/930/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/930/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/931 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/931/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/931/comments | https://api.github.com/repos/pandas-dev/pandas/issues/931/events | https://github.com/pandas-dev/pandas/issues/931 | 3,692,403 | MDU6SXNzdWUzNjkyNDAz | 931 | Series.kurt and DataFrame.kurt | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [] | closed | false | null | [] | null | 0 | "2012-03-17T02:42:47Z" | "2012-03-24T17:47:19Z" | "2012-03-24T17:47:19Z" | CONTRIBUTOR | null | like the Series.skew and DataFrame.skew methods, have Series.kurt and DataFrame.kurt
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/931/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/931/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/932 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/932/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/932/comments | https://api.github.com/repos/pandas-dev/pandas/issues/932/events | https://github.com/pandas-dev/pandas/pull/932 | 3,692,438 | MDExOlB1bGxSZXF1ZXN0MTAwMDc4OA== | 932 | #931 Series.kurt and DataFrame.kurt | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [] | closed | false | null | [] | null | 0 | "2012-03-17T02:46:00Z" | "2014-07-17T09:32:14Z" | "2012-03-24T17:05:17Z" | CONTRIBUTOR | null | Series.kurt calls rolling_kurt and DataFrame.kurt aplies Series.kurt on only numeric data (slightly different from the nanops functional flow)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/932/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/932/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/932.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/932",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/932.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/932"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/933 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/933/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/933/comments | https://api.github.com/repos/pandas-dev/pandas/issues/933/events | https://github.com/pandas-dev/pandas/issues/933 | 3,693,175 | MDU6SXNzdWUzNjkzMTc1 | 933 | (series == x) doesn't always produce a boolean series: bug? | {
"avatar_url": "https://avatars.githubusercontent.com/u/963910?v=4",
"events_url": "https://api.github.com/users/xdong/events{/privacy}",
"followers_url": "https://api.github.com/users/xdong/followers",
"following_url": "https://api.github.com/users/xdong/following{/other_user}",
"gists_url": "https://api.github.com/users/xdong/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/xdong",
"id": 963910,
"login": "xdong",
"node_id": "MDQ6VXNlcjk2MzkxMA==",
"organizations_url": "https://api.github.com/users/xdong/orgs",
"received_events_url": "https://api.github.com/users/xdong/received_events",
"repos_url": "https://api.github.com/users/xdong/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/xdong/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xdong/subscriptions",
"type": "User",
"url": "https://api.github.com/users/xdong"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 2 | "2012-03-17T07:08:37Z" | "2012-04-09T20:05:54Z" | "2012-04-09T20:05:54Z" | NONE | null | In [2]: a = pandas.Series(['a', nan, 'b'])
In [3]: a == 'a'
Out[3]:
0 True
1 NaN
2 False
# There is a NaN in Out[3]. This can't be the desired result because of the following error:
In [4]: b = pandas.Series(['a', 'b', 'c'])
In [5]: (a == 'a') & (b == 'a')
ValueError Traceback (most recent call last)
/home/dong/<ipython-input-5-89f377c08b91> in <module>()
----> 1 (a == 'a') & (b == 'a')
/home/dong/.virtualenv/src/pandas/pandas/core/series.pyc in wrapper(self, other)
143 if isinstance(other, Series):
144 name = _maybe_match_name(self, other)
--> 145 return Series(na_op(self.values, other.values),
146 index=self.index, name=name)
147 elif isinstance(other, DataFrame):
/home/dong/.virtualenv/src/pandas/pandas/core/series.pyc in na_op(x, y)
132
133 if isinstance(y, np.ndarray):
--> 134 result = lib.vec_binop(x, y, op)
135 else:
136 result = lib.scalar_binop(x, y, op)
/home/dong/.virtualenv/src/pandas/pandas/_tseries.so in pandas._tseries.vec_binop (pandas/src/tseries.c:9302)()
ValueError: Does not understand character buffer dtype format string ('?')
# BTW for series of dtype float there is no such problem:
In [6]: c = pandas.Series([1.0, nan, 3.0])
In [7]: c == 1
Out[7]:
0 True
1 False
2 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/933/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/933/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/934 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/934/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/934/comments | https://api.github.com/repos/pandas-dev/pandas/issues/934/events | https://github.com/pandas-dev/pandas/issues/934 | 3,697,802 | MDU6SXNzdWUzNjk3ODAy | 934 | ddof no longer passed for Series.std and Series.var | {
"avatar_url": "https://avatars.githubusercontent.com/u/610115?v=4",
"events_url": "https://api.github.com/users/dalejung/events{/privacy}",
"followers_url": "https://api.github.com/users/dalejung/followers",
"following_url": "https://api.github.com/users/dalejung/following{/other_user}",
"gists_url": "https://api.github.com/users/dalejung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dalejung",
"id": 610115,
"login": "dalejung",
"node_id": "MDQ6VXNlcjYxMDExNQ==",
"organizations_url": "https://api.github.com/users/dalejung/orgs",
"received_events_url": "https://api.github.com/users/dalejung/received_events",
"repos_url": "https://api.github.com/users/dalejung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dalejung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dalejung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dalejung"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 1 | "2012-03-18T02:01:11Z" | "2012-04-02T19:16:24Z" | "2012-04-02T19:15:29Z" | CONTRIBUTOR | null | As part of the following commit:
https://github.com/pydata/pandas/commit/fbb110247ea81e980bf9265cc1b0b26c8eb549be#L5L799
Series.std and Series.var no longer pass along ddof to the nanops.nanvar function.
Also since ddof defaults to 1 in pandas and 0 in numpy.
``` python
arr = np.arange(10)
s = Series(arr)
# False
np.std(s) == np.std(arr)
# True
np.std(s) == np.std(arr, ddof=1)
```
Which I don't know if it's a bug but it's non-intuitive.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/934/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/934/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/935 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/935/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/935/comments | https://api.github.com/repos/pandas-dev/pandas/issues/935/events | https://github.com/pandas-dev/pandas/pull/935 | 3,698,757 | MDExOlB1bGxSZXF1ZXN0MTAwMjY3OQ== | 935 | scatter plot matrix | {
"avatar_url": "https://avatars.githubusercontent.com/u/86304?v=4",
"events_url": "https://api.github.com/users/jwkvam/events{/privacy}",
"followers_url": "https://api.github.com/users/jwkvam/followers",
"following_url": "https://api.github.com/users/jwkvam/following{/other_user}",
"gists_url": "https://api.github.com/users/jwkvam/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jwkvam",
"id": 86304,
"login": "jwkvam",
"node_id": "MDQ6VXNlcjg2MzA0",
"organizations_url": "https://api.github.com/users/jwkvam/orgs",
"received_events_url": "https://api.github.com/users/jwkvam/received_events",
"repos_url": "https://api.github.com/users/jwkvam/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jwkvam/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jwkvam/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jwkvam"
} | [] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 1 | "2012-03-18T07:32:32Z" | "2014-06-15T09:28:23Z" | "2012-04-10T04:10:58Z" | CONTRIBUTOR | null | I wanted an easy way to create a scatter plot matrix from a data frame. It doesn't have the labels along the diagonals like R's ipairs does, but I don't think that would be too much work if you guys preferred that. I saw there was a scatter_matrix function in tools/plotting.py, but I wasn't sure what that was for.
I made sure it displayed data with NA values correctly, but that's about as much testing I could think of.

Update: I didn't notice issue #857, I guess if this is already in the works then please ignore 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/935/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/935/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/935.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/935",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/935.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/935"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/936 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/936/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/936/comments | https://api.github.com/repos/pandas-dev/pandas/issues/936/events | https://github.com/pandas-dev/pandas/issues/936 | 3,702,724 | MDU6SXNzdWUzNzAyNzI0 | 936 | Add time-length windowing capability to moving statistics | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | null | [] | {
"closed_at": "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"
} | 13 | "2012-03-18T21:38:45Z" | "2016-07-20T17:23:59Z" | "2016-07-20T17:23:59Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/936/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/936/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/937 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/937/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/937/comments | https://api.github.com/repos/pandas-dev/pandas/issues/937/events | https://github.com/pandas-dev/pandas/issues/937 | 3,702,725 | MDU6SXNzdWUzNzAyNzI1 | 937 | Add time-length windowing capability to moving statistics | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | null | 0 | "2012-03-18T21:38:45Z" | "2012-03-18T21:39:09Z" | "2012-03-18T21:39:06Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/937/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/937/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/938 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/938/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/938/comments | https://api.github.com/repos/pandas-dev/pandas/issues/938/events | https://github.com/pandas-dev/pandas/issues/938 | 3,703,265 | MDU6SXNzdWUzNzAzMjY1 | 938 | Add groupby option to skip MultiIndex creation in apply | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 0 | "2012-03-18T23:07:20Z" | "2012-04-09T21:38:49Z" | "2012-04-09T21:38:49Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/938/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/938/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/939 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/939/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/939/comments | https://api.github.com/repos/pandas-dev/pandas/issues/939/events | https://github.com/pandas-dev/pandas/issues/939 | 3,703,490 | MDU6SXNzdWUzNzAzNDkw | 939 | Add a more memory-efficient RangeIndex-sort of thing to avoid large arange(N) indexes in some cases | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] | 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"
} | 13 | "2012-03-18T23:53:09Z" | "2016-01-16T17:36:53Z" | "2016-01-16T17:36:53Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/939/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/939/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/940 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/940/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/940/comments | https://api.github.com/repos/pandas-dev/pandas/issues/940/events | https://github.com/pandas-dev/pandas/issues/940 | 3,707,028 | MDU6SXNzdWUzNzA3MDI4 | 940 | DataFrame.to_excel() fails for boolean values. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1327168?v=4",
"events_url": "https://api.github.com/users/gerigk/events{/privacy}",
"followers_url": "https://api.github.com/users/gerigk/followers",
"following_url": "https://api.github.com/users/gerigk/following{/other_user}",
"gists_url": "https://api.github.com/users/gerigk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gerigk",
"id": 1327168,
"login": "gerigk",
"node_id": "MDQ6VXNlcjEzMjcxNjg=",
"organizations_url": "https://api.github.com/users/gerigk/orgs",
"received_events_url": "https://api.github.com/users/gerigk/received_events",
"repos_url": "https://api.github.com/users/gerigk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gerigk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gerigk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gerigk"
} | [] | closed | false | null | [] | null | 0 | "2012-03-19T09:41:13Z" | "2012-03-19T16:05:34Z" | "2012-03-19T16:05:34Z" | NONE | null | sheet.append([int(val) if isinstance(val, np.int64) else val
--> 796 for val in row])
seems to be the problem here (see below).
Maybe there should be something like (bool(val) if instance(val, np.bool_) ?
In [14]: df = DataFrame([(1,2,3),(4,5,6)],columns = ['a','b','c'])
In [16]: df['d'] = df.b>df.c
## In [18]: df.to_excel('test.xlsx')
AttributeError Traceback (most recent call last)
/home/arthur/<i
/usr/local/lib/python2.7/dist-packages/pandas-0.7.2.dev_12d511f-py2.7-linux-x86_64.egg/pandas/core/frame.pyc in to_excel(self, excel_writer, sheet_name, na_rep, cols, header, index, index_label)
1032 self._helper_csvexcel(excel_writer, na_rep=na_rep, cols=cols,
1033 header=header, index=index,
-> 1034 index_label=index_label)
1035 if need_save:
1036 excel_writer.save()
/usr/local/lib/python2.7/dist-packages/pandas-0.7.2.dev_12d511f-py2.7-linux-x86_64.egg/pandas/core/frame.pyc in _helper_csvexcel(self, writer, na_rep, cols, header, index, index_label)
933 row_fields.append(val)
934
--> 935 writer.writerow(row_fields)
936
937 def to_csv(self, path_or_buf, sep=",", na_rep='', cols=None,
/usr/local/lib/python2.7/dist-packages/pandas-0.7.2.dev_12d511f-py2.7-linux-x86_64.egg/pandas/io/parsers.pyc in writerow(self, row, sheet_name)
759 'cur_sheet property')
760 if self.use_xlsx:
--> 761 self._writerow_xlsx(row, sheet_name)
762 else:
763 self._writerow_xls(row, sheet_name)
/usr/local/lib/python2.7/dist-packages/pandas-0.7.2.dev_12d511f-py2.7-linux-x86_64.egg/pandas/io/parsers.pyc in _writerow_xlsx(self, row, sheet_name)
794
795 sheet.append([int(val) if isinstance(val, np.int64) else val
--> 796 for val in row])
797 row_idx += 1
798 self.sheets[sheet_name] = (sheet, row_idx)
/usr/local/lib/python2.7/dist-packages/openpyxl/writer/dump_worksheet.pyc in append(self, row)
265 else:
266 dtype = 'string'
--> 267 cell = self._string_builder.add(cell)
268
269 attributes['t'] = STYLES[dtype]['type']
/usr/local/lib/python2.7/dist-packages/openpyxl/writer/strings.pyc in add(self, key)
74 def add(self, key):
75
---> 76 key = key.strip()
77 try:
78 return self.dct[key]
AttributeError: 'numpy.bool_' object has no attribute 'strip'
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/940/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/940/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/941 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/941/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/941/comments | https://api.github.com/repos/pandas-dev/pandas/issues/941/events | https://github.com/pandas-dev/pandas/issues/941 | 3,714,134 | MDU6SXNzdWUzNzE0MTM0 | 941 | Pass more than column names to rows/cols args in pivot_table | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 0 | "2012-03-19T17:18:14Z" | "2012-03-19T17:43:44Z" | "2012-03-19T17:43:44Z" | MEMBER | null | Should be same argument types as groupby
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/941/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/941/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/942 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/942/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/942/comments | https://api.github.com/repos/pandas-dev/pandas/issues/942/events | https://github.com/pandas-dev/pandas/issues/942 | 3,716,422 | MDU6SXNzdWUzNzE2NDIy | 942 | add panel.to_frame documentation | {
"avatar_url": "https://avatars.githubusercontent.com/u/869232?v=4",
"events_url": "https://api.github.com/users/adamklein/events{/privacy}",
"followers_url": "https://api.github.com/users/adamklein/followers",
"following_url": "https://api.github.com/users/adamklein/following{/other_user}",
"gists_url": "https://api.github.com/users/adamklein/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/adamklein",
"id": 869232,
"login": "adamklein",
"node_id": "MDQ6VXNlcjg2OTIzMg==",
"organizations_url": "https://api.github.com/users/adamklein/orgs",
"received_events_url": "https://api.github.com/users/adamklein/received_events",
"repos_url": "https://api.github.com/users/adamklein/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/adamklein/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adamklein/subscriptions",
"type": "User",
"url": "https://api.github.com/users/adamklein"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 0 | "2012-03-19T19:29:53Z" | "2012-04-10T03:28:50Z" | "2012-04-10T03:28:50Z" | 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/942/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/942/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/943 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/943/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/943/comments | https://api.github.com/repos/pandas-dev/pandas/issues/943/events | https://github.com/pandas-dev/pandas/issues/943 | 3,721,533 | MDU6SXNzdWUzNzIxNTMz | 943 | DataFrame gives uninformative error message when comparing to constants | {
"avatar_url": "https://avatars.githubusercontent.com/u/15233?v=4",
"events_url": "https://api.github.com/users/hammer/events{/privacy}",
"followers_url": "https://api.github.com/users/hammer/followers",
"following_url": "https://api.github.com/users/hammer/following{/other_user}",
"gists_url": "https://api.github.com/users/hammer/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hammer",
"id": 15233,
"login": "hammer",
"node_id": "MDQ6VXNlcjE1MjMz",
"organizations_url": "https://api.github.com/users/hammer/orgs",
"received_events_url": "https://api.github.com/users/hammer/received_events",
"repos_url": "https://api.github.com/users/hammer/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hammer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hammer/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hammer"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 1 | "2012-03-20T01:36:35Z" | "2012-03-20T02:27:28Z" | "2012-03-20T02:27:28Z" | NONE | null | For any DataFrame with numeric values, saying something like `df == 'cmp'`results in `PandasError: DataFrame constructor not properly called!`, which is pretty unintuitive. I'm not sure what behavior would be correct, but I do know that this error message is not helpful.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/943/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/943/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/944 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/944/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/944/comments | https://api.github.com/repos/pandas-dev/pandas/issues/944/events | https://github.com/pandas-dev/pandas/issues/944 | 3,730,848 | MDU6SXNzdWUzNzMwODQ4 | 944 | read_csv skiprows not working? | {
"avatar_url": "https://avatars.githubusercontent.com/u/526173?v=4",
"events_url": "https://api.github.com/users/RayVR/events{/privacy}",
"followers_url": "https://api.github.com/users/RayVR/followers",
"following_url": "https://api.github.com/users/RayVR/following{/other_user}",
"gists_url": "https://api.github.com/users/RayVR/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/RayVR",
"id": 526173,
"login": "RayVR",
"node_id": "MDQ6VXNlcjUyNjE3Mw==",
"organizations_url": "https://api.github.com/users/RayVR/orgs",
"received_events_url": "https://api.github.com/users/RayVR/received_events",
"repos_url": "https://api.github.com/users/RayVR/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/RayVR/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RayVR/subscriptions",
"type": "User",
"url": "https://api.github.com/users/RayVR"
} | [] | closed | false | null | [] | null | 2 | "2012-03-20T16:22:29Z" | "2012-03-20T17:17:12Z" | "2012-03-20T17:17:12Z" | NONE | null | Working with this data http://bit.ly/Bloomberg-Fed-Data (in particular, Lehman_Brothers_Holdings_Inc_1.csv) it appears skiprows is not working.
Perhaps I'm just using read_csv incorrectly but I can't reproduce the issue using Std lib csv or by directly reading the file and parsing myself.
example:
In [31]: lehman = pd.read_csv('/Users/rroberts/fed_data/Lehman_Brothers_Holdings_Inc_1.csv', sep=',', skiprows=range(13), index_col=0, na_values='', names=['date', 'debt', 'mkt_cap', 'percent_mkt_cap', 'ST_OMO', 'TSLF', 'PDCF', 'DW'], parse_dates=True)
In [32]: lehman.DW
Out[32]:
date
Ticker NaN
Identified in Fed Documents as: NaN
Capital Raised From Home Governments NaN
Programs NaN
Country NaN
Industry NaN
Average Daily Balance
From 8/1/2007 to 4/30/2010 NaN
Peak Amount of Debt NaN
Peak Date NaN
Number of Days In Debt to the Fed DW
8/1/2007 $0.00
8/2/2007 $0.00
8/3/2007 $0.00
8/4/2007 $0.00
8/5/2007 $0.00
...
4/16/2010 $0.00
4/17/2010 $0.00
4/18/2010 $0.00
4/19/2010 $0.00
4/20/2010 $0.00
4/21/2010 $0.00
4/22/2010 $0.00
4/23/2010 $0.00
4/24/2010 $0.00
4/25/2010 $0.00
4/26/2010 $0.00
4/27/2010 $0.00
4/28/2010 $0.00
4/29/2010 $0.00
4/30/2010 $0.00
Name: DW, Length: 1014
######
# using file reading
######
In [33]: f = open('/Users/rroberts/fed_data/Lehman_Brothers_Holdings_Inc_1.csv', 'r')
In [34]: lines = f.readl
f.readline f.readlines
In [34]: lines = f.readlines()
In [35]: lines[:13]
Out[35]:
['Lehman Brothers Holdings Inc.,Lehman Brothers Holdings Inc.*,,,,,,\r\n',
'Ticker,LEHMQ US Equity,,,,,,\r\n',
'Includes Loans to:,"Lehman Brothers Holdings Inc., Lehman Brothers Holdings Inc., Lehman Brothers Holdings Inc. and Lehman Brothers Holdings Inc.",,,,,,\r\n',
'Identified in Fed Documents as:,"Lehman Brothers Inc., Lehman Brothers Inc., Lehman Brothers Inc. and LEHMAN BROTHERS BK FSB",,,,,,\r\n',
'Capital Raised From Home Governments,$0.00 ,,,,,,\r\n',
'Programs,"PDCF, TSLF, ST OMO, DW",,,,,,\r\n',
'Country,United States,,,,,,\r\n',
'Industry,Diversified Financial Services,,,,,,\r\n',
'"Average Daily Balance \n',
'From 8/1/2007 to 4/30/2010","$3,121.20 ",,,,,,\r\n',
'Peak Amount of Debt,"$46,023.00 ",,,,,,\r\n',
'Peak Date,9/15/2008,,,,,,\r\n',
'Number of Days In Debt to the Fed,195,Market Cap,Percent of Market Cap,ST OMO,TSLF,PDCF,DW\r\n']
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/944/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/944/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/945 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/945/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/945/comments | https://api.github.com/repos/pandas-dev/pandas/issues/945/events | https://github.com/pandas-dev/pandas/issues/945 | 3,734,397 | MDU6SXNzdWUzNzM0Mzk3 | 945 | unconsistent slicing + setting of values | {
"avatar_url": "https://avatars.githubusercontent.com/u/562438?v=4",
"events_url": "https://api.github.com/users/saroele/events{/privacy}",
"followers_url": "https://api.github.com/users/saroele/followers",
"following_url": "https://api.github.com/users/saroele/following{/other_user}",
"gists_url": "https://api.github.com/users/saroele/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/saroele",
"id": 562438,
"login": "saroele",
"node_id": "MDQ6VXNlcjU2MjQzOA==",
"organizations_url": "https://api.github.com/users/saroele/orgs",
"received_events_url": "https://api.github.com/users/saroele/received_events",
"repos_url": "https://api.github.com/users/saroele/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/saroele/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/saroele/subscriptions",
"type": "User",
"url": "https://api.github.com/users/saroele"
} | [
{
"color": "DDDDDD",
"default": false,
"description": "Long-Term Enhancement Discussions",
"id": 157369,
"name": "Ideas",
"node_id": "MDU6TGFiZWwxNTczNjk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Ideas"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 4 | "2012-03-20T19:44:23Z" | "2012-04-02T03:54:49Z" | "2012-04-02T03:54:49Z" | NONE | null | I'm not sure if this is intended behaviour that I don't yet understand, or a bug.
I have a DataFrame df
A B C
0 -1.191583 1.290778 -0.445384
1 -1.275654 -0.716870 1.068261
2 -0.179524 -1.783951 2.539275
3 -0.149163 0.621901 -0.326219
4 0.055287 -0.057617 1.015610
5 -0.816133 -0.505380 -0.480527
6 0.531102 0.292489 0.362619
7 -0.467907 0.179168 -0.892605
I want to set some values by generating the correct slice, and then passing an array:
df[:4]['B'] = range(4)
but df remains unchanged. However, if I change the order of the slicing, it works:
df['B'][:4] = range(4)
df
A B C
0 -1.191583 0.000000 -0.445384
1 -1.275654 1.000000 1.068261
2 -0.179524 2.000000 2.539275
3 -0.149163 3.000000 -0.326219
4 0.055287 -0.057617 1.015610
5 -0.816133 -0.505380 -0.480527
6 0.531102 0.292489 0.362619
7 -0.467907 0.179168 -0.892605
Is this normal?
Thanks,
Roel
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/945/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/945/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/946 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/946/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/946/comments | https://api.github.com/repos/pandas-dev/pandas/issues/946/events | https://github.com/pandas-dev/pandas/issues/946 | 3,735,624 | MDU6SXNzdWUzNzM1NjI0 | 946 | Push label slicing into DataFrame.__getitem__ | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 0 | "2012-03-20T20:58:22Z" | "2012-04-09T15:31:27Z" | "2012-04-09T15:31:27Z" | MEMBER | null | E.g. `df[date1:date2]` vs. `df.ix[date1:date2]`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/946/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/946/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/947 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/947/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/947/comments | https://api.github.com/repos/pandas-dev/pandas/issues/947/events | https://github.com/pandas-dev/pandas/issues/947 | 3,750,322 | MDU6SXNzdWUzNzUwMzIy | 947 | Timeseries branch won't build with Python 3. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1115020?v=4",
"events_url": "https://api.github.com/users/leonbaum/events{/privacy}",
"followers_url": "https://api.github.com/users/leonbaum/followers",
"following_url": "https://api.github.com/users/leonbaum/following{/other_user}",
"gists_url": "https://api.github.com/users/leonbaum/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/leonbaum",
"id": 1115020,
"login": "leonbaum",
"node_id": "MDQ6VXNlcjExMTUwMjA=",
"organizations_url": "https://api.github.com/users/leonbaum/orgs",
"received_events_url": "https://api.github.com/users/leonbaum/received_events",
"repos_url": "https://api.github.com/users/leonbaum/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/leonbaum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leonbaum/subscriptions",
"type": "User",
"url": "https://api.github.com/users/leonbaum"
} | [] | closed | false | null | [] | null | 1 | "2012-03-21T18:00:09Z" | "2012-03-21T18:12:10Z" | "2012-03-21T18:12:10Z" | NONE | null | I got the following error when trying to build the timeseries branch with python-3.2:
cythoning pandas/src/tseries.pyx to pandas/src/tseries.c
## Error compiling Cython file:
...
to use start ('S') or end ('E') of interval.
"""
cdef:
long retval
```
if not isinstance(relation, basestring) or len(relation) != 1:
^
```
---
pandas/src/datetime.pyx:961:42: undeclared name not builtin: basestring
building 'pandas._tseries' extension
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/lib/python3.2/site-packages/numpy/core/include -I/usr/local/include/python3.2m -c pandas/src/tseries.c -o build/temp.linux-x86_64-3.2/pandas/src/tseries.o
pandas/src/tseries.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
Replacing all uses of "basestring" in tseries.pyx with "str" allows it to build. (I'm new to python, so I'm not sure whether this solution is appropriate.)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/947/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/947/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/948 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/948/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/948/comments | https://api.github.com/repos/pandas-dev/pandas/issues/948/events | https://github.com/pandas-dev/pandas/issues/948 | 3,753,152 | MDU6SXNzdWUzNzUzMTUy | 948 | inconsistent comparison operation results | {
"avatar_url": "https://avatars.githubusercontent.com/u/869232?v=4",
"events_url": "https://api.github.com/users/adamklein/events{/privacy}",
"followers_url": "https://api.github.com/users/adamklein/followers",
"following_url": "https://api.github.com/users/adamklein/following{/other_user}",
"gists_url": "https://api.github.com/users/adamklein/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/adamklein",
"id": 869232,
"login": "adamklein",
"node_id": "MDQ6VXNlcjg2OTIzMg==",
"organizations_url": "https://api.github.com/users/adamklein/orgs",
"received_events_url": "https://api.github.com/users/adamklein/received_events",
"repos_url": "https://api.github.com/users/adamklein/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/adamklein/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adamklein/subscriptions",
"type": "User",
"url": "https://api.github.com/users/adamklein"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 0 | "2012-03-21T20:45:38Z" | "2012-03-21T21:45:02Z" | "2012-03-21T21:45:02Z" | CONTRIBUTOR | null | In [4]: i = Index([1,2,3,4])
In [5]: i
Out[5]: Int64Index([1, 2, 3, 4])
In [6]: i == i
Out[6]: Int64Index([ 1, 1, 1, 1])
In [7]: i == 0
Out[7]: array([False, False, False, False], dtype=bool)
In [8]: i == 1
Out[8]: array([ True, False, False, False], dtype=bool)
In [9]: i == np.array([1,2,3,4])
Out[9]: array([ True, True, True, True], dtype=bool)
In [10]: i == Index([1,2,3,4])
Out[10]: Int64Index([ 1, 1, 1, 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/948/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/948/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/949 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/949/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/949/comments | https://api.github.com/repos/pandas-dev/pandas/issues/949/events | https://github.com/pandas-dev/pandas/issues/949 | 3,754,191 | MDU6SXNzdWUzNzU0MTkx | 949 | Import fails with Python 3 and timeseries branch | {
"avatar_url": "https://avatars.githubusercontent.com/u/1115020?v=4",
"events_url": "https://api.github.com/users/leonbaum/events{/privacy}",
"followers_url": "https://api.github.com/users/leonbaum/followers",
"following_url": "https://api.github.com/users/leonbaum/following{/other_user}",
"gists_url": "https://api.github.com/users/leonbaum/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/leonbaum",
"id": 1115020,
"login": "leonbaum",
"node_id": "MDQ6VXNlcjExMTUwMjA=",
"organizations_url": "https://api.github.com/users/leonbaum/orgs",
"received_events_url": "https://api.github.com/users/leonbaum/received_events",
"repos_url": "https://api.github.com/users/leonbaum/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/leonbaum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leonbaum/subscriptions",
"type": "User",
"url": "https://api.github.com/users/leonbaum"
} | [] | closed | false | null | [] | null | 7 | "2012-03-21T21:52:54Z" | "2012-03-22T19:50:36Z" | "2012-03-22T19:50:36Z" | NONE | null | Thanks to Adam's quick fix, I am now able to build the timeseries branch with python-3.2, but when I try to load it, I get
ImportError: /usr/local/lib/python3.2/site-packages/pandas-0.7.2.dev-py3.2-linux-x86_64.egg/pandas/_tseries.cpython-32m.so: undefined symbol: PyString_FromString
I couldn't figure out why it's trying to use that symbol on Python 3.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/949/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/949/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/950 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/950/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/950/comments | https://api.github.com/repos/pandas-dev/pandas/issues/950/events | https://github.com/pandas-dev/pandas/issues/950 | 3,762,687 | MDU6SXNzdWUzNzYyNjg3 | 950 | pip install does not check for openpyxl | {
"avatar_url": "https://avatars.githubusercontent.com/u/69774?v=4",
"events_url": "https://api.github.com/users/michaelaye/events{/privacy}",
"followers_url": "https://api.github.com/users/michaelaye/followers",
"following_url": "https://api.github.com/users/michaelaye/following{/other_user}",
"gists_url": "https://api.github.com/users/michaelaye/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/michaelaye",
"id": 69774,
"login": "michaelaye",
"node_id": "MDQ6VXNlcjY5Nzc0",
"organizations_url": "https://api.github.com/users/michaelaye/orgs",
"received_events_url": "https://api.github.com/users/michaelaye/received_events",
"repos_url": "https://api.github.com/users/michaelaye/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/michaelaye/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michaelaye/subscriptions",
"type": "User",
"url": "https://api.github.com/users/michaelaye"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 5 | "2012-03-22T13:32:51Z" | "2012-10-11T23:49:54Z" | "2012-10-11T23:49:54Z" | CONTRIBUTOR | null | Installed the newest pandas (live on the edge! ;) via pip.
When trying to read an xlsx file I got the known import error.
openpyxl was just not installed.
This should be added as a dependy to setup.py, I guess?
Regards,
Michael
System: Mac OSX 10.7.3, pandas version 0.7.0 installed into EPD 32-bit via pip
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/950/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/950/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/951 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/951/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/951/comments | https://api.github.com/repos/pandas-dev/pandas/issues/951/events | https://github.com/pandas-dev/pandas/issues/951 | 3,762,983 | MDU6SXNzdWUzNzYyOTgz | 951 | parsing excel with index_col set fails with openpyxl | {
"avatar_url": "https://avatars.githubusercontent.com/u/69774?v=4",
"events_url": "https://api.github.com/users/michaelaye/events{/privacy}",
"followers_url": "https://api.github.com/users/michaelaye/followers",
"following_url": "https://api.github.com/users/michaelaye/following{/other_user}",
"gists_url": "https://api.github.com/users/michaelaye/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/michaelaye",
"id": 69774,
"login": "michaelaye",
"node_id": "MDQ6VXNlcjY5Nzc0",
"organizations_url": "https://api.github.com/users/michaelaye/orgs",
"received_events_url": "https://api.github.com/users/michaelaye/received_events",
"repos_url": "https://api.github.com/users/michaelaye/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/michaelaye/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michaelaye/subscriptions",
"type": "User",
"url": "https://api.github.com/users/michaelaye"
} | [] | closed | false | null | [] | null | 0 | "2012-03-22T13:51:39Z" | "2012-03-23T02:06:48Z" | "2012-03-23T02:06:48Z" | CONTRIBUTOR | null | Steps to reproduce:
```
>>> excel = pandas.io.parsers.ExcelFile("BELA FM Screning Test data (2nd Batch)_KMA.xlsx")
```
This works
```
>>> bw = excel.parse("BW_clean")
```
but this fails
```
>>> bw = excel.parse("BW_clean",index_col=0)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/Users/maye/Dropbox/DDocuments/BELA/apd/<ipython-input-20-ee78800ab5e1> in <module>()
----> 1 bw = excel.parse("BW_clean",index_col=0)
/Users/maye/Library/Python/2.7/site-packages/pandas/io/parsers.pyc in parse(self, sheetname, header, skiprows, index_col, parse_dates, date_parser, na_values, chunksize)
609 parse_dates=parse_dates,
610 date_parser=date_parser,
--> 611 na_values=na_values, chunksize=chunksize)
612 else:
613 return self._parse_xls(sheetname, header=header, skiprows=skiprows,
/Users/maye/Library/Python/2.7/site-packages/pandas/io/parsers.pyc in _parse_xlsx(self, sheetname, header, skiprows, index_col, parse_dates, date_parser, na_values, chunksize)
635 date_parser=date_parser,
636 skiprows=skiprows,
--> 637 chunksize=chunksize)
638
639 return parser.get_chunk()
/Users/maye/Library/Python/2.7/site-packages/pandas/io/parsers.pyc in __init__(self, f, delimiter, names, header, index_col, na_values, parse_dates, date_parser, chunksize, skiprows, skip_footer, converters, verbose, encoding)
249 self.data = f
250 self.columns = self._infer_columns()
--> 251 self.index_name = self._get_index_name()
252 self._first_chunk = True
253
/Users/maye/Library/Python/2.7/site-packages/pandas/io/parsers.pyc in _get_index_name(self)
394 elif np.isscalar(self.index_col):
395 index_name = columns.pop(self.index_col)
--> 396 if 'Unnamed' in index_name:
397 index_name = None
398 elif self.index_col is not None:
TypeError: argument of type 'NoneType' is not iterable
```
I then checked if maybe the excel file is broken by saving it as xls, but THEN it works:
```
>>> excel = pandas.io.parsers.ExcelFile("BELA FM Screning Test data (2nd Batch)_KMA.xls")
>>> bw = excel.parse("BW_clean",index_col=0)
Out[25]: Index([25.0, 15.0, 10.0, 5.0, 0.0], dtype=object)
```
Therefore I induce that it's a problem with how openpyxl is used.
Regards,
Michael
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/951/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/951/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/952 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/952/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/952/comments | https://api.github.com/repos/pandas-dev/pandas/issues/952/events | https://github.com/pandas-dev/pandas/pull/952 | 3,764,431 | MDExOlB1bGxSZXF1ZXN0MTAyOTM4MQ== | 952 | Added support for read_fwf() as in R. | {
"avatar_url": "https://avatars.githubusercontent.com/u/336019?v=4",
"events_url": "https://api.github.com/users/blais/events{/privacy}",
"followers_url": "https://api.github.com/users/blais/followers",
"following_url": "https://api.github.com/users/blais/following{/other_user}",
"gists_url": "https://api.github.com/users/blais/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/blais",
"id": 336019,
"login": "blais",
"node_id": "MDQ6VXNlcjMzNjAxOQ==",
"organizations_url": "https://api.github.com/users/blais/orgs",
"received_events_url": "https://api.github.com/users/blais/received_events",
"repos_url": "https://api.github.com/users/blais/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/blais/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blais/subscriptions",
"type": "User",
"url": "https://api.github.com/users/blais"
} | [] | closed | false | null | [] | null | 5 | "2012-03-22T15:10:38Z" | "2014-06-16T10:09:49Z" | "2012-04-02T16:27:52Z" | CONTRIBUTOR | null | I added a simple function like R's read_fwf().
It also made sense to refactor read_csv() and read_table() to redirect to a new function _read() which takes the parser's class as input. I needed this for the FixedWidthFieldParser which needs to override the TextParser in order to provide a custom reader for the fields. Please review; the tests pass.
Also, I made the column spec ("widths")
- zero-based, and
- inclusive on both the from and to fields (e.g., a colspec of (1,2) has two characters)
I'm not sure that's the best; I think in practice a lot of column format specs start counting at one, but I haven't done a survey or anything, feel free to change it. Maybe we should support both.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/952/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/952/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/952.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/952",
"merged_at": "2012-04-02T16:27:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/952.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/952"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/953 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/953/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/953/comments | https://api.github.com/repos/pandas-dev/pandas/issues/953/events | https://github.com/pandas-dev/pandas/issues/953 | 3,765,729 | MDU6SXNzdWUzNzY1NzI5 | 953 | ValueError when slicing with NaN values | {
"avatar_url": "https://avatars.githubusercontent.com/u/1193802?v=4",
"events_url": "https://api.github.com/users/jcreixell/events{/privacy}",
"followers_url": "https://api.github.com/users/jcreixell/followers",
"following_url": "https://api.github.com/users/jcreixell/following{/other_user}",
"gists_url": "https://api.github.com/users/jcreixell/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jcreixell",
"id": 1193802,
"login": "jcreixell",
"node_id": "MDQ6VXNlcjExOTM4MDI=",
"organizations_url": "https://api.github.com/users/jcreixell/orgs",
"received_events_url": "https://api.github.com/users/jcreixell/received_events",
"repos_url": "https://api.github.com/users/jcreixell/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jcreixell/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jcreixell/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jcreixell"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 2 | "2012-03-22T16:11:16Z" | "2012-04-09T20:06:23Z" | "2012-04-09T20:06:23Z" | NONE | null | this didn't fail before:
In [30]: a = DataFrame([[1,2,3],['b',None,'a'],[1,'b',9]])
In [31]: a
Out[31]:
0 1 2
0 1 2 3
1 b None a
2 1 b 9
## In [32]: a[a[1]=='a']
ValueError Traceback (most recent call last)
/Users/jorge/<ipython-input-32-3a0cb4ca7415> in <module>()
----> 1 a[a[1]=='a']
/Users/jorge/.python_unstable/lib/python2.7/site-packages/pandas-0.7.2-py2.7-macosx-10.7-intel.egg/pandas/core/frame.pyc in **getitem**(self, key)
1422
1423 # also raises Exception if object array with NA values
-> 1424 if com._is_bool_indexer(key):
1425 key = np.asarray(key, dtype=bool)
1426 return self._getitem_array(key)
/Users/jorge/.python_unstable/lib/python2.7/site-packages/pandas-0.7.2-py2.7-macosx-10.7-intel.egg/pandas/core/common.pyc in _is_bool_indexer(key)
321 if not lib.is_bool_array(key):
322 if isnull(key).any():
--> 323 raise ValueError('cannot index with vector containing '
324 'NA / NaN values')
325 return False
ValueError: cannot index with vector containing NA / NaN values
Note: With integer values the exception is not raised:
In [34]: a = DataFrame([[1,2,3],['b',None,'a'],[1,2,9]])
In [35]: a
Out[35]:
0 1 2
0 1 2 3
1 b NaN a
2 1 2 9
In [36]: a[a[1]=='a']
Out[36]:
Empty DataFrame
Columns: array([0, 1, 2])
Index: array([], dtype=int64)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/953/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/953/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/954 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/954/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/954/comments | https://api.github.com/repos/pandas-dev/pandas/issues/954/events | https://github.com/pandas-dev/pandas/issues/954 | 3,768,450 | MDU6SXNzdWUzNzY4NDUw | 954 | DataFrame.plot() does not treat float index as numeric | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https://api.github.com/users/lodagro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lodagro",
"id": 1094464,
"login": "lodagro",
"node_id": "MDQ6VXNlcjEwOTQ0NjQ=",
"organizations_url": "https://api.github.com/users/lodagro/orgs",
"received_events_url": "https://api.github.com/users/lodagro/received_events",
"repos_url": "https://api.github.com/users/lodagro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lodagro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lodagro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lodagro"
} | [] | closed | false | null | [] | null | 0 | "2012-03-22T18:24:34Z" | "2012-03-27T09:10:37Z" | "2012-03-27T09:10:36Z" | CONTRIBUTOR | null | DataFrame.plot() does not treat float index as numeric.
This is becasue `DataFrame.index.is_numeric()` returns `False` when the index holds floats.
`DataFrame.index.is_numeric()` checks on the dtype of the index to know if it holds numeric data. Apparently dtype of a float index is `object`.
example from the [mailing list](https://groups.google.com/forum/?fromgroups#!topic/pystatsmodels/M77RuKGvC6c)
``` python
In [89]: df = pd.DataFrame(np.random.randn(4,3), columns=['A', 'B',
'C'])
In [90]: df
Out[90]:
A B C
0 -1.209472 -2.016404 0.748993
1 0.568799 1.332006 1.228565
2 -1.105552 0.247344 0.379427
3 0.518771 1.155601 0.441952
In [91]: df.set_index('A')
Out[91]:
B C
A
-1.209472 -2.016404 0.748993
0.568799 1.332006 1.228565
-1.105552 0.247344 0.379427
0.518771 1.155601 0.441952
In [93]: df2 = df.set_index('A')
In [98]: df2.plot()
Out[98]: <matplotlib.axes.AxesSubplot object at 0x5a942d0>
In [100]: xlim()
Out[100]: (0.0, 3.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/954/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/954/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/955 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/955/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/955/comments | https://api.github.com/repos/pandas-dev/pandas/issues/955/events | https://github.com/pandas-dev/pandas/issues/955 | 3,768,512 | MDU6SXNzdWUzNzY4NTEy | 955 | Easy function for making dummy variable matrices | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 11 | "2012-03-22T18:28:21Z" | "2017-04-17T01:17:03Z" | "2013-09-28T19:09:48Z" | MEMBER | null | there are already a few things floating around but having something more structured / more options + in the pandas namespace would be nice
from an e-mail on the statsmodels mailing list
```
Here's a quick hack at it (not too dissimilar to Aman's code it looks
like)-- I should find a place in the library to put this:
def make_dummies(data, cat_variables):
result = data.drop(cat_variables, axis=1)
for variable in cat_variables:
dummies = _get_dummy_frame(data, variable)
result = result.join(dummies)
return result
def _get_dummy_frame(data, column):
from pandas import Factor
factor = Factor(data[column])
dummy_mat = np.eye(len(factor.levels)).take(factor.labels, axis=0)
dummy_cols = ['%s.%s' % (column, v) for v in factor.levels]
dummies = DataFrame(dummy_mat, index=data.index,
columns=dummy_cols)
return dummies
In [29]: df
Out[29]:
gender hand color height age
0 male right green 5.75 23
1 female right brown 5.42 27
2 female left green 5.58 31
3 male right brown 5.92 39
4 male right blue 5.83 33
In [30]: make_dummies(df, ['gender', 'hand', 'color']).T
Out[30]:
0 1 2 3 4
height 5.75 5.42 5.58 5.92 5.83
age 23 27 31 39 33
gender.female 0 1 1 0 0
gender.male 1 0 0 1 1
hand.left 0 0 1 0 0
hand.right 1 1 0 1 1
color.blue 0 0 0 0 1
color.brown 0 1 0 1 0
color.green 1 0 1 0 0
(BTW I read in that data using df = read_clipboard(sep=','))
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/955/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/955/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/956 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/956/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/956/comments | https://api.github.com/repos/pandas-dev/pandas/issues/956/events | https://github.com/pandas-dev/pandas/issues/956 | 3,770,557 | MDU6SXNzdWUzNzcwNTU3 | 956 | Docs for groupby.size() | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 2 | "2012-03-22T20:36:04Z" | "2016-10-12T23:02:52Z" | "2012-05-03T23:21:46Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/956/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/956/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/957 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/957/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/957/comments | https://api.github.com/repos/pandas-dev/pandas/issues/957/events | https://github.com/pandas-dev/pandas/pull/957 | 3,771,489 | MDExOlB1bGxSZXF1ZXN0MTAzMjQ4MA== | 957 | A way to get alternative percentiles into describe | {
"avatar_url": "https://avatars.githubusercontent.com/u/51236?v=4",
"events_url": "https://api.github.com/users/aflaxman/events{/privacy}",
"followers_url": "https://api.github.com/users/aflaxman/followers",
"following_url": "https://api.github.com/users/aflaxman/following{/other_user}",
"gists_url": "https://api.github.com/users/aflaxman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aflaxman",
"id": 51236,
"login": "aflaxman",
"node_id": "MDQ6VXNlcjUxMjM2",
"organizations_url": "https://api.github.com/users/aflaxman/orgs",
"received_events_url": "https://api.github.com/users/aflaxman/received_events",
"repos_url": "https://api.github.com/users/aflaxman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aflaxman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aflaxman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aflaxman"
} | [] | closed | false | null | [] | null | 1 | "2012-03-22T21:34:41Z" | "2014-07-05T04:05:17Z" | "2012-04-09T14:12:15Z" | CONTRIBUTOR | null | Here is a small enhancement that adds a percentile_width parameter to the describe method of series and dataframes objects. I like to see 95% uncertainty intervals, so now I can say df.describe(95).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/957/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/957/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/957.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/957",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/957.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/957"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/958 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/958/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/958/comments | https://api.github.com/repos/pandas-dev/pandas/issues/958/events | https://github.com/pandas-dev/pandas/issues/958 | 3,777,520 | MDU6SXNzdWUzNzc3NTIw | 958 | DataFrame bar plot ignores kwds argument if subplots==True | {
"avatar_url": "https://avatars.githubusercontent.com/u/807824?v=4",
"events_url": "https://api.github.com/users/CRP/events{/privacy}",
"followers_url": "https://api.github.com/users/CRP/followers",
"following_url": "https://api.github.com/users/CRP/following{/other_user}",
"gists_url": "https://api.github.com/users/CRP/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/CRP",
"id": 807824,
"login": "CRP",
"node_id": "MDQ6VXNlcjgwNzgyNA==",
"organizations_url": "https://api.github.com/users/CRP/orgs",
"received_events_url": "https://api.github.com/users/CRP/received_events",
"repos_url": "https://api.github.com/users/CRP/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/CRP/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/CRP/subscriptions",
"type": "User",
"url": "https://api.github.com/users/CRP"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 1 | "2012-03-23T09:58:51Z" | "2012-04-10T04:55:58Z" | "2012-04-10T04:55:58Z" | CONTRIBUTOR | null | This plots black bars, as expected:
Series(randn(10)).plot(kind='bar',color='black')
While this plots bars in default blue color, ignoring color keyword:
DataFrame(randn(10,3)).plot(kind='bar',subplots=True,color='black')
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/958/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/958/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/959 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/959/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/959/comments | https://api.github.com/repos/pandas-dev/pandas/issues/959/events | https://github.com/pandas-dev/pandas/issues/959 | 3,783,826 | MDU6SXNzdWUzNzgzODI2 | 959 | Add access to slices of data structures when using HDF5 | {
"avatar_url": "https://avatars.githubusercontent.com/u/807608?v=4",
"events_url": "https://api.github.com/users/meteore/events{/privacy}",
"followers_url": "https://api.github.com/users/meteore/followers",
"following_url": "https://api.github.com/users/meteore/following{/other_user}",
"gists_url": "https://api.github.com/users/meteore/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meteore",
"id": 807608,
"login": "meteore",
"node_id": "MDQ6VXNlcjgwNzYwOA==",
"organizations_url": "https://api.github.com/users/meteore/orgs",
"received_events_url": "https://api.github.com/users/meteore/received_events",
"repos_url": "https://api.github.com/users/meteore/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meteore/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meteore/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meteore"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 1 | "2012-03-23T17:29:12Z" | "2014-05-29T05:47:58Z" | "2014-05-29T05:47:58Z" | CONTRIBUTOR | null | HDF5 is allows random access to large array data, enabling one to cherrypick fragments from enormous arrays that don't fit in memory. It would be good to have this supported in here https://github.com/wesm/pandas/blob/master/pandas/io/pytables.py.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/959/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/959/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/960 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/960/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/960/comments | https://api.github.com/repos/pandas-dev/pandas/issues/960/events | https://github.com/pandas-dev/pandas/issues/960 | 3,783,871 | MDU6SXNzdWUzNzgzODcx | 960 | reindex kills IPython | {
"avatar_url": "https://avatars.githubusercontent.com/u/94208?v=4",
"events_url": "https://api.github.com/users/dfarmer/events{/privacy}",
"followers_url": "https://api.github.com/users/dfarmer/followers",
"following_url": "https://api.github.com/users/dfarmer/following{/other_user}",
"gists_url": "https://api.github.com/users/dfarmer/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dfarmer",
"id": 94208,
"login": "dfarmer",
"node_id": "MDQ6VXNlcjk0MjA4",
"organizations_url": "https://api.github.com/users/dfarmer/orgs",
"received_events_url": "https://api.github.com/users/dfarmer/received_events",
"repos_url": "https://api.github.com/users/dfarmer/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dfarmer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dfarmer/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dfarmer"
} | [] | closed | false | null | [] | null | 2 | "2012-03-23T17:32:20Z" | "2014-03-26T19:30:29Z" | "2012-03-23T19:39:09Z" | NONE | null | I'm running pandas 0.7.2 and IPython 0.12, the following toy example reproduces the behavior on my machine 100% of the time.
``` python
df = pandas.DataFrame({'A' : ['foo', 'bar', 'foo', 'bar',
'foo', 'bar', 'foo', 'foo'],
'B' : ['one', 'one', 'two', 'three',
'two', 'two', 'one', 'three'],
'C' : randn(8), 'D' : randn(8)})
df
grp = df.groupby('A')
tstgrp = grp.get_group('foo')
```
....
Now typing
tstgrp.reindex(
crashes the IPython kernel. I am actually guessing this is an IPython bug, but I know that Pandas does hook in to IPython so I figured I'd start here.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/960/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/960/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/961 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/961/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/961/comments | https://api.github.com/repos/pandas-dev/pandas/issues/961/events | https://github.com/pandas-dev/pandas/issues/961 | 3,787,879 | MDU6SXNzdWUzNzg3ODc5 | 961 | Add DataFrame.update method: in-place modification alternative to combine_first | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 2 | "2012-03-23T21:40:45Z" | "2012-05-07T18:58:38Z" | "2012-05-07T18:57:51Z" | MEMBER | null | http://stackoverflow.com/questions/9794697/best-way-to-construct-a-pandas-dataframe-composed-of-different-chunks
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/961/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/961/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/962 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/962/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/962/comments | https://api.github.com/repos/pandas-dev/pandas/issues/962/events | https://github.com/pandas-dev/pandas/issues/962 | 3,791,170 | MDU6SXNzdWUzNzkxMTcw | 962 | add `comments` argument to text readers | {
"avatar_url": "https://avatars.githubusercontent.com/u/358378?v=4",
"events_url": "https://api.github.com/users/andreas-h/events{/privacy}",
"followers_url": "https://api.github.com/users/andreas-h/followers",
"following_url": "https://api.github.com/users/andreas-h/following{/other_user}",
"gists_url": "https://api.github.com/users/andreas-h/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/andreas-h",
"id": 358378,
"login": "andreas-h",
"node_id": "MDQ6VXNlcjM1ODM3OA==",
"organizations_url": "https://api.github.com/users/andreas-h/orgs",
"received_events_url": "https://api.github.com/users/andreas-h/received_events",
"repos_url": "https://api.github.com/users/andreas-h/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/andreas-h/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andreas-h/subscriptions",
"type": "User",
"url": "https://api.github.com/users/andreas-h"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 2 | "2012-03-24T09:02:13Z" | "2016-10-12T23:02:52Z" | "2012-05-15T01:07:37Z" | CONTRIBUTOR | null | It would be very helpful if `read_table` and `read_csv` would support a `comments` keyarg, like `np.loadtxt`, to handle filesets with varying numbers of headers which are indicated by a comment character at the beginning.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/962/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/962/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/963 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/963/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/963/comments | https://api.github.com/repos/pandas-dev/pandas/issues/963/events | https://github.com/pandas-dev/pandas/issues/963 | 3,792,604 | MDU6SXNzdWUzNzkyNjA0 | 963 | Extend to_html to enable per-cell CSS / perhaps callback based | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 1 | "2012-03-24T15:15:34Z" | "2014-02-16T22:36:22Z" | "2014-02-16T22:36:22Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/963/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/963/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/964 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/964/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/964/comments | https://api.github.com/repos/pandas-dev/pandas/issues/964/events | https://github.com/pandas-dev/pandas/pull/964 | 3,793,326 | MDExOlB1bGxSZXF1ZXN0MTA0MTg0Mw== | 964 | Series and DataFrame.kurt | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [] | closed | false | null | [] | null | 1 | "2012-03-24T17:28:57Z" | "2014-06-21T20:17:52Z" | "2012-04-10T04:17:14Z" | CONTRIBUTOR | null | replaces pull request #932 (which I closed)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/964/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/964/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/964.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/964",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/964.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/964"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/965 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/965/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/965/comments | https://api.github.com/repos/pandas-dev/pandas/issues/965/events | https://github.com/pandas-dev/pandas/pull/965 | 3,793,508 | MDExOlB1bGxSZXF1ZXN0MTA0MTg5OA== | 965 | adding ddof parameter back into std and var | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 9 | "2012-03-24T18:05:10Z" | "2014-07-01T14:32:15Z" | "2012-04-02T19:15:30Z" | CONTRIBUTOR | null | Issue #934
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/965/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/965/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/965.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/965",
"merged_at": "2012-04-02T19:15:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/965.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/965"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/966 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/966/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/966/comments | https://api.github.com/repos/pandas-dev/pandas/issues/966/events | https://github.com/pandas-dev/pandas/pull/966 | 3,793,640 | MDExOlB1bGxSZXF1ZXN0MTA0MTk0NA== | 966 | Short version number | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 0 | "2012-03-24T18:27:15Z" | "2014-07-27T03:41:12Z" | "2012-04-02T03:51:18Z" | CONTRIBUTOR | null | Issue #930
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/966/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/966/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/966.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/966",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/966.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/966"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/967 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/967/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/967/comments | https://api.github.com/repos/pandas-dev/pandas/issues/967/events | https://github.com/pandas-dev/pandas/pull/967 | 3,804,584 | MDExOlB1bGxSZXF1ZXN0MTA0NTUwMg== | 967 | BUG: fix typo | {
"avatar_url": "https://avatars.githubusercontent.com/u/358378?v=4",
"events_url": "https://api.github.com/users/andreas-h/events{/privacy}",
"followers_url": "https://api.github.com/users/andreas-h/followers",
"following_url": "https://api.github.com/users/andreas-h/following{/other_user}",
"gists_url": "https://api.github.com/users/andreas-h/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/andreas-h",
"id": 358378,
"login": "andreas-h",
"node_id": "MDQ6VXNlcjM1ODM3OA==",
"organizations_url": "https://api.github.com/users/andreas-h/orgs",
"received_events_url": "https://api.github.com/users/andreas-h/received_events",
"repos_url": "https://api.github.com/users/andreas-h/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/andreas-h/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andreas-h/subscriptions",
"type": "User",
"url": "https://api.github.com/users/andreas-h"
} | [] | closed | false | null | [] | null | 1 | "2012-03-26T08:25:59Z" | "2013-12-04T00:43:28Z" | "2012-03-26T10:41:08Z" | 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/967/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/967/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/967.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/967",
"merged_at": "2012-03-26T10:41:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/967.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/967"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/968 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/968/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/968/comments | https://api.github.com/repos/pandas-dev/pandas/issues/968/events | https://github.com/pandas-dev/pandas/issues/968 | 3,809,859 | MDU6SXNzdWUzODA5ODU5 | 968 | Behavior of sum and infinity | {
"avatar_url": "https://avatars.githubusercontent.com/u/805293?v=4",
"events_url": "https://api.github.com/users/craustin/events{/privacy}",
"followers_url": "https://api.github.com/users/craustin/followers",
"following_url": "https://api.github.com/users/craustin/following{/other_user}",
"gists_url": "https://api.github.com/users/craustin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/craustin",
"id": 805293,
"login": "craustin",
"node_id": "MDQ6VXNlcjgwNTI5Mw==",
"organizations_url": "https://api.github.com/users/craustin/orgs",
"received_events_url": "https://api.github.com/users/craustin/received_events",
"repos_url": "https://api.github.com/users/craustin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/craustin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/craustin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/craustin"
} | [] | closed | false | null | [] | null | 2 | "2012-03-26T14:48:51Z" | "2012-03-30T15:33:29Z" | "2012-03-30T15:33:29Z" | NONE | null | import numpy as np
from pandas import Series
a = [np.nan, 1]
b = [np.inf, 1]
print Series(a).sum() #1
print Series(b).sum() #2
print np.sum(a) #3
print np.sum(b) #4
I understand that pandas has made the design decision that sums with nans will drop nans (#1), but why is infinity dropped in the same way? I don't see why np.inf + 5 could reasonably be 5. numpy returns np.inf in this case.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/968/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/968/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/969 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/969/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/969/comments | https://api.github.com/repos/pandas-dev/pandas/issues/969/events | https://github.com/pandas-dev/pandas/issues/969 | 3,811,848 | MDU6SXNzdWUzODExODQ4 | 969 | DateRange.tz_normalize(tz) problem when tz=pytz.utc | {
"avatar_url": "https://avatars.githubusercontent.com/u/1173125?v=4",
"events_url": "https://api.github.com/users/ijmcf/events{/privacy}",
"followers_url": "https://api.github.com/users/ijmcf/followers",
"following_url": "https://api.github.com/users/ijmcf/following{/other_user}",
"gists_url": "https://api.github.com/users/ijmcf/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ijmcf",
"id": 1173125,
"login": "ijmcf",
"node_id": "MDQ6VXNlcjExNzMxMjU=",
"organizations_url": "https://api.github.com/users/ijmcf/orgs",
"received_events_url": "https://api.github.com/users/ijmcf/received_events",
"repos_url": "https://api.github.com/users/ijmcf/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ijmcf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ijmcf/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ijmcf"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 1 | "2012-03-26T16:34:55Z" | "2012-05-29T00:20:09Z" | "2012-05-29T00:20:09Z" | NONE | null | Hello
I believe there is a problem when using DateRange.tz_normalize(tz) when the tz is pytz.utc (but not other pytz timezones):
I create a DateRange using a DateOffset that is Week(weekday=1), and then use the built-in DateRange methods tz_localize and tz_normalize to account for time zones. However, I get something weird if the time zone I use is pytz.UTC:
> > > dr = pandas.DateRange(start=start, end=end, offset=pandas.core.datetools.Week(weekday=1))
> > > <class 'pandas.core.daterange.DateRange'>
> > > offset: <1 Week: kwds={'weekday': 1}, weekday=1>, tzinfo: None
> > > [2010-04-13 00:00:00, ..., 2012-03-06 00:00:00]
> > > length: 100
Now localize:
> > > drl = dr.tz_localize(pytz.timezone('US/Eastern'))
> > > <class 'pandas.core.daterange.DateRange'>
> > > offset: <1 Week: kwds={'weekday': 1}, weekday=1>, tzinfo: US/Eastern
> > > [2010-04-13 00:00:00-04:00, ..., 2012-03-06 00:00:00-05:00]
> > > length: 100
And normalize:
> > > drl.tz_normalize(pytz.timezone('UTC'))
> > > <class 'pandas.core.daterange.DateRange'>
> > > offset: <1 Week: kwds={'weekday': 1}, weekday=1>, tzinfo: UTC
> > > [2010-04-13 00:00:00+00:00, ..., 2012-03-06 00:00:00+00:00]
> > > length: 100
Bzzzt. The time zone info has changed, but the times have remained the same!
But if I use any other timezone, it works:
> > > drl.tz_normalize(pytz.timezone('Europe/London'))
> > > <class 'pandas.core.daterange.DateRange'>
> > > offset: <1 Week: kwds={'weekday': 1}, weekday=1>, tzinfo: Europe/London
> > > [2010-04-13 05:00:00+01:00, ..., 2012-03-06 05:00:00+00:00]
> > > length: 100
Or even with 'Etc/UTC':
> > > drl.tz_normalize(pytz.timezone('Etc/UTC'))
> > > <class 'pandas.core.daterange.DateRange'>
> > > offset: <1 Week: kwds={'weekday': 1}, weekday=1>, tzinfo: Etc/UTC
> > > [2010-04-13 04:00:00+00:00, ..., 2012-03-06 05:00:00+00:00]
> > > length: 100
Why does the DateRange.tz_localize() method fail with 'UTC' but work with other timezones (including 'Etc/UTC')? I looked at the code for DateRange.tz_localize(), and it's a very simple invocation of pytz tz.normalize().
But the pytz documentation (which isn't easy to parse, IMO) suggests that when using UTC normalize() alone is insufficient. For example:
> > > dt = datetime.datetime(2012, 3, 26, 12, 0)
> > > dtl = pytz.timezone('US/Eastern').localize(dt)
> > > datetime.datetime(2012, 3, 26, 12, 0, tzinfo=<DstTzInfo 'US/Eastern' EDT-1 day, 20:00:00 DST>)
> > > print pytz.timezone('Etc/UTC').normalize(dtl) <- as expected
> > > 2012-03-26 16:00:00+00:00
> > > print pytz.timezone('UTC').normalize(dtl) <- bzzzt
> > > 2012-03-26 12:00:00+00:00
> > > print dtl.astimezone(pytz.timezone('UTC')) <- as expected
> > > 2012-03-26 16:00:00+00:00
> > > print pytz.timezone('UTC').normalize(dtl.astimezone(pytz.timezone('UTC'))) <- as expected
> > > 2012-03-26 16:00:00+00:00
Why this behavior of normalize should be limited to the canonical pytz UTC timezone (versus e.g. 'Etc/UTC'), I don't know, but it appears to be due to the fact that pytz.utc is a specialized singleton class that has different character than the other TZ classes.
I would suggest that DateRange.tz_normalize() should use either dt.astimezone(pytz.utc) or pytz.utc.normalize(dt.astimezone(pytz.utc)) at line 417.
Iain
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/969/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/969/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/970 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/970/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/970/comments | https://api.github.com/repos/pandas-dev/pandas/issues/970/events | https://github.com/pandas-dev/pandas/pull/970 | 3,813,964 | MDExOlB1bGxSZXF1ZXN0MTA0OTE5MQ== | 970 | Allow read_csv to take URLs | {
"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 | 16 | "2012-03-26T18:32:52Z" | "2014-06-15T07:33:09Z" | "2012-04-02T20:04:19Z" | CONTRIBUTOR | null | This allows read_csv to take URLs. The tests are going to need to be modified after it's merged to point the the new repo URL or if you want to host a test file somewhere else. I also have no idea what the file:// path should be on non-posix systems, so this path might need some adjustment. Not sure. There's no test case for ftp, but I don't see why it wouldn't work the same as http.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/970/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/970/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/970.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/970",
"merged_at": "2012-04-02T20:04:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/970.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/970"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/971 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/971/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/971/comments | https://api.github.com/repos/pandas-dev/pandas/issues/971/events | https://github.com/pandas-dev/pandas/pull/971 | 3,817,042 | MDExOlB1bGxSZXF1ZXN0MTA1MDUxNw== | 971 | Add an attach method to DataFrame | {
"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 | 14 | "2012-03-26T21:22:19Z" | "2014-06-15T10:46:45Z" | "2012-03-27T16:54:02Z" | CONTRIBUTOR | null | This is a method that injects the columns of a DataFrame into the calling namespace. As far as I can tell it works, even if it is hackish. However, the nosetests do not like the trickery and throw errors and failures. But, if you do
nosetests test_frame.py --pdb --pdb-failure
You can indeed see that the tests will pass from inside the debugger. I'm not really sure why. Does anyone have any ideas?
Am I missing anything about injecting variables into the calling local variables of the calling frame? I'm sure this is bad form, but it's functionality I've missed in Python.
Am I safe in assuming that column names are valid python variable names? If not, I may need to use a name validator.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/971/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/971/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/971.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/971",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/971.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/971"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/972 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/972/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/972/comments | https://api.github.com/repos/pandas-dev/pandas/issues/972/events | https://github.com/pandas-dev/pandas/issues/972 | 3,826,735 | MDU6SXNzdWUzODI2NzM1 | 972 | scoreateprecentile return wrong value | {
"avatar_url": "https://avatars.githubusercontent.com/u/368583?v=4",
"events_url": "https://api.github.com/users/isofer/events{/privacy}",
"followers_url": "https://api.github.com/users/isofer/followers",
"following_url": "https://api.github.com/users/isofer/following{/other_user}",
"gists_url": "https://api.github.com/users/isofer/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/isofer",
"id": 368583,
"login": "isofer",
"node_id": "MDQ6VXNlcjM2ODU4Mw==",
"organizations_url": "https://api.github.com/users/isofer/orgs",
"received_events_url": "https://api.github.com/users/isofer/received_events",
"repos_url": "https://api.github.com/users/isofer/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/isofer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/isofer/subscriptions",
"type": "User",
"url": "https://api.github.com/users/isofer"
} | [] | closed | false | null | [] | null | 5 | "2012-03-27T13:02:19Z" | "2013-04-25T17:45:41Z" | "2012-03-27T13:28:07Z" | NONE | null | scoreatprecentile of a series returns the wrong value
```
In [1341]: a = np.random.rand(100)
In [1342]: b = pd.Series(a)
In [1343]: a[:10]
Out[1343]:
array([ 0.6131142 , 0.65266141, 0.24583156, 0.70179786, 0.33361506,
0.65042728, 0.70192276, 0.02727854, 0.65948894, 0.44326182])
In [1348]: scoreatpercentile(a,1)
Out[1348]: 0.010388922650144839 #correct value
In [1349]: scoreatpercentile(b,1)
Out[1349]: 0.65226593993834392 #incorrect value
In [1350]: scoreatpercentile(a,2)
Out[1350]: 0.011971896338709577 #correct value
In [1351]: scoreatpercentile(b,2)
Out[1351]: 0.25396815348880808 #incorrect value
```
I'm not sure if this is a pandas issue or scipy issue, and I am aware of the quantile method, but I still wonder if it is possible to fix that.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/972/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/972/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/973 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/973/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/973/comments | https://api.github.com/repos/pandas-dev/pandas/issues/973/events | https://github.com/pandas-dev/pandas/issues/973 | 3,827,534 | MDU6SXNzdWUzODI3NTM0 | 973 | HDFStore does not conserve index correctly | {
"avatar_url": "https://avatars.githubusercontent.com/u/562438?v=4",
"events_url": "https://api.github.com/users/saroele/events{/privacy}",
"followers_url": "https://api.github.com/users/saroele/followers",
"following_url": "https://api.github.com/users/saroele/following{/other_user}",
"gists_url": "https://api.github.com/users/saroele/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/saroele",
"id": 562438,
"login": "saroele",
"node_id": "MDQ6VXNlcjU2MjQzOA==",
"organizations_url": "https://api.github.com/users/saroele/orgs",
"received_events_url": "https://api.github.com/users/saroele/received_events",
"repos_url": "https://api.github.com/users/saroele/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/saroele/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/saroele/subscriptions",
"type": "User",
"url": "https://api.github.com/users/saroele"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 3 | "2012-03-27T13:37:39Z" | "2012-05-28T23:01:04Z" | "2012-05-28T23:01:04Z" | NONE | null | I have DataFrame with DateRange index, and i store it with HDFStore to h5.
But when I retreive my DataFrame, there is a problem with the indices cause I get this error:
Exception: Index values are not unique
Here are the commands that produce the exception, I didn't test every possible case so I keep the commands in between that I executed:
dffc=pandas.DataFrame(vpp.forecast.data, index=dr_year_900[:-1])
dffc[start_dt:stop_dt]
dffc.ix[start_dt:stop_dt]
dffc.drop(['Counter'], axis=1)
dffc=dffc.drop(['Counter'], axis=1)
dffc.ix[start_dt:stop_dt]
dffc['EFor'] = dffc['Power'] - dffc['Forecast']
dffc.ix[start_dt:stop_dt]
dffc = dffc.rename(columns={'Power':'PRef', 'Forecast':'PFor'})
dffc
dffc.ix[start_dt:stop_dt]
dfs = pandas.HDFStore('test.h5', 'w')
dfs.put('dffc', dffc)
dfs.close()
del(dffc)
dfs = pandas.HDFStore('test.h5', 'r')
dffc
dffc = dfs['dffc']
dffc
dffc.ix[start_dt:stop_dt]
==> here is the output:
In [49]: dffc.ix[start_dt:stop_dt]
Out[49]:
<class 'pandas.core.frame.DataFrame'>
DateRange: 961 entries, 2010-01-01 00:00:00 to 2010-01-11 00:00:00
offset: <900 Seconds>
Data columns:
Counter 961 non-null values
Forecast 961 non-null values
Imbalance 961 non-null values
NegImbPrice 961 non-null values
PosImbPrice 961 non-null values
Power 961 non-null values
Price 961 non-null values
dtypes: float64(6), object(1)
In [50]: dffc.drop(['Counter'], axis=1)
Out[50]:
<class 'pandas.core.frame.DataFrame'>
DateRange: 35040 entries, 2010-01-01 00:00:00 to 2010-12-31 23:45:00
offset: <900 Seconds>
Data columns:
Forecast 35040 non-null values
Imbalance 35040 non-null values
NegImbPrice 35040 non-null values
PosImbPrice 35040 non-null values
Power 35040 non-null values
Price 35040 non-null values
dtypes: float64(6)
In [51]: dffc=dffc.drop(['Counter'], axis=1)
In [52]: dffc.ix[start_dt:stop_dt]
Out[52]:
<class 'pandas.core.frame.DataFrame'>
DateRange: 961 entries, 2010-01-01 00:00:00 to 2010-01-11 00:00:00
offset: <900 Seconds>
Data columns:
Forecast 961 non-null values
Imbalance 961 non-null values
NegImbPrice 961 non-null values
PosImbPrice 961 non-null values
Power 961 non-null values
Price 961 non-null values
dtypes: float64(6)
In [53]: dffc['EFor'] = dffc['Power'] - dffc['Forecast']
In [54]: dffc.ix[start_dt:stop_dt]
Out[54]:
<class 'pandas.core.frame.DataFrame'>
DateRange: 961 entries, 2010-01-01 00:00:00 to 2010-01-11 00:00:00
offset: <900 Seconds>
Data columns:
Forecast 961 non-null values
Imbalance 961 non-null values
NegImbPrice 961 non-null values
PosImbPrice 961 non-null values
Power 961 non-null values
Price 961 non-null values
EFor 961 non-null values
dtypes: float64(7)
In [55]: dffc = dffc.rename(columns={'Power':'PRef', 'Forecast':'PFor'})
In [56]: dffc
Out[56]:
<class 'pandas.core.frame.DataFrame'>
DateRange: 35040 entries, 2010-01-01 00:00:00 to 2010-12-31 23:45:00
offset: <900 Seconds>
Data columns:
PFor 35040 non-null values
Imbalance 35040 non-null values
NegImbPrice 35040 non-null values
PosImbPrice 35040 non-null values
PRef 35040 non-null values
Price 35040 non-null values
EFor 35040 non-null values
dtypes: float64(7)
In [57]: dffc.ix[start_dt:stop_dt]
Out[57]:
<class 'pandas.core.frame.DataFrame'>
DateRange: 961 entries, 2010-01-01 00:00:00 to 2010-01-11 00:00:00
offset: <900 Seconds>
Data columns:
PFor 961 non-null values
Imbalance 961 non-null values
NegImbPrice 961 non-null values
PosImbPrice 961 non-null values
PRef 961 non-null values
Price 961 non-null values
EFor 961 non-null values
dtypes: float64(7)
In [58]: dfs = pandas.HDFStore('test.h5', 'w')
In [59]: dfs.put('dffc', dffc)
In [60]: dfs.close()
In [61]: del(dffc)
In [62]: dfs = pandas.HDFStore('test.h5', 'r')
## In [63]: dffc
Traceback (most recent call last):
File "<ipython console>", line 1, in <module>
NameError: name 'dffc' is not defined
In [64]: dffc = dfs['dffc']
In [65]: dffc
Out[65]:
<class 'pandas.core.frame.DataFrame'>
Index: 35040 entries, 2010-01-01 00:00:00 to 2010-12-31 23:45:00
Data columns:
PFor 35040 non-null values
Imbalance 35040 non-null values
NegImbPrice 35040 non-null values
PosImbPrice 35040 non-null values
PRef 35040 non-null values
Price 35040 non-null values
EFor 35040 non-null values
dtypes: float64(7)
## In [66]: dffc.ix[start_dt:stop_dt]
Traceback (most recent call last):
File "<ipython console>", line 1, in <module>
File "C:\Python27\lib\site-packages\pandas-0.7.1-py2.7-win32.egg\pandas\core\indexing.py", line 35, in **getitem**
return self._getitem_axis(key, axis=0)
File "C:\Python27\lib\site-packages\pandas-0.7.1-py2.7-win32.egg\pandas\core\indexing.py", line 167, in _getitem_axis
return self._get_slice_axis(key, axis=axis)
File "C:\Python27\lib\site-packages\pandas-0.7.1-py2.7-win32.egg\pandas\core\indexing.py", line 345, in _get_slice_axis
i, j = labels.slice_locs(start, stop)
File "C:\Python27\lib\site-packages\pandas-0.7.1-py2.7-win32.egg\pandas\core\index.py", line 819, in slice_locs
beg_slice = self.get_loc(start)
File "C:\Python27\lib\site-packages\pandas-0.7.1-py2.7-win32.egg\pandas\core\index.py", line 499, in get_loc
return self._engine.get_loc(key)
File "engines.pyx", line 101, in pandas._engines.DictIndexEngine.get_loc (pandas\src\engines.c:2498)
File "engines.pyx", line 107, in pandas._engines.DictIndexEngine.get_loc (pandas\src\engines.c:2447)
Exception: Index values are not unique
How can I avoid this problem?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/973/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/973/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/974 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/974/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/974/comments | https://api.github.com/repos/pandas-dev/pandas/issues/974/events | https://github.com/pandas-dev/pandas/pull/974 | 3,832,869 | MDExOlB1bGxSZXF1ZXN0MTA1NjkwNQ== | 974 | ENH: assure elements of list are of base dict class while converting list of dicts to a DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/39889?v=4",
"events_url": "https://api.github.com/users/yarikoptic/events{/privacy}",
"followers_url": "https://api.github.com/users/yarikoptic/followers",
"following_url": "https://api.github.com/users/yarikoptic/following{/other_user}",
"gists_url": "https://api.github.com/users/yarikoptic/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yarikoptic",
"id": 39889,
"login": "yarikoptic",
"node_id": "MDQ6VXNlcjM5ODg5",
"organizations_url": "https://api.github.com/users/yarikoptic/orgs",
"received_events_url": "https://api.github.com/users/yarikoptic/received_events",
"repos_url": "https://api.github.com/users/yarikoptic/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yarikoptic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yarikoptic/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yarikoptic"
} | [] | closed | false | null | [] | null | 1 | "2012-03-27T18:16:31Z" | "2014-07-16T08:04:49Z" | "2012-04-02T18:57:38Z" | CONTRIBUTOR | null | There might be a better and more generic solution for this -- I just didn't know it and didn't want just to file yet another bug report ;)
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/974/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/974/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/974.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/974",
"merged_at": "2012-04-02T18:57:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/974.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/974"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/975 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/975/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/975/comments | https://api.github.com/repos/pandas-dev/pandas/issues/975/events | https://github.com/pandas-dev/pandas/pull/975 | 3,841,289 | MDExOlB1bGxSZXF1ZXN0MTA1ODcyOQ== | 975 | BUG: Don't mutate DataFrame.from_records columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/58618?v=4",
"events_url": "https://api.github.com/users/kisielk/events{/privacy}",
"followers_url": "https://api.github.com/users/kisielk/followers",
"following_url": "https://api.github.com/users/kisielk/following{/other_user}",
"gists_url": "https://api.github.com/users/kisielk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kisielk",
"id": 58618,
"login": "kisielk",
"node_id": "MDQ6VXNlcjU4NjE4",
"organizations_url": "https://api.github.com/users/kisielk/orgs",
"received_events_url": "https://api.github.com/users/kisielk/received_events",
"repos_url": "https://api.github.com/users/kisielk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kisielk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kisielk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kisielk"
} | [] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 1 | "2012-03-27T22:13:16Z" | "2014-06-25T23:44:11Z" | "2012-04-02T03:53:13Z" | CONTRIBUTOR | null | This also lets you use non-list types for the 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/975/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/975/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/975.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/975",
"merged_at": "2012-04-02T03:53:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/975.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/975"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/976 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/976/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/976/comments | https://api.github.com/repos/pandas-dev/pandas/issues/976/events | https://github.com/pandas-dev/pandas/issues/976 | 3,854,137 | MDU6SXNzdWUzODU0MTM3 | 976 | Add support for openpyxl date/number formatting | {
"avatar_url": "https://avatars.githubusercontent.com/u/1193802?v=4",
"events_url": "https://api.github.com/users/jcreixell/events{/privacy}",
"followers_url": "https://api.github.com/users/jcreixell/followers",
"following_url": "https://api.github.com/users/jcreixell/following{/other_user}",
"gists_url": "https://api.github.com/users/jcreixell/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jcreixell",
"id": 1193802,
"login": "jcreixell",
"node_id": "MDQ6VXNlcjExOTM4MDI=",
"organizations_url": "https://api.github.com/users/jcreixell/orgs",
"received_events_url": "https://api.github.com/users/jcreixell/received_events",
"repos_url": "https://api.github.com/users/jcreixell/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jcreixell/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jcreixell/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jcreixell"
} | [
{
"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": "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"
} | 1 | "2012-03-28T14:49:20Z" | "2014-01-26T23:49:43Z" | "2014-01-26T23:49:43Z" | NONE | null | Would be nice to have the possibility to specify the date/number formatting when exporting to excel files, basically for internationalization pourposes (openpxl already incorporates it).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/976/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/976/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/977 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/977/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/977/comments | https://api.github.com/repos/pandas-dev/pandas/issues/977/events | https://github.com/pandas-dev/pandas/issues/977 | 3,866,917 | MDU6SXNzdWUzODY2OTE3 | 977 | Improve Series.apply docstring re: elementwise application | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 0 | "2012-03-28T22:31:18Z" | "2012-04-02T03:48:51Z" | "2012-04-02T03:48:49Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/977/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/977/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/978 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/978/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/978/comments | https://api.github.com/repos/pandas-dev/pandas/issues/978/events | https://github.com/pandas-dev/pandas/issues/978 | 3,867,069 | MDU6SXNzdWUzODY3MDY5 | 978 | Implement optimized method to select subsets or rows of a DataFrame from groups by rank (-1 -> last) or order statistics | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "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": "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": 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"
} | 2 | "2012-03-28T22:42:09Z" | "2018-12-10T13:18:23Z" | "2018-12-10T13:18:22Z" | MEMBER | null | Motivated by: http://stackoverflow.com/questions/9850954/pandas-get-most-recent-value-of-a-particular-column-indexed-by-another-column
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/978/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/978/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/979 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/979/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/979/comments | https://api.github.com/repos/pandas-dev/pandas/issues/979/events | https://github.com/pandas-dev/pandas/issues/979 | 3,869,463 | MDU6SXNzdWUzODY5NDYz | 979 | Improve Panel slicing speed | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 1 | "2012-03-29T03:21:03Z" | "2012-07-13T02:13:51Z" | "2012-07-13T02:13:51Z" | MEMBER | null | from mailing list:
```
To follow up:
I used timeit.Timer() to time this two different ways:
a) return a slice of a Panel using panel.ix[foo, bar, qux] (where foo,
bar, and qux are arrays)
b) i) iterate through the items of the panel that are in foo
ii) do a slice on each DataFrame with data.ix[bar, qux]
iii) save the slice
iv) reassemble the slices into a new, smaller Panel
v) return the new Panel
For the data I was using (10 items x 768432 major x 9 minor), the
results I got were:
t = timeit.Timer(a, setup=setup)
print min(t.repeat(repeat=3, number=10))
2.52914
t = timeit.Timer(b, setup=setup)
print min(t.repeat(repeat=3, number=10))
0.54757
This seems odd to me. Approach b is not only faster than a, but almost
5-fold faster. It appears that Panel.ix[foo, bar, qux] is doing
something even slower than the dumb approach embodied in B - either
that or I'm doing something horribly wrong! :-)
Iain
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/979/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/979/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/980 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/980/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/980/comments | https://api.github.com/repos/pandas-dev/pandas/issues/980/events | https://github.com/pandas-dev/pandas/issues/980 | 3,884,847 | MDU6SXNzdWUzODg0ODQ3 | 980 | DataFrame.append can lose index name | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 0 | "2012-03-29T17:58:19Z" | "2012-04-02T03:46:58Z" | "2012-04-02T03:46:58Z" | MEMBER | null | from mailing list
```
import pandas
import numpy as np
import pandas
print pandas.__version__
0.7.2.dev-12d511f
df1 = pandas.DataFrame(data=None, columns=['A','B','C'])
df1 = df1.set_index(['A'])
df2 = pandas.DataFrame(data=[[1,4,7],[2,5,8],[3,6,9]],
columns=['A','B','C'])
df2 = df2.set_index(['A'])
print df1.append(df2).index.names
[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/980/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/980/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/981 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/981/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/981/comments | https://api.github.com/repos/pandas-dev/pandas/issues/981/events | https://github.com/pandas-dev/pandas/issues/981 | 3,895,839 | MDU6SXNzdWUzODk1ODM5 | 981 | Doesn't build on windows | {
"avatar_url": "https://avatars.githubusercontent.com/u/142475?v=4",
"events_url": "https://api.github.com/users/bjourne/events{/privacy}",
"followers_url": "https://api.github.com/users/bjourne/followers",
"following_url": "https://api.github.com/users/bjourne/following{/other_user}",
"gists_url": "https://api.github.com/users/bjourne/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bjourne",
"id": 142475,
"login": "bjourne",
"node_id": "MDQ6VXNlcjE0MjQ3NQ==",
"organizations_url": "https://api.github.com/users/bjourne/orgs",
"received_events_url": "https://api.github.com/users/bjourne/received_events",
"repos_url": "https://api.github.com/users/bjourne/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bjourne/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bjourne/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bjourne"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | null | 9 | "2012-03-30T10:57:05Z" | "2021-03-26T02:10:24Z" | "2012-09-18T00:25:44Z" | NONE | null | pandas cannot be installed on Windows, neither with pip or easy_install:
```
$ pip install pandas
...
...
running build_ext
building 'pandas._tseries' extension
creating build\temp.win-amd64-2.7
creating build\temp.win-amd64-2.7\Release
creating build\temp.win-amd64-2.7\Release\pandas
creating build\temp.win-amd64-2.7\Release\pandas\src
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python27\lib\site-packages\numpy\core\include -IC:\Python27\include -IC:\Python27\PC /Tcpandas\src\tseries.c /Fobuild\temp.win-amd64-2.7\Release\pandas\src\tseries.obj
tseries.c
c:\python27\include\pyconfig.h(68) : fatal error C1083: Cannot open include file: 'io.h': No such file or directory
error: command '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' failed with exit status 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/981/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/981/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/982 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/982/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/982/comments | https://api.github.com/repos/pandas-dev/pandas/issues/982/events | https://github.com/pandas-dev/pandas/issues/982 | 3,896,653 | MDU6SXNzdWUzODk2NjUz | 982 | Boolean operations on Series (object dtype) with NaNs retain NaNs: breaks boolean indexing | {
"avatar_url": "https://avatars.githubusercontent.com/u/25192?v=4",
"events_url": "https://api.github.com/users/lbeltrame/events{/privacy}",
"followers_url": "https://api.github.com/users/lbeltrame/followers",
"following_url": "https://api.github.com/users/lbeltrame/following{/other_user}",
"gists_url": "https://api.github.com/users/lbeltrame/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lbeltrame",
"id": 25192,
"login": "lbeltrame",
"node_id": "MDQ6VXNlcjI1MTky",
"organizations_url": "https://api.github.com/users/lbeltrame/orgs",
"received_events_url": "https://api.github.com/users/lbeltrame/received_events",
"repos_url": "https://api.github.com/users/lbeltrame/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lbeltrame/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lbeltrame/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lbeltrame"
} | [
{
"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": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 4 | "2012-03-30T12:10:59Z" | "2012-04-09T20:04:35Z" | "2012-04-09T20:04:35Z" | CONTRIBUTOR | null | Case in point:
``` python
In [14]: example = pandas.Series(["Activated", "Inhibited", np.nan], dtype="object")
In [15]: example == "Inhibited"
Out[15]:
0 False
1 True
2 NaN
```
This breaks boolean indexing:
``` python
example[example == "Inihibted"]
/usr/lib64/python2.7/site-packages/pandas/core/series.pyc in __getitem__(self, key)
392 # special handling of boolean data with NAs stored in object
393 # arrays. Since we can't represent NA with dtype=bool
--> 394 if _is_bool_indexer(key):
395 key = self._check_bool_indexer(key)
396 key = np.asarray(key, dtype=bool)
/usr/lib64/python2.7/site-packages/pandas/core/common.pyc in _is_bool_indexer(key)
321 if not lib.is_bool_array(key):
322 if isnull(key).any():
--> 323 raise ValueError('cannot index with vector containing '
324 'NA / NaN values')
325 return False
ValueError: cannot index with vector containing NA / NaN value
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/982/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/982/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/983 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/983/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/983/comments | https://api.github.com/repos/pandas-dev/pandas/issues/983/events | https://github.com/pandas-dev/pandas/issues/983 | 3,898,885 | MDU6SXNzdWUzODk4ODg1 | 983 | Series name information is lost when doing DataFrame.apply() | {
"avatar_url": "https://avatars.githubusercontent.com/u/25192?v=4",
"events_url": "https://api.github.com/users/lbeltrame/events{/privacy}",
"followers_url": "https://api.github.com/users/lbeltrame/followers",
"following_url": "https://api.github.com/users/lbeltrame/following{/other_user}",
"gists_url": "https://api.github.com/users/lbeltrame/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lbeltrame",
"id": 25192,
"login": "lbeltrame",
"node_id": "MDQ6VXNlcjI1MTky",
"organizations_url": "https://api.github.com/users/lbeltrame/orgs",
"received_events_url": "https://api.github.com/users/lbeltrame/received_events",
"repos_url": "https://api.github.com/users/lbeltrame/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lbeltrame/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lbeltrame/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lbeltrame"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 6 | "2012-03-30T14:40:52Z" | "2012-04-11T09:54:09Z" | "2012-04-10T17:28:45Z" | CONTRIBUTOR | null | On both axes, the generated Series on which the function has to work lack the "name" attribute (either the row name or th column name).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/983/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/983/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/984 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/984/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/984/comments | https://api.github.com/repos/pandas-dev/pandas/issues/984/events | https://github.com/pandas-dev/pandas/issues/984 | 3,913,131 | MDU6SXNzdWUzOTEzMTMx | 984 | Add Gaussian KDE option to Series/DataFrame plot methods | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 2 | "2012-03-31T21:42:36Z" | "2012-07-13T00:44:42Z" | "2012-07-13T00:44:42Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/984/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/984/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/985 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/985/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/985/comments | https://api.github.com/repos/pandas-dev/pandas/issues/985/events | https://github.com/pandas-dev/pandas/issues/985 | 3,919,172 | MDU6SXNzdWUzOTE5MTcy | 985 | Return Boxplot Instance | {
"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": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 6 | "2012-04-01T21:41:08Z" | "2014-05-10T23:44:48Z" | "2012-04-02T03:23:34Z" | CONTRIBUTOR | null | I saw that @wesm was doing a bit of a plotting refactor. One thing that might be nice is to optionally return the Boxplot dict from matplotlib for df.boxplot. It makes it easier to do ex post styling. See: http://matplotlib.sourceforge.net/examples/pylab_examples/boxplot_demo2.html
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/985/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/985/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/986 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/986/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/986/comments | https://api.github.com/repos/pandas-dev/pandas/issues/986/events | https://github.com/pandas-dev/pandas/issues/986 | 3,919,437 | MDU6SXNzdWUzOTE5NDM3 | 986 | Provide black & white plotting mode (for non-color print) | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 3 | "2012-04-01T22:31:41Z" | "2013-09-20T17:13:16Z" | "2013-09-20T17:13:16Z" | MEMBER | null | Would be useful to me in my book writing, might get around to doing it
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/986/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/986/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/987 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/987/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/987/comments | https://api.github.com/repos/pandas-dev/pandas/issues/987/events | https://github.com/pandas-dev/pandas/issues/987 | 3,920,815 | MDU6SXNzdWUzOTIwODE1 | 987 | Implement stacked bar plot | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 1 | "2012-04-02T03:16:30Z" | "2012-04-13T07:39:01Z" | "2012-04-02T03:18:22Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/987/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/987/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/988 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/988/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/988/comments | https://api.github.com/repos/pandas-dev/pandas/issues/988/events | https://github.com/pandas-dev/pandas/issues/988 | 3,926,592 | MDU6SXNzdWUzOTI2NTky | 988 | NaN equality issue in Series | {
"avatar_url": "https://avatars.githubusercontent.com/u/797170?v=4",
"events_url": "https://api.github.com/users/mcobzarenco/events{/privacy}",
"followers_url": "https://api.github.com/users/mcobzarenco/followers",
"following_url": "https://api.github.com/users/mcobzarenco/following{/other_user}",
"gists_url": "https://api.github.com/users/mcobzarenco/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mcobzarenco",
"id": 797170,
"login": "mcobzarenco",
"node_id": "MDQ6VXNlcjc5NzE3MA==",
"organizations_url": "https://api.github.com/users/mcobzarenco/orgs",
"received_events_url": "https://api.github.com/users/mcobzarenco/received_events",
"repos_url": "https://api.github.com/users/mcobzarenco/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mcobzarenco/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mcobzarenco/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mcobzarenco"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"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": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 1 | "2012-04-02T13:46:19Z" | "2012-04-10T04:48:35Z" | "2012-04-10T04:48:34Z" | NONE | null | Hi Wes,
Just a quick question on NaN equality, I haven't specifically looked it up, but upgrading to 0.7.2 broke my code and it seems it's down to how testing for equality with NaN behaves:
```
a = pandas.Series(['abc', nan])
```
a == 'cba' outputs:
```
0 False
1 NaN
```
rather than all False. This seems to most definitely be a bug. Especially as
pandas.DataFrame(['abc', nan]) == 'cba' outputs the correct version:
```
0
0 False
1 False
```
Many thanks,
Marius
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/988/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/988/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/989 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/989/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/989/comments | https://api.github.com/repos/pandas-dev/pandas/issues/989/events | https://github.com/pandas-dev/pandas/issues/989 | 3,944,350 | MDU6SXNzdWUzOTQ0MzUw | 989 | Slicing a Series returns an Array and fails | {
"avatar_url": "https://avatars.githubusercontent.com/u/296164?v=4",
"events_url": "https://api.github.com/users/jseabold/events{/privacy}",
"followers_url": "https://api.github.com/users/jseabold/followers",
"following_url": "https://api.github.com/users/jseabold/following{/other_user}",
"gists_url": "https://api.github.com/users/jseabold/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jseabold",
"id": 296164,
"login": "jseabold",
"node_id": "MDQ6VXNlcjI5NjE2NA==",
"organizations_url": "https://api.github.com/users/jseabold/orgs",
"received_events_url": "https://api.github.com/users/jseabold/received_events",
"repos_url": "https://api.github.com/users/jseabold/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jseabold/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jseabold/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jseabold"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 4 | "2012-04-03T13:08:29Z" | "2012-04-09T15:12:20Z" | "2012-04-09T15:11:55Z" | CONTRIBUTOR | null | From pystatsmodels ML "[pandas] slicing a series returns an array?"
Got it. It only happens if the series is longer than 200
``` python
x = pandas.Series(np.random.random(201), name='x')
x.reshape((-1,1))
<snip>
```
This is part of what I was talking about that Series aren't quite
array-like. Something like this
np.dot(x, np.random.random((1,10))
doesn't work, and I can't coerce x to be 2d. However, if X is less
than length 201, I sure can coerce it to be 2d, which is why I
couldn't reproduce
``` python
x = pandas.Series(np.random.random(199), name='x')
x = x.reshape((-1,1))
```
But I still can't dot
``` python
np.dot(x,np.random.random((1,10)))
<snip>
ValueError: The truth value of an array with more than one element is
ambiguous. Use a.any() or a.all()
```
I realize that trying to 'dot' might not make sense with a Series or
there's no intuitive interpretation to the output in terms of the
Series that I can think of offhand. Just an example of the 1d vs 2d
issue. Mainly, I guess I'd expect a series to be able to pass through
an atleast_2d check.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/989/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/989/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/990 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/990/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/990/comments | https://api.github.com/repos/pandas-dev/pandas/issues/990/events | https://github.com/pandas-dev/pandas/pull/990 | 3,957,762 | MDExOlB1bGxSZXF1ZXN0MTEwMDE1Mw== | 990 | Timeseries | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [] | closed | false | null | [] | null | 0 | "2012-04-03T21:03:58Z" | "2014-07-05T14:11:50Z" | "2012-04-04T22:42:07Z" | CONTRIBUTOR | null | IntervalIndex constructor now allows you to omit freq argument if interval start/end is passed
Handle lower case time rules.
Parsing tuples e.g., ('Min', 5) as freq
Interval supports aliasing for frequency names
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/990/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/990/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/990.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/990",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/990.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/990"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/991 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/991/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/991/comments | https://api.github.com/repos/pandas-dev/pandas/issues/991/events | https://github.com/pandas-dev/pandas/issues/991 | 3,959,651 | MDU6SXNzdWUzOTU5NjUx | 991 | apply method of DataFrameGroupBy object returns surprising result | {
"avatar_url": "https://avatars.githubusercontent.com/u/1284886?v=4",
"events_url": "https://api.github.com/users/sadruddin/events{/privacy}",
"followers_url": "https://api.github.com/users/sadruddin/followers",
"following_url": "https://api.github.com/users/sadruddin/following{/other_user}",
"gists_url": "https://api.github.com/users/sadruddin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sadruddin",
"id": 1284886,
"login": "sadruddin",
"node_id": "MDQ6VXNlcjEyODQ4ODY=",
"organizations_url": "https://api.github.com/users/sadruddin/orgs",
"received_events_url": "https://api.github.com/users/sadruddin/received_events",
"repos_url": "https://api.github.com/users/sadruddin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sadruddin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sadruddin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sadruddin"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 1 | "2012-04-03T22:09:18Z" | "2012-04-07T21:20:32Z" | "2012-04-07T21:20:32Z" | NONE | null | In the example below, column "name" of groupby apply method has the same content as column "year". A similar column with a copy of the "name" values will remain untouched (as expected).
```
import pandas
import StringIO
csv = """"year","name","percent","sex"
1880,"John",0.081541,"boy"
1880,"William",0.080511,"boy"
1880,"James",0.050057,"boy"
1881,"Charles",0.045167,"boy"
1881,"George",0.043292,"boy"
"""
names = pandas.read_csv(StringIO.StringIO(csv))
names['name2'] = names['name']
grouped = names.groupby('year')
print 'Pandas version', pandas.__version__
print names
print grouped.apply(lambda x:x)
```
OUTPUT:
```
Pandas version 0.7.2
year name percent sex name2
0 1880 John 0.081541 boy John
1 1880 William 0.080511 boy William
2 1880 James 0.050057 boy James
3 1881 Charles 0.045167 boy Charles
4 1881 George 0.043292 boy George
year name percent sex name2
0 1880 1880 0.081541 boy John
1 1880 1880 0.080511 boy William
2 1880 1880 0.050057 boy James
3 1881 1881 0.045167 boy Charles
4 1881 1881 0.043292 boy George
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/991/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/991/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/992 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/992/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/992/comments | https://api.github.com/repos/pandas-dev/pandas/issues/992/events | https://github.com/pandas-dev/pandas/issues/992 | 3,972,468 | MDU6SXNzdWUzOTcyNDY4 | 992 | None not always considered missing | {
"avatar_url": "https://avatars.githubusercontent.com/u/156719?v=4",
"events_url": "https://api.github.com/users/nspies/events{/privacy}",
"followers_url": "https://api.github.com/users/nspies/followers",
"following_url": "https://api.github.com/users/nspies/following{/other_user}",
"gists_url": "https://api.github.com/users/nspies/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nspies",
"id": 156719,
"login": "nspies",
"node_id": "MDQ6VXNlcjE1NjcxOQ==",
"organizations_url": "https://api.github.com/users/nspies/orgs",
"received_events_url": "https://api.github.com/users/nspies/received_events",
"repos_url": "https://api.github.com/users/nspies/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nspies/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nspies/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nspies"
} | [
{
"color": "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": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 1 | "2012-04-04T15:18:13Z" | "2012-04-10T19:23:24Z" | "2012-04-10T19:23:24Z" | CONTRIBUTOR | null | I expected pandas to know that `None` should be ignored as a missing value in the following simple example:
```
import pandas
import numpy
# works fine
df = pandas.DataFrame({"col1":[2,5.0,123,numpy.nan], "col2":[1,2,3,4]})
print df.sub(3)
# fails -- tries to do the subtraction with None
df = pandas.DataFrame({"col1":[2,5.0,123,None], "col2":[1,2,3,4]})
print df.sub(3)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/992/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/992/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/993 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/993/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/993/comments | https://api.github.com/repos/pandas-dev/pandas/issues/993/events | https://github.com/pandas-dev/pandas/issues/993 | 3,979,886 | MDU6SXNzdWUzOTc5ODg2 | 993 | Test pad/backfill with limit in sparse data structures | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 1 | "2012-04-04T22:27:44Z" | "2016-10-12T23:02:53Z" | "2012-05-07T14:47:28Z" | MEMBER | null | re: #825
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/993/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/993/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/994 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/994/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/994/comments | https://api.github.com/repos/pandas-dev/pandas/issues/994/events | https://github.com/pandas-dev/pandas/issues/994 | 3,981,174 | MDU6SXNzdWUzOTgxMTc0 | 994 | Add easy order statistics to groupby (first, last, min, max, etc.) | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
}
] | {
"closed_at": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 4 | "2012-04-05T00:19:09Z" | "2012-05-12T18:31:23Z" | "2012-05-12T18:31:23Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/994/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/994/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/995 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/995/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/995/comments | https://api.github.com/repos/pandas-dev/pandas/issues/995/events | https://github.com/pandas-dev/pandas/issues/995 | 3,981,239 | MDU6SXNzdWUzOTgxMjM5 | 995 | Don't add nonsense 'result' name in groupby results with no obvious name | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 0 | "2012-04-05T00:24:46Z" | "2012-04-10T04:35:19Z" | "2012-04-10T04:35:19Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/995/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/995/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/996 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/996/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/996/comments | https://api.github.com/repos/pandas-dev/pandas/issues/996/events | https://github.com/pandas-dev/pandas/issues/996 | 3,981,325 | MDU6SXNzdWUzOTgxMzI1 | 996 | Testing / infrastructure to support datetime64 in Series, DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 1 | "2012-04-05T00:34:06Z" | "2012-04-22T02:19:59Z" | "2012-04-22T02:19:59Z" | MEMBER | null | right now:
```
In [7]: Series(date_range('1/1/2000', '12/30/2000 23:00:00', freq='BM'))
Out[7]:
0 2000-01-31 00:00:00
1 2000-02-29 00:00:00
2 2000-03-31 00:00:00
3 2000-04-28 00:00:00
4 2000-05-31 00:00:00
5 2000-06-30 00:00:00
6 2000-07-31 00:00:00
7 2000-08-31 00:00:00
8 2000-09-29 00:00:00
9 2000-10-31 00:00:00
10 2000-11-30 00:00:00
11 2000-12-29 00:00:00
In [8]: Series(date_range('1/1/2000', '12/30/2000 23:00:00', freq='BM')).dtype
Out[8]: dtype('datetime64[us]')
In [9]: Series(date_range('1/1/2000', '12/30/2000 23:00:00', freq='BM')).reindex(range(20)
...: )
Out[9]:
0 9.492768e+14
1 9.517824e+14
2 9.544608e+14
3 9.568800e+14
4 9.597312e+14
5 9.623232e+14
6 9.650016e+14
7 9.676800e+14
8 9.701856e+14
9 9.729504e+14
10 9.755424e+14
11 9.780480e+14
12 NaN
13 NaN
14 NaN
15 NaN
16 NaN
17 NaN
18 NaN
19 NaN
```
similarly:
```
In [11]: DataFrame({'A' : rng})
Out[11]:
A
0 949276800000000
1 951782400000000
2 954460800000000
3 956880000000000
4 959731200000000
5 962323200000000
6 965001600000000
7 967680000000000
8 970185600000000
9 972950400000000
10 975542400000000
11 978048000000000
In [12]: DataFrame({'A' : rng}).dtypes
Out[12]: A int64
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/996/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/996/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/997 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/997/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/997/comments | https://api.github.com/repos/pandas-dev/pandas/issues/997/events | https://github.com/pandas-dev/pandas/issues/997 | 3,981,632 | MDU6SXNzdWUzOTgxNjMy | 997 | New time rules for intraday data | {
"avatar_url": "https://avatars.githubusercontent.com/u/133543?v=4",
"events_url": "https://api.github.com/users/smc77/events{/privacy}",
"followers_url": "https://api.github.com/users/smc77/followers",
"following_url": "https://api.github.com/users/smc77/following{/other_user}",
"gists_url": "https://api.github.com/users/smc77/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/smc77",
"id": 133543,
"login": "smc77",
"node_id": "MDQ6VXNlcjEzMzU0Mw==",
"organizations_url": "https://api.github.com/users/smc77/orgs",
"received_events_url": "https://api.github.com/users/smc77/received_events",
"repos_url": "https://api.github.com/users/smc77/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/smc77/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/smc77/subscriptions",
"type": "User",
"url": "https://api.github.com/users/smc77"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 5 | "2012-04-05T01:12:41Z" | "2012-04-13T01:36:14Z" | "2012-04-13T01:36:14Z" | CONTRIBUTOR | null | It would be really nice to have time rules that can handle intraday data (http://pandas.sourceforge.net/timeseries.html#time-rules). This is slightly complicated, because you want it to be flexible enough to handle both raw tick data (which might be stamped to the millisecond or lower) and sampled times (e.g. 1-minute to 1-hour).
At a minimum, I would suggesting having N@SECONDS, where N can be any number of specified seconds. Another thing to consider is having a start time parameter for the sampling (e.g. every 60 seconds starting at 0:00, so that it doesn't simply anchor to the first observation).
Another really useful intraday time rule would take a list of times (with time zones) and return sampled data at those times (e.g. market open and close, or specific news announcement times).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/997/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/997/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/998 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/998/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/998/comments | https://api.github.com/repos/pandas-dev/pandas/issues/998/events | https://github.com/pandas-dev/pandas/issues/998 | 3,982,317 | MDU6SXNzdWUzOTgyMzE3 | 998 | Add frequency inference to DatetimeIndex set ops to preserve frequency where possible | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 2 | "2012-04-05T02:45:11Z" | "2012-04-27T01:36:26Z" | "2012-04-27T01:36:26Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/998/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/998/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/999 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/999/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/999/comments | https://api.github.com/repos/pandas-dev/pandas/issues/999/events | https://github.com/pandas-dev/pandas/issues/999 | 3,982,934 | MDU6SXNzdWUzOTgyOTM0 | 999 | Function to convert array of datetime w/ NaN to datetime64 w/ NaT | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 1 | "2012-04-05T04:27:22Z" | "2012-04-13T00:20:45Z" | "2012-04-13T00:20:45Z" | MEMBER | null | May have to wait for NumPy 1.7?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/999/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/999/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1000 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1000/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1000/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1000/events | https://github.com/pandas-dev/pandas/issues/1000 | 3,993,239 | MDU6SXNzdWUzOTkzMjM5 | 1,000 | col_space parameter in to_html and to_string for dataframe | {
"avatar_url": "https://avatars.githubusercontent.com/u/1423915?v=4",
"events_url": "https://api.github.com/users/tejrai/events{/privacy}",
"followers_url": "https://api.github.com/users/tejrai/followers",
"following_url": "https://api.github.com/users/tejrai/following{/other_user}",
"gists_url": "https://api.github.com/users/tejrai/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tejrai",
"id": 1423915,
"login": "tejrai",
"node_id": "MDQ6VXNlcjE0MjM5MTU=",
"organizations_url": "https://api.github.com/users/tejrai/orgs",
"received_events_url": "https://api.github.com/users/tejrai/received_events",
"repos_url": "https://api.github.com/users/tejrai/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tejrai/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tejrai/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tejrai"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 2 | "2012-04-05T18:32:58Z" | "2019-10-09T07:01:35Z" | "2012-11-29T20:32:13Z" | NONE | null | The col_space parameter in the to_html and to_string functions for dataframe doesn't seem to affect the output. Here's an example using to_html(). Note that the HTML code is identical across the two function calls.
Thanks,
Tej
output.to_html()
<table border="1">
<thead>
<tr>
<th></th>
<th>nearby = 1 </th>
<th>nearby = 2 </th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>CM_CL</strong></td>
<td> K2</td>
<td> M2</td>
</tr>
<tr>
<td><strong>FI_TY</strong></td>
<td> M2</td>
<td> NaN</td>
</tr>
</tbody>
</table>
output.to_html(col_space = 2000)
<table border="1">
<thead>
<tr>
<th></th>
<th>nearby = 1 </th>
<th>nearby = 2 </th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>CM_CL</strong></td>
<td> K2</td>
<td> M2</td>
</tr>
<tr>
<td><strong>FI_TY</strong></td>
<td> M2</td>
<td> NaN</td>
</tr>
</tbody>
</table>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1000/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1000/timeline | null | null | null |
Subsets and Splits