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/3501
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3501/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3501/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3501/events
https://github.com/pandas-dev/pandas/issues/3501
13,848,974
MDU6SXNzdWUxMzg0ODk3NA==
3,501
BUG: read_csv does not parse csv files with windows line terminator correctly
{ "avatar_url": "https://avatars.githubusercontent.com/u/51250?v=4", "events_url": "https://api.github.com/users/bmacauley/events{/privacy}", "followers_url": "https://api.github.com/users/bmacauley/followers", "following_url": "https://api.github.com/users/bmacauley/following{/other_user}", "gists_url": "https://api.github.com/users/bmacauley/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bmacauley", "id": 51250, "login": "bmacauley", "node_id": "MDQ6VXNlcjUxMjUw", "organizations_url": "https://api.github.com/users/bmacauley/orgs", "received_events_url": "https://api.github.com/users/bmacauley/received_events", "repos_url": "https://api.github.com/users/bmacauley/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bmacauley/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bmacauley/subscriptions", "type": "User", "url": "https://api.github.com/users/bmacauley" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
13
"2013-05-01T13:54:42Z"
"2021-03-10T17:44:52Z"
"2013-09-20T23:43:00Z"
NONE
null
I am using pandas 0.11.in python 2.7.3 When I read csv data with a windows line terminator (\r\n), pandas creates extra rows in the dataframe ie it does not recognise the line terminator..i test1.csv Id,Description,Field1,Field2^M 1,"test data 1 ^M\n",2,3^M 2,"test data 2 ^M\n",3,4^M In [80]: in_csv = 'test1.csv' In [81]: cols = ['Id', 'Description', 'Field1', 'Field2'] In [82]: reader = pd.read_csv(in_csv, usecols=cols, dtype=object) In [83]: print reader Id Description Field1 Field2 0 \r NaN NaN NaN 1 1 test data 1 \r\n 2 3 2 \r NaN NaN NaN 3 2 test data 2 \r\n 3 4 4 \r NaN NaN NaN In [86]: reader.to_csv(out_csv, index=False, encoding='utf-8') Id,Description,Field1,Field2 ^M,,, 1,test data 1 ^M\n,2,3 ^M,,, 2,test data 2 ^M\n,3,4 ^M,,, I cannot use... lineterminator : string (length 1), default None reader = pd.read_csv(in_csv, usecols=cols, dtype=object, lineterminator='\r\n') ValueError: Only length-1 line terminators supported
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3501/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3501/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3502
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3502/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3502/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3502/events
https://github.com/pandas-dev/pandas/pull/3502
13,849,393
MDExOlB1bGxSZXF1ZXN0NTQ3MDgwMQ==
3,502
BUG: GH3480 Fix regression in a DataFrame apply with axis=1
{ "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
"2013-05-01T14:06:46Z"
"2014-06-16T21:06:53Z"
"2013-05-01T14:26:50Z"
CONTRIBUTOR
null
objects were not being converted back to base dtypes correctly closes #3480
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3502/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3502/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3502.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3502", "merged_at": "2013-05-01T14:26:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3502.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3502" }
https://api.github.com/repos/pandas-dev/pandas/issues/3503
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3503/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3503/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3503/events
https://github.com/pandas-dev/pandas/issues/3503
13,849,483
MDU6SXNzdWUxMzg0OTQ4Mw==
3,503
to_csv does not quote fields with special characters
{ "avatar_url": "https://avatars.githubusercontent.com/u/51250?v=4", "events_url": "https://api.github.com/users/bmacauley/events{/privacy}", "followers_url": "https://api.github.com/users/bmacauley/followers", "following_url": "https://api.github.com/users/bmacauley/following{/other_user}", "gists_url": "https://api.github.com/users/bmacauley/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bmacauley", "id": 51250, "login": "bmacauley", "node_id": "MDQ6VXNlcjUxMjUw", "organizations_url": "https://api.github.com/users/bmacauley/orgs", "received_events_url": "https://api.github.com/users/bmacauley/received_events", "repos_url": "https://api.github.com/users/bmacauley/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bmacauley/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bmacauley/subscriptions", "type": "User", "url": "https://api.github.com/users/bmacauley" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
4
"2013-05-01T14:09:44Z"
"2013-09-22T16:15:26Z"
"2013-09-22T16:15:26Z"
NONE
null
I am using pandas 0.11.in python 2.7.3 I am processing csv data with windows line terminators in some of the field data. The input data is properly quoted(with QUOTE_MINIMAL ) when writing the data using to_csv, pandas does not quote the fields with windows line terminators ie not using QUOTE_MINIMAL ? test3.csv Id,Description,Field1,Field2 1,"test data 1 ^M\n",2,3 2,"test data 2 ^M\n",3,4 ``` In [93]: in_csv = 'test3.csv' In [94]: cols = ['Id', 'Description', 'Field1', 'Field2'] In [95]: reader = pd.read_csv(in_csv, usecols=cols, dtype=object) In [96]: print reader Id Description Field1 Field2 0 1 test data 1 \r\n 2 3 1 2 test data 2 \r\n 3 4 In [97]: reader.to_csv(out_csv, index=False, encoding='utf-8') Id,Description,Field1,Field2 1,test data 1 ^M\n,2,3 2,test data 2 ^M\n,3,4 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3503/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3503/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3504
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3504/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3504/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3504/events
https://github.com/pandas-dev/pandas/pull/3504
13,857,672
MDExOlB1bGxSZXF1ZXN0NTQ3NTA4NA==
3,504
ENH: Support reading from S3
{ "avatar_url": "https://avatars.githubusercontent.com/u/223796?v=4", "events_url": "https://api.github.com/users/pjob/events{/privacy}", "followers_url": "https://api.github.com/users/pjob/followers", "following_url": "https://api.github.com/users/pjob/following{/other_user}", "gists_url": "https://api.github.com/users/pjob/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pjob", "id": 223796, "login": "pjob", "node_id": "MDQ6VXNlcjIyMzc5Ng==", "organizations_url": "https://api.github.com/users/pjob/orgs", "received_events_url": "https://api.github.com/users/pjob/received_events", "repos_url": "https://api.github.com/users/pjob/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pjob/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pjob/subscriptions", "type": "User", "url": "https://api.github.com/users/pjob" }
[]
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" }
8
"2013-05-01T17:43:15Z"
"2014-06-17T08:29:03Z"
"2013-05-10T14:33:46Z"
NONE
null
Tests not written. Will need a way to mock boto.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3504/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3504/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3504.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3504", "merged_at": "2013-05-10T14:33:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3504.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3504" }
https://api.github.com/repos/pandas-dev/pandas/issues/3505
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3505/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3505/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3505/events
https://github.com/pandas-dev/pandas/issues/3505
13,859,869
MDU6SXNzdWUxMzg1OTg2OQ==
3,505
multiple filters/segments for google analytics integrations
{ "avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4", "events_url": "https://api.github.com/users/changhiskhan/events{/privacy}", "followers_url": "https://api.github.com/users/changhiskhan/followers", "following_url": "https://api.github.com/users/changhiskhan/following{/other_user}", "gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/changhiskhan", "id": 759245, "login": "changhiskhan", "node_id": "MDQ6VXNlcjc1OTI0NQ==", "organizations_url": "https://api.github.com/users/changhiskhan/orgs", "received_events_url": "https://api.github.com/users/changhiskhan/received_events", "repos_url": "https://api.github.com/users/changhiskhan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions", "type": "User", "url": "https://api.github.com/users/changhiskhan" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "0052cc", "default": false, "description": "pandas-gbq compatability", "id": 57351315, "name": "IO Google", "node_id": "MDU6TGFiZWw1NzM1MTMxNQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google" } ]
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" }
13
"2013-05-01T18:31:54Z"
"2015-10-14T11:45:22Z"
"2015-10-14T11:45:22Z"
CONTRIBUTOR
null
Right now being passed into underlying google api as a list of string. Need to investigate how to specify AND vs OR
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3505/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3505/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3506
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3506/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3506/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3506/events
https://github.com/pandas-dev/pandas/issues/3506
13,864,672
MDU6SXNzdWUxMzg2NDY3Mg==
3,506
unsigned 64-bit index
{ "avatar_url": "https://avatars.githubusercontent.com/u/4315091?v=4", "events_url": "https://api.github.com/users/mamikonyan/events{/privacy}", "followers_url": "https://api.github.com/users/mamikonyan/followers", "following_url": "https://api.github.com/users/mamikonyan/following{/other_user}", "gists_url": "https://api.github.com/users/mamikonyan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mamikonyan", "id": 4315091, "login": "mamikonyan", "node_id": "MDQ6VXNlcjQzMTUwOTE=", "organizations_url": "https://api.github.com/users/mamikonyan/orgs", "received_events_url": "https://api.github.com/users/mamikonyan/received_events", "repos_url": "https://api.github.com/users/mamikonyan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mamikonyan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mamikonyan/subscriptions", "type": "User", "url": "https://api.github.com/users/mamikonyan" }
[]
closed
false
null
[]
null
14
"2013-05-01T20:30:04Z"
"2013-05-02T19:20:44Z"
"2013-05-02T19:20:44Z"
NONE
null
Index objects seem to use signed 64-bit integers, even in cases where the user explicitly specifies the unsigned type. Series([1], Index(np.array([2**64-1],'u8'), 'u8')) + Series([1], Index(np.array([2**64-2],'u8'), 'u8'))
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3506/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3506/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3507
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3507/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3507/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3507/events
https://github.com/pandas-dev/pandas/issues/3507
13,864,723
MDU6SXNzdWUxMzg2NDcyMw==
3,507
py3 compat for google analytics integration
{ "avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4", "events_url": "https://api.github.com/users/changhiskhan/events{/privacy}", "followers_url": "https://api.github.com/users/changhiskhan/followers", "following_url": "https://api.github.com/users/changhiskhan/following{/other_user}", "gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/changhiskhan", "id": 759245, "login": "changhiskhan", "node_id": "MDQ6VXNlcjc1OTI0NQ==", "organizations_url": "https://api.github.com/users/changhiskhan/orgs", "received_events_url": "https://api.github.com/users/changhiskhan/received_events", "repos_url": "https://api.github.com/users/changhiskhan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions", "type": "User", "url": "https://api.github.com/users/changhiskhan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "0052cc", "default": false, "description": "pandas-gbq compatability", "id": 57351315, "name": "IO Google", "node_id": "MDU6TGFiZWw1NzM1MTMxNQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google" } ]
closed
false
null
[]
null
2
"2013-05-01T20:31:20Z"
"2015-01-26T01:00:39Z"
"2015-01-26T00:58:58Z"
CONTRIBUTOR
null
because of the auth, tests are being skipped on travis. I guess I should set things up on our windows box and test it that way going forward.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3507/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3507/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3508
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3508/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3508/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3508/events
https://github.com/pandas-dev/pandas/issues/3508
13,868,116
MDU6SXNzdWUxMzg2ODExNg==
3,508
google analytics docs
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0052cc", "default": false, "description": "pandas-gbq compatability", "id": 57351315, "name": "IO Google", "node_id": "MDU6TGFiZWw1NzM1MTMxNQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google" } ]
closed
false
null
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
4
"2013-05-01T21:48:53Z"
"2014-11-17T11:05:32Z"
"2014-11-17T11:05:32Z"
MEMBER
null
The docs for `ga.py` could use some TLC. Maybe some cookbook examples as well.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3508/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3508/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3509
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3509/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3509/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3509/events
https://github.com/pandas-dev/pandas/pull/3509
13,873,691
MDExOlB1bGxSZXF1ZXN0NTQ4Mzg2Ng==
3,509
BUG/CLN: Allow the BlockManager to have a non-unique items (axis 0)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-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" }
5
"2013-05-02T01:14:01Z"
"2014-06-13T16:52:03Z"
"2013-05-02T14:51:57Z"
CONTRIBUTOR
null
- Non-unique index support clarified #3092 - Fix assigning a new index to a duplicate index in a DataFrame would fail #3468 - Fix construction of a DataFrame with a duplicate index - ref_locs support to allow duplicative indices across dtypes, allows iget support to always find the index (even across dtypes) #2194 - applymap on a DataFrame with a non-unique index now works (removed warning) #2786, and fix #3230 - Fix to_csv to handle non-unique columns #3495 - Modification to cache_readonly to allow you to pass an argument (allow_setting), to 'set' this value (useful in order to avoid a computation you know to be true, e.g. is_unique = True for a default index partially fixes #3468 This would previously raise (same dtype assignment to a non-multi dtype frame with dup indicies) ``` In [6]: df = DataFrame([[1,2]], columns=['a','a']) In [7]: df.columns = ['a','a.1'] In [8]: df Out[8]: a a.1 0 1 2 ``` construction of a multi-dtype frame with a dup index (#2194) is fixed ``` In [18]: DataFrame([[1,2,1.,2.,3.,'foo','bar']], columns=list('aaaaaaa')) Out[18]: a a a a a a a 0 1 2 1 2 3 foo bar ``` This was also previously would raise ``` In [3]: df_float = DataFrame(np.random.randn(10, 3),dtype='float64') In [4]: df_int = DataFrame(np.random.randn(10, 3),dtype='int64') In [5]: df_bool = DataFrame(True,index=df_float.index,columns=df_float.columns) In [6]: df_object = DataFrame('foo',index=df_float.index,columns=df_float.columns) In [7]: df_dt = DataFrame(Timestamp('20010101'),index=df_float.index,columns=df_float.columns) In [9]: df = pan.concat([ df_float, df_int, df_bool, df_object, df_dt ], axis=1) In [14]: cols = [] In [15]: for i in range(5): ....: cols.extend([0,1,2]) ....: In [16]: df.columns = cols In [17]: df Out[17]: 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 0 0.586610 0.369944 1.341337 1 1 1 True True True foo foo foo 2001-01-01 00:00:00 2001-01-01 00:00:00 2001-01-01 00:00:00 1 -1.944284 -0.813987 0.061306 0 0 1 True True True foo foo foo 2001-01-01 00:00:00 2001-01-01 00:00:00 2001-01-01 00:00:00 2 -1.688694 1.644802 0.659083 0 0 0 True True True foo foo foo 2001-01-01 00:00:00 2001-01-01 00:00:00 2001-01-01 00:00:00 3 1.422893 0.712382 0.749263 -1 0 -1 True True True foo foo foo 2001-01-01 00:00:00 2001-01-01 00:00:00 2001-01-01 00:00:00 4 -0.453802 0.228886 -0.339753 2 0 -2 True True True foo foo foo 2001-01-01 00:00:00 2001-01-01 00:00:00 2001-01-01 00:00:00 5 -0.189643 1.309407 -0.386121 0 0 0 True True True foo foo foo 2001-01-01 00:00:00 2001-01-01 00:00:00 2001-01-01 00:00:00 6 0.455658 0.822050 -0.741014 0 0 0 True True True foo foo foo 2001-01-01 00:00:00 2001-01-01 00:00:00 2001-01-01 00:00:00 7 -0.484678 -1.089146 0.774849 0 1 0 True True True foo foo foo 2001-01-01 00:00:00 2001-01-01 00:00:00 2001-01-01 00:00:00 8 0.720365 1.696400 -0.604040 -1 0 0 True True True foo foo foo 2001-01-01 00:00:00 2001-01-01 00:00:00 2001-01-01 00:00:00 9 -0.344480 0.886489 0.274428 1 0 0 True True True foo foo foo 2001-01-01 00:00:00 2001-01-01 00:00:00 2001-01-01 00:00:00 ``` For those of you interested.....here is the new ref_loc indexer for duplicate columns its by necessity a block oriented indexer, returns the column map (by column number) to a tuple of the block and the index in the block, only created when needed (e.g. when trying to get a column via iget and the index is non-unique, and the results are cached), this is #3092 ``` In [1]: df = pd.DataFrame(np.random.randn(8,4),columns=['a']*4) In [2]: df._data.blocks Out[2]: [FloatBlock: [a, a, a, a], 4 x 8, dtype float64] In [3]: df._data.blocks[0]._ref_locs In [4]: df._data._set_ref_locs() Out[4]: array([(FloatBlock: [a, a, a, a], 4 x 8, dtype float64, 0), (FloatBlock: [a, a, a, a], 4 x 8, dtype float64, 1), (FloatBlock: [a, a, a, a], 4 x 8, dtype float64, 2), (FloatBlock: [a, a, a, a], 4 x 8, dtype float64, 3)], dtype=object) ``` Fixed the #2786, #3230 bug that caused applymap to not work (we temp worked around by raising a ValueError; removed that check) ``` n [3]: In [3]: df = pd.DataFrame(np.random.random((3,4))) In [4]: In [4]: cols = pd.Index(['a','a','a','a']) In [5]: In [5]: df.columns = cols In [6]: In [6]: df.applymap(str) Out[6]: a a a a 0 0.494204195164 0.534601503195 0.471870025143 0.880092879641 1 0.860369768954 0.0472931994392 0.775532754792 0.822046777859 2 0.478775855962 0.623584943227 0.932012693593 0.739502590395 ``` Finally, to_csv writing has been fixed to use a single column mapper (which is derived from the ref_locs if the index is non-unique or the column numbering if it is unique)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3509/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3509/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3509.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3509", "merged_at": "2013-05-02T14:51:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3509.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3509" }
https://api.github.com/repos/pandas-dev/pandas/issues/3510
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3510/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3510/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3510/events
https://github.com/pandas-dev/pandas/pull/3510
13,875,243
MDExOlB1bGxSZXF1ZXN0NTQ4NDYyNA==
3,510
Fixed Unbound Variable `edge` access when BinGrouper is empty
{ "avatar_url": "https://avatars.githubusercontent.com/u/1234915?v=4", "events_url": "https://api.github.com/users/kevinastone/events{/privacy}", "followers_url": "https://api.github.com/users/kevinastone/followers", "following_url": "https://api.github.com/users/kevinastone/following{/other_user}", "gists_url": "https://api.github.com/users/kevinastone/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kevinastone", "id": 1234915, "login": "kevinastone", "node_id": "MDQ6VXNlcjEyMzQ5MTU=", "organizations_url": "https://api.github.com/users/kevinastone/orgs", "received_events_url": "https://api.github.com/users/kevinastone/received_events", "repos_url": "https://api.github.com/users/kevinastone/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kevinastone/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kevinastone/subscriptions", "type": "User", "url": "https://api.github.com/users/kevinastone" }
[]
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" }
6
"2013-05-02T02:45:24Z"
"2014-06-20T12:16:59Z"
"2013-05-03T15:52:21Z"
CONTRIBUTOR
null
Incorrectly accessed variable `edge` instead of pre-filled value `start`. Signed-off-by: Kevin Stone [email protected]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3510/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3510/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3510.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3510", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/3510.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3510" }
https://api.github.com/repos/pandas-dev/pandas/issues/3511
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3511/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3511/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3511/events
https://github.com/pandas-dev/pandas/pull/3511
13,877,944
MDExOlB1bGxSZXF1ZXN0NTQ4NTk4MA==
3,511
ENH: add mode.mangle_dupe_cols option GH3468
{ "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "events_url": "https://api.github.com/users/ghost/events{/privacy}", "followers_url": "https://api.github.com/users/ghost/followers", "following_url": "https://api.github.com/users/ghost/following{/other_user}", "gists_url": "https://api.github.com/users/ghost/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ghost", "id": 10137, "login": "ghost", "node_id": "MDQ6VXNlcjEwMTM3", "organizations_url": "https://api.github.com/users/ghost/orgs", "received_events_url": "https://api.github.com/users/ghost/received_events", "repos_url": "https://api.github.com/users/ghost/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ghost/subscriptions", "type": "User", "url": "https://api.github.com/users/ghost" }
[]
closed
false
null
[]
{ "closed_at": "2013-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" }
4
"2013-05-02T05:34:41Z"
"2014-06-24T13:24:56Z"
"2013-05-05T09:14:08Z"
NONE
null
#3468 as discussed, an added option to disable th mangling behavior of dupe columns taken by pd.read_csv going back to olden days. Not sure what the default should be, currently the default is compatible with existing scripts. Tested with both c and python parser engines.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3511/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3511/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3511.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3511", "merged_at": "2013-05-05T09:14:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3511.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3511" }
https://api.github.com/repos/pandas-dev/pandas/issues/3512
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3512/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3512/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3512/events
https://github.com/pandas-dev/pandas/issues/3512
13,886,226
MDU6SXNzdWUxMzg4NjIyNg==
3,512
Change default value of dupe_mangle_cols in read-table/csv to False
{ "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "events_url": "https://api.github.com/users/ghost/events{/privacy}", "followers_url": "https://api.github.com/users/ghost/followers", "following_url": "https://api.github.com/users/ghost/following{/other_user}", "gists_url": "https://api.github.com/users/ghost/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ghost", "id": 10137, "login": "ghost", "node_id": "MDQ6VXNlcjEwMTM3", "organizations_url": "https://api.github.com/users/ghost/orgs", "received_events_url": "https://api.github.com/users/ghost/received_events", "repos_url": "https://api.github.com/users/ghost/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ghost/subscriptions", "type": "User", "url": "https://api.github.com/users/ghost" }
[ { "color": "DDDDDD", "default": false, "description": "Administrative tasks related to the pandas project", "id": 32933285, "name": "Admin", "node_id": "MDU6TGFiZWwzMjkzMzI4NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Admin" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
8
"2013-05-02T11:04:11Z"
"2014-01-24T14:24:00Z"
"2014-01-24T14:18:57Z"
NONE
null
RELEASE.rst for 0.11.1 gave fair warning to users. Update: there was no 0.11.1, it became 0.12.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3512/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3512/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3513
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3513/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3513/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3513/events
https://github.com/pandas-dev/pandas/issues/3513
13,894,370
MDU6SXNzdWUxMzg5NDM3MA==
3,513
"wrong" covariance matrix returned in the presence of nans
{ "avatar_url": "https://avatars.githubusercontent.com/u/296164?v=4", "events_url": "https://api.github.com/users/jseabold/events{/privacy}", "followers_url": "https://api.github.com/users/jseabold/followers", "following_url": "https://api.github.com/users/jseabold/following{/other_user}", "gists_url": "https://api.github.com/users/jseabold/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jseabold", "id": 296164, "login": "jseabold", "node_id": "MDQ6VXNlcjI5NjE2NA==", "organizations_url": "https://api.github.com/users/jseabold/orgs", "received_events_url": "https://api.github.com/users/jseabold/received_events", "repos_url": "https://api.github.com/users/jseabold/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jseabold/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jseabold/subscriptions", "type": "User", "url": "https://api.github.com/users/jseabold" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "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": null, "closed_issues": 278, "created_at": "2013-01-06T03:02:01Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)", "due_on": "2022-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/20", "id": 239227, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels", "node_id": "MDk6TWlsZXN0b25lMjM5MjI3", "number": 20, "open_issues": 108, "state": "open", "title": "Someday", "updated_at": "2021-08-08T01:48:22Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20" }
8
"2013-05-02T14:48:45Z"
"2017-07-06T23:12:48Z"
"2017-07-06T23:12:48Z"
CONTRIBUTOR
null
See the mailing list "[pydata] Covariance matrix not positive semi-definite." Currently, a covariance matrix is computed using pairwise available observations ie., if there is missing data at an index but not in the two pairs it still uses those pairs in the pairwise covariance matrix. The result of this computation is not a covariance matrix and can be non positive semi-definite. What to do in this case? 1) Warn? 2) Raise an error? 3) Only use observations for which all variables are available? 3 is tempting, the resultant covariance matrix will be a true covariance matrix, but it's an inconsistent estimator of the covariance. My vote is for 2, so that the user is forced to think what they actually want to compute. Ideally, the error message will point to estimators that are appropriate for this situation, but these are not online yet (from statsmodels). https://github.com/statsmodels/statsmodels/pull/631 https://github.com/statsmodels/statsmodels/issues/303
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3513/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3513/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3514
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3514/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3514/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3514/events
https://github.com/pandas-dev/pandas/issues/3514
13,903,238
MDU6SXNzdWUxMzkwMzIzOA==
3,514
Check whether google analytics results contain sampled data
{ "avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4", "events_url": "https://api.github.com/users/changhiskhan/events{/privacy}", "followers_url": "https://api.github.com/users/changhiskhan/followers", "following_url": "https://api.github.com/users/changhiskhan/following{/other_user}", "gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/changhiskhan", "id": 759245, "login": "changhiskhan", "node_id": "MDQ6VXNlcjc1OTI0NQ==", "organizations_url": "https://api.github.com/users/changhiskhan/orgs", "received_events_url": "https://api.github.com/users/changhiskhan/received_events", "repos_url": "https://api.github.com/users/changhiskhan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions", "type": "User", "url": "https://api.github.com/users/changhiskhan" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "0052cc", "default": false, "description": "pandas-gbq compatability", "id": 57351315, "name": "IO Google", "node_id": "MDU6TGFiZWw1NzM1MTMxNQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google" } ]
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
"2013-05-02T18:08:26Z"
"2015-10-14T11:45:14Z"
"2015-10-14T11:45:14Z"
CONTRIBUTOR
null
Had a preview issue where the summary of returned results don't match the google analytics web portal results. This is probably why. Need to look at the top level element for "containsSampledData". https://developers.google.com/analytics/devguides/reporting/core/v3/reference#sampling in pandas.io.ga.GDataReader.get_data, there’s the `_read` nested function which contains a call to execute the query object from google’s library. Pandas is looking for the results in the ‘rows’ attribute, I bet containsSampledData is also in there.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3514/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3514/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3515
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3515/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3515/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3515/events
https://github.com/pandas-dev/pandas/issues/3515
13,903,677
MDU6SXNzdWUxMzkwMzY3Nw==
3,515
datetime64 is incorrectly converted by series.values
{ "avatar_url": "https://avatars.githubusercontent.com/u/2766856?v=4", "events_url": "https://api.github.com/users/darindillon/events{/privacy}", "followers_url": "https://api.github.com/users/darindillon/followers", "following_url": "https://api.github.com/users/darindillon/following{/other_user}", "gists_url": "https://api.github.com/users/darindillon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/darindillon", "id": 2766856, "login": "darindillon", "node_id": "MDQ6VXNlcjI3NjY4NTY=", "organizations_url": "https://api.github.com/users/darindillon/orgs", "received_events_url": "https://api.github.com/users/darindillon/received_events", "repos_url": "https://api.github.com/users/darindillon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/darindillon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/darindillon/subscriptions", "type": "User", "url": "https://api.github.com/users/darindillon" }
[]
closed
false
null
[]
null
3
"2013-05-02T18:18:36Z"
"2013-05-02T19:07:46Z"
"2013-05-02T18:58:14Z"
NONE
null
Using pandas 0.11. Calling series.values on a datetime64 series will mess up the values, truncating them to 1970. import pandas as pd y = pd.DataFrame(pd.date_range('12/15/2012', '1/6/2013', freq='B'), columns=['dt']) # Look at y, note the dates are all in 2012 and 2013. So far so good. z = y.values # Look at z -- uh oh, all the values are now in 1970.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3515/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3515/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3516
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3516/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3516/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3516/events
https://github.com/pandas-dev/pandas/pull/3516
13,904,938
MDExOlB1bGxSZXF1ZXN0NTUwMDE2MA==
3,516
BUG/CLN: datetime64/timedelta64
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-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" }
1
"2013-05-02T18:46:25Z"
"2014-06-16T01:29:27Z"
"2013-05-08T21:51:09Z"
CONTRIBUTOR
null
Various bugs related to datetime64s - Properly convert np.datetime64 objects in a Series, #3416 This would convert to object dtype previously ``` In [1]: dates = [ ...: np.datetime64(datetime.date(2013, 1, 1)), ...: np.datetime64(datetime.date(2013, 1, 2)), ...: np.datetime64(datetime.date(2013, 1, 3)), ...: ] In [2]: s = pd.Series(dates) In [3]: s Out[3]: 0 2013-01-01 00:00:00 1 2013-01-02 00:00:00 2 2013-01-03 00:00:00 dtype: datetime64[ns] ``` - Do not allow astypes on `datetime64[ns]` except to `object`, and `timedelta64[ns]` to `object/int`, #3425 - Do not allow datetimelike/timedeltalike creation except with valid types (e.g. cannot pass `datetime64[ms]`, #3423 Any creation/astype of a datetimelike to a non accepted dtype will raise ``` In [6]: Series([Timestamp('20130101'),Timestamp('20130102')],dtype='datetime64[s]') TypeError: cannot convert datetimelike to dtype [datetime64[s]] ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3516/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3516/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3516.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3516", "merged_at": "2013-05-08T21:51:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3516.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3516" }
https://api.github.com/repos/pandas-dev/pandas/issues/3517
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3517/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3517/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3517/events
https://github.com/pandas-dev/pandas/pull/3517
13,908,335
MDExOlB1bGxSZXF1ZXN0NTUwMjE1Mg==
3,517
TST: skip tests needing xlrd
{ "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
1
"2013-05-02T20:08:06Z"
"2014-07-16T08:07:09Z"
"2013-05-03T15:47:25Z"
CONTRIBUTOR
null
xlrd version i have installed is 0.8.0, several of the tests in io.tests.test_excel failed, due to needing at least version > 0.9. This PR fixes this, those tests will be skipped if xlrd is not installed or if the version is old.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3517/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3517/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3517.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3517", "merged_at": "2013-05-03T15:47:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3517.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3517" }
https://api.github.com/repos/pandas-dev/pandas/issues/3518
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3518/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3518/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3518/events
https://github.com/pandas-dev/pandas/issues/3518
13,918,878
MDU6SXNzdWUxMzkxODg3OA==
3,518
PDF for 0.11.0 is missing, points users to 0.10.1 version
{ "avatar_url": "https://avatars.githubusercontent.com/u/410907?v=4", "events_url": "https://api.github.com/users/lexual/events{/privacy}", "followers_url": "https://api.github.com/users/lexual/followers", "following_url": "https://api.github.com/users/lexual/following{/other_user}", "gists_url": "https://api.github.com/users/lexual/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lexual", "id": 410907, "login": "lexual", "node_id": "MDQ6VXNlcjQxMDkwNw==", "organizations_url": "https://api.github.com/users/lexual/orgs", "received_events_url": "https://api.github.com/users/lexual/received_events", "repos_url": "https://api.github.com/users/lexual/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lexual/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lexual/subscriptions", "type": "User", "url": "https://api.github.com/users/lexual" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
3
"2013-05-03T01:43:08Z"
"2014-01-17T13:37:10Z"
"2013-05-20T18:54:07Z"
CONTRIBUTOR
null
The link to the pdf version here: http://pandas.pydata.org/pandas-docs/stable/ point the user here: http://pandas.pydata.org/pandas-docs/stable/pandas.pdf Which is the 0.10.1 version of the docs, not the 0.11.0 version of the docs. It should be updated so that the 0.11.0 pdf versions of the docs are available for Pandas users.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3518/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3518/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3519
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3519/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3519/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3519/events
https://github.com/pandas-dev/pandas/pull/3519
13,920,299
MDExOlB1bGxSZXF1ZXN0NTUwODc5MA==
3,519
Parse raised exceptions and their error messages sans interpolation/format spec
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[]
closed
false
null
[]
null
7
"2013-05-03T03:14:34Z"
"2014-06-15T06:07:10Z"
"2013-05-31T16:42:54Z"
MEMBER
null
This PR partially addresses #3024. It also provides a shiny new script useful looking at the current state of the messages in raised exceptions. Here's an example of some output: # Example ![pandas-shiny-new-parse-asserts](https://f.cloud.github.com/assets/417981/457480/70282b60-b39e-11e2-8db1-f5cfb4f0c5bf.png) You can reproduce this with ``` sh scripts/parse_except.py --type empty --module pandas --kind assert ``` from the top level pandas directory. # Description The above line searches for all empty raises in the module `pandas` whose constructor matches the regular expression `'.*assert.*'`--not case sensitive. Note: **This assumes you have installed pandas with `python setup.py develop`**. This will not work without that (well, that's not strictly true, but it will search for pandas code that's installed wherever you installed it `/usr/*/site-packages/*/pandas` or `$VIRTUAL_ENV/*/pandas`, for example, which is probably not what you want). To see all of the options and a short description you can do the usual: ``` sh scripts/parse_except.py --help ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3519/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3519/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3519.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3519", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/3519.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3519" }
https://api.github.com/repos/pandas-dev/pandas/issues/3520
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3520/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3520/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3520/events
https://github.com/pandas-dev/pandas/issues/3520
13,935,211
MDU6SXNzdWUxMzkzNTIxMQ==
3,520
API/ENH: Add setter methods to vectorized string API
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" } ]
{ "closed_at": null, "closed_issues": 278, "created_at": "2013-01-06T03:02:01Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)", "due_on": "2022-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/20", "id": 239227, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels", "node_id": "MDk6TWlsZXN0b25lMjM5MjI3", "number": 20, "open_issues": 108, "state": "open", "title": "Someday", "updated_at": "2021-08-08T01:48:22Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20" }
4
"2013-05-03T14:00:13Z"
"2013-08-05T01:45:54Z"
"2013-08-05T01:45:54Z"
MEMBER
null
This would be nice. The idea is simple: be able to modify the elements of vectorized string list or tuples, e.g., after splitting them, a la ``` python s = Series(['a/b/c', 'd/e/f']) sp = s.split('/') sp.str[0] = 'x' assert np.all(sp.str[0] == 'x') # as well as sp.str.set(0, 'y') assert np.all(sp.str[0] == 'y') ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3520/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3520/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3521
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3521/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3521/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3521/events
https://github.com/pandas-dev/pandas/issues/3521
13,938,070
MDU6SXNzdWUxMzkzODA3MA==
3,521
Inconsistent behavior of hierarchical indexes when indexes are of different data types
{ "avatar_url": "https://avatars.githubusercontent.com/u/664644?v=4", "events_url": "https://api.github.com/users/kghose/events{/privacy}", "followers_url": "https://api.github.com/users/kghose/followers", "following_url": "https://api.github.com/users/kghose/following{/other_user}", "gists_url": "https://api.github.com/users/kghose/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kghose", "id": 664644, "login": "kghose", "node_id": "MDQ6VXNlcjY2NDY0NA==", "organizations_url": "https://api.github.com/users/kghose/orgs", "received_events_url": "https://api.github.com/users/kghose/received_events", "repos_url": "https://api.github.com/users/kghose/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kghose/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kghose/subscriptions", "type": "User", "url": "https://api.github.com/users/kghose" }
[]
closed
false
null
[]
null
11
"2013-05-03T15:07:50Z"
"2013-05-03T19:21:50Z"
"2013-05-03T15:36:16Z"
NONE
null
``` python import pandas as pd, pylab #int index col = pd.MultiIndex.from_tuples([('c1',0),('c1',1),('c2',0)],names=['f','s']) dat = pylab.randn(2,len(col)) df1 = pd.DataFrame(dat, columns=col) #Text index col = pd.MultiIndex.from_tuples([('c3','x'),('c3','y')]) dat = pylab.randn(2,len(col)) df2 = pd.DataFrame(dat, columns=col) #This does not merge column indexes df_a = pd.concat([df1,df2]) #But this does df_b = pd.concat([df1,df2], axis=1) col = pd.MultiIndex.from_tuples([('c1','0'),('c1','1'),('c2','0')],names=['f','s']) dat = pylab.randn(2,len(col)) df4 = pd.DataFrame(dat, columns=col) df_d = pd.concat([df4,df2], axis=0) ``` ``` In [31]: df_a Out[31]: c1 c2 c3 0 1 0 x y 0 NaN NaN NaN NaN NaN 1 NaN NaN NaN NaN NaN 0 NaN NaN NaN -0.694275 -1.357936 1 NaN NaN NaN -1.450523 -1.453957 ``` This is unexpected behavior, especially since axis=1 does not care ``` In [32]: df_b Out[32]: f c1 c2 c3 s 0 1 0 x y 0 0.381601 -0.730360 0.157936 -0.694275 -1.357936 1 0.344333 -1.308118 1.503335 -1.450523 -1.453957 ``` This now works, because the sub-index is same type (str) ``` In [33]: df_d Out[33]: c1 c2 c3 0 1 0 x y 0 0.162019 -0.325463 -0.200149 NaN NaN 1 -0.142477 -0.089191 -0.439161 NaN NaN 0 NaN NaN NaN -0.694275 -1.357936 1 NaN NaN NaN -1.450523 -1.453957 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3521/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3521/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3522
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3522/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3522/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3522/events
https://github.com/pandas-dev/pandas/issues/3522
13,942,565
MDU6SXNzdWUxMzk0MjU2NQ==
3,522
qt repr bug
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
1
"2013-05-03T16:47:52Z"
"2013-05-04T08:45:13Z"
"2013-05-04T08:45:13Z"
MEMBER
null
HTML is repr'd, not the symbols `<` and `>`: ![pandas-qt-bug](https://f.cloud.github.com/assets/417981/459984/2a6f775e-b411-11e2-97dd-1fdd5ce82c2f.png)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3522/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3522/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3523
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3523/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3523/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3523/events
https://github.com/pandas-dev/pandas/issues/3523
13,947,560
MDU6SXNzdWUxMzk0NzU2MA==
3,523
TypeError: object of type 'NoneType' has no len() with MySQL empty columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/2762787?v=4", "events_url": "https://api.github.com/users/randyzwitch/events{/privacy}", "followers_url": "https://api.github.com/users/randyzwitch/followers", "following_url": "https://api.github.com/users/randyzwitch/following{/other_user}", "gists_url": "https://api.github.com/users/randyzwitch/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/randyzwitch", "id": 2762787, "login": "randyzwitch", "node_id": "MDQ6VXNlcjI3NjI3ODc=", "organizations_url": "https://api.github.com/users/randyzwitch/orgs", "received_events_url": "https://api.github.com/users/randyzwitch/received_events", "repos_url": "https://api.github.com/users/randyzwitch/repos", "site_admin": false, "starred_url": "https://api.github.com/users/randyzwitch/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/randyzwitch/subscriptions", "type": "User", "url": "https://api.github.com/users/randyzwitch" }
[]
closed
false
null
[]
null
13
"2013-05-03T18:50:58Z"
"2013-06-04T15:03:52Z"
"2013-06-04T15:03:52Z"
NONE
null
pandas '0.11.0' mysql.connector '1.0.9' # Import statements and options import mysql.connector from mysql.connector import errorcode import pandas.io.sql as sql import pandas as pd from pandas import DataFrame ## Error Running this code against MySQL (view includes several completely blank columns): ``` python #Queries for CCI since Nov 2012 queries = sql.read_frame("select * from vw_queries_lj where query_account_id='34' and from_unixtime(query_created, '%Y-%m-%d') >= '2012-11-01' limit 100;", con) ``` Causes this error: ``` python --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-17-78e88f1ac26a> in <module>() 1 #Queries for CCI since Nov 2012 ----> 2 queries = sql.read_frame("select * from vw_queries_lj where query_account_id='34' and from_unixtime(query_created, '%Y-%m-%d') >= '2012-11-01' limit 100;", con) 3 /Users/randyzwitch/anaconda/lib/python2.7/site-packages/pandas/io/sql.pyc in read_frame(sql, con, index_col, coerce_float, params) 160 161 result = DataFrame.from_records(rows, columns=columns, --> 162 coerce_float=coerce_float) 163 164 if index_col is not None: /Users/randyzwitch/anaconda/lib/python2.7/site-packages/pandas/core/frame.pyc in from_records(cls, data, index, exclude, columns, coerce_float, nrows) 1070 else: 1071 arrays, arr_columns = _to_arrays(data, columns, -> 1072 coerce_float=coerce_float) 1073 1074 arr_columns = _ensure_index(arr_columns) /Users/randyzwitch/anaconda/lib/python2.7/site-packages/pandas/core/frame.pyc in _to_arrays(data, columns, coerce_float, dtype) 5449 return arrays, columns 5450 -> 5451 if len(data) == 0: 5452 return [], [] # columns if columns is not None else [] 5453 if isinstance(data[0], (list, tuple)): TypeError: object of type 'NoneType' has no len() ``` ## No error Running query on primary key (i.e. no blanks) returns a proper data frrame ``` python #Queries for CCI since Nov 2012 queries = sql.read_frame("select token from vw_queries_lj where query_account_id='34' and from_unixtime(query_created, '%Y-%m-%d') >= '2012-11-01' limit 100;", con) ``` ## Expectation My expected behavior would be that pandas would be able to handle blank columns as character or float, not as NoneType
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3523/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3523/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3524
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3524/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3524/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3524/events
https://github.com/pandas-dev/pandas/issues/3524
13,949,123
MDU6SXNzdWUxMzk0OTEyMw==
3,524
DatetimeIndex freq parameter is inconsistent when passing nanosecond frequencies
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
4
"2013-05-03T19:30:30Z"
"2013-09-22T00:55:07Z"
"2013-09-22T00:55:07Z"
MEMBER
null
This seems like a bug: ``` python import pandas as pd import numpy as np def create_ns_index(start, fs, nsamples, name='time'): ns = int(1e9 / fs) dtstart = np.datetime64(start) dt = dtstart + np.arange(nsamples) * np.timedelta64(ns, 'ns') freq = ns * pd.datetools.Nano() return pd.DatetimeIndex(dt, freq=freq, name=name) index = create_ns_index('2012-09-20T00:00:00', 24414, 400) assert index.freq == '40960N' assert index.inferred_freq == '40960N' # try to create the same index using the period string index = pd.DatetimeIndex(start=index[0], end=index[-1], freq=index.freq) # throws an AttributeError # now try to create the same index using date_range index = pd.date_range(start=index[0], end=index[-1], freq=index.freq) # throws the same AttributeError # maybe it works if I use pd.datetools.Nano() index = pd.DatetimeIndex(start=index[0], end=index[-1], freq=index.freq.n * pd.datetools.Nano()) # no such luck # try to use periods...also fails with an ambiguous ValueError index = pd.date_range(start=index[0], end=index[-1], periods=index.size) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3524/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3524/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3525
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3525/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3525/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3525/events
https://github.com/pandas-dev/pandas/pull/3525
13,949,598
MDExOlB1bGxSZXF1ZXN0NTUyMzg2Mw==
3,525
ENH: support for msgpack serialization/deserialization
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-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" }
42
"2013-05-03T19:43:54Z"
"2014-06-12T15:57:14Z"
"2013-06-10T14:11:28Z"
CONTRIBUTOR
null
warning: prototype! msgpack serialization/deseriiization - support all pandas objects: Timestamp,Period,all index types,Series,DataFrame,Panel,Sparse suite - docs included (in io.rst) - iterator support - top-level api support Here are 2 features which I think msgpack supports, but have to look further - no support for compression directly, but can compress the file (e.g. gzip) - access is sequential - versioning, is not that hard because its pretty easy to deal with a change in the schema (which is not directly stored), and this is MUCH more transparent than pickle usage is exactly like pickle (aside from that its in a different namespace), allowing arbitrary combinations of storage, e.g. this supports the added storage of pandas objects, but obviously can store `{ 'frame1' : df1, 'frame2' : df2 }` etc storage example `DataFrame(np.random.rand(1000,10))` on my machine stores in 128k file size. and scales pretty well, e.g. 10k rows is 1.26mb Not completely happy with the `packers` name, any suggestions? closes #686 ``` In [1]: df = DataFrame(randn(10,2), ...: columns=list('AB'), ...: index=date_range('20130101',periods=10)) In [2]: pd.to_msgpack('foo.msg',df) In [3]: pd.read_msgpack('foo.msg') Out[3]: A B 2013-01-01 0.676700 -1.702599 2013-01-02 -0.070164 -1.368716 2013-01-03 -0.877145 -1.427964 2013-01-04 -0.295715 -0.176954 2013-01-05 0.566986 0.588918 2013-01-06 -0.307070 1.541773 2013-01-07 1.302388 0.689701 2013-01-08 0.165292 0.273496 2013-01-09 -3.492113 -1.178075 2013-01-10 -1.069521 0.848614 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3525/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3525/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3525.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3525", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/3525.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3525" }
https://api.github.com/repos/pandas-dev/pandas/issues/3526
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3526/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3526/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3526/events
https://github.com/pandas-dev/pandas/issues/3526
13,949,853
MDU6SXNzdWUxMzk0OTg1Mw==
3,526
fillna/fill_value fails when filling with a list
{ "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
1
"2013-05-03T19:50:01Z"
"2013-05-06T18:45:27Z"
"2013-05-06T18:45:27Z"
CONTRIBUTOR
null
``` python In [48]: s = pd.Series([np.NaN, 'hello world']) In [49]: s Out[49]: 0 NaN 1 hello world dtype: object In [50]: s.fillna([]) Out[50]: 0 NaN 1 hello world dtype: object In [51]: s.fillna(['not empty']) Out[51]: 0 not empty 1 hello world dtype: object ``` Had a quick peak in the code and it looks like a numpy issue (1.6.2) ``` python In [52]: a = np.array([np.NaN, 'hello world']) In [53]: m = np.array([True, False]) In [54]: a[m] = [] In [55]: a Out[55]: array(['nan', 'hello world'], dtype='|S11') In [56]: a[m] = ['not empty'] In [57]: a Out[57]: array(['not empty', 'hello world'], dtype='|S11') ``` similar issue when using operators supporting `fill_value` ``` python In [58]: s1 = pd.Series([np.NaN, [1,2], [10, 20]]) In [59]: s2 = pd.Series([[3,4], np.NaN, [30, 40]]) In [60]: s1.add(s2, fill_value=[]) ... TypeError: unsupported operand type(s) for +: 'float' and 'list' ``` Did not try for DataFrame, but i suppose this will be the same.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3526/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3526/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3527
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3527/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3527/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3527/events
https://github.com/pandas-dev/pandas/pull/3527
13,957,385
MDExOlB1bGxSZXF1ZXN0NTUyODMxNw==
3,527
fix qt repr bug
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[]
closed
false
null
[]
{ "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" }
1
"2013-05-03T23:59:41Z"
"2014-07-03T08:22:45Z"
"2013-05-04T00:22:02Z"
MEMBER
null
addresses #3522.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3527/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3527/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3527.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3527", "merged_at": "2013-05-04T00:22:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3527.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3527" }
https://api.github.com/repos/pandas-dev/pandas/issues/3528
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3528/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3528/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3528/events
https://github.com/pandas-dev/pandas/issues/3528
13,971,826
MDU6SXNzdWUxMzk3MTgyNg==
3,528
Resampling irregular timeseries
{ "avatar_url": "https://avatars.githubusercontent.com/u/4058877?v=4", "events_url": "https://api.github.com/users/michpaulatto/events{/privacy}", "followers_url": "https://api.github.com/users/michpaulatto/followers", "following_url": "https://api.github.com/users/michpaulatto/following{/other_user}", "gists_url": "https://api.github.com/users/michpaulatto/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/michpaulatto", "id": 4058877, "login": "michpaulatto", "node_id": "MDQ6VXNlcjQwNTg4Nzc=", "organizations_url": "https://api.github.com/users/michpaulatto/orgs", "received_events_url": "https://api.github.com/users/michpaulatto/received_events", "repos_url": "https://api.github.com/users/michpaulatto/repos", "site_admin": false, "starred_url": "https://api.github.com/users/michpaulatto/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/michpaulatto/subscriptions", "type": "User", "url": "https://api.github.com/users/michpaulatto" }
[ { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 278, "created_at": "2013-01-06T03:02:01Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)", "due_on": "2022-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/20", "id": 239227, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels", "node_id": "MDk6TWlsZXN0b25lMjM5MjI3", "number": 20, "open_issues": 108, "state": "open", "title": "Someday", "updated_at": "2021-08-08T01:48:22Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20" }
2
"2013-05-04T23:27:26Z"
"2013-11-19T17:06:29Z"
"2013-11-19T17:06:29Z"
NONE
null
I have some depth data from an echo-sounder in the following format Date Time Depth 2013-00-28 00:00:38.652 2798.09 2013-00-28 00:00:48.632 2795.90 2013-00-28 00:00:58.388 2783.43 2013-00-28 00:01:08.160 2793.54 2013-00-28 00:01:17.517 2784.77 2013-00-28 00:01:27.289 2784.89 2013-00-28 00:01:37.860 2786.27 2013-00-28 00:01:47.631 2775.23 2013-00-28 00:01:57.388 2783.54 2013-00-28 00:02:07.367 2786.70 2013-00-28 00:02:17.123 2780.25 ... It is irregularly sampled in time, with time intervals varying between about 8 and 15 s. I would like to resample it to 20s intervals.Can I do this with pandas.DataFrame.resample? I've tried reading it in with: dtz = pandas.read_csv(infile,sep=' ',parse_dates=[[0,1]]) And resampling using: dtz['Depth'].resample('20S',fill_method='pad',limit=6) But I get the following error: raise TypeError('Only valid with DatetimeIndex or PeriodIndex') TypeError: Only valid with DatetimeIndex or PeriodIndex Any comments on what I'm doing wrong? I also tried to get the date time info into an index: dtz = pd.read_csv(infile,sep=' ',index_col=0,parse_dates=[[0,1]]) To no avail
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3528/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3528/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3529
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3529/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3529/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3529/events
https://github.com/pandas-dev/pandas/issues/3529
13,984,029
MDU6SXNzdWUxMzk4NDAyOQ==
3,529
More flexible time series binning/resampling
{ "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.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" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" } ]
closed
false
null
[]
{ "closed_at": "2017-05-06T10:20:19Z", "closed_issues": 987, "created_at": "2016-02-08T15:30:21Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.x series", "due_on": "2017-05-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/39", "id": 1570595, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels", "node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==", "number": 39, "open_issues": 0, "state": "closed", "title": "0.20.0", "updated_at": "2018-10-28T08:18:42Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39" }
1
"2013-05-05T22:29:45Z"
"2017-03-16T12:27:47Z"
"2017-03-16T12:27:47Z"
MEMBER
null
e.g. http://stackoverflow.com/questions/16319106/whats-the-equivalent-of-cut-qcut-for-pandas-date-fields
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3529/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3529/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3530
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3530/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3530/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3530/events
https://github.com/pandas-dev/pandas/pull/3530
13,985,743
MDExOlB1bGxSZXF1ZXN0NTUzODI3NQ==
3,530
DOC: Fix header
{ "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
0
"2013-05-06T01:05:28Z"
"2014-07-16T08:07:14Z"
"2013-05-06T04:50:56Z"
CONTRIBUTOR
null
I went searching for how to make a MultiIndex on the docs page and couldn't figure out where to look anymore.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3530/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3530/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3530.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3530", "merged_at": "2013-05-06T04:50:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3530.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3530" }
https://api.github.com/repos/pandas-dev/pandas/issues/3531
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3531/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3531/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3531/events
https://github.com/pandas-dev/pandas/pull/3531
14,006,450
MDExOlB1bGxSZXF1ZXN0NTU0NzY4Nw==
3,531
ENH: HDFStore enhancements
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-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" }
8
"2013-05-06T15:35:58Z"
"2014-06-17T13:08:16Z"
"2013-05-08T20:26:10Z"
CONTRIBUTOR
null
- will retain index attributes (freq,tz,name) on recreation #3499 - support datelike columns with a timezone as data_columns #2852 - will raise if trying to append with a different timezone than existing will warn if the existing frequency of an index is different than an appended one (thought raising was too strict) ``` In [5]: df = DataFrame(dict(A = Series(xrange(3), index=date_range('2000-1-1',periods=3,freq='H')))) In [6]: df2 = DataFrame(dict(A = Series(xrange(3), index=date_range('2002-1-1',periods=3,freq='D')))) In [9]: df.index Out[9]: <class 'pandas.tseries.index.DatetimeIndex'> [2000-01-01 00:00:00, ..., 2000-01-01 02:00:00] Length: 3, Freq: H, Timezone: None In [10]: df2.index Out[10]: <class 'pandas.tseries.index.DatetimeIndex'> [2002-01-01 00:00:00, ..., 2002-01-03 00:00:00] Length: 3, Freq: D, Timezone: None In [12]: df.to_hdf('test.h5','data',mode='w',append=True) In [13]: df2.to_hdf('test.h5','data',append=True) pandas/io/pytables.py:1148: FrequencyWarning: the frequency of the existing index is [<1 Hour>] which conflicts with the new freq [<1 Day>], resetting the frequency to None warnings.warn(ws, FrequencyWarning) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3531/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3531/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3531.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3531", "merged_at": "2013-05-08T20:26:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3531.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3531" }
https://api.github.com/repos/pandas-dev/pandas/issues/3532
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3532/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3532/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3532/events
https://github.com/pandas-dev/pandas/issues/3532
14,008,059
MDU6SXNzdWUxNDAwODA1OQ==
3,532
"can't compare datetime.date to str" in slicing/indexing (version 0.11.0)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1324881?v=4", "events_url": "https://api.github.com/users/vfilimonov/events{/privacy}", "followers_url": "https://api.github.com/users/vfilimonov/followers", "following_url": "https://api.github.com/users/vfilimonov/following{/other_user}", "gists_url": "https://api.github.com/users/vfilimonov/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vfilimonov", "id": 1324881, "login": "vfilimonov", "node_id": "MDQ6VXNlcjEzMjQ4ODE=", "organizations_url": "https://api.github.com/users/vfilimonov/orgs", "received_events_url": "https://api.github.com/users/vfilimonov/received_events", "repos_url": "https://api.github.com/users/vfilimonov/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vfilimonov/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vfilimonov/subscriptions", "type": "User", "url": "https://api.github.com/users/vfilimonov" }
[]
closed
false
null
[]
null
5
"2013-05-06T16:11:06Z"
"2013-05-07T17:53:31Z"
"2013-05-07T17:53:31Z"
CONTRIBUTOR
null
Hello all I don't know if this has been already fixed in developing 0.12, but just in case: it seemed that indexing with datetime.date does not work properly. E.g. the code ``` IDX=[datetime.strptime(yy,'%Y-%m-%d') for yy in ["2005-01-01","2006-01-01","2006-01-01","2007-01-01"]] IDX df = pd.DataFrame([1,2,3,4], index=IDX) print type(df.index[0]) print df.ix['2005-01-01'] df[:'2006-01-02'] ``` works correctly. And the code ``` IDX=[datetime.date(datetime.strptime(yy,'%Y-%m-%d')) for yy in ["2005-01-01","2006-01-01","2006-01-01","2007-01-01"]] IDX df = pd.DataFrame([1,2,3,4], index=IDX) print type(df.index[0]) print df.ix['2005-01-01'] df[:'2006-01-02'] ``` failed with the issue "TypeError: can't compare datetime.date to str"
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3532/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3532/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3533
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3533/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3533/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3533/events
https://github.com/pandas-dev/pandas/pull/3533
14,015,884
MDExOlB1bGxSZXF1ZXN0NTU1MjQwOQ==
3,533
BUG: Fixed bug in mixed frame assignment with aligned series (GH3492)
{ "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
"2013-05-06T19:09:03Z"
"2014-07-16T08:07:24Z"
"2013-05-06T19:34:37Z"
CONTRIBUTOR
null
closes #3492
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3533/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3533/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3533.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3533", "merged_at": "2013-05-06T19:34:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3533.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3533" }
https://api.github.com/repos/pandas-dev/pandas/issues/3534
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3534/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3534/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3534/events
https://github.com/pandas-dev/pandas/issues/3534
14,018,571
MDU6SXNzdWUxNDAxODU3MQ==
3,534
doc: add doc/source/v0.11.1.txt to docs
{ "avatar_url": "https://avatars.githubusercontent.com/u/11860?v=4", "events_url": "https://api.github.com/users/timmie/events{/privacy}", "followers_url": "https://api.github.com/users/timmie/followers", "following_url": "https://api.github.com/users/timmie/following{/other_user}", "gists_url": "https://api.github.com/users/timmie/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/timmie", "id": 11860, "login": "timmie", "node_id": "MDQ6VXNlcjExODYw", "organizations_url": "https://api.github.com/users/timmie/orgs", "received_events_url": "https://api.github.com/users/timmie/received_events", "repos_url": "https://api.github.com/users/timmie/repos", "site_admin": false, "starred_url": "https://api.github.com/users/timmie/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/timmie/subscriptions", "type": "User", "url": "https://api.github.com/users/timmie" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "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" }
2
"2013-05-06T20:11:21Z"
"2013-05-10T10:14:01Z"
"2013-05-10T10:14:01Z"
CONTRIBUTOR
null
When I go to http://pandas.pydata.org/pandas-docs/dev/whatsnew.html I would like to see the next release' changes included
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3534/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3534/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3535
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3535/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3535/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3535/events
https://github.com/pandas-dev/pandas/issues/3535
14,018,624
MDU6SXNzdWUxNDAxODYyNA==
3,535
doc: add read_html to io
{ "avatar_url": "https://avatars.githubusercontent.com/u/11860?v=4", "events_url": "https://api.github.com/users/timmie/events{/privacy}", "followers_url": "https://api.github.com/users/timmie/followers", "following_url": "https://api.github.com/users/timmie/following{/other_user}", "gists_url": "https://api.github.com/users/timmie/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/timmie", "id": 11860, "login": "timmie", "node_id": "MDQ6VXNlcjExODYw", "organizations_url": "https://api.github.com/users/timmie/orgs", "received_events_url": "https://api.github.com/users/timmie/received_events", "repos_url": "https://api.github.com/users/timmie/repos", "site_admin": false, "starred_url": "https://api.github.com/users/timmie/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/timmie/subscriptions", "type": "User", "url": "https://api.github.com/users/timmie" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "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" }
1
"2013-05-06T20:12:44Z"
"2013-05-10T10:03:19Z"
"2013-05-10T10:03:19Z"
CONTRIBUTOR
null
add a link to http://pandas.pydata.org/pandas-docs/dev/generated/pandas.io.html.read_html.html#pandas.io.html.read_html on http://pandas.pydata.org/pandas-docs/dev/io.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/3535/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3535/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3536
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3536/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3536/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3536/events
https://github.com/pandas-dev/pandas/pull/3536
14,019,927
MDExOlB1bGxSZXF1ZXN0NTU1NDU4MQ==
3,536
Update io.rst
{ "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" }
[]
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" }
2
"2013-05-06T20:40:46Z"
"2013-05-10T10:03:07Z"
"2013-05-10T10:02:36Z"
CONTRIBUTOR
null
added io.read_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/3536/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3536/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3536.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3536", "merged_at": "2013-05-10T10:02:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3536.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3536" }
https://api.github.com/repos/pandas-dev/pandas/issues/3537
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3537/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3537/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3537/events
https://github.com/pandas-dev/pandas/pull/3537
14,024,879
MDExOlB1bGxSZXF1ZXN0NTU1NzMzNw==
3,537
PERF: HDFStore table writing performance improvements
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-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" }
0
"2013-05-06T22:38:17Z"
"2014-07-16T08:07:27Z"
"2013-05-08T21:44:20Z"
CONTRIBUTOR
null
PERF: hdf performance by doing recarray translation in cython ``` ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- write_store_table_dc | 155.4217 | 269.1494 | 0.5775 | write_store_table_panel | 93.9604 | 135.8333 | 0.6917 | write_store_table_mixed | 116.6536 | 151.5377 | 0.7698 | write_store_table | 66.0146 | 80.5717 | 0.8193 | write_store_table_wide | 100.0113 | 121.9817 | 0.8199 | ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3537/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3537/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3537.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3537", "merged_at": "2013-05-08T21:44:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3537.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3537" }
https://api.github.com/repos/pandas-dev/pandas/issues/3538
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3538/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3538/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3538/events
https://github.com/pandas-dev/pandas/issues/3538
14,049,656
MDU6SXNzdWUxNDA0OTY1Ng==
3,538
pivot_table drops column of None-type, fillna(0) does not help
{ "avatar_url": "https://avatars.githubusercontent.com/u/2606224?v=4", "events_url": "https://api.github.com/users/ktii/events{/privacy}", "followers_url": "https://api.github.com/users/ktii/followers", "following_url": "https://api.github.com/users/ktii/following{/other_user}", "gists_url": "https://api.github.com/users/ktii/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ktii", "id": 2606224, "login": "ktii", "node_id": "MDQ6VXNlcjI2MDYyMjQ=", "organizations_url": "https://api.github.com/users/ktii/orgs", "received_events_url": "https://api.github.com/users/ktii/received_events", "repos_url": "https://api.github.com/users/ktii/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ktii/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ktii/subscriptions", "type": "User", "url": "https://api.github.com/users/ktii" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
null
1
"2013-05-07T13:49:23Z"
"2013-06-06T12:05:21Z"
"2013-06-06T12:05:21Z"
NONE
null
Hi, as heading states. Column of Nones could be dropped, but fillna(0) should change this. Using aggfunc=np.sum does not help. (all version 0.10.1) In [160]: f = pd.DataFrame({'A' : ['one', 'two'] \* 3, ......: 'B' : ['x', 'y', 'z'] \* 2, ......: 'C' : ['foo', 'bar', 'foobar', 'bar', 'foobar', 'foo'], ......: 'D' : np.random.randn(6), ......: 'E' : None}) In [161]: pd.pivot_table(f, values=['D','E'], rows=['A','B'], cols=['C']) Out[161]: D C bar foo foobar A B one x NaN -2.271229 NaN y NaN NaN -1.996931 z NaN NaN 1.565822 two x -1.644891 NaN NaN y -0.915024 NaN NaN z NaN -0.681877 NaN In [162]: f.E = f.E.fillna(0) In [163]: f Out[163]: A B C D E 0 one x foo -2.271229 0 1 two y bar -0.915024 0 2 one z foobar 1.565822 0 3 two x bar -1.644891 0 4 one y foobar -1.996931 0 5 two z foo -0.681877 0 In [164]: type(f.E[0]) Out[164]: int In [165]: pd.pivot_table(f, values=['D','E'], rows=['A','B'], cols=['C']) Out[165]: D C bar foo foobar A B one x NaN -2.271229 NaN y NaN NaN -1.996931 z NaN NaN 1.565822 two x -1.644891 NaN NaN y -0.915024 NaN NaN z NaN -0.681877 NaN In [166]: pd.pivot_table(f, values=['D','E'], rows=['A','B'], cols=['C'], aggfunc=np.sum) Out[166]: D C bar foo foobar A B one x NaN -2.271229 NaN y NaN NaN -1.996931 z NaN NaN 1.565822 two x -1.644891 NaN NaN y -0.915024 NaN NaN z NaN -0.681877 NaN In [167]: f.E = 1 In [168]: type(f.E[0]) Out[168]: numpy.int64 In [169]: pd.pivot_table(f, values=['D','E'], rows=['A','B'], cols=['C']) Out[169]: D E C bar foo foobar bar foo foobar A B one x NaN -2.271229 NaN NaN 1 NaN y NaN NaN -1.996931 NaN NaN 1 z NaN NaN 1.565822 NaN NaN 1 two x -1.644891 NaN NaN 1 NaN NaN y -0.915024 NaN NaN 1 NaN NaN z NaN -0.681877 NaN NaN 1 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/3538/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3538/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3539
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3539/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3539/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3539/events
https://github.com/pandas-dev/pandas/issues/3539
14,058,888
MDU6SXNzdWUxNDA1ODg4OA==
3,539
ENH/PERF: cache sort/mask per column
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "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": "be21f2", "default": false, "description": "May be closeable, needs more eyeballs", "id": 2365504893, "name": "Closing Candidate", "node_id": "MDU6TGFiZWwyMzY1NTA0ODkz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 278, "created_at": "2013-01-06T03:02:01Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)", "due_on": "2022-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/20", "id": 239227, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels", "node_id": "MDk6TWlsZXN0b25lMjM5MjI3", "number": 20, "open_issues": 108, "state": "open", "title": "Someday", "updated_at": "2021-08-08T01:48:22Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20" }
3
"2013-05-07T16:48:48Z"
"2021-04-11T02:00:17Z"
"2021-04-11T02:00:17Z"
CONTRIBUTOR
null
Along the lines of wes's answer to this question: http://stackoverflow.com/questions/16384332/how-to-speed-up-pandas-row-filtering-by-string-matching I think it is possible to have a dictionary recording certain parameters for a series (or a column in a frame), something like `conditions = dict(sorted=False, nulls=False, unique=True)` that would alllow certain operations to be speeded up, of course these conditions would have to be updated in various scenarios, e.g. when sorting by a certain column, then you could set the sorted condition = `True` (and invalidate when sorting by other columns). however, and this might be a bit complicated to determine (in which case you could just set `sorted = None`, meaning I don't know). But many operations could preserve these conditions (e.g. a reindexing with a monotonic index will preserver the sort, but will invalidate the nulls, if its not identical to the current index) not-trivial but might be worth it e.g. using the fact that I already computed nulls, I can go directly to numpy land if I already know I don't need to do the null check or if its already sorted, then can use `searchsorted` ``` In [6]: %timeit values=='A0003' 10 loops, best of 3: 164 ms per loop In [7]: %timeit pd.lib.scalar_compare(values,'A0003',operator.eq) 1 loops, best of 3: 255 ms per loop In [8]: %timeit values.sort() 1 loops, best of 3: 2.29 s per loop In [9]: %timeit pd.isnull(values) 10 loops, best of 3: 105 ms per loop ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3539/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3539/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3540
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3540/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3540/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3540/events
https://github.com/pandas-dev/pandas/issues/3540
14,070,900
MDU6SXNzdWUxNDA3MDkwMA==
3,540
Timestamp should have alternate constructor for UTC millisecond timestamps
{ "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.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": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
3
"2013-05-07T21:02:27Z"
"2013-06-13T19:12:08Z"
"2013-06-13T19:12:08Z"
MEMBER
null
Was surprised at how difficult it was to convert a unix timestamp to a pandas Timestamp recently
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3540/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3540/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3541
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3541/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3541/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3541/events
https://github.com/pandas-dev/pandas/issues/3541
14,073,106
MDU6SXNzdWUxNDA3MzEwNg==
3,541
max_rows seems to have max value of 60
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
{ "closed_at": "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" }
18
"2013-05-07T21:54:16Z"
"2013-09-20T03:01:36Z"
"2013-05-25T23:10:58Z"
CONTRIBUTOR
null
Max_rows seems to have a maximum value of 60 (in 0.11 and dev, this works as expected in 0.10.1): ``` In [1]: %paste from pandas import * n = 100 foo = DataFrame(index=range(n)) foo['floats'] = np.random.randn(n) set_option('display.max_rows', 101) ## -- End pasted text -- In [2]: foo.head(100) Out[2]: <class 'pandas.core.frame.DataFrame'> Int64Index: 100 entries, 0 to 99 Columns: 1 entries, floats to floats dtypes: float64(1) In [3]: foo.head(61) Out[3]: <class 'pandas.core.frame.DataFrame'> Int64Index: 61 entries, 0 to 60 Data columns (total 1 columns): floats 61 non-null values dtypes: float64(1) In [4]: foo.head(60) Out[4]: floats 0 -0.631717 1 0.231468 2 -0.465971 3 -1.427025 ... ``` ``` In [5]: %paste set_option('display.max_rows', 10) ## -- End pasted text -- In [6]: foo.head(10) Out[6]: floats 0 -0.194574 1 -0.130100 2 0.547474 3 0.669904 4 0.776946 5 -2.384084 6 -0.011147 7 -0.272660 8 -0.051326 9 1.757020 In [7]: foo.head(11) Out[7]: <class 'pandas.core.frame.DataFrame'> Int64Index: 11 entries, 0 to 10 Data columns (total 1 columns): floats 11 non-null values dtypes: float64(1) ``` ``` In [8]: version.version # same true for 0.11 Out[8]: '0.12.0.dev-d925966' ``` Essentially from http://stackoverflow.com/questions/16424493/pandas-setting-no-of-max-rows. Related: #3395, #3426.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3541/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3541/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3542
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3542/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3542/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3542/events
https://github.com/pandas-dev/pandas/issues/3542
14,074,913
MDU6SXNzdWUxNDA3NDkxMw==
3,542
Truncating long numbers when casting astype("string") or when printing
{ "avatar_url": "https://avatars.githubusercontent.com/u/1118942?v=4", "events_url": "https://api.github.com/users/lrq3000/events{/privacy}", "followers_url": "https://api.github.com/users/lrq3000/followers", "following_url": "https://api.github.com/users/lrq3000/following{/other_user}", "gists_url": "https://api.github.com/users/lrq3000/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lrq3000", "id": 1118942, "login": "lrq3000", "node_id": "MDQ6VXNlcjExMTg5NDI=", "organizations_url": "https://api.github.com/users/lrq3000/orgs", "received_events_url": "https://api.github.com/users/lrq3000/received_events", "repos_url": "https://api.github.com/users/lrq3000/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lrq3000/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lrq3000/subscriptions", "type": "User", "url": "https://api.github.com/users/lrq3000" }
[]
closed
false
null
[]
null
7
"2013-05-07T22:31:24Z"
"2013-05-13T19:13:15Z"
"2013-05-08T00:32:47Z"
NONE
null
Example: ``` b = pd.Series({"playerid": 544911367940993}, dtype='float64') b['playerid'].astype('string') ``` This should output 544911367940993 or 544911367940993.0, but instead it prints '5.44911367941e+14'. It seems this is because Pandas uses str(b['playerid']) instead of b['playerid'].**repr**()
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3542/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3542/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3543
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3543/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3543/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3543/events
https://github.com/pandas-dev/pandas/pull/3543
14,079,171
MDExOlB1bGxSZXF1ZXN0NTU4NDk4OA==
3,543
Document read_csv's usecols parameter.
{ "avatar_url": "https://avatars.githubusercontent.com/u/410907?v=4", "events_url": "https://api.github.com/users/lexual/events{/privacy}", "followers_url": "https://api.github.com/users/lexual/followers", "following_url": "https://api.github.com/users/lexual/following{/other_user}", "gists_url": "https://api.github.com/users/lexual/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lexual", "id": 410907, "login": "lexual", "node_id": "MDQ6VXNlcjQxMDkwNw==", "organizations_url": "https://api.github.com/users/lexual/orgs", "received_events_url": "https://api.github.com/users/lexual/received_events", "repos_url": "https://api.github.com/users/lexual/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lexual/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lexual/subscriptions", "type": "User", "url": "https://api.github.com/users/lexual" }
[]
closed
false
null
[]
null
0
"2013-05-08T00:49:15Z"
"2013-05-15T23:13:42Z"
"2013-05-08T00:50:59Z"
CONTRIBUTOR
null
read_csv's usecols argument is currently undocumented. This patch fixes this: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.io.parsers.read_csv.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/3543/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3543/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3543.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3543", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/3543.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3543" }
https://api.github.com/repos/pandas-dev/pandas/issues/3544
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3544/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3544/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3544/events
https://github.com/pandas-dev/pandas/pull/3544
14,079,421
MDExOlB1bGxSZXF1ZXN0NTU4NTExOA==
3,544
document read_csv's usecols argument.
{ "avatar_url": "https://avatars.githubusercontent.com/u/410907?v=4", "events_url": "https://api.github.com/users/lexual/events{/privacy}", "followers_url": "https://api.github.com/users/lexual/followers", "following_url": "https://api.github.com/users/lexual/following{/other_user}", "gists_url": "https://api.github.com/users/lexual/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lexual", "id": 410907, "login": "lexual", "node_id": "MDQ6VXNlcjQxMDkwNw==", "organizations_url": "https://api.github.com/users/lexual/orgs", "received_events_url": "https://api.github.com/users/lexual/received_events", "repos_url": "https://api.github.com/users/lexual/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lexual/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lexual/subscriptions", "type": "User", "url": "https://api.github.com/users/lexual" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
3
"2013-05-08T01:00:50Z"
"2014-07-16T08:07:34Z"
"2013-05-15T23:31:24Z"
CONTRIBUTOR
null
read_csv's usecols is currently not documented here: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.io.parsers.read_csv.html This patch fixes 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/3544/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3544/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3544.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3544", "merged_at": "2013-05-15T23:31:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3544.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3544" }
https://api.github.com/repos/pandas-dev/pandas/issues/3545
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3545/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3545/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3545/events
https://github.com/pandas-dev/pandas/issues/3545
14,103,982
MDU6SXNzdWUxNDEwMzk4Mg==
3,545
Floating point precision in DataFrame.read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/1257822?v=4", "events_url": "https://api.github.com/users/frgomes/events{/privacy}", "followers_url": "https://api.github.com/users/frgomes/followers", "following_url": "https://api.github.com/users/frgomes/following{/other_user}", "gists_url": "https://api.github.com/users/frgomes/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/frgomes", "id": 1257822, "login": "frgomes", "node_id": "MDQ6VXNlcjEyNTc4MjI=", "organizations_url": "https://api.github.com/users/frgomes/orgs", "received_events_url": "https://api.github.com/users/frgomes/received_events", "repos_url": "https://api.github.com/users/frgomes/repos", "site_admin": false, "starred_url": "https://api.github.com/users/frgomes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/frgomes/subscriptions", "type": "User", "url": "https://api.github.com/users/frgomes" }
[]
closed
false
null
[]
null
1
"2013-05-08T14:38:02Z"
"2013-05-10T10:15:23Z"
"2013-05-10T10:15:23Z"
NONE
null
Floating point round errors appear just after you read float figures from a CSV file. How to reproduce: ``` Date, Close 2013-01-01, 25.56 ``` It will read 25.26 as 25.559999999999999 Possibly duplicate of https://github.com/pydata/pandas/issues/2069
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3545/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3545/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3546
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3546/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3546/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3546/events
https://github.com/pandas-dev/pandas/issues/3546
14,108,300
MDU6SXNzdWUxNDEwODMwMA==
3,546
Indexing TimeSeries by date string drops last day
{ "avatar_url": "https://avatars.githubusercontent.com/u/1676326?v=4", "events_url": "https://api.github.com/users/goyodiaz/events{/privacy}", "followers_url": "https://api.github.com/users/goyodiaz/followers", "following_url": "https://api.github.com/users/goyodiaz/following{/other_user}", "gists_url": "https://api.github.com/users/goyodiaz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/goyodiaz", "id": 1676326, "login": "goyodiaz", "node_id": "MDQ6VXNlcjE2NzYzMjY=", "organizations_url": "https://api.github.com/users/goyodiaz/orgs", "received_events_url": "https://api.github.com/users/goyodiaz/received_events", "repos_url": "https://api.github.com/users/goyodiaz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/goyodiaz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/goyodiaz/subscriptions", "type": "User", "url": "https://api.github.com/users/goyodiaz" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" } ]
closed
false
null
[]
{ "closed_at": "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" }
1
"2013-05-08T16:01:40Z"
"2013-06-14T15:36:07Z"
"2013-05-08T18:00:28Z"
CONTRIBUTOR
null
``` >>> import pandas as pd >>> pd.__version__ '0.12.0.dev' >>> index = pd.date_range(start='2013-05-31 00:00', end='2013-05-31 23:00', freq='H') >>> series = pd.Series(range(len(index)), index=index) >>> print series.index.summary() DatetimeIndex: 24 entries, 2013-05-31 00:00:00 to 2013-05-31 23:00:00 Freq: H >>> print series['2013-05'].index.summary() DatetimeIndex: 1 entries, 2013-05-31 00:00:00 to 2013-05-31 00:00:00 Freq: H ``` I would expect the slice to be the same as the original series.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3546/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3546/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3547
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3547/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3547/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3547/events
https://github.com/pandas-dev/pandas/issues/3547
14,112,199
MDU6SXNzdWUxNDExMjE5OQ==
3,547
to_html vertically expands multiindex cells if there are empty strings
{ "avatar_url": "https://avatars.githubusercontent.com/u/1740780?v=4", "events_url": "https://api.github.com/users/toc-the-younger/events{/privacy}", "followers_url": "https://api.github.com/users/toc-the-younger/followers", "following_url": "https://api.github.com/users/toc-the-younger/following{/other_user}", "gists_url": "https://api.github.com/users/toc-the-younger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/toc-the-younger", "id": 1740780, "login": "toc-the-younger", "node_id": "MDQ6VXNlcjE3NDA3ODA=", "organizations_url": "https://api.github.com/users/toc-the-younger/orgs", "received_events_url": "https://api.github.com/users/toc-the-younger/received_events", "repos_url": "https://api.github.com/users/toc-the-younger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/toc-the-younger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/toc-the-younger/subscriptions", "type": "User", "url": "https://api.github.com/users/toc-the-younger" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
{ "closed_at": "2013-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" }
5
"2013-05-08T17:19:50Z"
"2020-11-11T10:18:21Z"
"2013-05-10T09:25:32Z"
CONTRIBUTOR
null
Notice in the html below the second index column's 'a' field is given as `<th rowspan="2" valign="top">a</th>`, expanding over what should be an empty cell. I actually found this using a pivot table, `margins=True`, as this creates a row keyed like `('All', '', '')`. ``` print df = pd.DataFrame({'c1': ['a', 'b'], 'c2': ['a', ''], 'data': [1, 2]}).set_index(['c1', 'c2']) data c1 c2 a a 1 b 2 print df.to_html() <table border="1" class="dataframe"> <thead> <tr style="text-align: right;"> <th></th> <th></th> <th>data</th> </tr> <tr> <th>c1</th> <th>c2</th> <th></th> </tr> </thead> <tbody> <tr> <th>a</th> <th rowspan="2" valign="top">a</th> <td> 1</td> </tr> <tr> <th>b</th> <td> 2</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/3547/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3547/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3548
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3548/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3548/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3548/events
https://github.com/pandas-dev/pandas/pull/3548
14,113,056
MDExOlB1bGxSZXF1ZXN0NTYwMTUyMA==
3,548
BUG: Fixed bug in selecting month/quarter/year from a series would not select correctly (GH3546)
{ "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
"2013-05-08T17:40:05Z"
"2014-07-16T08:07:40Z"
"2013-05-08T17:59:47Z"
CONTRIBUTOR
null
closes #3546
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3548/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3548/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3548.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3548", "merged_at": "2013-05-08T17:59:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3548.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3548" }
https://api.github.com/repos/pandas-dev/pandas/issues/3549
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3549/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3549/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3549/events
https://github.com/pandas-dev/pandas/pull/3549
14,128,769
MDExOlB1bGxSZXF1ZXN0NTYxMDM3MA==
3,549
BUG/TST: fixed up retaining of index names in the table .info (like freq/tz)
{ "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
"2013-05-09T00:16:27Z"
"2014-07-16T08:07:44Z"
"2013-05-09T00:34:59Z"
CONTRIBUTOR
null
adjunct to #3531 (retention of index name attributes was not working)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3549/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3549/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3549.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3549", "merged_at": "2013-05-09T00:34:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3549.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3549" }
https://api.github.com/repos/pandas-dev/pandas/issues/3550
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3550/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3550/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3550/events
https://github.com/pandas-dev/pandas/pull/3550
14,148,734
MDExOlB1bGxSZXF1ZXN0NTYyMDI5Nw==
3,550
BUG: raise on invalid operations for timedelta/datetime
{ "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
"2013-05-09T14:38:32Z"
"2014-06-21T11:10:14Z"
"2013-05-09T15:25:46Z"
CONTRIBUTOR
null
e.g. can't add 2 datetimes, nor multiply timedelta \* datetime
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3550/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3550/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3550.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3550", "merged_at": "2013-05-09T15:25:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3550.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3550" }
https://api.github.com/repos/pandas-dev/pandas/issues/3551
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3551/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3551/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3551/events
https://github.com/pandas-dev/pandas/issues/3551
14,150,210
MDU6SXNzdWUxNDE1MDIxMA==
3,551
ENH: apply to generate Panels with returned Frames
{ "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "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
{ "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" }
[ { "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_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
2
"2013-05-09T15:11:36Z"
"2014-02-15T21:15:44Z"
"2014-02-15T21:15:44Z"
CONTRIBUTOR
null
related is #1148 (the groupby) sse also #3551 useful in a case where the returned arrity is > 1 (right now not implemented) essentially ``` In [3]: df = DataFrame(randn(20,2),index=date_range('20130101',periods=20,freq='min'), columns=list('AB')) df.resample('15Min',how='ohlc') NotImplementedError: ``` Easy enough to create manually ``` In [17]: pd.Panel(dict([ (i,df[i].resample('15Min',how='ohlc')) for i in df.columns ])) Out[17]: <class 'pandas.core.panel.Panel'> Dimensions: 2 (items) x 2 (major_axis) x 4 (minor_axis) Items axis: A to B Major_axis axis: 2013-01-01 00:00:00 to 2013-01-01 00:15:00 Minor_axis axis: open to close ``` From this question https://groups.google.com/forum/?fromgroups=#!topic/pystatsmodels/yHSC84koetU
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3551/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3551/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3552
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3552/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3552/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3552/events
https://github.com/pandas-dev/pandas/issues/3552
14,152,654
MDU6SXNzdWUxNDE1MjY1NA==
3,552
combine_first converts dtype from bool to object
{ "avatar_url": "https://avatars.githubusercontent.com/u/303866?v=4", "events_url": "https://api.github.com/users/wilsaj/events{/privacy}", "followers_url": "https://api.github.com/users/wilsaj/followers", "following_url": "https://api.github.com/users/wilsaj/following{/other_user}", "gists_url": "https://api.github.com/users/wilsaj/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wilsaj", "id": 303866, "login": "wilsaj", "node_id": "MDQ6VXNlcjMwMzg2Ng==", "organizations_url": "https://api.github.com/users/wilsaj/orgs", "received_events_url": "https://api.github.com/users/wilsaj/received_events", "repos_url": "https://api.github.com/users/wilsaj/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wilsaj/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wilsaj/subscriptions", "type": "User", "url": "https://api.github.com/users/wilsaj" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
3
"2013-05-09T16:04:20Z"
"2014-06-19T15:13:37Z"
"2013-05-09T19:18:31Z"
NONE
null
possibly related to #3041 but still present in 0.11 and current HEAD (23f6058bd6249c21b5db95530a703fa4bc4c2510) ``` python In [1]: import pandas as pd In [2]: import numpy as np In [3]: df1 = pd.DataFrame([[np.nan, 3.,True], [-4.6, np.nan, True], [np.nan, 7., False]]) In [4]: df2 = pd.DataFrame([[-42.6, np.nan, True], [-5., 1.6, False]], index=[1, 2]) In [5]: df1[2] Out[5]: 0 True 1 True 2 False Name: 2, dtype: bool In [6]: df2[2] Out[6]: 1 True 2 False Name: 2, dtype: bool In [7]: df1.combine_first(df2)[2] Out[7]: 0 True 1 True 2 False Name: 2, dtype: object ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3552/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3552/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3553
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3553/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3553/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3553/events
https://github.com/pandas-dev/pandas/issues/3553
14,154,213
MDU6SXNzdWUxNDE1NDIxMw==
3,553
to_html fails for MultiIndexes with empty strings and display.multi_sparse == False
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
{ "closed_at": "2013-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" }
0
"2013-05-09T16:39:42Z"
"2013-05-10T09:07:38Z"
"2013-05-10T09:07:15Z"
MEMBER
null
Piggybacking off of #3547. ``` python import pandas as pd from nose.tools import assert_raises pd.set_option('display.multi_sparse', False) df = pd.DataFrame({'c1': ['a', 'b'], 'c2': ['a', ''], 'data': [1, 2]}).set_index(['c1', 'c2']) assert_raises(TypeError, df.to_html) # True ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3553/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3553/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3554
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3554/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3554/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3554/events
https://github.com/pandas-dev/pandas/pull/3554
14,158,217
MDExOlB1bGxSZXF1ZXN0NTYyNTM5OQ==
3,554
BUG: Fix .diff() on datelike and timedelta operations (GH3100_)
{ "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
1
"2013-05-09T18:11:21Z"
"2014-06-12T13:40:05Z"
"2013-05-09T18:52:53Z"
CONTRIBUTOR
null
close #3100
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3554/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3554/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3554.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3554", "merged_at": "2013-05-09T18:52:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3554.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3554" }
https://api.github.com/repos/pandas-dev/pandas/issues/3555
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3555/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3555/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3555/events
https://github.com/pandas-dev/pandas/pull/3555
14,159,716
MDExOlB1bGxSZXF1ZXN0NTYyNjI4Ng==
3,555
BUG: combine_first not returning the same dtype in cases where it can (GH3552)
{ "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
"2013-05-09T18:45:14Z"
"2014-06-16T08:28:16Z"
"2013-05-09T19:16:14Z"
CONTRIBUTOR
null
closes #3552 ENH: `convert_objects` now accepts a `copy` parameter (defaults to `True`)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3555/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3555/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3555.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3555", "merged_at": "2013-05-09T19:16:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3555.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3555" }
https://api.github.com/repos/pandas-dev/pandas/issues/3556
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3556/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3556/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3556/events
https://github.com/pandas-dev/pandas/issues/3556
14,165,007
MDU6SXNzdWUxNDE2NTAwNw==
3,556
Panel arguments can no longer be named.
{ "avatar_url": "https://avatars.githubusercontent.com/u/2464561?v=4", "events_url": "https://api.github.com/users/etyurin/events{/privacy}", "followers_url": "https://api.github.com/users/etyurin/followers", "following_url": "https://api.github.com/users/etyurin/following{/other_user}", "gists_url": "https://api.github.com/users/etyurin/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/etyurin", "id": 2464561, "login": "etyurin", "node_id": "MDQ6VXNlcjI0NjQ1NjE=", "organizations_url": "https://api.github.com/users/etyurin/orgs", "received_events_url": "https://api.github.com/users/etyurin/received_events", "repos_url": "https://api.github.com/users/etyurin/repos", "site_admin": false, "starred_url": "https://api.github.com/users/etyurin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/etyurin/subscriptions", "type": "User", "url": "https://api.github.com/users/etyurin" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
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" }
6
"2013-05-09T20:42:22Z"
"2013-05-10T20:09:51Z"
"2013-05-10T20:09:51Z"
NONE
null
This code used to work some time around version 0.10, but now generates a ValueError: In [14]: y Out[14]: <class 'pandas.core.panel.Panel'> Dimensions: 2 (items) x 3 (major_axis) x 2 (minor_axis) Items axis: z1 to z2 Major_axis axis: 0 to 2 Minor_axis axis: a to b In [15]: y.transpose('minor', 'major', 'items') Out[15]: <class 'pandas.core.panel.Panel'> Dimensions: 2 (items) x 3 (major_axis) x 2 (minor_axis) Items axis: a to b Major_axis axis: 0 to 2 Minor_axis axis: z1 to z2 ## In [16]: y.transpose( items='minor', major='major', minor='items') ValueError Traceback (most recent call last) <ipython-input-16-00ebdc16128e> in <module>() ----> 1 y.transpose( items='minor', major='major', minor='items') /usr/local/lib/python2.7/dist-packages/pandas-0.12.0.dev_be25266-py2.7-linux-x86_64.egg/pandas/core/panel.pyc in transpose(self, _args, *_kwargs) 1176 except (IndexError): 1177 raise ValueError( -> 1178 "not enough arguments specified to transpose!") 1179 1180 axes = [self._get_axis_number(kwargs[a]) for a in self._AXIS_ORDERS] ValueError: not enough arguments specified to transpose!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3556/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3556/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3557
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3557/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3557/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3557/events
https://github.com/pandas-dev/pandas/pull/3557
14,169,368
MDExOlB1bGxSZXF1ZXN0NTYzMTc4MA==
3,557
fix TypeError for display.multi_sparse == False
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[]
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" }
1
"2013-05-09T22:25:23Z"
"2014-07-16T08:08:02Z"
"2013-05-10T09:05:54Z"
MEMBER
null
fixes #3553.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3557/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3557/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3557.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3557", "merged_at": "2013-05-10T09:05:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3557.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3557" }
https://api.github.com/repos/pandas-dev/pandas/issues/3558
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3558/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3558/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3558/events
https://github.com/pandas-dev/pandas/pull/3558
14,172,024
MDExOlB1bGxSZXF1ZXN0NTYzMzM0NQ==
3,558
fix panel tranpose arguments api bug
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[]
closed
false
null
[]
{ "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
"2013-05-09T23:57:03Z"
"2014-06-12T15:13:45Z"
"2013-05-10T20:08:55Z"
MEMBER
null
fixes #3556.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3558/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3558/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3558.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3558", "merged_at": "2013-05-10T20:08:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3558.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3558" }
https://api.github.com/repos/pandas-dev/pandas/issues/3559
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3559/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3559/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3559/events
https://github.com/pandas-dev/pandas/pull/3559
14,173,885
MDExOlB1bGxSZXF1ZXN0NTYzMzg5Nw==
3,559
ENH: raise useful error message on invalid concat arguments
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[]
closed
false
null
[]
{ "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" }
0
"2013-05-10T00:38:57Z"
"2014-06-26T17:46:41Z"
"2013-05-10T10:43:07Z"
MEMBER
null
fixes #3481.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3559/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3559/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3559.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3559", "merged_at": "2013-05-10T10:43:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3559.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3559" }
https://api.github.com/repos/pandas-dev/pandas/issues/3560
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3560/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3560/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3560/events
https://github.com/pandas-dev/pandas/pull/3560
14,174,770
MDExOlB1bGxSZXF1ZXN0NTYzNDM1NA==
3,560
ENH: unicode of PeriodIndex returns valid Python code
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[]
closed
false
null
[]
{ "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" }
1
"2013-05-10T01:22:14Z"
"2014-06-23T18:20:54Z"
"2013-05-10T09:29:37Z"
MEMBER
null
addresses #3460.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3560/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3560/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3560.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3560", "merged_at": "2013-05-10T09:29:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3560.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3560" }
https://api.github.com/repos/pandas-dev/pandas/issues/3561
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3561/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3561/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3561/events
https://github.com/pandas-dev/pandas/issues/3561
14,180,924
MDU6SXNzdWUxNDE4MDkyNA==
3,561
DataFrame.ix losing row ordering when index has duplicates
{ "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" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2013-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" }
5
"2013-05-10T07:18:40Z"
"2013-05-14T21:44:57Z"
"2013-05-14T21:44:57Z"
CONTRIBUTOR
null
``` python import pandas as pd ind = ['A', 'A', 'B', 'C']i df = pd.DataFrame({'test':range(len(ind))}, index=ind) rows = ['C', 'B'] res = df.ix[rows] assert rows == list(res.index) # fails ``` The problem is that the resulting DataFrame keeps the ordering of the `df.index` and not the `rows` key. You'll notice that the `rows` key doesn't reference a duplicate 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/3561/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3561/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3562
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3562/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3562/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3562/events
https://github.com/pandas-dev/pandas/issues/3562
14,193,395
MDU6SXNzdWUxNDE5MzM5NQ==
3,562
df.from_records should be consistent in handling empty `data` arg
{ "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "events_url": "https://api.github.com/users/ghost/events{/privacy}", "followers_url": "https://api.github.com/users/ghost/followers", "following_url": "https://api.github.com/users/ghost/following{/other_user}", "gists_url": "https://api.github.com/users/ghost/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ghost", "id": 10137, "login": "ghost", "node_id": "MDQ6VXNlcjEwMTM3", "organizations_url": "https://api.github.com/users/ghost/orgs", "received_events_url": "https://api.github.com/users/ghost/received_events", "repos_url": "https://api.github.com/users/ghost/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ghost/subscriptions", "type": "User", "url": "https://api.github.com/users/ghost" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/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" }
[ { "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_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
3
"2013-05-10T14:32:01Z"
"2013-05-10T16:29:24Z"
"2013-05-10T16:04:38Z"
NONE
null
carried over from #3487 ``` python DataFrame.from_records([], columns=['a','b','c']) Empty DataFrame Columns: [a, b, c] Index: [] ``` vs. ``` python DataFrame.from_records([], columns=['a','b','b']) AssertionError: Number of manager items must equal union of block items ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3562/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3562/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3563
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3563/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3563/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3563/events
https://github.com/pandas-dev/pandas/pull/3563
14,193,856
MDExOlB1bGxSZXF1ZXN0NTY0Mzk2MA==
3,563
BUG: (GH3561) non-unique indexers with a list-like now return in the same order as the passed values
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-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" }
1
"2013-05-10T14:42:27Z"
"2014-07-10T09:20:30Z"
"2013-05-14T21:44:58Z"
CONTRIBUTOR
null
close #3561
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3563/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3563/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3563.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3563", "merged_at": "2013-05-14T21:44:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3563.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3563" }
https://api.github.com/repos/pandas-dev/pandas/issues/3564
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3564/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3564/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3564/events
https://github.com/pandas-dev/pandas/pull/3564
14,194,600
MDExOlB1bGxSZXF1ZXN0NTY0NDM2Nw==
3,564
BUG: Duplicate indexes with and empty DataFrame.from_records will return a correct frame (GH3562)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-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" }
0
"2013-05-10T15:00:17Z"
"2014-06-29T09:51:40Z"
"2013-05-10T16:01:33Z"
CONTRIBUTOR
null
closes #3562
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3564/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3564/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3564.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3564", "merged_at": "2013-05-10T16:01:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3564.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3564" }
https://api.github.com/repos/pandas-dev/pandas/issues/3565
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3565/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3565/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3565/events
https://github.com/pandas-dev/pandas/pull/3565
14,195,950
MDExOlB1bGxSZXF1ZXN0NTY0NTA4OA==
3,565
DOC: add bs4/lxml install note to README.rst
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[]
closed
false
null
[]
null
0
"2013-05-10T15:30:06Z"
"2014-06-14T20:18:33Z"
"2013-05-10T22:32:39Z"
MEMBER
null
Glanced at the GitHub landing page and didn't see 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/3565/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3565/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3565.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3565", "merged_at": "2013-05-10T22:32:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3565.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3565" }
https://api.github.com/repos/pandas-dev/pandas/issues/3566
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3566/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3566/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3566/events
https://github.com/pandas-dev/pandas/issues/3566
14,201,003
MDU6SXNzdWUxNDIwMTAwMw==
3,566
iterrows changes dtype of columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/87697?v=4", "events_url": "https://api.github.com/users/tebeka/events{/privacy}", "followers_url": "https://api.github.com/users/tebeka/followers", "following_url": "https://api.github.com/users/tebeka/following{/other_user}", "gists_url": "https://api.github.com/users/tebeka/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tebeka", "id": 87697, "login": "tebeka", "node_id": "MDQ6VXNlcjg3Njk3", "organizations_url": "https://api.github.com/users/tebeka/orgs", "received_events_url": "https://api.github.com/users/tebeka/received_events", "repos_url": "https://api.github.com/users/tebeka/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tebeka/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tebeka/subscriptions", "type": "User", "url": "https://api.github.com/users/tebeka" }
[ { "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": "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" }
10
"2013-05-10T17:33:05Z"
"2013-05-13T14:46:38Z"
"2013-05-13T12:36:28Z"
NONE
null
``` In [105]: df = pd.DataFrame([[1, 1.0]], columns=['x', 'y']) In [112]: row = next(df.iterrows())[1] In [113]: row Out[113]: x 1 y 1 Name: 0, dtype: float64 In [114]: row['x'].dtype Out[114]: dtype('float64') In [115]: df['x'].dtype Out[115]: 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/3566/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3566/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3567
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3567/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3567/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3567/events
https://github.com/pandas-dev/pandas/issues/3567
14,207,369
MDU6SXNzdWUxNDIwNzM2OQ==
3,567
qt repr of frames is larger than explicitly calling repr
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
1
"2013-05-10T20:09:49Z"
"2013-06-24T15:59:04Z"
"2013-06-24T15:59:04Z"
MEMBER
null
This is so minor I almost didn't want to open this issue, but here it is. The qt repr seems to output the repr of a frame larger than if you actually call `print(repr(frame))`. Screen shot: ![qt-repr-bug](https://f.cloud.github.com/assets/417981/490014/8bab9790-b9ad-11e2-8f97-577301bae929.png)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3567/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3567/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3568
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3568/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3568/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3568/events
https://github.com/pandas-dev/pandas/issues/3568
14,212,806
MDU6SXNzdWUxNDIxMjgwNg==
3,568
repr of large DatetimeIndex objects is too slow
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[]
closed
false
null
[]
null
1
"2013-05-10T22:43:42Z"
"2013-05-13T05:10:00Z"
"2013-05-13T05:10:00Z"
MEMBER
null
I have datetimeindexes with about 1.5e6 elements. I'm loathe to suggest adding _yet another_ config option to control terminal output, but if valid python code repring of indices must be kept it might be necessary.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3568/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3568/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3569
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3569/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3569/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3569/events
https://github.com/pandas-dev/pandas/pull/3569
14,213,396
MDExOlB1bGxSZXF1ZXN0NTY1NDc5NA==
3,569
DOC: document non-preservation of dtypes across rows with iterrows
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[]
closed
false
null
[]
null
2
"2013-05-10T23:09:09Z"
"2014-07-07T00:24:42Z"
"2013-05-11T11:47:28Z"
MEMBER
null
iterrows doesn't preserve dtypes across rows, document it, #3566. i learned that you can nest ..ipython:: blocks in ..note:: blocks in sphinx. sweet.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3569/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3569/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3569.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3569", "merged_at": "2013-05-11T11:47:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3569.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3569" }
https://api.github.com/repos/pandas-dev/pandas/issues/3570
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3570/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3570/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3570/events
https://github.com/pandas-dev/pandas/issues/3570
14,213,724
MDU6SXNzdWUxNDIxMzcyNA==
3,570
Panel.fillna() loses index names
{ "avatar_url": "https://avatars.githubusercontent.com/u/3384337?v=4", "events_url": "https://api.github.com/users/joeb1415/events{/privacy}", "followers_url": "https://api.github.com/users/joeb1415/followers", "following_url": "https://api.github.com/users/joeb1415/following{/other_user}", "gists_url": "https://api.github.com/users/joeb1415/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/joeb1415", "id": 3384337, "login": "joeb1415", "node_id": "MDQ6VXNlcjMzODQzMzc=", "organizations_url": "https://api.github.com/users/joeb1415/orgs", "received_events_url": "https://api.github.com/users/joeb1415/received_events", "repos_url": "https://api.github.com/users/joeb1415/repos", "site_admin": false, "starred_url": "https://api.github.com/users/joeb1415/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joeb1415/subscriptions", "type": "User", "url": "https://api.github.com/users/joeb1415" }
[ { "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": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
2
"2013-05-10T23:23:05Z"
"2018-07-06T20:20:59Z"
"2017-07-11T09:54:17Z"
NONE
null
``` Panel.fillna() ``` should accept ``` (axis= [0, 1, 2] or ['items', 'major_axis', 'minor_axis']) ``` as an argument. Right now it essentially defaults to ``` (axis='major_axis') ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3570/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3570/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3571
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3571/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3571/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3571/events
https://github.com/pandas-dev/pandas/issues/3571
14,214,356
MDU6SXNzdWUxNDIxNDM1Ng==
3,571
Improve Reading and Writing of Multi-Index Columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/4306474?v=4", "events_url": "https://api.github.com/users/pblelloch/events{/privacy}", "followers_url": "https://api.github.com/users/pblelloch/followers", "following_url": "https://api.github.com/users/pblelloch/following{/other_user}", "gists_url": "https://api.github.com/users/pblelloch/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pblelloch", "id": 4306474, "login": "pblelloch", "node_id": "MDQ6VXNlcjQzMDY0NzQ=", "organizations_url": "https://api.github.com/users/pblelloch/orgs", "received_events_url": "https://api.github.com/users/pblelloch/received_events", "repos_url": "https://api.github.com/users/pblelloch/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pblelloch/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pblelloch/subscriptions", "type": "User", "url": "https://api.github.com/users/pblelloch" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
8
"2013-05-10T23:53:17Z"
"2013-05-19T14:41:57Z"
"2013-05-19T14:41:57Z"
NONE
null
link to #1651 (to_csv) and #3141 (read_csv) Currently (0.11) when the read_csv and to_csv methods handle multi-index row labels fine, but don't do as well with multi-index column labels. For the column index the to_csv method writes them out as a tuple into the 1st row of the CSV file. This reads back in as a tuple. It would be better if it actually wrote out each element of the multi-index as a row of the CSV file and you could then specify a range of rows for the header on read_csv to reconstruct the multi-index column header. I'm thinking of something like "header=[0,1]" to read in the first two rows of the CSV file as a 2 element multi-index column header. What's not clear to me is where you read/write the names of the indices.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3571/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3571/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3572
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3572/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3572/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3572/events
https://github.com/pandas-dev/pandas/pull/3572
14,214,574
MDExOlB1bGxSZXF1ZXN0NTY1NTQ3OQ==
3,572
ENH: plot only numeric data and raise an exception *before* plotting if there is no numeric data
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[]
closed
false
null
[]
{ "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" }
29
"2013-05-11T00:06:40Z"
"2014-06-13T08:15:50Z"
"2013-05-21T21:01:11Z"
MEMBER
null
Raise a `TypeError` alerting the user to the fact that they are trying to plot nonnumeric data, or if there are any numeric data plot those. closes #1818.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3572/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3572/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3572.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3572", "merged_at": "2013-05-21T21:01:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3572.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3572" }
https://api.github.com/repos/pandas-dev/pandas/issues/3573
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3573/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3573/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3573/events
https://github.com/pandas-dev/pandas/issues/3573
14,214,776
MDU6SXNzdWUxNDIxNDc3Ng==
3,573
Unintuitive default behavior with wide DataFrames in the IPython notebook
{ "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.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": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
8
"2013-05-11T00:16:57Z"
"2013-09-20T03:01:36Z"
"2013-05-25T23:25:04Z"
MEMBER
null
In the IPython notebook, HTML output it the default and whether summary view is displayed should not be governed by hypothetical line width. I ran into this problem in a demo recently and it took me a minute to figure out what was wrong, definitely a bad change in 0.11.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3573/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3573/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3574
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3574/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3574/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3574/events
https://github.com/pandas-dev/pandas/issues/3574
14,215,152
MDU6SXNzdWUxNDIxNTE1Mg==
3,574
DOC: docstring for min max should point out idxmax and idxmin
{ "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
1
"2013-05-11T00:37:11Z"
"2013-05-13T17:38:19Z"
"2013-05-13T17:38:19Z"
CONTRIBUTOR
null
Numpy users might be puzzled by the fact that everything is so numpy-like, but argmax and argmin are not implemented (of course having not read the manual), so I would like to suggest to point out idxmax and idxmin in the docstring of Series/DataFrame.max/min?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3574/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3574/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3575
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3575/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3575/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3575/events
https://github.com/pandas-dev/pandas/pull/3575
14,217,257
MDExOlB1bGxSZXF1ZXN0NTY1NjcxMw==
3,575
ENH: allow to_csv to write multi-index columns, read_csv to read with header=list arg
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-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" }
32
"2013-05-11T04:08:31Z"
"2014-06-12T12:04:57Z"
"2013-05-19T14:22:04Z"
CONTRIBUTOR
null
In theory should close: #3571, #1651, #3141 Works, but a couple of issues/caveats: - ~~index_col needs to be specified as an integer list (can be fixed)~~ - header is a list of rows to read that contain the multi-index, a row that is skipped (e.g. [0,1,3,5], will just be skipped, like a comment) - the writing format might be a bit odd: the col names go in the first column, other index_cols are blanks (they are separated, just == '') The names of an multi-index on the index are after the columns and before the data, and are a full row (but blank after the row names). - ~~I am not sure if we should allow `df.to_csv('path',index=False)` when have a multi-index columns, could just ban it I guess (mainly as it screws up the write format, and then where do you put the names?)~~ - ~~The `cols` argument needs testing and prob is broken when using multi-index on the columns (it really should be specified as a tuple I think, but that is work, so maybe just ban it when using multi-index columns)~~ - needs more testing ``` In [14]: df = mkdf(5,3,r_idx_nlevels=2,c_idx_nlevels=4) In [15]: df.to_csv('test.csv') In [16]: !cat 'test.csv' C0,,C_l0_g0,C_l0_g1,C_l0_g2 C1,,C_l1_g0,C_l1_g1,C_l1_g2 C2,,C_l2_g0,C_l2_g1,C_l2_g2 C3,,C_l3_g0,C_l3_g1,C_l3_g2 R0,R1,,, R_l0_g0,R_l1_g0,R0C0,R0C1,R0C2 R_l0_g1,R_l1_g1,R1C0,R1C1,R1C2 R_l0_g2,R_l1_g2,R2C0,R2C1,R2C2 R_l0_g3,R_l1_g3,R3C0,R3C1,R3C2 R_l0_g4,R_l1_g4,R4C0,R4C1,R4C2 In [17]: res = read_csv('test.csv',header=[0,1,2,3],index_col=[0,1]) In [18]: res.index Out[18]: MultiIndex [(u'R_l0_g0', u'R_l1_g0'), (u'R_l0_g1', u'R_l1_g1'), (u'R_l0_g2', u'R_l1_g2'), (u'R_l0_g3', u'R_l1_g3'), (u'R_l0_g4', u'R_l1_g4')] In [19]: res.columns Out[19]: MultiIndex [(u'C_l0_g0', u'C_l1_g0', u'C_l2_g0', u'C_l3_g0'), (u'C_l0_g1', u'C_l1_g1', u'C_l2_g1', u'C_l3_g1'), (u'C_l0_g2', u'C_l1_g2', u'C_l2_g2', u'C_l3_g2')] In [20]: res Out[20]: C0 C_l0_g0 C_l0_g1 C_l0_g2 C1 C_l1_g0 C_l1_g1 C_l1_g2 C2 C_l2_g0 C_l2_g1 C_l2_g2 C3 C_l3_g0 C_l3_g1 C_l3_g2 R0 R1 R_l0_g0 R_l1_g0 R0C0 R0C1 R0C2 R_l0_g1 R_l1_g1 R1C0 R1C1 R1C2 R_l0_g2 R_l1_g2 R2C0 R2C1 R2C2 R_l0_g3 R_l1_g3 R3C0 R3C1 R3C2 R_l0_g4 R_l1_g4 R4C0 R4C1 R4C2 In [21]: res.index.names Out[21]: ['R0', 'R1'] In [22]: res.columns.names Out[22]: ['C0', 'C1', 'C2', 'C3'] ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3575/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3575/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3575.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3575", "merged_at": "2013-05-19T14:22:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3575.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3575" }
https://api.github.com/repos/pandas-dev/pandas/issues/3576
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3576/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3576/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3576/events
https://github.com/pandas-dev/pandas/issues/3576
14,217,655
MDU6SXNzdWUxNDIxNzY1NQ==
3,576
df.reorder_levels() ... drops name attribute of DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/3282792?v=4", "events_url": "https://api.github.com/users/sanguineturtle/events{/privacy}", "followers_url": "https://api.github.com/users/sanguineturtle/followers", "following_url": "https://api.github.com/users/sanguineturtle/following{/other_user}", "gists_url": "https://api.github.com/users/sanguineturtle/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sanguineturtle", "id": 3282792, "login": "sanguineturtle", "node_id": "MDQ6VXNlcjMyODI3OTI=", "organizations_url": "https://api.github.com/users/sanguineturtle/orgs", "received_events_url": "https://api.github.com/users/sanguineturtle/received_events", "repos_url": "https://api.github.com/users/sanguineturtle/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sanguineturtle/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sanguineturtle/subscriptions", "type": "User", "url": "https://api.github.com/users/sanguineturtle" }
[ { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
null
4
"2013-05-11T05:00:30Z"
"2013-06-06T00:43:12Z"
"2013-06-06T00:43:12Z"
NONE
null
Using Pandas 0.11.0 A DataFrame with MultiIndex: df = df.reorder_levels() drops the dataframe name attribute. thus, df.name after the reorder_levels() has no attribute '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/3576/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3576/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3577
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3577/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3577/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3577/events
https://github.com/pandas-dev/pandas/issues/3577
14,220,503
MDU6SXNzdWUxNDIyMDUwMw==
3,577
HDFStore complaining about 'timedelta64[ns]'
{ "avatar_url": "https://avatars.githubusercontent.com/u/1324881?v=4", "events_url": "https://api.github.com/users/vfilimonov/events{/privacy}", "followers_url": "https://api.github.com/users/vfilimonov/followers", "following_url": "https://api.github.com/users/vfilimonov/following{/other_user}", "gists_url": "https://api.github.com/users/vfilimonov/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vfilimonov", "id": 1324881, "login": "vfilimonov", "node_id": "MDQ6VXNlcjEzMjQ4ODE=", "organizations_url": "https://api.github.com/users/vfilimonov/orgs", "received_events_url": "https://api.github.com/users/vfilimonov/received_events", "repos_url": "https://api.github.com/users/vfilimonov/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vfilimonov/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vfilimonov/subscriptions", "type": "User", "url": "https://api.github.com/users/vfilimonov" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "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" }
12
"2013-05-11T11:35:34Z"
"2013-09-12T16:05:48Z"
"2013-09-12T16:05:48Z"
CONTRIBUTOR
null
The HDFStore seemed to not accepting timedelta's objects. The code ``` import datetime as dt import pandas as pd s = pd.Series(pd.date_range('2012-1-1', periods=3, freq='D')) td = pd.Series([ dt.timedelta(days=i) for i in range(3) ]) df = pd.DataFrame(dict(A = s, B = td)) print df print df.dtypes store = pd.HDFStore('store.h5') store['df'] = df store.close() ``` results in the `ValueError: unknown type: 'timedelta64[ns]'`. ``` --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-27-b5619cf79ed9> in <module>() 9 10 store = pd.HDFStore('store.h5') ---> 11 store['df'] = df 12 store.close() /Users/user/.virtual_envs/system/lib/python2.7/site-packages/pandas/io/pytables.pyc in __setitem__(self, key, value) 239 240 def __setitem__(self, key, value): --> 241 self.put(key, value) 242 243 def __delitem__(self, key): /Users/user/.virtual_envs/system/lib/python2.7/site-packages/pandas/io/pytables.pyc in put(self, key, value, table, append, **kwargs) 534 table 535 """ --> 536 self._write_to_group(key, value, table=table, append=append, **kwargs) 537 538 def remove(self, key, where=None, start=None, stop=None): /Users/user/.virtual_envs/system/lib/python2.7/site-packages/pandas/io/pytables.pyc in _write_to_group(self, key, value, index, table, append, complib, **kwargs) 869 raise ValueError('Compression not supported on non-table') 870 --> 871 s.write(obj = value, append=append, complib=complib, **kwargs) 872 if s.is_table and index: 873 s.create_index(columns = index) /Users/user/.virtual_envs/system/lib/python2.7/site-packages/pandas/io/pytables.pyc in write(self, obj, **kwargs) 2003 blk = data.blocks[i] 2004 # I have no idea why, but writing values before items fixed #2299 -> 2005 self.write_array('block%d_values' % i, blk.values) 2006 self.write_index('block%d_items' % i, blk.items) 2007 /Users/user/.virtual_envs/system/lib/python2.7/site-packages/pandas/io/pytables.pyc in write_array(self, key, value) 1805 self.write_array_empty(key, value) 1806 else: -> 1807 self._handle.createArray(self.group, key, value) 1808 1809 getattr(self.group, key)._v_attrs.transposed = transposed /Users/user/.virtual_envs/system/lib/python2.7/site-packages/tables/file.pyc in createArray(self, where, name, object, title, byteorder, createparents) 778 parentNode = self._getOrCreatePath(where, createparents) 779 return Array(parentNode, name, --> 780 object=object, title=title, byteorder=byteorder) 781 782 /Users/user/.virtual_envs/system/lib/python2.7/site-packages/tables/array.pyc in __init__(self, parentNode, name, object, title, byteorder, _log, _atom) 165 # Ordinary arrays have no filters: leaf is created with default ones. 166 super(Array, self).__init__(parentNode, name, new, Filters(), --> 167 byteorder, _log) 168 169 /Users/user/.virtual_envs/system/lib/python2.7/site-packages/tables/leaf.pyc in __init__(self, parentNode, name, new, filters, byteorder, _log) 261 # is a lazy property that automatically handles their loading. 262 --> 263 super(Leaf, self).__init__(parentNode, name, _log) 264 265 /Users/user/.virtual_envs/system/lib/python2.7/site-packages/tables/node.pyc in __init__(self, parentNode, name, _log) 248 # Create or open the node and get its object ID. 249 if new: --> 250 self._v_objectID = self._g_create() 251 else: 252 self._v_objectID = self._g_open() /Users/user/.virtual_envs/system/lib/python2.7/site-packages/tables/array.pyc in _g_create(self) 198 # on 199 (self._v_objectID, self.shape, self.atom) = self._createArray( --> 200 nparr, self._v_new_title, self.atom) 201 except: #XXX 202 # Problems creating the Array on disk. Close node and re-raise. /Users/user/.virtual_envs/system/lib/python2.7/site-packages/tables/hdf5Extension.so in tables.hdf5Extension.Array._createArray (tables/hdf5Extension.c:8214)() /Users/user/.virtual_envs/system/lib/python2.7/site-packages/tables/atom.pyc in from_dtype(class_, dtype, dflt) 368 return class_.from_kind('string', itemsize, dtype.shape, dflt) 369 # Most NumPy types have direct correspondence with PyTables types. --> 370 return class_.from_type(basedtype.name, dtype.shape, dflt) 371 372 @classmethod /Users/user/.virtual_envs/system/lib/python2.7/site-packages/tables/atom.pyc in from_type(class_, type, shape, dflt) 392 393 if type not in all_types: --> 394 raise ValueError("unknown type: %r" % (type,)) 395 kind, itemsize = split_type(type) 396 return class_.from_kind(kind, itemsize, shape, dflt) ValueError: unknown type: 'timedelta64[ns]' ``` OS: OSX 10.8.3 python: 2.7.4 pandas: 0.11.0 numpy: 1.7.1 tables: 2.4.0 UPDATE: It seemed to be a pytables issue.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3577/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3577/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3578
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3578/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3578/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3578/events
https://github.com/pandas-dev/pandas/issues/3578
14,225,835
MDU6SXNzdWUxNDIyNTgzNQ==
3,578
Issue with Pandas boxplot within a subplot
{ "avatar_url": "https://avatars.githubusercontent.com/u/1400021?v=4", "events_url": "https://api.github.com/users/ghl3/events{/privacy}", "followers_url": "https://api.github.com/users/ghl3/followers", "following_url": "https://api.github.com/users/ghl3/following{/other_user}", "gists_url": "https://api.github.com/users/ghl3/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ghl3", "id": 1400021, "login": "ghl3", "node_id": "MDQ6VXNlcjE0MDAwMjE=", "organizations_url": "https://api.github.com/users/ghl3/orgs", "received_events_url": "https://api.github.com/users/ghl3/received_events", "repos_url": "https://api.github.com/users/ghl3/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ghl3/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ghl3/subscriptions", "type": "User", "url": "https://api.github.com/users/ghl3" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
3
"2013-05-11T19:23:47Z"
"2014-05-08T13:23:06Z"
"2014-05-08T13:23:06Z"
NONE
null
related is #4636 I'm having an issue drawing a Pandas boxplot within a subplot. Based on the two ways I'm trying, creating the boxplot either removes all the subplots that I've already created, or plots the boxplot after the subplot grid. But I can't seem to draw it within the subplot grid. import matplotlib.pyplot as plt import pandas from pandas import DataFrame, Series data = {'day' : Series([1, 1, 1, 2, 2, 2, 3, 3, 3]),          'val' : Series([3, 4, 5, 6, 7, 8, 9, 10, 11])} df = pandas.DataFrame(data) The first thing I've tried is the following: plt.figure() plt.subplot(2, 2, 1) plt.plot([1, 2, 3]) plt.subplot(2, 2, 4) df.boxplot('val', 'day') But this simply creates the plot outside of the subplots: ![image](https://f.cloud.github.com/assets/1400021/491966/0cb03e8c-ba70-11e2-9aed-497ef76bea23.png) ![image](https://f.cloud.github.com/assets/1400021/491967/1896efe8-ba70-11e2-8db5-782babdcb880.png) So, I then tried supplying the axis by hand: plt.figure() plt.subplot(2, 2, 1) plt.plot([1, 2, 3]) plt.subplot(2, 2, 4) ax = plt.gca() df.boxplot('val', 'day', ax=ax) ![image](https://f.cloud.github.com/assets/1400021/491968/2783990c-ba70-11e2-9cfb-7c83bb881049.png) It seems that an internal call to subplot is messing up my desired subplot structure, preventing me from getting my boxplot image to appear in the bottom right grid in the subplots (the one that's empty in the first set of images)? See this question on StackOverflow: http://stackoverflow.com/questions/16500079/issue-with-pandas-boxplot-within-a-subplot
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3578/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3578/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3579
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3579/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3579/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3579/events
https://github.com/pandas-dev/pandas/issues/3579
14,225,885
MDU6SXNzdWUxNDIyNTg4NQ==
3,579
Iterating over groupby fails with period-indexed dataframe
{ "avatar_url": "https://avatars.githubusercontent.com/u/1676326?v=4", "events_url": "https://api.github.com/users/goyodiaz/events{/privacy}", "followers_url": "https://api.github.com/users/goyodiaz/followers", "following_url": "https://api.github.com/users/goyodiaz/following{/other_user}", "gists_url": "https://api.github.com/users/goyodiaz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/goyodiaz", "id": 1676326, "login": "goyodiaz", "node_id": "MDQ6VXNlcjE2NzYzMjY=", "organizations_url": "https://api.github.com/users/goyodiaz/orgs", "received_events_url": "https://api.github.com/users/goyodiaz/received_events", "repos_url": "https://api.github.com/users/goyodiaz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/goyodiaz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/goyodiaz/subscriptions", "type": "User", "url": "https://api.github.com/users/goyodiaz" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
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" }
4
"2013-05-11T19:27:40Z"
"2013-05-13T18:56:24Z"
"2013-05-13T18:56:24Z"
CONTRIBUTOR
null
I have found this while working with period-indexed data frames on Windows XP 32 bits: ``` import numpy as np import pandas as pd index = pd.period_range(start='1999-01', periods=5, freq='M') s1 = pd.Series(np.random.rand(len(index)), index=index) s2 = pd.Series(np.random.rand(len(index)), index=index) series = [('s1', s1), ('s2',s2)] df = pd.DataFrame.from_items(series) grouped = df.groupby(df.index.month) list(grouped) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "D:\Python27\lib\site-packages\pandas\core\groupby.py", line 595, in get_iterator for key, (i, group) in izip(keys, splitter): File "D:\Python27\lib\site-packages\pandas\core\groupby.py", line 2214, in __iter__ sdata = self._get_sorted_data() File "D:\Python27\lib\site-packages\pandas\core\groupby.py", line 2231, in _get_sorted_data return self.data.take(self.sort_idx, axis=self.axis) File "D:\Python27\lib\site-packages\pandas\core\frame.py", line 2891, in take new_index = self.index.take(indices) File "D:\Python27\lib\site-packages\pandas\tseries\period.py", line 1110, in take taken = self.values.take(indices, axis=axis) TypeError: Cannot cast array data from dtype('int64') to dtype('int32') according to the rule 'safe' ``` This happens with the last stable version 0.11.0. However iterating over grouped.s1 or grouped.s2 just works.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3579/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3579/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3580
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3580/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3580/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3580/events
https://github.com/pandas-dev/pandas/pull/3580
14,227,081
MDExOlB1bGxSZXF1ZXN0NTY2MDI1OA==
3,580
DOC: add mention of idx* methods in max/min methods of Series/DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[]
closed
false
null
[]
null
2
"2013-05-11T21:15:29Z"
"2014-07-16T08:08:44Z"
"2013-05-13T17:34:35Z"
MEMBER
null
closes #3574.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3580/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3580/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3580.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3580", "merged_at": "2013-05-13T17:34:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3580.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3580" }
https://api.github.com/repos/pandas-dev/pandas/issues/3581
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3581/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3581/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3581/events
https://github.com/pandas-dev/pandas/issues/3581
14,227,106
MDU6SXNzdWUxNDIyNzEwNg==
3,581
ENH: Add panel implementation of idxmin/max
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
3
"2013-05-11T21:17:37Z"
"2018-07-06T20:21:00Z"
"2016-09-29T22:31:03Z"
MEMBER
null
Is this something that is worth pursuing? Personally, I don't use Panel really ever since DataFrame is basically N-dimensional, but this might be good for API consistency.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3581/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3581/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3582
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3582/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3582/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3582/events
https://github.com/pandas-dev/pandas/issues/3582
14,227,694
MDU6SXNzdWUxNDIyNzY5NA==
3,582
Surprising behavior of DataFrame.replace
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
closed
false
null
[]
{ "closed_at": "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" }
21
"2013-05-11T22:07:43Z"
"2013-05-22T13:45:59Z"
"2013-05-22T13:45:59Z"
MEMBER
null
This seems a bit surprising: ``` python >>> from string import ascii_lowercase as letters >>> from pandas import DataFrame >>> df = DataFrame(list(letters[:4]), columns=['a']) >>> df a 0 a 1 b 2 c 3 d >>> df.replace({'a': 'b'}) a 0 a 1 a 2 c 3 d >>> df.replace({'a': 'c'}) a 0 a 1 b 2 b 3 d ``` Does this have to do with padding?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3582/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3582/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3583
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3583/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3583/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3583/events
https://github.com/pandas-dev/pandas/pull/3583
14,229,448
MDExOlB1bGxSZXF1ZXN0NTY2MTA4MQ==
3,583
Moving pandasjson back into mainline pandas
{ "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.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": "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" }
6
"2013-05-12T01:36:52Z"
"2014-06-26T17:48:41Z"
"2013-06-11T19:27:46Z"
MEMBER
null
This extension works perfectly fine on Python 2.x and all platforms to my knowledge except win32 on MinGW (it's fine with VC2008+ AFAIK). It might have problems on some of @yarikoptic's esoteric Debian platforms, we should identify which ones those are and disable the extension in the setup.py until we have a chance to sort out what's wrong in the C code. I don't think that's a bad compromise for now in the interest of having a usable extension for a lot of folks.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3583/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3583/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3583.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3583", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/3583.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3583" }
https://api.github.com/repos/pandas-dev/pandas/issues/3584
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3584/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3584/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3584/events
https://github.com/pandas-dev/pandas/pull/3584
14,244,648
MDExOlB1bGxSZXF1ZXN0NTY2NjUxOA==
3,584
ENH: add regex functionality to DataFrame.replace
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[]
closed
false
null
[]
null
46
"2013-05-13T03:37:37Z"
"2014-06-26T07:33:10Z"
"2013-05-17T19:24:58Z"
MEMBER
null
addresses #2285. cc @jreback and #3582.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3584/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3584/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3584.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3584", "merged_at": "2013-05-17T19:24:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3584.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3584" }
https://api.github.com/repos/pandas-dev/pandas/issues/3585
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3585/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3585/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3585/events
https://github.com/pandas-dev/pandas/pull/3585
14,246,256
MDExOlB1bGxSZXF1ZXN0NTY2NzI5Nw==
3,585
raise on fillna passed a list or tuple
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[]
closed
false
null
[]
null
8
"2013-05-13T05:40:00Z"
"2014-06-18T07:35:10Z"
"2013-05-13T22:51:06Z"
MEMBER
null
fixes #3435.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3585/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3585/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3585.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3585", "merged_at": "2013-05-13T22:51:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3585.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3585" }
https://api.github.com/repos/pandas-dev/pandas/issues/3586
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3586/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3586/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3586/events
https://github.com/pandas-dev/pandas/issues/3586
14,254,961
MDU6SXNzdWUxNDI1NDk2MQ==
3,586
Trouble with NaNs: set_index().reset_index() corrupts data
{ "avatar_url": "https://avatars.githubusercontent.com/u/3696165?v=4", "events_url": "https://api.github.com/users/cpbl/events{/privacy}", "followers_url": "https://api.github.com/users/cpbl/followers", "following_url": "https://api.github.com/users/cpbl/following{/other_user}", "gists_url": "https://api.github.com/users/cpbl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpbl", "id": 3696165, "login": "cpbl", "node_id": "MDQ6VXNlcjM2OTYxNjU=", "organizations_url": "https://api.github.com/users/cpbl/orgs", "received_events_url": "https://api.github.com/users/cpbl/received_events", "repos_url": "https://api.github.com/users/cpbl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpbl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpbl/subscriptions", "type": "User", "url": "https://api.github.com/users/cpbl" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2013-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" }
8
"2013-05-13T10:51:23Z"
"2013-05-31T13:14:17Z"
"2013-05-13T17:35:52Z"
NONE
null
In the following code, my data are corrupted by the sequence set_index().reset_index(). The value of "QC" is actually changed to 1 from NaN where it should be NaN. Btw, for symmetry I added the ".reset_index()", but the data corruption is introduced by set_index. This problem exists in both version '0.10.1' and '0.11.0' ``` bug=pd.DataFrame({'PRuid': {17: 'nonQC', 18: 'nonQC', 19: 'nonQC', 20: '10', 21: '11', 22: '12', 23: '13', 24: '24', 25: '35', 26: '46', 27: '47', 28: '48', 29: '59', 30: '10'}, 'QC': {17: 0.0, 18: 0.0, 19: 0.0, 20: nan, 21: nan, 22: nan, 23: nan, 24: 1.0, 25: nan, 26: nan, 27: nan, 28: nan, 29: nan, 30: nan}, 'data': {17: 7.9544899999999998, 18: 8.0142609999999994, 19: 7.8591520000000008, 20: 0.86140349999999999, 21: 0.87853110000000001, 22: 0.8427041999999999, 23: 0.78587700000000005, 24: 0.73062459999999996, 25: 0.81668560000000001, 26: 0.81927080000000008, 27: 0.80705009999999999, 28: 0.81440240000000008, 29: 0.80140849999999997, 30: 0.81307740000000006}, 'year': {17: 2006, 18: 2007, 19: 2008, 20: 1985, 21: 1985, 22: 1985, 23: 1985, 24: 1985, 25: 1985, 26: 1985, 27: 1985, 28: 1985, 29: 1985, 30: 1986}}) print bug #print bug.set_index(['year','PRuid','QC']) print bug.set_index(['year','PRuid','QC']).reset_index() ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3586/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3586/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3587
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3587/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3587/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3587/events
https://github.com/pandas-dev/pandas/pull/3587
14,260,223
MDExOlB1bGxSZXF1ZXN0NTY3NDE5Mg==
3,587
BUG: Fixed bug in reset_index with ``NaN`` in a multi-index (GH3586_)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-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" }
0
"2013-05-13T13:29:29Z"
"2014-06-29T12:28:29Z"
"2013-05-13T17:35:20Z"
CONTRIBUTOR
null
closes #3586
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3587/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3587/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3587.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3587", "merged_at": "2013-05-13T17:35:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3587.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3587" }
https://api.github.com/repos/pandas-dev/pandas/issues/3588
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3588/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3588/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3588/events
https://github.com/pandas-dev/pandas/issues/3588
14,261,449
MDU6SXNzdWUxNDI2MTQ0OQ==
3,588
Pivot NaN Bug
{ "avatar_url": "https://avatars.githubusercontent.com/u/4417562?v=4", "events_url": "https://api.github.com/users/seignour/events{/privacy}", "followers_url": "https://api.github.com/users/seignour/followers", "following_url": "https://api.github.com/users/seignour/following{/other_user}", "gists_url": "https://api.github.com/users/seignour/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/seignour", "id": 4417562, "login": "seignour", "node_id": "MDQ6VXNlcjQ0MTc1NjI=", "organizations_url": "https://api.github.com/users/seignour/orgs", "received_events_url": "https://api.github.com/users/seignour/received_events", "repos_url": "https://api.github.com/users/seignour/repos", "site_admin": false, "starred_url": "https://api.github.com/users/seignour/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/seignour/subscriptions", "type": "User", "url": "https://api.github.com/users/seignour" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2013-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" }
5
"2013-05-13T13:57:24Z"
"2014-06-17T11:23:40Z"
"2013-05-19T16:55:29Z"
NONE
null
The 'pivot' function does not properly handle NaNs. E.g.: ``` import numpy as np, pandas as pd test = pd.DataFrame({"a":['R1', 'R2', 'R3', 'R4'], "b":["C1", "C3", np.nan , "C4"], "c":[10, 15, np.nan , 20]}) test.head(2).pivot('a', 'b', 'c') b C1 C3 a R1 10 NaN R2 NaN 15 ``` (No NaNs, works properly) But: ``` test.pivot('a', 'b', 'c') b C1 C3 C4 a R1 NaN NaN NaN R2 NaN 10 15 R3 NaN NaN NaN R4 NaN NaN 20 ``` (Incorrect results, does not crash) Bug is present in versions 0.8.1 and 0.10.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/3588/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3588/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3589
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3589/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3589/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3589/events
https://github.com/pandas-dev/pandas/issues/3589
14,265,143
MDU6SXNzdWUxNDI2NTE0Mw==
3,589
Automate the automatable parts of documenting changes
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "DDDDDD", "default": false, "description": "Administrative tasks related to the pandas project", "id": 32933285, "name": "Admin", "node_id": "MDU6TGFiZWwzMjkzMzI4NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Admin" } ]
closed
false
null
[]
{ "closed_at": 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
"2013-05-13T15:10:54Z"
"2013-12-04T00:46:48Z"
"2013-06-24T15:57:43Z"
MEMBER
null
A script to automate some of the parts of updating docs when you add a feature would be great. @lodrago had a great idea regarding a gh issue sphinx extension.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3589/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3589/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3590
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3590/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3590/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3590/events
https://github.com/pandas-dev/pandas/issues/3590
14,266,259
MDU6SXNzdWUxNDI2NjI1OQ==
3,590
Pandas mod 0 should not give 0
{ "avatar_url": "https://avatars.githubusercontent.com/u/2766856?v=4", "events_url": "https://api.github.com/users/darindillon/events{/privacy}", "followers_url": "https://api.github.com/users/darindillon/followers", "following_url": "https://api.github.com/users/darindillon/following{/other_user}", "gists_url": "https://api.github.com/users/darindillon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/darindillon", "id": 2766856, "login": "darindillon", "node_id": "MDQ6VXNlcjI3NjY4NTY=", "organizations_url": "https://api.github.com/users/darindillon/orgs", "received_events_url": "https://api.github.com/users/darindillon/received_events", "repos_url": "https://api.github.com/users/darindillon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/darindillon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/darindillon/subscriptions", "type": "User", "url": "https://api.github.com/users/darindillon" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "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" }
4
"2013-05-13T15:32:17Z"
"2013-06-26T00:04:19Z"
"2013-05-14T21:48:10Z"
NONE
null
In python: 3 % 0 is undefined and returns "ZeroDivisionError: integer division or modulo by zero" But in pandas 0.11, that gives 0. I believe that is incorrect. It ought to give NaN or Inf p = pandas.DataFrame({ 'first' : [3,4,5,8], 'second' : [0,0,0,3] }) p['mod'] = p['first'] % p['second'] p
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3590/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3590/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3591
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3591/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3591/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3591/events
https://github.com/pandas-dev/pandas/pull/3591
14,273,377
MDExOlB1bGxSZXF1ZXN0NTY4MTAzMg==
3,591
BUG: fix take platorm issue with PeriodIndex (GH3579)
{ "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
"2013-05-13T18:02:38Z"
"2014-06-24T14:21:10Z"
"2013-05-13T18:55:40Z"
CONTRIBUTOR
null
closes #3579
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3591/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3591/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3591.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3591", "merged_at": "2013-05-13T18:55:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3591.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3591" }
https://api.github.com/repos/pandas-dev/pandas/issues/3592
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3592/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3592/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3592/events
https://github.com/pandas-dev/pandas/issues/3592
14,276,958
MDU6SXNzdWUxNDI3Njk1OA==
3,592
resample with period='m' does not work on localized indexes for multiple methods in "how"
{ "avatar_url": "https://avatars.githubusercontent.com/u/1324881?v=4", "events_url": "https://api.github.com/users/vfilimonov/events{/privacy}", "followers_url": "https://api.github.com/users/vfilimonov/followers", "following_url": "https://api.github.com/users/vfilimonov/following{/other_user}", "gists_url": "https://api.github.com/users/vfilimonov/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vfilimonov", "id": 1324881, "login": "vfilimonov", "node_id": "MDQ6VXNlcjEzMjQ4ODE=", "organizations_url": "https://api.github.com/users/vfilimonov/orgs", "received_events_url": "https://api.github.com/users/vfilimonov/received_events", "repos_url": "https://api.github.com/users/vfilimonov/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vfilimonov/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vfilimonov/subscriptions", "type": "User", "url": "https://api.github.com/users/vfilimonov" }
[]
closed
false
null
[]
null
1
"2013-05-13T19:18:58Z"
"2014-02-18T15:18:06Z"
"2013-05-13T19:26:22Z"
CONTRIBUTOR
null
For the following code: ``` rng = pd.date_range('1/1/2011', periods=200, freq='D') rng = rng.tz_localize('UTC') ts = pd.Series(cumsum(randn(len(rng))), index=rng) ``` the following resample: `ts.resample('m', how='mean')` works fine, but this one: `ts.resample('m', how={'Mean': 'mean', 'Std': 'std'})` fails with the error: `TypeError: can't compare offset-naive and offset-aware datetimes` However if we choose other interval of resampling (e.g. daily or quarterly or weekly): `ts.resample('D', how={'Mean': 'mean', 'Std': 'std'})` or `ts.resample('Q', how={'Mean': 'mean', 'Std': 'std'})` there would be no error. OS: OSX 10.8.3 python: 2.7.4 pandas: 0.11.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/3592/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3592/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3593
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3593/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3593/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3593/events
https://github.com/pandas-dev/pandas/issues/3593
14,278,920
MDU6SXNzdWUxNDI3ODkyMA==
3,593
Unwanted conversion of `Timestamp` to `long`
{ "avatar_url": "https://avatars.githubusercontent.com/u/282809?v=4", "events_url": "https://api.github.com/users/eike-welk/events{/privacy}", "followers_url": "https://api.github.com/users/eike-welk/followers", "following_url": "https://api.github.com/users/eike-welk/following{/other_user}", "gists_url": "https://api.github.com/users/eike-welk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/eike-welk", "id": 282809, "login": "eike-welk", "node_id": "MDQ6VXNlcjI4MjgwOQ==", "organizations_url": "https://api.github.com/users/eike-welk/orgs", "received_events_url": "https://api.github.com/users/eike-welk/received_events", "repos_url": "https://api.github.com/users/eike-welk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/eike-welk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eike-welk/subscriptions", "type": "User", "url": "https://api.github.com/users/eike-welk" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "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" }
5
"2013-05-13T20:03:25Z"
"2013-05-14T04:07:41Z"
"2013-05-13T22:50:08Z"
NONE
null
Method `combine_first` performs an unwanted conversion of `Timestamp` to `long`. Pandas version is "0.11.0". Here is an IPython session demonstrating the behavior, which is IMHO a bug: ``` In [1]: import pandas as pd In [2]: pd.__version__ Out[2]: '0.11.0' In [4]: from datetime import datetime In [5]: df0 = pd.DataFrame({"a":[datetime(2000, 1, 1), datetime(2000, 1, 2), datetime(2000, 1, 3)]}) In [6]: df0 Out[6]: a 0 2000-01-01 00:00:00 1 2000-01-02 00:00:00 2 2000-01-03 00:00:00 In [7]: df1 = pd.DataFrame({"a":[None, None, None]}) In [8]: df1 Out[8]: a 0 None 1 None 2 None In [9]: df2 = df1.combine_first(df0) In [10]: df2 Out[10]: a 0 946684800000000000 1 946771200000000000 2 946857600000000000 In [11]: type(df2["a"][0]) Out[11]: long In [12]: type(df0["a"][0]) Out[12]: pandas.tslib.Timestamp ``` I think `df2` should contain time stamps like `df0`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3593/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3593/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3594
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3594/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3594/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3594/events
https://github.com/pandas-dev/pandas/issues/3594
14,282,354
MDU6SXNzdWUxNDI4MjM1NA==
3,594
read_fwf(), read_table() are mangling columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/4390440?v=4", "events_url": "https://api.github.com/users/danmd/events{/privacy}", "followers_url": "https://api.github.com/users/danmd/followers", "following_url": "https://api.github.com/users/danmd/following{/other_user}", "gists_url": "https://api.github.com/users/danmd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/danmd", "id": 4390440, "login": "danmd", "node_id": "MDQ6VXNlcjQzOTA0NDA=", "organizations_url": "https://api.github.com/users/danmd/orgs", "received_events_url": "https://api.github.com/users/danmd/received_events", "repos_url": "https://api.github.com/users/danmd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/danmd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/danmd/subscriptions", "type": "User", "url": "https://api.github.com/users/danmd" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" } ]
closed
false
null
[]
{ "closed_at": "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" }
2
"2013-05-13T21:17:30Z"
"2013-05-14T10:51:38Z"
"2013-05-14T10:51:38Z"
NONE
null
version 0.11.0 has introduced a confusing behavior when importing data via read_fwf (and, I'm pretty sure, read_table) <PRE> import pandas as pd from cStringIO import StringIO from datetime import datetime tzlist = [1,10,20,30,60,80,100] ntz = len(tzlist) tcolspecs = [16]+[8]*ntz tcolnames = ['SST'] + ["T%03d" % z for z in tzlist[1:]] data = ''' 2009164202000 9.5403 9.4105 8.6571 7.8372 6.0612 5.8843 5.5192 2009164203000 9.5435 9.2010 8.6167 7.8176 6.0804 5.8728 5.4869 2009164204000 9.5873 9.1326 8.4694 7.5889 6.0422 5.8526 5.4657 2009164205000 9.5810 9.0896 8.4009 7.4652 6.0322 5.8189 5.4379 2009164210000 9.6034 9.0897 8.3822 7.4905 6.0908 5.7904 5.4039''' dftemp = pd.read_fwf(StringIO(data), index_col=0, header=None, names=tcolnames, widths=tcolspecs, parse_dates=True, date_parser=lambda s: datetime.strptime(s,'%Y%j%H%M%S')) </PRE> ## With version 0.10.1 <PRE> In [1]: pd.__version__ Out[1]: '0.10.1' In [2]: dftemp Out[2]: SST T010 T020 T030 T060 T080 T100 2009-06-13 20:20:00 9.5403 9.4105 8.6571 7.8372 6.0612 5.8843 5.5192 2009-06-13 20:30:00 9.5435 9.2010 8.6167 7.8176 6.0804 5.8728 5.4869 2009-06-13 20:40:00 9.5873 9.1326 8.4694 7.5889 6.0422 5.8526 5.4657 2009-06-13 20:50:00 9.5810 9.0896 8.4009 7.4652 6.0322 5.8189 5.4379 2009-06-13 21:00:00 9.6034 9.0897 8.3822 7.4905 6.0908 5.7904 5.4039 In [3]: dftemp.T030 Out[3]: 2009-06-13 20:20:00 7.8372 2009-06-13 20:30:00 7.8176 2009-06-13 20:40:00 7.5889 2009-06-13 20:50:00 7.4652 2009-06-13 21:00:00 7.4905 Name: T030, dtype: float64 In [4]: dftemp.T060 Out[4]: 2009-06-13 20:20:00 6.0612 2009-06-13 20:30:00 6.0804 2009-06-13 20:40:00 6.0422 2009-06-13 20:50:00 6.0322 2009-06-13 21:00:00 6.0908 Name: T060 In [5]: dftemp.T080 Out[5]: 2009-06-13 20:20:00 5.8843 2009-06-13 20:30:00 5.8728 2009-06-13 20:40:00 5.8526 2009-06-13 20:50:00 5.8189 2009-06-13 21:00:00 5.7904 Name: T080 In [6]: dftemp.T100 Out[6]: 2009-06-13 20:20:00 5.5192 2009-06-13 20:30:00 5.4869 2009-06-13 20:40:00 5.4657 2009-06-13 20:50:00 5.4379 2009-06-13 21:00:00 5.4039 Name: T100, dtype: float64 </PRE> ## and, with version 0.11.0 <PRE> In [1]: pd.__version__ Out[1]: '0.11.0' In [2]: dftemp Out[2]: SST T010 T020 T030 T060 T080 T100 2009-06-13 20:20:00 9.5403 9.4105 8.6571 7.8372 6.0612 5.8843 5.5192 2009-06-13 20:30:00 9.5435 9.2010 8.6167 7.8176 6.0804 5.8728 5.4869 2009-06-13 20:40:00 9.5873 9.1326 8.4694 7.5889 6.0422 5.8526 5.4657 2009-06-13 20:50:00 9.5810 9.0896 8.4009 7.4652 6.0322 5.8189 5.4379 2009-06-13 21:00:00 9.6034 9.0897 8.3822 7.4905 6.0908 5.7904 5.4039 In [3]: dftemp.T030 Out[3]: 2009-06-13 20:20:00 7.8372 2009-06-13 20:30:00 7.8176 2009-06-13 20:40:00 7.5889 2009-06-13 20:50:00 7.4652 2009-06-13 21:00:00 7.4905 Name: T030, dtype: float64 In [4]: dftemp.T060 Out[4]: Empty DataFrame Columns: [SST, T010, T020, T030, T060, T080, T100] Index: [] In [5]: dftemp.T080 Out[5]: Empty DataFrame Columns: [SST, T010, T020, T030, T060, T080, T100] Index: [] In [6]: dftemp.T100 Out[6]: 2009-06-13 20:20:00 5.5192 2009-06-13 20:30:00 5.4869 2009-06-13 20:40:00 5.4657 2009-06-13 20:50:00 5.4379 2009-06-13 21:00:00 5.4039 Name: T100, dtype: float64 </PRE> No matter how many columns I've been importing (up to 32 in some cases), it seems like it is always the 5th and 6th columns getting hit.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3594/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3594/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3595
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3595/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3595/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3595/events
https://github.com/pandas-dev/pandas/pull/3595
14,284,463
MDExOlB1bGxSZXF1ZXN0NTY4NzIyOA==
3,595
BUG: (GH3593) fixed a bug in the incorrect conversion of datetime64[ns] in combine_first
{ "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
"2013-05-13T22:07:42Z"
"2014-06-19T14:13:13Z"
"2013-05-13T22:49:40Z"
CONTRIBUTOR
null
closes #3593
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3595/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3595/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3595.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3595", "merged_at": "2013-05-13T22:49:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3595.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3595" }
https://api.github.com/repos/pandas-dev/pandas/issues/3596
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3596/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3596/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3596/events
https://github.com/pandas-dev/pandas/issues/3596
14,286,266
MDU6SXNzdWUxNDI4NjI2Ng==
3,596
DataFrame.groupby.count sometimes returns Series instead of DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/706807?v=4", "events_url": "https://api.github.com/users/elliottwaldron/events{/privacy}", "followers_url": "https://api.github.com/users/elliottwaldron/followers", "following_url": "https://api.github.com/users/elliottwaldron/following{/other_user}", "gists_url": "https://api.github.com/users/elliottwaldron/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/elliottwaldron", "id": 706807, "login": "elliottwaldron", "node_id": "MDQ6VXNlcjcwNjgwNw==", "organizations_url": "https://api.github.com/users/elliottwaldron/orgs", "received_events_url": "https://api.github.com/users/elliottwaldron/received_events", "repos_url": "https://api.github.com/users/elliottwaldron/repos", "site_admin": false, "starred_url": "https://api.github.com/users/elliottwaldron/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/elliottwaldron/subscriptions", "type": "User", "url": "https://api.github.com/users/elliottwaldron" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
3
"2013-05-13T23:00:24Z"
"2013-05-15T20:19:46Z"
"2013-05-15T20:19:46Z"
NONE
null
In version 0.11.0 ``` python A = DataFrame([[1,1],[2,1]],columns=['X','Y']).groupby('X').count() ``` returns a DataFrame, when there are 2+ grouping levels... but, ``` python B = DataFrame([[1,1],[1,1]],columns=['X','Y']).groupby('X').count() ``` returns a Series, when there is only 1 grouping level. In version 0.10.0, B would also be a DataFrame. Don't know if this was by design, but it seems awkward to check the type before using B downstream.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3596/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3596/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3597
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3597/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3597/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3597/events
https://github.com/pandas-dev/pandas/pull/3597
14,288,892
MDExOlB1bGxSZXF1ZXN0NTY4OTU4MQ==
3,597
BUG: Fixed bug where a time-series was being selected in preference to an actual column name
{ "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
"2013-05-14T00:36:12Z"
"2014-07-04T18:54:47Z"
"2013-05-14T10:51:08Z"
CONTRIBUTOR
null
close #3594
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3597/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3597/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3597.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3597", "merged_at": "2013-05-14T10:51:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3597.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3597" }
https://api.github.com/repos/pandas-dev/pandas/issues/3598
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3598/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3598/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3598/events
https://github.com/pandas-dev/pandas/issues/3598
14,297,852
MDU6SXNzdWUxNDI5Nzg1Mg==
3,598
Make secondary_y not being ignored in bar charts
{ "avatar_url": "https://avatars.githubusercontent.com/u/132687?v=4", "events_url": "https://api.github.com/users/tonicebrian/events{/privacy}", "followers_url": "https://api.github.com/users/tonicebrian/followers", "following_url": "https://api.github.com/users/tonicebrian/following{/other_user}", "gists_url": "https://api.github.com/users/tonicebrian/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tonicebrian", "id": 132687, "login": "tonicebrian", "node_id": "MDQ6VXNlcjEzMjY4Nw==", "organizations_url": "https://api.github.com/users/tonicebrian/orgs", "received_events_url": "https://api.github.com/users/tonicebrian/received_events", "repos_url": "https://api.github.com/users/tonicebrian/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tonicebrian/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tonicebrian/subscriptions", "type": "User", "url": "https://api.github.com/users/tonicebrian" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "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" }
1
"2013-05-14T07:58:11Z"
"2013-07-28T05:43:36Z"
"2013-06-26T13:38:50Z"
NONE
null
If I want to plot 2 series ('A' and 'B') with different y-scales using a **different y-axis** for each one of them, I can use `secondary_y`: ``` df = pd.DataFrame(np.random.uniform(size=10).reshape(5,2),columns=['A','B']) df['A'] = df['A'] * 100 df.plot(secondary_y=['A']) ``` but if I want to create bar graphs, the equivalent command **is ignored** (it doesn't put different scales on the y-axis), so the bars from 'A' are so big that the bars from 'B' cannot be distinguished: ``` df.plot(kind='bar',secondary_y=['A']) ``` The last command should produce a graph with equally sized bars.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3598/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3598/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3599
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3599/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3599/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3599/events
https://github.com/pandas-dev/pandas/pull/3599
14,306,013
MDExOlB1bGxSZXF1ZXN0NTY5ODAxNA==
3,599
BUG: Add squeeze keyword to groupby to allow reduction in returned type
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-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" }
4
"2013-05-14T11:54:01Z"
"2014-07-06T08:10:53Z"
"2013-05-15T20:19:14Z"
CONTRIBUTOR
null
This will allow a reduction in the returned type from DataFrame -> Series if the groups are unique. This is a fix for a regression from 0.10.1. Allows functionaility in #2893, by specifying `squeeze=True` in groupby call. #3596 functionaility is back as the default This returns a Series because we are passing `squeeze=True` ``` In [9]: df2 = DataFrame([{"val1": 1, "val2" : 20}, {"val1":1, "val2": 19},{"val1":1, "val2": 27}, {"val1":1, "val2": 12}]) In [10]: df2 Out[10]: val1 val2 0 1 20 1 1 19 2 1 27 3 1 12 In [11]: def func(dataf): ....: return dataf["val2"] - dataf["val2"].mean() ....: In [12]: df2.groupby("val1", squeeze=True).apply(func) Out[12]: 0 0.5 1 -0.5 2 7.5 3 -7.5 Name: 1, dtype: float64 ``` Traditionally returns a DataFrame (even though have unique groups) Implicity (`squeeze=False`) ``` In [13]: df = DataFrame([[1,1],[1,1]],columns=['X','Y']) In [14]: df Out[14]: X Y 0 1 1 1 1 1 In [15]: df.groupby('X').count() Out[15]: X Y X 1 2 2 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3599/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3599/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3599.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3599", "merged_at": "2013-05-15T20:19:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3599.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3599" }
https://api.github.com/repos/pandas-dev/pandas/issues/3600
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3600/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3600/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3600/events
https://github.com/pandas-dev/pandas/pull/3600
14,312,284
MDExOlB1bGxSZXF1ZXN0NTcwMTMyNQ==
3,600
BUG: Fix integer modulo and division to make integer and float dtypes work similarly for invalid values
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-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" }
1
"2013-05-14T14:28:08Z"
"2014-07-16T08:09:04Z"
"2013-05-14T21:48:10Z"
CONTRIBUTOR
null
closes #3590 This is a numpy oddity that treats them differently. ``` In [131]: p = DataFrame({ 'first' : [3,4,5,8], 'second' : [0,0,0,3] }) In [132]: p % 0 Out[132]: first second 0 NaN NaN 1 NaN NaN 2 NaN NaN 3 NaN NaN In [133]: p % p Out[133]: first second 0 0 NaN 1 0 NaN 2 0 NaN 3 0 0 In [134]: p / p Out[134]: first second 0 1 inf 1 1 inf 2 1 inf 3 1 1.000000 In [135]: p / 0 Out[135]: first second 0 inf inf 1 inf inf 2 inf inf 3 inf inf ``` Numpy does this (on integers), floats are as like above ``` In [3]: x Out[3]: array([[3, 0], [4, 0], [5, 0], [8, 3]]) In [4]: x % 0 Out[4]: array([[0, 0], [0, 0], [0, 0], [0, 0]]) In [5]: x % x Out[5]: array([[0, 0], [0, 0], [0, 0], [0, 0]]) In [6]: x / x Out[6]: array([[1, 0], [1, 0], [1, 0], [1, 1]]) In [7]: x / 0 Out[7]: array([[0, 0], [0, 0], [0, 0], [0, 0]]) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3600/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3600/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3600.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3600", "merged_at": "2013-05-14T21:48:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3600.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3600" }