url
stringlengths 55
59
| repository_url
stringclasses 1
value | labels_url
stringlengths 69
73
| comments_url
stringlengths 64
68
| events_url
stringlengths 62
66
| html_url
stringlengths 44
49
| id
int64 338k
1.06B
| node_id
stringlengths 18
32
| number
int64 1
44.6k
| title
stringlengths 1
590
| user
dict | labels
listlengths 0
9
| state
stringclasses 2
values | locked
bool 2
classes | assignee
dict | assignees
listlengths 0
5
| milestone
dict | comments
int64 0
477
| created_at
timestamp[us, tz=UTC] | updated_at
timestamp[us, tz=UTC] | closed_at
timestamp[us, tz=UTC] | author_association
stringclasses 3
values | active_lock_reason
stringclasses 4
values | body
stringlengths 0
251k
⌀ | reactions
dict | timeline_url
stringlengths 64
68
| performed_via_github_app
float64 | draft
float64 0
1
⌀ | pull_request
dict |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/pandas-dev/pandas/issues/4501 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4501/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4501/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4501/events | https://github.com/pandas-dev/pandas/issues/4501 | 17,750,835 | MDU6SXNzdWUxNzc1MDgzNQ== | 4,501 | tab complete lurking groupby methods | {
"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": "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-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 5 | 2013-08-07T14:25:50Z | 2016-10-12T23:04:05Z | 2013-10-01T00:04:14Z | MEMBER | null | Would be nice to have tab completion for groupby methods that are "lazily determined" (not sure if that is the correct terminology)
see related issue #4500
see [this SO question](http://stackoverflow.com/questions/18104704/counting-unique-values-in-a-pandas-grouped-object) for an example (also linked to in #4500 )
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4501/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4501/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4502 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4502/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4502/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4502/events | https://github.com/pandas-dev/pandas/pull/4502 | 17,754,969 | MDExOlB1bGxSZXF1ZXN0NzQ0OTM3NA== | 4,502 | ENH add bins argument to value_counts | {
"avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4",
"events_url": "https://api.github.com/users/hayd/events{/privacy}",
"followers_url": "https://api.github.com/users/hayd/followers",
"following_url": "https://api.github.com/users/hayd/following{/other_user}",
"gists_url": "https://api.github.com/users/hayd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hayd",
"id": 1931852,
"login": "hayd",
"node_id": "MDQ6VXNlcjE5MzE4NTI=",
"organizations_url": "https://api.github.com/users/hayd/orgs",
"received_events_url": "https://api.github.com/users/hayd/received_events",
"repos_url": "https://api.github.com/users/hayd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hayd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hayd"
} | [] | 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"
} | 39 | 2013-08-07T15:34:27Z | 2014-07-07T06:28:32Z | 2013-08-27T00:07:49Z | CONTRIBUTOR | null | fixes #3945
Also, adds arguments present in top-level function to the Series
method (sort and ascending).
Note: this only works with numeric data (it raises a TypeError if there was a TypeError problem in cut, however perhaps cut should raise a more descirptive error...)
```
In [1]: s = pd.Series(np.random.randn(100))
In [2]: s.value_counts(bins=4)
Out[2]:
0.017354 44
-1.154431 35
1.189140 14
-2.330904 7
dtype: int64
In [3]: s.value_counts(bins=4, normalize=True) # also works with sort and ascending arguments.
Out[3]:
0.017354 0.44
-1.154431 0.35
1.189140 0.14
-2.330904 0.07
dtype: float64
In [11]: s = pd.Series(list('abc'))
In [12]: s.value_counts(bins=1)
TypeError: bins argument only works with numeric data.
```
_Note: Have a test failing on python3 (topically) a sorting one_.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4502/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4502/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4502.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4502",
"merged_at": "2013-08-27T00:07:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4502.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4502"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4503 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4503/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4503/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4503/events | https://github.com/pandas-dev/pandas/pull/4503 | 17,756,277 | MDExOlB1bGxSZXF1ZXN0NzQ1MDA3MQ== | 4,503 | TST: provide tests for memory_cycles | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 1 | 2013-08-07T15:54:39Z | 2014-06-14T06:24:45Z | 2013-08-22T15:27:30Z | CONTRIBUTOR | null | related to #4491
provides an assert_memory_is_clean to test a function for leaking memory
provides a test that the current series does not leak memory
and properly cleans up
tests that an index generally populates the engine mapping (but not always
e.g. asof)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4503/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4503/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4503.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4503",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4503.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4503"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4504 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4504/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4504/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4504/events | https://github.com/pandas-dev/pandas/issues/4504 | 17,757,793 | MDU6SXNzdWUxNzc1Nzc5Mw== | 4,504 | read_hdf() requires write permission | {
"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"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 5 | 2013-08-07T16:19:48Z | 2013-08-12T13:23:49Z | 2013-08-12T13:23:49Z | NONE | null | read_hdf() called get_store() with default open mode, which is 'a', and so requires write permissions to read a file. Please change to 'r'.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4504/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4504/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4505 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4505/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4505/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4505/events | https://github.com/pandas-dev/pandas/pull/4505 | 17,766,098 | MDExOlB1bGxSZXF1ZXN0NzQ1NTIyMg== | 4,505 | ENH/BUG: ignore line comments in CSV files GH2685 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1024369?v=4",
"events_url": "https://api.github.com/users/holocronweaver/events{/privacy}",
"followers_url": "https://api.github.com/users/holocronweaver/followers",
"following_url": "https://api.github.com/users/holocronweaver/following{/other_user}",
"gists_url": "https://api.github.com/users/holocronweaver/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/holocronweaver",
"id": 1024369,
"login": "holocronweaver",
"node_id": "MDQ6VXNlcjEwMjQzNjk=",
"organizations_url": "https://api.github.com/users/holocronweaver/orgs",
"received_events_url": "https://api.github.com/users/holocronweaver/received_events",
"repos_url": "https://api.github.com/users/holocronweaver/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/holocronweaver/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/holocronweaver/subscriptions",
"type": "User",
"url": "https://api.github.com/users/holocronweaver"
} | [
{
"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": "2014-07-11T00:02:53Z",
"closed_issues": 306,
"created_at": "2014-04-27T23:40:28Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "bug fixes from 0.14.0",
"due_on": "2014-07-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/27",
"id": 641843,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels",
"node_id": "MDk6TWlsZXN0b25lNjQxODQz",
"number": 27,
"open_issues": 0,
"state": "closed",
"title": "0.14.1",
"updated_at": "2014-09-05T10:24:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27"
} | 27 | 2013-08-07T18:44:45Z | 2014-12-28T02:30:19Z | 2014-06-16T16:49:55Z | NONE | null | closes #2685
I have added the ability for both the C and Python CSV parsers to ignore commented lines (i.e., lines beginning with a comment character). Currently the C parser preserves commented lines as empty lines (all NaN), while the Python parser ignores them all together.
In addition, I fixed a small related problem with the CSV format sniffer in the Python parser.
I plan to finish up this work by ignoring empty lines as per #4466.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4505/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4505/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4505.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4505",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4505.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4505"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4506 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4506/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4506/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4506/events | https://github.com/pandas-dev/pandas/issues/4506 | 17,766,325 | MDU6SXNzdWUxNzc2NjMyNQ== | 4,506 | cumsum(skipna=True) bug if last element is NaN | {
"avatar_url": "https://avatars.githubusercontent.com/u/5184516?v=4",
"events_url": "https://api.github.com/users/rakppy/events{/privacy}",
"followers_url": "https://api.github.com/users/rakppy/followers",
"following_url": "https://api.github.com/users/rakppy/following{/other_user}",
"gists_url": "https://api.github.com/users/rakppy/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rakppy",
"id": 5184516,
"login": "rakppy",
"node_id": "MDQ6VXNlcjUxODQ1MTY=",
"organizations_url": "https://api.github.com/users/rakppy/orgs",
"received_events_url": "https://api.github.com/users/rakppy/received_events",
"repos_url": "https://api.github.com/users/rakppy/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rakppy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rakppy/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rakppy"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 3 | 2013-08-07T18:48:57Z | 2013-08-09T14:05:00Z | 2013-08-09T14:05:00Z | NONE | null | From the documentation example
http://pandas.pydata.org/pandas-docs/stable/basics.html#descriptive-statistics
For the DataFrame df in the example:
```
In [39]: df
one three two
a -0.701368 NaN -0.087103
b 0.109333 -0.354359 0.637674
c -0.231617 -0.148387 -0.002666
d NaN -0.167407 0.104044
```
the example for cumsum() seems to expose a potential bug when the last element is NaN (d,one). Notice that the output from cumsum() have nan for (d,one) entry. This should be same as (c,one) value.
```
In [48]: df.cumsum()
one three two
a -0.701368 NaN -0.087103
b -0.592035 -0.354359 0.550570
c -0.823652 -0.502746 0.547904
d NaN -0.670153 0.651948
```
Am I missing something?
Thanks,
R
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4506/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4506/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4507 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4507/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4507/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4507/events | https://github.com/pandas-dev/pandas/pull/4507 | 17,767,972 | MDExOlB1bGxSZXF1ZXN0NzQ1NjMwNw== | 4,507 | BUG/ER: various panel indexing fixes | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-08-07T19:18:42Z | 2014-06-25T04:37:54Z | 2013-08-07T20:20:41Z | CONTRIBUTOR | null | - ER: #3777, raise a `NotImplementedError` for `Panel` -> `Panel` setting with alignment (issue will still be open though)
- BUG: closes #3830, panel assignment using loc with a transpose frame did not work
- BUG: closes #4016 fix panel slicing issue that was returning an object that should not have be a reduction in ndim
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4507/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4507/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4507.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4507",
"merged_at": "2013-08-07T20:20:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4507.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4507"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4508 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4508/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4508/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4508/events | https://github.com/pandas-dev/pandas/issues/4508 | 17,769,602 | MDU6SXNzdWUxNzc2OTYwMg== | 4,508 | .ix[] inconsistently assigns right hand side | {
"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"
} | [] | closed | false | null | [] | null | 5 | 2013-08-07T19:47:54Z | 2013-08-07T23:37:22Z | 2013-08-07T23:37:22Z | NONE | null | This is with pandas 0.12.0.dev-be25266:
In [1]: import pandas as pd
In [2]: df = pd.DataFrame({'a':[1,2,3],'b':[0,1,2]})
In [3]: df.ix[[0,2,],'b'] = [100,-100] # Works as intended
In [4]: print df
a b
0 1 100
1 2 1
2 3 -100
In [6]: df = pd.DataFrame({'a':range(4)})
In [7]: df['b']=pd.np.nan
In [8]: df.ix[[1,3],'b'] = [100,-100] # Both rows get assigned 100
In [9]: print df
a b
0 0 NaN
1 1 100
2 2 NaN
3 3 100
In [10]: df['b'].ix[[1,3]] = [100,-100] # Works as intended
In [11]: print df
a b
0 0 NaN
1 1 100
2 2 NaN
3 3 -100
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4508/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4508/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4509 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4509/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4509/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4509/events | https://github.com/pandas-dev/pandas/pull/4509 | 17,779,924 | MDExOlB1bGxSZXF1ZXN0NzQ2MzI0Mg== | 4,509 | TST: tests for GH4502, consistency in ix assignments, but ok in master | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-08-07T23:20:07Z | 2014-07-16T08:22:35Z | 2013-08-07T23:35:30Z | CONTRIBUTOR | null | closes #4508 (is ok in master though), this are just tests
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4509/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4509/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4509.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4509",
"merged_at": "2013-08-07T23:35:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4509.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4509"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4510 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4510/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4510/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4510/events | https://github.com/pandas-dev/pandas/issues/4510 | 17,781,572 | MDU6SXNzdWUxNzc4MTU3Mg== | 4,510 | write percentages to excel file | {
"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": "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": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] | closed | false | null | [] | {
"closed_at": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 3 | 2013-08-08T00:08:15Z | 2014-03-13T01:24:49Z | 2014-03-13T01:24:49Z | MEMBER | null | [SO question](http://stackoverflow.com/questions/18115741/writing-percentages-using-pandas-to-excel)
this is possible with `to_csv`, i think this should be possible with `to_excel` though I'm not sure
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4510/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4510/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4511 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4511/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4511/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4511/events | https://github.com/pandas-dev/pandas/issues/4511 | 17,785,485 | MDU6SXNzdWUxNzc4NTQ4NQ== | 4,511 | ENH: Support for "52–53-week fiscal year" / "4–4–5 calendar" | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
] | closed | false | null | [] | {
"closed_at": "2014-02-03T05:17:36Z",
"closed_issues": 314,
"created_at": "2013-08-26T22:11:58Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
},
"description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.",
"due_on": "2014-02-04T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/23",
"id": 412013,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels",
"node_id": "MDk6TWlsZXN0b25lNDEyMDEz",
"number": 23,
"open_issues": 0,
"state": "closed",
"title": "0.13.1",
"updated_at": "2014-02-03T05:18:00Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23"
} | 28 | 2013-08-08T02:49:36Z | 2013-10-22T20:37:52Z | 2013-10-22T20:37:52Z | CONTRIBUTOR | null | See: http://en.wikipedia.org/wiki/4%E2%80%934%E2%80%935_calendar about the referenced calendars.
Certain companies, for example Green Mountain Coffee Roasters, Inc. (GMCR) use this calendar. See for example: http://files.shareholder.com/downloads/GMCR/1456137416x0x436353/9E2D04D9-79DE-4C08-A7C6-7B161E23E586/gmcr_2010_annual_report_lo.pdf
where it states:
> "The Company’s fiscal year ends on the last Saturday in September."
Here is some more information on this calendar: http://www.nrf.com/modules.php?name=Pages&sp_id=391
Walmart releases its sales numbers on this calendar: http://stock.walmart.com/financial-reporting/comparable-store-sales
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4511/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4511/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4512 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4512/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4512/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4512/events | https://github.com/pandas-dev/pandas/issues/4512 | 17,785,745 | MDU6SXNzdWUxNzc4NTc0NQ== | 4,512 | Provide more intelligent way of setting skipfooter in read_csv | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "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"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 0 | 2013-08-08T03:03:05Z | 2021-04-11T02:58:34Z | null | CONTRIBUTOR | null | See for example: http://www.datazoa.com/publish/export.asp?hash=vg6p5mBl1v&uid=dzadmin&a=exportcsv, http://www.datazoa.com/publish/export.asp?hash=yjPceG6fHL&uid=dzadmin&a=exportcsv or the http://pastebin.com/S2NqhFq0.
In all cases, it is important to set `skipfooter` in order to correctly parse the CSV.
I current set `skipfooter` in the above files using:
```
data_raw = pd.io.parsers.read_csv(text,skiprows=range(1,13+1))
skipfooter = data_raw["Series title"].index[-1]-data_raw[data_raw["Series title"].isnull()].index[0]+1
ret = pd.io.parsers.read_csv(text,skiprows=range(1,13+1),skipfooter=skipfooter,parse_dates=[0],index_col=0)
```
The issue is that the value of skipfooter is not static, but rather varies based on how much meta data the provider is placing at the end of the file.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4512/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4512/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4513 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4513/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4513/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4513/events | https://github.com/pandas-dev/pandas/pull/4513 | 17,802,987 | MDExOlB1bGxSZXF1ZXN0NzQ3NDA4OQ== | 4,513 | BUG: read_hdf was not respecting a passed mode (GH4504) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 2 | 2013-08-08T12:02:53Z | 2014-07-14T08:39:02Z | 2013-08-12T13:23:49Z | CONTRIBUTOR | null | closes #4504
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4513/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4513/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4513.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4513",
"merged_at": "2013-08-12T13:23:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4513.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4513"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4514 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4514/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4514/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4514/events | https://github.com/pandas-dev/pandas/issues/4514 | 17,813,944 | MDU6SXNzdWUxNzgxMzk0NA== | 4,514 | column-wise fillna with Series/dict NotImplemented | {
"avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4",
"events_url": "https://api.github.com/users/hayd/events{/privacy}",
"followers_url": "https://api.github.com/users/hayd/followers",
"following_url": "https://api.github.com/users/hayd/following{/other_user}",
"gists_url": "https://api.github.com/users/hayd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hayd",
"id": 1931852,
"login": "hayd",
"node_id": "MDQ6VXNlcjE5MzE4NTI=",
"organizations_url": "https://api.github.com/users/hayd/orgs",
"received_events_url": "https://api.github.com/users/hayd/received_events",
"repos_url": "https://api.github.com/users/hayd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hayd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hayd"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 7 | 2013-08-08T15:48:55Z | 2019-10-21T19:34:16Z | null | CONTRIBUTOR | null | As per discussion on [this SO question](http://stackoverflow.com/questions/18127160/pandas-fillna-output-still-has-nan-values) is NotImplementedError.
Solution/workaround is to transpose do transpose? This is used elsewhere in DataFrame.fillna method. just raise if inplace?
cc @cpcloud
```
In [9]: df = pd.DataFrame([[np.nan, np.nan], [np.nan, 4], [5, 6]], columns=list('AB'))
In [10]: df
Out[10]:
A B
0 NaN NaN
1 NaN 4
2 5 6
In [11]: df.mean(0)
Out[11]:
A 5
B 5
dtype: float64
In [12]: df.fillna(df.mean())
Out[12]:
A B
0 5 5
1 5 4
2 5 6
In [13]: df.mean(1)
Out[13]:
0 NaN
1 4.0
2 5.5
dtype: float64
In [14]: df.fillna(df.mean(1), axis=1)
---------------------------------------------------------------------------
NotImplementedError Traceback (most recent call last)
<ipython-input-14-aecc493431e2> in <module>()
----> 1 df.fillna(df.mean(1), axis=1)
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/frame.pyc in fillna(self, value, method, axis, inplace, limit, downcast)
3452 if isinstance(value, (dict, Series)):
3453 if axis == 1:
-> 3454 raise NotImplementedError('Currently only can fill '
3455 'with dict/Series column '
3456 'by column')
NotImplementedError: Currently only can fill with dict/Series column by column
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4514/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4514/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4515 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4515/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4515/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4515/events | https://github.com/pandas-dev/pandas/pull/4515 | 17,824,191 | MDExOlB1bGxSZXF1ZXN0NzQ4NTQ1OA== | 4,515 | ENH/API: GH2578, allow ix and friends to partially set when the key is not contained in the object | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 6 | 2013-08-08T18:52:15Z | 2014-06-12T09:17:05Z | 2013-09-05T17:23:51Z | CONTRIBUTOR | null | closes #2578
On a series, this is kind of like an inplace append operation (note the dtype change - on purpose)
```
In [6]: s = Series([1,2,3])
In [7]: s[4] = 5.
In [3]: s
Out[3]:
0 1
1 2
2 3
4 5
dtype: float64
```
This is now allowed: (previously would `KeyError`), you first have to create the column `C`, then set it
```
In [1]: df = DataFrame(np.arange(6).reshape(3,2),columns=['A','B'])
In [3]: df
Out[3]:
A B
0 0 1
1 2 3
2 4 5
In [4]: df.ix[:,'C'] = df.ix[:,'A']
In [5]: df
Out[5]:
A B C
0 0 1 0
1 2 3 2
2 4 5 4
```
This would previously raise an `IndexError`
```
In [4]: df.loc[3] = 5
In [5]: df
Out[5]:
A B C
0 0 1 0
1 2 3 2
2 4 5 4
3 5 5 5
```
and on Panel:
```
In [6]: p = Panel(np.arange(16).reshape(2,4,2),
items=['Item1','Item2'],
major_axis=pd.date_range('2001/1/12',periods=4),
minor_axis=['A','B'],dtype='float64')
In [7]: p
Out[7]:
<class 'pandas.core.panel.Panel'>
Dimensions: 2 (items) x 4 (major_axis) x 2 (minor_axis)
Items axis: Item1 to Item2
Major_axis axis: 2001-01-12 00:00:00 to 2001-01-15 00:00:00
Minor_axis axis: A to B
In [10]: p.loc[:,:,'C'] = Series([30,32],index=p_orig.items)
In [11]: p
Out[11]:
<class 'pandas.core.panel.Panel'>
Dimensions: 2 (items) x 4 (major_axis) x 3 (minor_axis)
Items axis: Item1 to Item2
Major_axis axis: 2001-01-12 00:00:00 to 2001-01-15 00:00:00
Minor_axis axis: A to C
In [13]: p.loc[:,:,'C']
Out[13]:
Item1 Item2
2001-01-12 30 32
2001-01-13 30 32
2001-01-14 30 32
2001-01-15 30 32
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4515/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4515/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4515.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4515",
"merged_at": "2013-09-05T17:23:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4515.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4515"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4516 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4516/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4516/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4516/events | https://github.com/pandas-dev/pandas/issues/4516 | 17,829,521 | MDU6SXNzdWUxNzgyOTUyMQ== | 4,516 | MultiIndexes and large CSV files | {
"avatar_url": "https://avatars.githubusercontent.com/u/5192798?v=4",
"events_url": "https://api.github.com/users/highpost/events{/privacy}",
"followers_url": "https://api.github.com/users/highpost/followers",
"following_url": "https://api.github.com/users/highpost/following{/other_user}",
"gists_url": "https://api.github.com/users/highpost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/highpost",
"id": 5192798,
"login": "highpost",
"node_id": "MDQ6VXNlcjUxOTI3OTg=",
"organizations_url": "https://api.github.com/users/highpost/orgs",
"received_events_url": "https://api.github.com/users/highpost/received_events",
"repos_url": "https://api.github.com/users/highpost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/highpost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/highpost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/highpost"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 13 | 2013-08-08T20:34:29Z | 2013-08-17T15:39:38Z | 2013-08-09T14:36:39Z | NONE | null | I've run into a data-dependent bug with MultiIndex. Attached are a test script and a data file generation script:
- sales-data.py loads CSV data from a CSV data file with read_csv and then displays a multiindexed subset.
- sales-gen.sh is an AWK script that generates CSV test files. By default, it creates a 600MB file, which causes the failure. To make a smaller test file, which succeeds, just use "head -1000".
My problem is that sales-data.py breaks with large CSV files but works with smaller CSV files. When it fails it displays the following error message:
```
'MultiIndex lexsort depth 0, key was length 4'
```
I know that MultiIndexes must be pre-sorted. So sales-gen.sh makes sure that the first four columns in the auto-generated CSV files are ordered. BTW, I'm not sure why lexsort is getting called.
# sales-data.py
```
#!/usr/bin/env python
import numpy as np
import pandas as pd
from memory_profiler import profile
pd.set_option('display.height', 400)
pd.set_option('display.width', 400)
pd.set_option('display.max_rows', 1000)
pd.set_option('display.max_columns', 30)
pd.set_option('display.line_width', 200)
# @profile
def load_data():
try:
df = pd.read_csv(
'./sales-large.csv',
# './sales-small.csv',
header = None,
na_values = ['NULL'],
names = [
'salesperson',
'customer',
'invoice_date',
'ship_date',
'product',
'quantity',
'price',
],
index_col = [
'salesperson',
'customer',
'invoice_date',
'ship_date',
],
parse_dates = [
'invoice_date',
'ship_date',
],
)
print(df.loc[(
'A00000', # salesperson
'A', # customer
pd.datetime(2011,3,1,0,0,0), # invoice_date
pd.datetime(2011,3,6,0,0,0), # ship_date
)])
except Exception as e:
print(e)
if __name__== '__main__':
load_data()
```
# sales-gen.sh
```
#!/usr/bin/env bash
# 'salesperson',
# 'customer',
# 'invoice_date',
# 'ship_date',
# 'product',
# 'quantity',
# 'price',
awk "BEGIN { \
first = 65; \
last = 91; \
s_char = first; \
c_char = first; \
\
n_sa = 100; \
n_cu = 100; \
n_dt = 10; \
n_pr = 100; \
\
for (i = 0; i < n_sa; i++ s_char++) { \
if (s_char == last) { \
s_char = first; \
} \
c_char = first; \
for (j = 0; j < n_cu; j++ c_char++) { \
if (c_char == last) { \
c_char = first; \
} \
for (k = 1; k <= n_dt; k++) { \
for (l = 0; l < n_pr; l++) { \
printf(\"%c%05d,%c,2011-03-%02d 00:00:00,2011-03-%02d 00:00:00,%d,%d,%f\n\", \
s_char, i, c_char, k, k+5, l, 1 + int(rand() * 10), rand()) \
} \
} \
} \
} \
}"
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4516/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4516/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4517 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4517/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4517/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4517/events | https://github.com/pandas-dev/pandas/issues/4517 | 17,845,668 | MDU6SXNzdWUxNzg0NTY2OA== | 4,517 | Add PyExcelerate as Excel Writer Engine | {
"avatar_url": "https://avatars.githubusercontent.com/u/2153614?v=4",
"events_url": "https://api.github.com/users/rhstanton/events{/privacy}",
"followers_url": "https://api.github.com/users/rhstanton/followers",
"following_url": "https://api.github.com/users/rhstanton/following{/other_user}",
"gists_url": "https://api.github.com/users/rhstanton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhstanton",
"id": 2153614,
"login": "rhstanton",
"node_id": "MDQ6VXNlcjIxNTM2MTQ=",
"organizations_url": "https://api.github.com/users/rhstanton/orgs",
"received_events_url": "https://api.github.com/users/rhstanton/received_events",
"repos_url": "https://api.github.com/users/rhstanton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhstanton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhstanton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhstanton"
} | [
{
"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": "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": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 29 | 2013-08-09T03:38:15Z | 2019-02-13T08:03:13Z | 2019-02-13T08:03:13Z | CONTRIBUTOR | null | Here's an example with just 65,000 elements (it's _much_ worse with 250,000) so I can compare xls and xlsx:
from pandas import *
df = DataFrame({'col1' : [0.0] \* 65000,
'col2' : 1,
'col3' : 2})
%timeit df.to_csv('sample.csv')
10 loops, best of 3: 109 ms per loop
%timeit df.to_excel('sample.xls')
1 loops, best of 3: 8.35 s per loop
%timeit df.to_excel('sample.xlsx')
1 loops, best of 3: 1min 31s per loop
| {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4517/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4517/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4518 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4518/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4518/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4518/events | https://github.com/pandas-dev/pandas/pull/4518 | 17,846,308 | MDExOlB1bGxSZXF1ZXN0NzQ5NjM1Mw== | 4,518 | DOC: added google finance as a data source to the DataReader doc | {
"avatar_url": "https://avatars.githubusercontent.com/u/1642081?v=4",
"events_url": "https://api.github.com/users/mortada/events{/privacy}",
"followers_url": "https://api.github.com/users/mortada/followers",
"following_url": "https://api.github.com/users/mortada/following{/other_user}",
"gists_url": "https://api.github.com/users/mortada/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mortada",
"id": 1642081,
"login": "mortada",
"node_id": "MDQ6VXNlcjE2NDIwODE=",
"organizations_url": "https://api.github.com/users/mortada/orgs",
"received_events_url": "https://api.github.com/users/mortada/received_events",
"repos_url": "https://api.github.com/users/mortada/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mortada/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mortada/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mortada"
} | [] | 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-08-09T04:12:37Z | 2014-07-02T21:24:28Z | 2013-08-09T14:26:17Z | CONTRIBUTOR | null | Google Finance is already a supported data source in the source code of DataReader, but it is not reflected in the docstring.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4518/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4518/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4518.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4518",
"merged_at": "2013-08-09T14:26:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4518.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4518"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4519 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4519/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4519/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4519/events | https://github.com/pandas-dev/pandas/issues/4519 | 17,852,291 | MDU6SXNzdWUxNzg1MjI5MQ== | 4,519 | Segfault with pd.tslib.get_period_field | {
"avatar_url": "https://avatars.githubusercontent.com/u/4680320?v=4",
"events_url": "https://api.github.com/users/prossahl/events{/privacy}",
"followers_url": "https://api.github.com/users/prossahl/followers",
"following_url": "https://api.github.com/users/prossahl/following{/other_user}",
"gists_url": "https://api.github.com/users/prossahl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/prossahl",
"id": 4680320,
"login": "prossahl",
"node_id": "MDQ6VXNlcjQ2ODAzMjA=",
"organizations_url": "https://api.github.com/users/prossahl/orgs",
"received_events_url": "https://api.github.com/users/prossahl/received_events",
"repos_url": "https://api.github.com/users/prossahl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/prossahl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/prossahl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/prossahl"
} | [
{
"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-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-08-09T08:31:41Z | 2013-08-15T17:23:58Z | 2013-08-15T17:23:58Z | CONTRIBUTOR | null | ``` python
>>> import pandas as pd
>>> pd.tslib.get_period_field(11, 1, 1)
Exception ValueError: ValueError('Unrecognized code: 11',) in 'pandas.tslib._get_accessor_func' ignored
Segmentation fault
```
I'll push a fix.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4519/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4519/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4520 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4520/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4520/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4520/events | https://github.com/pandas-dev/pandas/pull/4520 | 17,852,668 | MDExOlB1bGxSZXF1ZXN0NzQ5OTM4OA== | 4,520 | Segfault with pd.tslib.get_period_field FIX | {
"avatar_url": "https://avatars.githubusercontent.com/u/4680320?v=4",
"events_url": "https://api.github.com/users/prossahl/events{/privacy}",
"followers_url": "https://api.github.com/users/prossahl/followers",
"following_url": "https://api.github.com/users/prossahl/following{/other_user}",
"gists_url": "https://api.github.com/users/prossahl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/prossahl",
"id": 4680320,
"login": "prossahl",
"node_id": "MDQ6VXNlcjQ2ODAzMjA=",
"organizations_url": "https://api.github.com/users/prossahl/orgs",
"received_events_url": "https://api.github.com/users/prossahl/received_events",
"repos_url": "https://api.github.com/users/prossahl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/prossahl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/prossahl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/prossahl"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 8 | 2013-08-09T08:43:30Z | 2014-06-13T09:16:39Z | 2013-08-14T11:02:44Z | CONTRIBUTOR | null | closes #4519
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4520/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4520/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4520.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4520",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4520.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4520"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4521 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4521/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4521/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4521/events | https://github.com/pandas-dev/pandas/issues/4521 | 17,862,117 | MDU6SXNzdWUxNzg2MjExNw== | 4,521 | ENH: allow timedelta64 to be divided by integers | {
"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": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-08-09T13:14:10Z | 2013-10-23T23:55:58Z | 2013-08-13T22:19:43Z | CONTRIBUTOR | null | I belive numpy < 1.7 is very problematic with this, but 1.7 is ok
http://stackoverflow.com/questions/18142144/dividing-a-series-containing-datetime-by-a-series-containing-an-integer-in-panda
```
import pandas as pd
from pandas import Series
startdate = Series(pd.date_range('2013-01-01', '2013-01-03'))
enddate = Series(pd.date_range('2013-03-01', '2013-03-03'))
s1 = enddate - startdate
s2 = Series([2, 3, 4])
event_freq = Series(s1.values / s2)
Here are the Series:
>>> s1
0 59 days, 00:00:00
1 59 days, 00:00:00
2 59 days, 00:00:00
dtype: timedelta64[ns]
>>> s2
0 2
1 3
2 4
dtype: int64
>>> event_freq
0 29 days, 12:00:00
1 19 days, 16:00:00
2 14 days, 18:00:00
dtype: timedelta64[ns]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4521/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4521/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4522 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4522/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4522/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4522/events | https://github.com/pandas-dev/pandas/pull/4522 | 17,863,233 | MDExOlB1bGxSZXF1ZXN0NzUwNDcwNw== | 4,522 | BUG: GH4516 Fixed issue with sorting a duplicate multi-index that has multiple dtypes | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-08-09T13:42:27Z | 2020-11-06T03:13:44Z | 2013-08-09T14:36:39Z | CONTRIBUTOR | null | closes #4516
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4522/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4522/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4522.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4522",
"merged_at": "2013-08-09T14:36:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4522.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4522"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4523 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4523/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4523/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4523/events | https://github.com/pandas-dev/pandas/issues/4523 | 17,865,868 | MDU6SXNzdWUxNzg2NTg2OA== | 4,523 | 0.12.0 to_hdf() error on a multi-index DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/1903683?v=4",
"events_url": "https://api.github.com/users/bluefir/events{/privacy}",
"followers_url": "https://api.github.com/users/bluefir/followers",
"following_url": "https://api.github.com/users/bluefir/following{/other_user}",
"gists_url": "https://api.github.com/users/bluefir/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bluefir",
"id": 1903683,
"login": "bluefir",
"node_id": "MDQ6VXNlcjE5MDM2ODM=",
"organizations_url": "https://api.github.com/users/bluefir/orgs",
"received_events_url": "https://api.github.com/users/bluefir/received_events",
"repos_url": "https://api.github.com/users/bluefir/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bluefir/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bluefir/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bluefir"
} | [] | closed | false | null | [] | null | 2 | 2013-08-09T14:37:18Z | 2013-08-09T15:08:47Z | 2013-08-09T15:08:47Z | NONE | null | I have the following DataFrame:
```
portfolio_data
```
> <class 'pandas.core.frame.DataFrame'>
> MultiIndex: 45846 entries, (2013-06-28, 000312) to (2013-07-01, Y8565N10)
> Data columns (total 12 columns):
> market_cap 45843 non-null values
> alpha 45778 non-null values
> gics_code 45843 non-null values
> investable 45846 non-null values
> issuer_country 45789 non-null values
> msci_country 32667 non-null values
> return_daily 44373 non-null values
> universe 45846 non-null values
> weight_benchmark 45846 non-null values
> weight_portfolio 45846 non-null values
> weight_active 45846 non-null values
> country 45846 non-null values
> dtypes: bool(2), float64(7), object(3)
```
portfolio_data.index[0]
```
> (datetime.date(2013, 6, 28), '000312')
I get the following error while
```
portfolio_data.to_hdf(OUTPUT_FILE_NAME_PORTFOLIO, OUTPUT_NAME_PORTFOLIO, mode='w', table=True)
```
> ---
>
> TypeError Traceback (most recent call last)
> C:\Python27\lib\site-packages\IPython\utils\py3compat.pyc in execfile(fname, glob, loc)
> 169 else:
> 170 filename = fname
> --> 171 exec compile(scripttext, filename, 'exec') in glob, loc
> 172 else:
> 173 def execfile(fname, *where):
>
> M:\Projects\PortfolioAnalytics\Code\Python\attribution\TopContributors.py in <module>()
> 487 if logger.isEnabledFor(logging.DEBUG):
> 488 logger.debug('Storing data for the portfolio into {} ...'.format(OUTPUT_FILE_NAME_PORTFOLIO))
> --> 489 portfolio_data.to_hdf(OUTPUT_FILE_NAME_PORTFOLIO, OUTPUT_NAME_PORTFOLIO, mode='w', table=True)
> 490
> 491 logger.info('Finished {}.'.format(MODULE_NAME))
>
> C:\Python27\lib\site-packages\pandas\core\generic.pyc in to_hdf(self, path_or_buf, key, *_kwargs)
> 519 """ activate the HDFStore """
> 520 from pandas.io import pytables
> --> 521 return pytables.to_hdf(path_or_buf, key, self, *_kwargs)
> 522
> 523 def to_clipboard(self):
>
> C:\Python27\lib\site-packages\pandas\io\pytables.pyc in to_hdf(path_or_buf, key, value, mode, complevel, complib, append, **kwargs)
> 192 if isinstance(path_or_buf, basestring):
> 193 with get_store(path_or_buf, mode=mode, complevel=complevel, complib=complib) as store:
> --> 194 f(store)
> 195 else:
> 196 f(path_or_buf)
>
> C:\Python27\lib\site-packages\pandas\io\pytables.pyc in <lambda>(store)
> 188 f = lambda store: store.append(key, value, *_kwargs)
> 189 else:
> --> 190 f = lambda store: store.put(key, value, *_kwargs)
> 191
> 192 if isinstance(path_or_buf, basestring):
>
> C:\Python27\lib\site-packages\pandas\io\pytables.pyc in put(self, key, value, table, append, *_kwargs)
> 583 encoding : default None, provide an encoding for strings
> 584 """
> --> 585 self._write_to_group(key, value, table=table, append=append, *_kwargs)
> 586
> 587 def remove(self, key, where=None, start=None, stop=None):
>
> C:\Python27\lib\site-packages\pandas\io\pytables.pyc in _write_to_group(self, key, value, index, table, append, complib, encoding, *_kwargs)
> 921 raise ValueError('Compression not supported on non-table')
> 922
> --> 923 s.write(obj = value, append=append, complib=complib, *_kwargs)
> 924 if s.is_table and index:
> 925 s.create_index(columns = index)
>
> C:\Python27\lib\site-packages\pandas\io\pytables.pyc in write(self, obj, data_columns, *_kwargs)
> 3251 data_columns.insert(0, n)
> 3252 self.levels = obj.index.names
> -> 3253 return super(AppendableMultiFrameTable, self).write(obj=obj.reset_index(), data_columns=data_columns, *_kwargs)
> 3254
> 3255 def read(self, columns=None, **kwargs):
>
> C:\Python27\lib\site-packages\pandas\io\pytables.pyc in write(self, obj, axes, append, complib, complevel, fletcher32, min_itemsize, chunksize, expectedrows, *_kwargs)
> 2983 self.create_axes(axes=axes, obj=obj, validate=append,
> 2984 min_itemsize=min_itemsize,
> -> 2985 *_kwargs)
> 2986
> 2987 if not self.is_exists:
>
> C:\Python27\lib\site-packages\pandas\io\pytables.pyc in create_axes(self, axes, obj, validate, nan_rep, data_columns, min_itemsize, **kwargs)
> 2715 self.values_axes.append(col)
> 2716 except (NotImplementedError, ValueError, TypeError), e:
> -> 2717 raise e
> 2718 except (Exception), detail:
> 2719 raise Exception("cannot find the correct atom type -> [dtype->%s,items->%s] %s" % (b.dtype.name, b.items, str(detail)))
>
> TypeError: [date] is not implemented as a table column
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4523/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4523/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4524 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4524/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4524/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4524/events | https://github.com/pandas-dev/pandas/issues/4524 | 17,868,875 | MDU6SXNzdWUxNzg2ODg3NQ== | 4,524 | DOC: need SQL -> pandas tips | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
] | closed | false | null | [] | {
"closed_at": "2014-02-03T05:17:36Z",
"closed_issues": 314,
"created_at": "2013-08-26T22:11:58Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
},
"description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.",
"due_on": "2014-02-04T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/23",
"id": 412013,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels",
"node_id": "MDk6TWlsZXN0b25lNDEyMDEz",
"number": 23,
"open_issues": 0,
"state": "closed",
"title": "0.13.1",
"updated_at": "2014-02-03T05:18:00Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23"
} | 12 | 2013-08-09T15:33:14Z | 2013-12-10T12:51:32Z | 2013-12-10T12:51:32Z | CONTRIBUTOR | null | of course #4164 makes this syntax easier anyhow
Here's an example of the types of things we need (obviously not all apply here)
http://www.pytables.org/moin/HintsForSQLUsers
we have this in the docs for join/merge, but maybe useful for:
- groupby
- boolean indexing to replace select
e.g.
```
select * from mytables where A='bar' and B>to_date('20130101')
```
replaced by:
`df[(df.A=='bar') & (df.B>Timestamp('20130101'))`
```
select count(*) from mytables
```
replaced by
`len(df)`
etc
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4524/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4524/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4525 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4525/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4525/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4525/events | https://github.com/pandas-dev/pandas/issues/4525 | 17,879,438 | MDU6SXNzdWUxNzg3OTQzOA== | 4,525 | make the align keyword work like matplotlib in bar plots | {
"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": "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"
} | 0 | 2013-08-09T18:52:50Z | 2014-03-26T20:50:44Z | 2014-03-26T20:50:44Z | MEMBER | null | [SO question](http://stackoverflow.com/questions/18151775/create-yoy-graph-with-matplotlib/18153525#18153525)
if you do it with pandas like this:
```
In [60]: s.plot(kind='bar', align='center')
Out[60]: <matplotlib.axes.AxesSubplot at 0xc1f3810>
In [61]: ax = gca()
In [62]: ax2 = twinx(ax)
In [63]: s.plot(ax=ax2)
Out[63]: <matplotlib.axes.AxesSubplot at 0xd1ffc50>
```
it overwrites the bar plot
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4525/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4525/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4526 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4526/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4526/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4526/events | https://github.com/pandas-dev/pandas/issues/4526 | 17,880,683 | MDU6SXNzdWUxNzg4MDY4Mw== | 4,526 | preserving dtype of added columns | {
"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 | 3 | 2013-08-09T19:21:04Z | 2013-08-09T20:02:02Z | 2013-08-09T19:54:11Z | NONE | null | It appears that when adding a column, a _DataFrame_ disregards its _dtype_ if it has a different _Index_. For example, **C1** happens to have the same index as **df**, so all is well:
```
In [19]:
df = pd.DataFrame({'C1':range(3)})
In [20]:
df['C2'] = pd.Series(range(3), dtype='uint32')
df.dtypes
Out [20]:
C1 int64
C2 uint32
dtype: object
```
But **C2** has a different _Index_, and its _dtype_ magically mutes:
```
In [21]:
df['C3'] = pd.Series(range(3), index=range(3,6), dtype='uint32')
df.dtypes
Out [21]:
C1 int64
C2 uint32
C3 float64
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/4526/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4526/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4527 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4527/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4527/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4527/events | https://github.com/pandas-dev/pandas/issues/4527 | 17,882,404 | MDU6SXNzdWUxNzg4MjQwNA== | 4,527 | GroupBy Filter does not work for 2+ grouping columns in 0.12.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/2701562?v=4",
"events_url": "https://api.github.com/users/dragoljub/events{/privacy}",
"followers_url": "https://api.github.com/users/dragoljub/followers",
"following_url": "https://api.github.com/users/dragoljub/following{/other_user}",
"gists_url": "https://api.github.com/users/dragoljub/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dragoljub",
"id": 2701562,
"login": "dragoljub",
"node_id": "MDQ6VXNlcjI3MDE1NjI=",
"organizations_url": "https://api.github.com/users/dragoljub/orgs",
"received_events_url": "https://api.github.com/users/dragoljub/received_events",
"repos_url": "https://api.github.com/users/dragoljub/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dragoljub/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dragoljub/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dragoljub"
} | [
{
"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": "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 | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 3 | 2013-08-09T19:59:50Z | 2013-08-09T20:19:21Z | 2013-08-09T20:19:21Z | NONE | null | Trying to filter out groups with less than 1 row with the new groupby().filter() in 0.12.0:
``` python
df = pd.DataFrame({'A' : ['foo', 'bar', 'foo', 'bar',
....: 'foo', 'bar', 'foo', 'foo'],
....: 'B' : ['one', 'one', 'two', 'three',
....: 'two', 'two', 'one', 'three'],
....: 'C' : np.random.randn(8),
....: 'D' : np.random.randn(8)})
grp = df.groupby(['A', 'B'])
grp.apply(lambda x: len(x)>1) # Returns correct bool series
A B
bar one False
three False
two False
foo one True
three False
two True
dtype: bool
grp.filter(lambda x: len(x)>1)
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-140-4dccfb561597> in <module>()
----> 1 grp.filter(lambda x: len(x)>1)
C:\Python27\lib\site-packages\pandas\core\groupby.pyc in filter(self, func, dropna, *args, **kwargs)
2092 res = path(group)
2093
-> 2094 if res:
2095 indexers.append(self.obj.index.get_indexer(group.index))
2096
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4527/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4527/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4528 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4528/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4528/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4528/events | https://github.com/pandas-dev/pandas/issues/4528 | 17,885,281 | MDU6SXNzdWUxNzg4NTI4MQ== | 4,528 | BUG/API: can't pass parameters to csv module via df.to_csv | {
"avatar_url": "https://avatars.githubusercontent.com/u/161107?v=4",
"events_url": "https://api.github.com/users/brechea/events{/privacy}",
"followers_url": "https://api.github.com/users/brechea/followers",
"following_url": "https://api.github.com/users/brechea/following{/other_user}",
"gists_url": "https://api.github.com/users/brechea/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/brechea",
"id": 161107,
"login": "brechea",
"node_id": "MDQ6VXNlcjE2MTEwNw==",
"organizations_url": "https://api.github.com/users/brechea/orgs",
"received_events_url": "https://api.github.com/users/brechea/received_events",
"repos_url": "https://api.github.com/users/brechea/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/brechea/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/brechea/subscriptions",
"type": "User",
"url": "https://api.github.com/users/brechea"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 6 | 2013-08-09T21:05:54Z | 2014-02-18T19:46:30Z | 2014-02-18T19:46:30Z | NONE | null | Trying to print a data frame as plain, strict tsv (i.e., no quoting and no escaping, because I know none the fields will contain tabs), I wanted to use the "quoting" option, which is documented in pandas and is passed through to csv, as well as the "quotechar" option, not documented in pandas but also a csv option. But it doesn't work:
``` python
In [1]: import sys, csv
In [2]: from pandas import DataFrame
In [3]: data = {'col1': ['contents of col1 row1', 'contents " of col1 row2'], 'col2': ['contents of col2 row1', 'contents " of col2 row2'] }
In [4]: df = DataFrame(data)
In [5]: df.to_csv(sys.stdout, sep='\t', quoting=csv.QUOTE_NONE, quotechar=None)
col1 col2
0 contents of col1 row1 contents of col2 row1
---------------------------------------------------------------------------
Error Traceback (most recent call last)
<ipython-input-5-a30d32266fb4> in <module>()
----> 1 df.to_csv(sys.stdout, sep='\t', quoting=csv.QUOTE_NONE, quotechar=None)
/home/brechea/.local/lib/python2.6/site-packages/pandas-0.12.0-py2.6-linux-x86_64.egg/pandas/core/frame.pyc in to_csv(self, path_or_buf, sep, na_rep, float_format, cols, header, index, index_label, mode, nanRep, encoding, quoting, line_terminator, chunksize, tupleize_cols, **kwds)
1409 tupleize_cols=tupleize_cols,
1410 )
-> 1411 formatter.save()
1412
1413 def to_excel(self, excel_writer, sheet_name='sheet1', na_rep='',
/home/brechea/.local/lib/python2.6/site-packages/pandas-0.12.0-py2.6-linux-x86_64.egg/pandas/core/format.pyc in save(self)
974
975 else:
--> 976 self._save()
977
978
/home/brechea/.local/lib/python2.6/site-packages/pandas-0.12.0-py2.6-linux-x86_64.egg/pandas/core/format.pyc in _save(self)
1080 break
1081
-> 1082 self._save_chunk(start_i, end_i)
1083
1084 def _save_chunk(self, start_i, end_i):
/home/brechea/.local/lib/python2.6/site-packages/pandas-0.12.0-py2.6-linux-x86_64.egg/pandas/core/format.pyc in _save_chunk(self, start_i, end_i)
1098 ix = data_index.to_native_types(slicer=slicer, na_rep=self.na_rep, float_format=self.float_format)
1099
-> 1100 lib.write_csv_rows(self.data, ix, self.nlevels, self.cols, self.writer)
1101
1102 # from collections import namedtuple
/home/brechea/.local/lib/python2.6/site-packages/pandas-0.12.0-py2.6-linux-x86_64.egg/pandas/lib.so in pandas.lib.write_csv_rows (pandas/lib.c:13871)()
Error: need to escape, but no escapechar set
```
Adding the parameter
quotechar=kwds.get("quotechar")
to the
formatter = fmt.CSVFormatter(...
call in to_csv(), and doing corresponding changes to format.CSVFormatter()'s **init**() and save(), produces the expected output:
``` python
In [1]: import sys, csv
In [2]: from pandas import DataFrame
In [3]: data = {'col1': ['contents of col1 row1', 'contents " of col1 row2'], 'col2': ['contents of col2 row1', 'contents " of col2 row2'] }
In [4]: df = DataFrame(data)
In [5]: df.to_csv(sys.stdout, sep='\t', quoting=csv.QUOTE_NONE, quotechar=None)
col1 col2
0 contents of col1 row1 contents of col2 row1
1 contents " of col1 row2 contents " of col2 row2
```
i.e., unescaped, unquoted tsv.
More generally, there could be many reasons to want more control of the underlying csv writer, so a generic mechanism (as opposed to adding each param one by one) might be called for (e.g., allowign for a csv dialect object or at least a dictionary holding dialect attributes).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4528/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4528/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4529 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4529/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4529/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4529/events | https://github.com/pandas-dev/pandas/pull/4529 | 17,892,764 | MDExOlB1bGxSZXF1ZXN0NzUyMDY3OQ== | 4,529 | ENH: avoid unnecessary ga mgmt calls if given profile_id upfront | {
"avatar_url": "https://avatars.githubusercontent.com/u/421839?v=4",
"events_url": "https://api.github.com/users/tshauck/events{/privacy}",
"followers_url": "https://api.github.com/users/tshauck/followers",
"following_url": "https://api.github.com/users/tshauck/following{/other_user}",
"gists_url": "https://api.github.com/users/tshauck/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tshauck",
"id": 421839,
"login": "tshauck",
"node_id": "MDQ6VXNlcjQyMTgzOQ==",
"organizations_url": "https://api.github.com/users/tshauck/orgs",
"received_events_url": "https://api.github.com/users/tshauck/received_events",
"repos_url": "https://api.github.com/users/tshauck/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tshauck/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tshauck/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tshauck"
} | [
{
"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": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 33 | 2013-08-10T01:52:44Z | 2014-07-06T19:09:26Z | 2014-07-06T19:09:26Z | CONTRIBUTOR | null | `profile_id` is ultimately what's needed to make a call to the reporting api. If it is specified in the parameter list it seems wasteful to call the management api 3 times.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4529/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4529/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4529.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4529",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4529.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4529"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4530 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4530/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4530/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4530/events | https://github.com/pandas-dev/pandas/pull/4530 | 17,892,929 | MDExOlB1bGxSZXF1ZXN0NzUyMDczNQ== | 4,530 | DOC/BLD: Update version support in docs and setup.py. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [] | closed | false | null | [] | null | 1 | 2013-08-10T02:06:38Z | 2014-07-16T08:22:55Z | 2013-08-10T12:07:18Z | CONTRIBUTOR | null | Fixes #4412.
Changes install.rst to explicitly reference that pandas supports 2.6,
2.7, and 3.2+. (and removes line that Python 3 support is less
well-tested). Also adds 2.6, 2.7, 3.2, and 3.3 in classifiers in
setup.py
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4530/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4530/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4530.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4530",
"merged_at": "2013-08-10T12:07:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4530.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4530"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4531 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4531/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4531/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4531/events | https://github.com/pandas-dev/pandas/issues/4531 | 17,893,223 | MDU6SXNzdWUxNzg5MzIyMw== | 4,531 | Bug: Bizarre DataFrame printing inconsistency (REPL only) | {
"avatar_url": "https://avatars.githubusercontent.com/u/903907?v=4",
"events_url": "https://api.github.com/users/gpcz/events{/privacy}",
"followers_url": "https://api.github.com/users/gpcz/followers",
"following_url": "https://api.github.com/users/gpcz/following{/other_user}",
"gists_url": "https://api.github.com/users/gpcz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gpcz",
"id": 903907,
"login": "gpcz",
"node_id": "MDQ6VXNlcjkwMzkwNw==",
"organizations_url": "https://api.github.com/users/gpcz/orgs",
"received_events_url": "https://api.github.com/users/gpcz/received_events",
"repos_url": "https://api.github.com/users/gpcz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gpcz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gpcz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gpcz"
} | [
{
"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 | 7 | 2013-08-10T02:33:36Z | 2013-08-13T02:52:02Z | 2013-08-10T12:08:46Z | NONE | null | Pandas 0.12.0 fails to print a column change in this specific example:
``` python
Python 2.7.3 (default, Apr 10 2013, 05:13:16)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> import pandas
>>> length = 5
>>> xx = pandas.DataFrame({'a':np.random.randn(length),'b':np.random.randn(length),'c':np.random.randn(length)})
>>> xx['d']=xx['a']
>>> np.may_share_memory(xx['d'],xx['a'])
False
>>> print xx
a b c d
0 0.370188 0.437854 -0.020475 0.370188
1 1.839874 0.539278 0.954254 1.839874
2 0.183890 -0.924539 -0.943913 0.183890
3 -2.047403 1.213499 -0.742084 -2.047403
4 -1.003271 0.839525 0.154962 -1.003271
>>> xx['d'][1] = 42
>>> print xx
a b c d
0 0.370188 0.437854 -0.020475 0.370188
1 1.839874 0.539278 0.954254 1.839874
2 0.183890 -0.924539 -0.943913 0.183890
3 -2.047403 1.213499 -0.742084 -2.047403
4 -1.003271 0.839525 0.154962 -1.003271
>>> quit()
```
Cell D1 should be 42 in the last print statement.
After poking at this a bit, I discovered the following additional required conditions:
1) You must enter this in the Python REPL (as in typing "python" at the command line and entering them manually). If you put the commands in a file and run the file, it will suddenly do what's expected.
2) The np.may_share_memory() call must be there. If you omit it, it will suddenly do what's expected.
3) A friend of mine attempted to reproduce this bug on Pandas 0.11.0, but he couldn't get it to work. Then again, he may have messed up conditions 1 and/or 2 -- he tried it before I realized the previous two conditions.
I am using Pandas '0.12.0' installed from pip on Linux Mint 14. Here is the (relevant) output from print_versions.py:
```
INSTALLED VERSIONS
------------------
Python: 2.7.3.final.0
OS: Linux 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64
byteorder: little
LC_ALL: None
LANG: en_CA.UTF-8
Cython: Not installed
Numpy: 1.6.2
Scipy: 0.10.1
matplotlib: 1.1.1
lxml: 2.3.5
```
I have no idea where the root cause of this bug is -- it may not necessarily be pandas's fault. I just hope someone else can reproduce it...
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4531/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4531/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4532 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4532/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4532/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4532/events | https://github.com/pandas-dev/pandas/issues/4532 | 17,898,561 | MDU6SXNzdWUxNzg5ODU2MQ== | 4,532 | BUG/API: timedelta64 series should operate directly with np.timedelta64/pd.offsets | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-08-10T13:09:31Z | 2014-07-17T22:05:20Z | 2013-08-13T22:19:43Z | CONTRIBUTOR | null | Related #4134 and:
http://stackoverflow.com/questions/18159675/python-pandas-change-duplicate-timestamp-to-unique/18162121#18162121
```
In [81]: df = DataFrame(dict(time = [Timestamp('20130101 9:01'),Timestamp('20130101 9:02')]))
```
This is buggy
```
In [82]: df.time + np.timedelta64(1,'ms')
Out[82]:
0 2013-01-01 09:01:00.000000001
1 2013-01-01 09:02:00.000000001
Name: time, dtype: datetime64[ns]
In [84]: df.time + np.timedelta64(1,'s')
Out[84]:
0 2013-01-01 09:01:00.000000001
1 2013-01-01 09:02:00.000000001
Name: time, dtype: datetime64[ns]
```
Doesn't work
```
In [83]: df.time + pd.offsets.Milli(5)
ValueError: cannot operate on a series with out a rhs of a series/ndarray of type datetime64[ns] or a timedelta
```
But this is ok
```
In [86]: df.time.apply(lambda x: x + pd.offsets.Milli(5))
Out[86]:
0 2013-01-01 09:01:00.005000
1 2013-01-01 09:02:00.005000
Name: time, dtype: datetime64[ns]
```
This is ok
```
In [85]: df.time + timedelta(seconds=1)
Out[85]:
0 2013-01-01 09:01:01
1 2013-01-01 09:02:01
Name: time, dtype: datetime64[ns]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4532/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4532/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4533 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4533/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4533/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4533/events | https://github.com/pandas-dev/pandas/issues/4533 | 17,899,015 | MDU6SXNzdWUxNzg5OTAxNQ== | 4,533 | BUG: diff on a DataFrame with a datelike broken | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
] | closed | false | null | [] | {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 1 | 2013-08-10T13:56:01Z | 2014-09-13T22:59:30Z | 2014-09-13T22:59:30Z | CONTRIBUTOR | null | ```
In [10]: df = DataFrame(dict(time = [Timestamp('20130101 9:01'),Timestamp('20130101 9:02')],value=[1.0,2.0]))
In [11]: df
Out[11]:
time value
0 2013-01-01 09:01:00 1
1 2013-01-01 09:02:00 2
```
works on series
```
In [12]: df.time.diff()
Out[12]:
0 NaT
1 00:01:00
Name: time, dtype: timedelta64[ns]
```
Broken with a datelike dtype inclded
```
In [13]: df.diff()
ValueError: cannot include dtype 'm' in a buffer
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4533/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4533/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4534 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4534/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4534/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4534/events | https://github.com/pandas-dev/pandas/pull/4534 | 17,899,456 | MDExOlB1bGxSZXF1ZXN0NzUyMzE3Nw== | 4,534 | BUG/API: Fix operating with timedelta64/pd.offsets on rhs of a datelike series/index | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 17 | 2013-08-10T14:40:02Z | 2014-06-16T17:04:14Z | 2013-08-13T22:19:43Z | CONTRIBUTOR | null | closes #4532
closes #4134
closes #4135
closes #4521
Timedeltas can be converted to other ‘frequencies’ by dividing by another timedelta.
```
In [210]: td = Series(date_range('20130101',periods=4))-Series(date_range('20121201',periods=4))
In [211]: td[2] += np.timedelta64(timedelta(minutes=5,seconds=3))
In [212]: td[3] = np.nan
In [213]: td
0 31 days, 00:00:00
1 31 days, 00:00:00
2 31 days, 00:05:03
3 NaT
dtype: timedelta64[ns]
```
to days
```
In [214]: td / np.timedelta64(1,'D')
0 31.000000
1 31.000000
2 31.003507
3 NaN
dtype: float64
```
to seconds
```
In [215]: td / np.timedelta64(1,'s')
0 2678400
1 2678400
2 2678703
3 NaN
dtype: float64
```
Dividing or multiplying a timedelta64[ns] Series by an integer or integer Series yields a float64 dtyped Series.
```
In [216]: td * -1
0 -31 days, 00:00:00
1 -31 days, 00:00:00
2 -31 days, 00:05:03
3 NaT
dtype: timedelta64[ns]
In [217]: td * Series([1,2,3,4])
0 31 days, 00:00:00
1 62 days, 00:00:00
2 93 days, 00:15:09
3 NaT
dtype: timedelta64[ns]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4534/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4534/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4534.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4534",
"merged_at": "2013-08-13T22:19:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4534.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4534"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4535 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4535/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4535/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4535/events | https://github.com/pandas-dev/pandas/issues/4535 | 17,900,794 | MDU6SXNzdWUxNzkwMDc5NA== | 4,535 | Remove deprecated setters for MultiIndex levels and labels | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 0 | 2013-08-10T16:28:42Z | 2018-07-06T22:36:12Z | 2018-07-06T22:36:12Z | CONTRIBUTOR | null | For 0.14 or later, after #4039 is merged this becomes a todo item for the future.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4535/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4535/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4536 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4536/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4536/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4536/events | https://github.com/pandas-dev/pandas/issues/4536 | 17,901,531 | MDU6SXNzdWUxNzkwMTUzMQ== | 4,536 | DataFrame produces NaNs | {
"avatar_url": "https://avatars.githubusercontent.com/u/20568?v=4",
"events_url": "https://api.github.com/users/certik/events{/privacy}",
"followers_url": "https://api.github.com/users/certik/followers",
"following_url": "https://api.github.com/users/certik/following{/other_user}",
"gists_url": "https://api.github.com/users/certik/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/certik",
"id": 20568,
"login": "certik",
"node_id": "MDQ6VXNlcjIwNTY4",
"organizations_url": "https://api.github.com/users/certik/orgs",
"received_events_url": "https://api.github.com/users/certik/received_events",
"repos_url": "https://api.github.com/users/certik/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/certik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/certik/subscriptions",
"type": "User",
"url": "https://api.github.com/users/certik"
} | [] | closed | false | null | [] | null | 5 | 2013-08-10T17:33:48Z | 2013-08-10T18:48:59Z | 2013-08-10T18:48:59Z | CONTRIBUTOR | null | Here is how to reproduce it:
``` python
In [1]: import urllib2
In [2]: open("N_06_area.txt", "w").write(urllib2.urlopen("ftp://sidads.colorado.edu/DATASETS/NOAA/G02135/Jun/N_06_area.txt").read())
In [3]: from pandas import read_table, DataFrame
In [4]: data = read_table("data/N_06_area.txt", skipfooter=16, sep="\s+")
In [5]: avg = data[2:32].extent.mean()
In [6]: anomaly = (data.extent - avg) / avg
In [7]: DataFrame({"anomaly": anomaly}).head()
Out[7]:
anomaly
0 0.058843
1 0.035295
2 0.057161
3 0.067254
4 0.039500
In [8]: DataFrame({"anomaly": anomaly}, index=data.year).head()
Out[8]:
anomaly
year
1979 NaN
1980 NaN
1981 NaN
1982 NaN
1983 NaN
In [9]: import pandas
In [10]: pandas.__version__
Out[10]: '0.11.0'
```
As you can see, [7] is correct, but when I try to assign years as the index in [8], I get NaN.
I hit this problem in this notebook: [Sea Ice Index.ipynb](http://nbviewer.ipython.org/urls/raw.github.com/certik/climate/4056bcc8318ab81a1fe6029f1597a35798f17cce/Sea%2520Ice%2520Index.ipynb)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4536/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4536/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4537 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4537/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4537/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4537/events | https://github.com/pandas-dev/pandas/issues/4537 | 17,907,039 | MDU6SXNzdWUxNzkwNzAzOQ== | 4,537 | BUG: Comparisons with non-comparable objects in DataFrame return True | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [] | closed | false | null | [] | {
"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"
} | 17 | 2013-08-11T02:11:03Z | 2013-08-31T00:43:05Z | 2013-08-31T00:43:05Z | CONTRIBUTOR | null | I can't tell if this is expected or not (taken from part of `test_where_datetime` in tests/test_frame). The change in #3311 (which the test case came from) didn't specify what should happen with non-datetime comparisons. Right now they return True, which doesn't really make sense. They should probably return False instead.
``` python
In [16]: df = DataFrame(dict(A = date_range('20130102',periods=5),
B = date_range('20130104',periods=5),
C = np.random.randn(5)))
In [17]: stamp = datetime(2013,1,3)
In [18]: df
Out[18]:
A B C
0 2013-01-02 00:00:00 2013-01-04 00:00:00 -0.321163
1 2013-01-03 00:00:00 2013-01-05 00:00:00 1.219840
2 2013-01-04 00:00:00 2013-01-06 00:00:00 -1.048629
3 2013-01-05 00:00:00 2013-01-07 00:00:00 -0.861459
4 2013-01-06 00:00:00 2013-01-08 00:00:00 1.480088
In [19]: df > stamp
Out[19]:
A B C
0 False True True
1 False True True
2 True True True
3 True True True
4 True True True
In [20]: df < stamp
Out[20]:
A B C
0 True False True
1 False False True
2 False False True
3 False False True
4 False False True
In [21]: df == stamp
Out[21]:
A B C
0 False False False
1 True False False
2 False False False
3 False False False
4 False False False
In [22]: df != stamp
Out[22]:
A B C
0 True True True
1 False True True
2 True True True
3 True True True
4 True True True
In [23: pd.__version__
Out[23]: '0.12.0-154-g7fd6b20'
```
Column C probably should be False for every case.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4537/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4537/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4538 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4538/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4538/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4538/events | https://github.com/pandas-dev/pandas/issues/4538 | 17,913,258 | MDU6SXNzdWUxNzkxMzI1OA== | 4,538 | fill_between doesn't work with Series objects | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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-02-03T05:17:36Z",
"closed_issues": 314,
"created_at": "2013-08-26T22:11:58Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
},
"description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.",
"due_on": "2014-02-04T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/23",
"id": 412013,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels",
"node_id": "MDk6TWlsZXN0b25lNDEyMDEz",
"number": 23,
"open_issues": 0,
"state": "closed",
"title": "0.13.1",
"updated_at": "2014-02-03T05:18:00Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23"
} | 3 | 2013-08-11T14:46:56Z | 2013-09-28T17:26:33Z | 2013-09-28T17:26:33Z | MEMBER | null | [SO question](http://stackoverflow.com/questions/18171079/using-fill-between-with-a-pandas-data-series/18173133#18173133)
if instead you don't use `.values` then a `KeyError` is thrown
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4538/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4538/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4539 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4539/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4539/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4539/events | https://github.com/pandas-dev/pandas/issues/4539 | 17,914,985 | MDU6SXNzdWUxNzkxNDk4NQ== | 4,539 | make docs reflect API usage not the fully qualified name | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | 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"
} | 22 | 2013-08-11T17:08:11Z | 2013-10-14T06:37:31Z | 2013-10-14T06:37:31Z | MEMBER | null | minor issue, but would be nice for consistency
http://pandas.pydata.org/pandas-docs/stable/generated/pandas.io.parsers.read_table.html#pandas.io.parsers.read_table
shows it as `pandas.io.parsers.read_table` but it should be used as `pandas.read_table` and that's how it should appear
this could be a simple sphinx reference label change
FWIW this would probably invalidate a lot of links on SO
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4539/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4539/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4540 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4540/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4540/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4540/events | https://github.com/pandas-dev/pandas/issues/4540 | 17,919,979 | MDU6SXNzdWUxNzkxOTk3OQ== | 4,540 | HDF4 -Earth Observing System (EOS) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1857142?v=4",
"events_url": "https://api.github.com/users/arnaldorusso/events{/privacy}",
"followers_url": "https://api.github.com/users/arnaldorusso/followers",
"following_url": "https://api.github.com/users/arnaldorusso/following{/other_user}",
"gists_url": "https://api.github.com/users/arnaldorusso/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arnaldorusso",
"id": 1857142,
"login": "arnaldorusso",
"node_id": "MDQ6VXNlcjE4NTcxNDI=",
"organizations_url": "https://api.github.com/users/arnaldorusso/orgs",
"received_events_url": "https://api.github.com/users/arnaldorusso/received_events",
"repos_url": "https://api.github.com/users/arnaldorusso/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arnaldorusso/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arnaldorusso/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arnaldorusso"
} | [] | closed | false | null | [] | null | 1 | 2013-08-11T23:52:41Z | 2014-01-03T18:51:15Z | 2014-01-03T18:51:15Z | NONE | null | Hi,
Is it possible include any easy access to HDF4 files?
They are still in use specially for those data distributed by NASA satellite MODIS.
Cheers,
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4540/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4540/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4541 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4541/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4541/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4541/events | https://github.com/pandas-dev/pandas/issues/4541 | 17,921,070 | MDU6SXNzdWUxNzkyMTA3MA== | 4,541 | Tests: frequency setting at makeTimeSeriesDataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/11860?v=4",
"events_url": "https://api.github.com/users/timmie/events{/privacy}",
"followers_url": "https://api.github.com/users/timmie/followers",
"following_url": "https://api.github.com/users/timmie/following{/other_user}",
"gists_url": "https://api.github.com/users/timmie/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/timmie",
"id": 11860,
"login": "timmie",
"node_id": "MDQ6VXNlcjExODYw",
"organizations_url": "https://api.github.com/users/timmie/orgs",
"received_events_url": "https://api.github.com/users/timmie/received_events",
"repos_url": "https://api.github.com/users/timmie/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/timmie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timmie/subscriptions",
"type": "User",
"url": "https://api.github.com/users/timmie"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "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-08-12T01:22:06Z | 2014-02-25T17:56:39Z | 2014-02-25T17:56:39Z | CONTRIBUTOR | null | The test function is very useful for trials of code.
Please, make it freuqency aware. Currently, it just works with daily data.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4541/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4541/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4542 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4542/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4542/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4542/events | https://github.com/pandas-dev/pandas/issues/4542 | 17,940,667 | MDU6SXNzdWUxNzk0MDY2Nw== | 4,542 | ENH: Adding XlsxWriter as an ExcelWriter() option | {
"avatar_url": "https://avatars.githubusercontent.com/u/94267?v=4",
"events_url": "https://api.github.com/users/jmcnamara/events{/privacy}",
"followers_url": "https://api.github.com/users/jmcnamara/followers",
"following_url": "https://api.github.com/users/jmcnamara/following{/other_user}",
"gists_url": "https://api.github.com/users/jmcnamara/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jmcnamara",
"id": 94267,
"login": "jmcnamara",
"node_id": "MDQ6VXNlcjk0MjY3",
"organizations_url": "https://api.github.com/users/jmcnamara/orgs",
"received_events_url": "https://api.github.com/users/jmcnamara/received_events",
"repos_url": "https://api.github.com/users/jmcnamara/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jmcnamara/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jmcnamara/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jmcnamara"
} | [
{
"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": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 20 | 2013-08-12T13:39:22Z | 2019-02-21T07:12:41Z | 2013-09-22T23:14:58Z | CONTRIBUTOR | null | related/closes #4517
Hi,
I am the author of the [XlsxWriter](https://github.com/jmcnamara/XlsxWriter) module, a Python module for writing Excel XLSX files.
I am interested in submitting a PR to add this as a option when writing Excel xlsx files via `to_excel()`.
It has a similar interface to the xlwt module but creates xlsx files. For large data files it is ~10x faster than OpenPyXL while maintaining low and constant memory usage. I occasionally see the current xlsx writer's speed and memory usage mentioned as a bug/limitation so it could be useful to have a fallback module option in those cases.
XlsxWriter also supports features such as charts and auto-filters that could be exposed at a later stage. See https://xlsxwriter.readthedocs.org/ for more details.
It uses standard libraries only and has an extensive test suite for Python 2.6, 2.7, 3.1, 3.2 and 3.3.
If you are interested I can work on a prototype and send a PR for you to evaluate. I have read CONTRIBUTING.md and I think I should be able to meet the criteria.
Regards,
John.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4542/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4542/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4543 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4543/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4543/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4543/events | https://github.com/pandas-dev/pandas/issues/4543 | 17,953,232 | MDU6SXNzdWUxNzk1MzIzMg== | 4,543 | What do you guys think about a DataFrame.drop_consecutive_duplicates? | {
"avatar_url": "https://avatars.githubusercontent.com/u/4975865?v=4",
"events_url": "https://api.github.com/users/numpand/events{/privacy}",
"followers_url": "https://api.github.com/users/numpand/followers",
"following_url": "https://api.github.com/users/numpand/following{/other_user}",
"gists_url": "https://api.github.com/users/numpand/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/numpand",
"id": 4975865,
"login": "numpand",
"node_id": "MDQ6VXNlcjQ5NzU4NjU=",
"organizations_url": "https://api.github.com/users/numpand/orgs",
"received_events_url": "https://api.github.com/users/numpand/received_events",
"repos_url": "https://api.github.com/users/numpand/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/numpand/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/numpand/subscriptions",
"type": "User",
"url": "https://api.github.com/users/numpand"
} | [
{
"color": "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"
},
{
"color": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 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"
} | 4 | 2013-08-12T17:23:32Z | 2016-07-20T07:44:57Z | 2016-07-19T21:06:38Z | NONE | null | It would work similar to drop_duplicates (same interface), but would only remove consecutive duplicates (like Unix's uniq does). So to in order to remove all duplicates with this function, the DataFrame would need to be sorted by the same criteria. This function can be useful when order is important and non-consecutive duplicates convey useful information.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4543/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4543/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4544 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4544/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4544/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4544/events | https://github.com/pandas-dev/pandas/issues/4544 | 17,962,350 | MDU6SXNzdWUxNzk2MjM1MA== | 4,544 | BUG: .ix get and set behave differently | {
"avatar_url": "https://avatars.githubusercontent.com/u/188258?v=4",
"events_url": "https://api.github.com/users/alefnula/events{/privacy}",
"followers_url": "https://api.github.com/users/alefnula/followers",
"following_url": "https://api.github.com/users/alefnula/following{/other_user}",
"gists_url": "https://api.github.com/users/alefnula/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alefnula",
"id": 188258,
"login": "alefnula",
"node_id": "MDQ6VXNlcjE4ODI1OA==",
"organizations_url": "https://api.github.com/users/alefnula/orgs",
"received_events_url": "https://api.github.com/users/alefnula/received_events",
"repos_url": "https://api.github.com/users/alefnula/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alefnula/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alefnula/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alefnula"
} | [
{
"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 | {
"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-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 2 | 2013-08-12T20:16:47Z | 2013-10-24T12:57:37Z | 2013-10-01T01:21:47Z | CONTRIBUTOR | null | I'm really sorry if this is a duplicate issue of #2997, but it seems to me that this is a little bit different. Here the `.ix` when getting a value interprets the integer as label, and when setting a value it interprets it as a positional index.
``` python
>>> import numpy as np
>>> import pandas as pd
>>> df = pd.DataFrame(np.arange(16).reshape((4, 4)),
columns=['a', 'b', 8, 'c'],
index=['e', 7, 'f', 'g'])
>>> df
a b 8 c
e 0 1 2 3
7 4 5 6 7
f 8 9 10 11
g 12 13 14 15
>>> df.ix['e', 8]
2
>>> df.ix['e', 8] = 42
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pandas/core/indexing.py", line 90, in __setitem__
self._setitem_with_indexer(indexer, value)
File "pandas/core/indexing.py", line 190, in _setitem_with_indexer
values[indexer] = value
IndexError: index 8 is out of bounds for axis 1 with size 4
>>> df.loc['e', 8] = 42
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pandas/core/indexing.py", line 90, in __setitem__
self._setitem_with_indexer(indexer, value)
File "pandas/core/indexing.py", line 190, in _setitem_with_indexer
values[indexer] = value
IndexError: index 8 is out of bounds for axis 1 with size 4
```
I see this issue with the 0.12 version and also with the latest git checkout.
_Update: @jreback noticed that the `.loc` is not working either._
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4544/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4544/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4545 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4545/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4545/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4545/events | https://github.com/pandas-dev/pandas/issues/4545 | 17,970,336 | MDU6SXNzdWUxNzk3MDMzNg== | 4,545 | easier candlestick plotting | {
"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": "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-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 3 | 2013-08-12T22:44:50Z | 2013-09-26T21:27:34Z | 2013-09-26T21:27:34Z | MEMBER | null | maybe would be nice to have `df.plot(kind='candle')` or `df.plot(kind='ohlc')`? kind of a pain to do all the date/time stuff manually
see [this SO question](http://stackoverflow.com/q/18195231/564538) for an example
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4545/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4545/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4546 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4546/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4546/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4546/events | https://github.com/pandas-dev/pandas/issues/4546 | 17,976,905 | MDU6SXNzdWUxNzk3NjkwNQ== | 4,546 | Issue Using Chained Accessors with Multiple dtypes & Performance Tips | {
"avatar_url": "https://avatars.githubusercontent.com/u/3711678?v=4",
"events_url": "https://api.github.com/users/dirkbike/events{/privacy}",
"followers_url": "https://api.github.com/users/dirkbike/followers",
"following_url": "https://api.github.com/users/dirkbike/following{/other_user}",
"gists_url": "https://api.github.com/users/dirkbike/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dirkbike",
"id": 3711678,
"login": "dirkbike",
"node_id": "MDQ6VXNlcjM3MTE2Nzg=",
"organizations_url": "https://api.github.com/users/dirkbike/orgs",
"received_events_url": "https://api.github.com/users/dirkbike/received_events",
"repos_url": "https://api.github.com/users/dirkbike/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dirkbike/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dirkbike/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dirkbike"
} | [] | closed | false | null | [] | null | 14 | 2013-08-13T02:45:01Z | 2013-08-14T14:27:59Z | 2013-08-13T15:35:53Z | NONE | null | The below code should print 99.9, but instead prints 10.5. This bug goes away if column b in the dataframe is set to all float values instead of int values. I am running Pandas 0.12.0 and Python 2.7.3.
```
import pandas
df = pandas.DataFrame({'a':[7.3,5.1,3.0,5.5,6.4],'b':[5,4,5,1,6]})
df['a'] = df.apply(lambda x: 10.5, axis=1)
df.iloc[0]['a'] = 99.9
print df.iloc[0]['a']
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4546/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4546/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4547 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4547/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4547/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4547/events | https://github.com/pandas-dev/pandas/issues/4547 | 17,984,904 | MDU6SXNzdWUxNzk4NDkwNA== | 4,547 | BUG: TimeStamp looses frequency info on arithmetic ops | {
"avatar_url": "https://avatars.githubusercontent.com/u/4789270?v=4",
"events_url": "https://api.github.com/users/mvds314/events{/privacy}",
"followers_url": "https://api.github.com/users/mvds314/followers",
"following_url": "https://api.github.com/users/mvds314/following{/other_user}",
"gists_url": "https://api.github.com/users/mvds314/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mvds314",
"id": 4789270,
"login": "mvds314",
"node_id": "MDQ6VXNlcjQ3ODkyNzA=",
"organizations_url": "https://api.github.com/users/mvds314/orgs",
"received_events_url": "https://api.github.com/users/mvds314/received_events",
"repos_url": "https://api.github.com/users/mvds314/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mvds314/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mvds314/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mvds314"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
] | closed | false | null | [] | {
"closed_at": "2014-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"
} | 23 | 2013-08-13T08:32:19Z | 2014-05-22T17:28:50Z | 2014-03-07T00:04:40Z | NONE | null | Running the follow code generates an error using pandas 0.11 (with winpython 2.7.5.2 64 bit):
import pandas as pd
ts1=pd.date_range('1/1/2000',periods=1,freq='Q')[0]
ts1-1-1
Error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "tslib.pyx", line 566, in pandas.tslib._Timestamp.__sub__ (pandas\tslib.c:10775)
File "tslib.pyx", line 550, in pandas.tslib._Timestamp.__add__ (pandas\tslib.c:10477)
ValueError: Cannot add integral value to Timestamp without offset.
Reason:
ts1.freq has value:
1 QuarterEnd: startingMonth=12, kwds={'startingMonth': 12}, offset=3 MonthEnds
but
(ts1-1).freq has no 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/4547/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4547/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4548 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4548/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4548/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4548/events | https://github.com/pandas-dev/pandas/issues/4548 | 17,994,399 | MDU6SXNzdWUxNzk5NDM5OQ== | 4,548 | BUG: Series with non-unique index: "Index length did not match values" error upon assignment | {
"avatar_url": "https://avatars.githubusercontent.com/u/265630?v=4",
"events_url": "https://api.github.com/users/jgehrcke/events{/privacy}",
"followers_url": "https://api.github.com/users/jgehrcke/followers",
"following_url": "https://api.github.com/users/jgehrcke/following{/other_user}",
"gists_url": "https://api.github.com/users/jgehrcke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jgehrcke",
"id": 265630,
"login": "jgehrcke",
"node_id": "MDQ6VXNlcjI2NTYzMA==",
"organizations_url": "https://api.github.com/users/jgehrcke/orgs",
"received_events_url": "https://api.github.com/users/jgehrcke/received_events",
"repos_url": "https://api.github.com/users/jgehrcke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jgehrcke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jgehrcke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jgehrcke"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 4 | 2013-08-13T12:46:32Z | 2016-10-12T23:04:06Z | 2013-09-09T14:52:24Z | CONTRIBUTOR | null | Create a Series with non-unique index:
``` python
>>> import pandas as pd
>>> pd.__version__
'0.12.0'
>>> s1 = pd.Series(range(3))
>>> s2 = pd.Series(range(3))
>>> comb = pd.concat([s1,s2])
>>> comb
0 0
1 1
2 2
0 0
1 1
2 2
dtype: int64
```
Assign value by boolean mask:
``` python
>>> comb[comb<1] = 5
>>> comb
0 5
1 1
2 2
0 5
1 1
2 2
dtype: int64
```
This has worked. Now _add_ a value by boolean mask:
``` python
>>> comb[comb<2] += 10
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "***/pandas/core/series.py", line 852, in __setitem__
self.where(~key,value,inplace=True)
File "***/pandas/core/series.py", line 749, in where
other = other.reindex(ser.index)
File "***/pandas/core/series.py", line 2646, in reindex
return self._reindex_with_indexers(new_index, indexer, copy=copy, fill_value=fill_value)
File "***/pandas/core/series.py", line 2650, in _reindex_with_indexers
return Series(new_values, index=index, name=self.name)
File "***/pandas/core/series.py", line 492, in __new__
subarr.index = index
File "properties.pyx", line 74, in pandas.lib.SeriesIndex.__set__ (pandas/lib.c:29541)
AssertionError: Index length did not match values
```
Is this expected behavior? If it is, I am sorry, because this was not clear to me from the docs and I am just wondering why simple assignment via `=` works and special assignment via `+=` does not...
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4548/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4548/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4549 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4549/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4549/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4549/events | https://github.com/pandas-dev/pandas/pull/4549 | 17,994,519 | MDExOlB1bGxSZXF1ZXN0NzU2ODkxMw== | 4,549 | ENH/API: Keep original traceback in DataFrame.apply | {
"avatar_url": "https://avatars.githubusercontent.com/u/3977643?v=4",
"events_url": "https://api.github.com/users/bburan-galenea/events{/privacy}",
"followers_url": "https://api.github.com/users/bburan-galenea/followers",
"following_url": "https://api.github.com/users/bburan-galenea/following{/other_user}",
"gists_url": "https://api.github.com/users/bburan-galenea/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bburan-galenea",
"id": 3977643,
"login": "bburan-galenea",
"node_id": "MDQ6VXNlcjM5Nzc2NDM=",
"organizations_url": "https://api.github.com/users/bburan-galenea/orgs",
"received_events_url": "https://api.github.com/users/bburan-galenea/received_events",
"repos_url": "https://api.github.com/users/bburan-galenea/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bburan-galenea/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bburan-galenea/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bburan-galenea"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 16 | 2013-08-13T12:49:27Z | 2014-06-19T20:26:24Z | 2013-08-21T13:42:36Z | CONTRIBUTOR | null | When "raise <exception instance>" is used inside a try/except block, the
original stacktrace (containing the code path that raised the original
exception). This makes debugging difficult since all we know is that an error
occured when `frame._apply_standard` attempted to call the provided function.
Preserve the original stacktrace by using "raise" instead of "raise <exception
instance>". This facilitates debugginb by allowing us to see where (in the
provided callable) the exception occured.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4549/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4549/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4549.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4549",
"merged_at": "2013-08-21T13:42:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4549.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4549"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4550 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4550/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4550/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4550/events | https://github.com/pandas-dev/pandas/issues/4550 | 17,994,747 | MDU6SXNzdWUxNzk5NDc0Nw== | 4,550 | 'ValueError: Cannot assign nan to integer series" when calling `where` on Series with non-unique index. | {
"avatar_url": "https://avatars.githubusercontent.com/u/265630?v=4",
"events_url": "https://api.github.com/users/jgehrcke/events{/privacy}",
"followers_url": "https://api.github.com/users/jgehrcke/followers",
"following_url": "https://api.github.com/users/jgehrcke/following{/other_user}",
"gists_url": "https://api.github.com/users/jgehrcke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jgehrcke",
"id": 265630,
"login": "jgehrcke",
"node_id": "MDQ6VXNlcjI2NTYzMA==",
"organizations_url": "https://api.github.com/users/jgehrcke/orgs",
"received_events_url": "https://api.github.com/users/jgehrcke/received_events",
"repos_url": "https://api.github.com/users/jgehrcke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jgehrcke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jgehrcke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jgehrcke"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "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"
} | 4 | 2013-08-13T12:55:03Z | 2013-09-09T02:03:14Z | 2013-09-09T02:03:14Z | CONTRIBUTOR | null | Create a Series with non-unique index:
``` python
>>> import pandas as pd
>>> pd.__version__
'0.12.0'
>>> s1 = pd.Series(range(3))
>>> s2 = pd.Series(range(3))
>>> comb = pd.concat([s1,s2])
>>> comb
0 0
1 1
2 2
0 0
1 1
2 2
dtype: int64
```
As of https://github.com/pydata/pandas/issues/4548 I cannot use `comb[comb<2] =+ 10`, so I tried working with `where` (according to http://pandas.pydata.org/pandas-docs/stable/indexing.html#where-and-masking, stating "To guarantee that selection output has the same shape as the original data, you can use the where method in Series and DataFrame"). But already calling `where` on `comb` is problematic:
``` python
>>> comb.where(comb < 2)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/projects/bioinfp_apps/Python-2.7.3/lib/python2.7/site-packages/pandas/core/series.py", line 745, in where
ser._set_with(~cond, other)
File "/projects/bioinfp_apps/Python-2.7.3/lib/python2.7/site-packages/pandas/core/series.py", line 886, in _set_with
self._set_values(key, value)
File "/projects/bioinfp_apps/Python-2.7.3/lib/python2.7/site-packages/pandas/core/series.py", line 904, in _set_values
values[key] = _index.convert_scalar(values, value)
File "index.pyx", line 547, in pandas.index.convert_scalar (pandas/index.c:9752)
File "index.pyx", line 560, in pandas.index.convert_scalar (pandas/index.c:9639)
ValueError: Cannot assign nan to integer series
>>>
```
Is this expected?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4550/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4550/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4551 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4551/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4551/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4551/events | https://github.com/pandas-dev/pandas/issues/4551 | 17,996,873 | MDU6SXNzdWUxNzk5Njg3Mw== | 4,551 | ENH: Index to act like Series for common ops (DataFrame.index.max() crashes) | {
"avatar_url": "https://avatars.githubusercontent.com/u/2196196?v=4",
"events_url": "https://api.github.com/users/ohadle/events{/privacy}",
"followers_url": "https://api.github.com/users/ohadle/followers",
"following_url": "https://api.github.com/users/ohadle/following{/other_user}",
"gists_url": "https://api.github.com/users/ohadle/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ohadle",
"id": 2196196,
"login": "ohadle",
"node_id": "MDQ6VXNlcjIxOTYxOTY=",
"organizations_url": "https://api.github.com/users/ohadle/orgs",
"received_events_url": "https://api.github.com/users/ohadle/received_events",
"repos_url": "https://api.github.com/users/ohadle/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ohadle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ohadle/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ohadle"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] | closed | false | {
"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"
} | 5 | 2013-08-13T13:42:01Z | 2014-04-29T12:22:10Z | 2014-02-18T01:35:30Z | NONE | null | related #4056, #5202, #5502, #5519, #6027
I have a DataFrame of length 390,080, with int64 indices.
`df.index.size` gives the correct answer of 390,080, but `df.index.max` results in a huge traceback that ends with:
```
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/common.pyc in pprint_thing(thing, _nest_lvl, escape_chars, default_escapes, quote_strings)
2051 hasattr(thing, 'next'):
2052 return unicode(thing)
-> 2053 elif (isinstance(thing, dict) and
2054 _nest_lvl < get_option("display.pprint_nest_depth")):
2055 result = _pprint_dict(thing, _nest_lvl,quote_strings=True)
RuntimeError: maximum recursion depth exceeded in __instancecheck__
```
Using pandas 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/4551/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4551/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4552 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4552/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4552/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4552/events | https://github.com/pandas-dev/pandas/issues/4552 | 17,997,017 | MDU6SXNzdWUxNzk5NzAxNw== | 4,552 | docs: use randint where possible | {
"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-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 2 | 2013-08-13T13:44:42Z | 2013-09-27T20:13:44Z | 2013-09-27T20:13:44Z | CONTRIBUTOR | null | Hello,
I suggest to use np.random.randin where possible in the docstrings / examples.
With values imited like:
```
np.random.randint(1, 10, 4000)
```
...the reader would have it easy to re-calculate results (sum, max, min, mean, etc.) while reading the examples.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4552/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4552/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4553 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4553/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4553/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4553/events | https://github.com/pandas-dev/pandas/issues/4553 | 18,002,438 | MDU6SXNzdWUxODAwMjQzOA== | 4,553 | FORMAT: __repr__ of Timestamp should include the offset (freq) info | {
"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": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 20 | 2013-08-13T15:22:38Z | 2014-03-10T20:01:30Z | 2014-03-10T20:01:30Z | CONTRIBUTOR | null | ```
In [6]: Timestamp('20130101',offset='D')
Out[6]: Timestamp('2013-01-01 00:00:00', tz=None)
In [7]: Timestamp('20130101',offset='D').freq
Out[7]: 'D'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4553/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4553/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4554 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4554/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4554/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4554/events | https://github.com/pandas-dev/pandas/issues/4554 | 18,004,298 | MDU6SXNzdWUxODAwNDI5OA== | 4,554 | API: Reshaping Series to its own shape raises TypeError | {
"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": "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"
} | 5 | 2013-08-13T15:54:09Z | 2013-10-24T11:52:14Z | 2013-09-29T22:07:31Z | CONTRIBUTOR | null | This may be seen like a weird function call but it is actually triggered when plotting with development versions of matplotlib and the case is explicitly (and wrongly as it seems) by pandas:
```
>>> import pandas as pd
>>> x = pd.Series(range(5))
>>> x.reshape(x.shape)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/pymodules/python2.7/pandas/core/series.py", line 981, in reshape
return ndarray.reshape(self, newshape, order)
TypeError: an integer is required
```
It is easily fixed just replacing the offending line by this one:
`return ndarray.reshape(self, newshape, order=order)`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4554/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4554/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4555 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4555/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4555/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4555/events | https://github.com/pandas-dev/pandas/issues/4555 | 18,007,986 | MDU6SXNzdWUxODAwNzk4Ng== | 4,555 | API: pandas.Series.replace has different method signature to pandas.DataFrame.replace | {
"avatar_url": "https://avatars.githubusercontent.com/u/4764631?v=4",
"events_url": "https://api.github.com/users/roblevy/events{/privacy}",
"followers_url": "https://api.github.com/users/roblevy/followers",
"following_url": "https://api.github.com/users/roblevy/following{/other_user}",
"gists_url": "https://api.github.com/users/roblevy/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/roblevy",
"id": 4764631,
"login": "roblevy",
"node_id": "MDQ6VXNlcjQ3NjQ2MzE=",
"organizations_url": "https://api.github.com/users/roblevy/orgs",
"received_events_url": "https://api.github.com/users/roblevy/received_events",
"repos_url": "https://api.github.com/users/roblevy/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/roblevy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/roblevy/subscriptions",
"type": "User",
"url": "https://api.github.com/users/roblevy"
} | [
{
"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"
} | 5 | 2013-08-13T17:02:23Z | 2013-08-16T19:29:56Z | 2013-08-16T19:29:56Z | CONTRIBUTOR | null | Using Pandas 0.12.0
It's hard to think of why a DataFrame would allow a `regex=True` replace method, and a Series wouldn't. This must just be an oversight, right?
```
>>> test = pd.DataFrame(['hello','goodbye','thankyou'],columns=['to_replace'])
>>> test
to_replace
0 hello
1 goodbye
2 thankyou
>>> test.replace("he", "je")
to_replace
0 hello
1 goodbye
2 thankyou
>>> test.replace("he", "je", regex=True)
to_replace
0 jello
1 goodbye
2 thankyou
>>> test['to_replace'].replace("he", "je", regex=True)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: replace() got an unexpected keyword argument 'regex'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4555/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4555/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4556 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4556/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4556/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4556/events | https://github.com/pandas-dev/pandas/issues/4556 | 18,011,666 | MDU6SXNzdWUxODAxMTY2Ng== | 4,556 | Add read_pdf to IO Tools | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "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": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 4 | 2013-08-13T18:14:00Z | 2014-01-24T15:14:48Z | 2014-01-24T15:12:14Z | CONTRIBUTOR | null | related #3281
Create a read_pdf method in IO tools for reading tables from PDF documents. Many data sets are released in PDF form.
For example:
- Walmart's Historical Unit Count and Square Footage: http://az204679.vo.msecnd.net/media/documents/unit-counts-q1-fy14_130131488115936836.pdf
- Las Vegas Visitor Statistics: http://www.lvcva.com/includes/content/images/media/docs/ES-YTD20128.pdf
- Coffee export data: http://www.ico.org/historical/2010-19/PDF/EXPCALY.pdf
There are a number of standalone tools, projects for this:
- http://ieg.ifs.tuwien.ac.at/projects/pdf2table/ (an academic project /paper; Java)
- https://pypi.python.org/pypi/pdfquery (Python lib)
- https://pypi.python.org/pypi/pdftable (Python lib)
- http://www.unixuser.org/~euske/python/pdfminer/ (Python lib)
- https://github.com/ashima/pdf-table-extract (Python lib)
There are also a number of site / projects to convert PDF to HTML:
- https://github.com/coolwanglu/pdf2htmlEX/wiki (open source)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4556/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4556/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4557 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4557/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4557/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4557/events | https://github.com/pandas-dev/pandas/issues/4557 | 18,021,171 | MDU6SXNzdWUxODAyMTE3MQ== | 4,557 | No way to access correlation significance value (Spearman, Kendall) | {
"avatar_url": "https://avatars.githubusercontent.com/u/380806?v=4",
"events_url": "https://api.github.com/users/smdabdoub/events{/privacy}",
"followers_url": "https://api.github.com/users/smdabdoub/followers",
"following_url": "https://api.github.com/users/smdabdoub/following{/other_user}",
"gists_url": "https://api.github.com/users/smdabdoub/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/smdabdoub",
"id": 380806,
"login": "smdabdoub",
"node_id": "MDQ6VXNlcjM4MDgwNg==",
"organizations_url": "https://api.github.com/users/smdabdoub/orgs",
"received_events_url": "https://api.github.com/users/smdabdoub/received_events",
"repos_url": "https://api.github.com/users/smdabdoub/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/smdabdoub/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/smdabdoub/subscriptions",
"type": "User",
"url": "https://api.github.com/users/smdabdoub"
} | [
{
"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"
} | 11 | 2013-08-13T21:04:02Z | 2017-11-24T10:30:13Z | 2017-11-24T10:30:05Z | NONE | null | The corr() method attached to DataFrames is a great way to get a matrix of correlation coefficients. But for the Kendall and Spearman options, the p-value is discarded:
https://github.com/pydata/pandas/blob/8ac0e11b59b65f0ac898dca2beebde5f87836649/pandas/core/nanops.py#L510-L517
For a function called corr() this would certainly be expected behavior, but the problem remains that there is no other method (as far as I've been able to find) to get those significance values without going back to scipy and doing it myself.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4557/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4557/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4558 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4558/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4558/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4558/events | https://github.com/pandas-dev/pandas/issues/4558 | 18,022,597 | MDU6SXNzdWUxODAyMjU5Nw== | 4,558 | API/ENH: stata export should better support np.datetime64 based times | {
"avatar_url": "https://avatars.githubusercontent.com/u/563314?v=4",
"events_url": "https://api.github.com/users/wuan/events{/privacy}",
"followers_url": "https://api.github.com/users/wuan/followers",
"following_url": "https://api.github.com/users/wuan/following{/other_user}",
"gists_url": "https://api.github.com/users/wuan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wuan",
"id": 563314,
"login": "wuan",
"node_id": "MDQ6VXNlcjU2MzMxNA==",
"organizations_url": "https://api.github.com/users/wuan/orgs",
"received_events_url": "https://api.github.com/users/wuan/received_events",
"repos_url": "https://api.github.com/users/wuan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wuan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wuan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wuan"
} | [
{
"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"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] | closed | false | null | [] | {
"closed_at": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 9 | 2013-08-13T21:31:57Z | 2014-03-13T22:19:16Z | 2014-03-13T22:19:16Z | CONTRIBUTOR | null | The following code exporting a dataframe with a timeseries index with np.datetime64 type
``` python
import numpy as np
import pandas as pd
timestamps = pd.date_range(np.datetime64('2013-01-01 11:00:00.123456'), periods=5, freq='123U')
dataframe = pd.DataFrame(np.random.randn(len(timestamps)), index=timestamps)
dataframe.to_stata('out')
```
throws a
```
ValueError: Data type datetime64[ns] not currently understood. Please report an error to the developers.
```
It would be very nice if np.datetime64 (and thus pd.Timestamp as well) would be supported here.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4558/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4558/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4559 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4559/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4559/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4559/events | https://github.com/pandas-dev/pandas/issues/4559 | 18,028,474 | MDU6SXNzdWUxODAyODQ3NA== | 4,559 | add a doc example of SQL's ON statement | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | 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"
} | 9 | 2013-08-14T00:03:36Z | 2013-08-20T09:15:25Z | 2013-08-19T23:21:57Z | MEMBER | null | see [this SO question](http://stackoverflow.com/q/18219156/564538)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4559/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4559/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4560 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4560/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4560/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4560/events | https://github.com/pandas-dev/pandas/pull/4560 | 18,030,445 | MDExOlB1bGxSZXF1ZXN0NzU4OTM3Ng== | 4,560 | CLN/ENH: Provide full suite of arithmetic (and flex) methods to all NDFrame objects. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [] | closed | false | null | [] | {
"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"
} | 18 | 2013-08-14T01:17:18Z | 2014-06-19T16:42:59Z | 2013-08-15T02:42:02Z | CONTRIBUTOR | null | Resolves #3765, #4331, #4334, #4051.
This goes on top of @jreback's Series refactoring (#3482). If you want to review, I suggest looking [at the PR on top of jreback/series2](https://github.com/jreback/pandas/pull/6), so you only see the diffs specific to this PR.
This does a few things:
1. Normalizes the arithmetic signature so that all objects have the full-range of special methods, inplace methods and `__r*__` methods. Similarly, most objects get the full-range of flex methods (varies based on the object.
2. Refactors all arithmetic methods to `core/ops` and adds methods to add both special (e.g., `__add__`) and flex (e.g. `add()`) to PandasObjects.
3. Slight refactoring of the arithmetic methods themselves to abstract the common `na_op` idiom into a single function.
4. Uses `numexpr` throughout for most operations (except for the sparse objects)
5. Makes it easier to create new `PandasObjects` that support all arithmetic methods - just need to define 2-5 functions.
6. Establishes a standard type signature for arithmetic methods [documented in core/ops], specifically:
- arithmetic method: `f(op, name, str_rep, default_axis=None, fill_zeros=None, **eval_kwargs)`
- comp/bool method: `f(op, name, str_rep)`
This is a straight continuation of #4051, but since it's different enough (especially with moving the operations to core/ops and no longer using them as classmethods), I'm doing it in a separate PR.
I'm open to changing the naming of the arithmetic functions in core/ops. I named them as they are to make it easier to move them into `core/ops`
Sidenote: I don't know whether numexpr plays well with sparse objects (or if that's even an issue). It's trivial to disable numexpr on Sparse* objects, just need to know what you want to do.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4560/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4560/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4560.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4560",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4560.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4560"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4561 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4561/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4561/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4561/events | https://github.com/pandas-dev/pandas/issues/4561 | 18,039,205 | MDU6SXNzdWUxODAzOTIwNQ== | 4,561 | BUG: read_clipboard fails on Windows since pandas 0.12 | {
"avatar_url": "https://avatars.githubusercontent.com/u/3796187?v=4",
"events_url": "https://api.github.com/users/Puggie/events{/privacy}",
"followers_url": "https://api.github.com/users/Puggie/followers",
"following_url": "https://api.github.com/users/Puggie/following{/other_user}",
"gists_url": "https://api.github.com/users/Puggie/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Puggie",
"id": 3796187,
"login": "Puggie",
"node_id": "MDQ6VXNlcjM3OTYxODc=",
"organizations_url": "https://api.github.com/users/Puggie/orgs",
"received_events_url": "https://api.github.com/users/Puggie/received_events",
"repos_url": "https://api.github.com/users/Puggie/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Puggie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Puggie/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Puggie"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-08-14T07:49:06Z | 2013-08-15T11:50:48Z | 2013-08-15T11:50:48Z | NONE | null | Since I updated pandas from version 0.11 to 0.12, read_clipboard fails:
```
import pandas as pd
df = pd.read_clipboard()
```
Results in:
```
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-2-6dead334eb54> in <module>()
----> 1 df = pd.read_clipboard()
C:\Python33\lib\site-packages\pandas\io\clipboard.py in read_clipboard(**kwargs)
16 from pandas.io.parsers import read_table
17 text = clipboard_get()
---> 18 return read_table(StringIO(text), **kwargs)
19
20
TypeError: initial_value must be str or None, not bytes
```
What I did was:
- Open a csv file in Excel 2010
- Copy a range of cells, including headers
- Perform read_clipboard in iPython Qt console as described in above code block
After downgrading to 0.11, this procedure worked fine again.
OS: Win7, 64bit
Python: v3.3.2 32-bit
Pandas: 0.12.0
Numpy: 1.7.1
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4561/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4561/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4562 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4562/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4562/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4562/events | https://github.com/pandas-dev/pandas/pull/4562 | 18,046,493 | MDExOlB1bGxSZXF1ZXN0NzU5Nzg4MA== | 4,562 | BUG: Fix Segfault with pd.tslib.get_period_field (GH4519, GH4520) | {
"avatar_url": "https://avatars.githubusercontent.com/u/4680320?v=4",
"events_url": "https://api.github.com/users/prossahl/events{/privacy}",
"followers_url": "https://api.github.com/users/prossahl/followers",
"following_url": "https://api.github.com/users/prossahl/following{/other_user}",
"gists_url": "https://api.github.com/users/prossahl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/prossahl",
"id": 4680320,
"login": "prossahl",
"node_id": "MDQ6VXNlcjQ2ODAzMjA=",
"organizations_url": "https://api.github.com/users/prossahl/orgs",
"received_events_url": "https://api.github.com/users/prossahl/received_events",
"repos_url": "https://api.github.com/users/prossahl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/prossahl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/prossahl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/prossahl"
} | [] | 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-08-14T11:09:00Z | 2014-07-02T22:36:41Z | 2013-08-15T17:23:31Z | CONTRIBUTOR | null | Fixes the following problem (issues #4519, #4520):
``` python
>>> import pandas as pd
>>> pd.tslib.get_period_field(11, 1, 1)
Exception ValueError: ValueError('Unrecognized code: 11',) in 'pandas.tslib._get_accessor_func' ignored
Segmentation fault
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4562/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4562/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4562.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4562",
"merged_at": "2013-08-15T17:23:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4562.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4562"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4563 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4563/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4563/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4563/events | https://github.com/pandas-dev/pandas/issues/4563 | 18,051,991 | MDU6SXNzdWUxODA1MTk5MQ== | 4,563 | pandas.io.excel.read_excel kind parameter | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 2 | 2013-08-14T13:29:10Z | 2013-09-22T20:14:55Z | 2013-09-22T20:14:55Z | CONTRIBUTOR | null | The `kind` parameter on `pandas.io.excel.read_excel` is totally undocumented:
http://pandas.pydata.org/pandas-docs/stable/generated/pandas.io.excel.read_excel.html#pandas.io.excel.read_excel
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4563/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4563/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4564 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4564/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4564/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4564/events | https://github.com/pandas-dev/pandas/pull/4564 | 18,052,634 | MDExOlB1bGxSZXF1ZXN0NzYyNTMwNA== | 4,564 | BUG: DatetimeIndex uses the wrong union if the operands overlap | {
"avatar_url": "https://avatars.githubusercontent.com/u/30848?v=4",
"events_url": "https://api.github.com/users/filmor/events{/privacy}",
"followers_url": "https://api.github.com/users/filmor/followers",
"following_url": "https://api.github.com/users/filmor/following{/other_user}",
"gists_url": "https://api.github.com/users/filmor/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/filmor",
"id": 30848,
"login": "filmor",
"node_id": "MDQ6VXNlcjMwODQ4",
"organizations_url": "https://api.github.com/users/filmor/orgs",
"received_events_url": "https://api.github.com/users/filmor/received_events",
"repos_url": "https://api.github.com/users/filmor/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/filmor/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/filmor/subscriptions",
"type": "User",
"url": "https://api.github.com/users/filmor"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 5 | 2013-08-14T13:42:16Z | 2015-01-06T14:43:46Z | 2013-09-26T00:49:44Z | CONTRIBUTOR | null | This pretty much boils down to this line: https://github.com/pydata/pandas/blob/master/pandas/tseries/index.py#L987
You can easily reproduce the error using the following code:
```
r = pd.date_range("2013-01-01", "2013-02-01")
r2 = r + pd.DateOffset(minutes=15)
r | r2 # Results in the index r having "2013-01-31 00:15" appended
```
This happens because the check on the given line does not take into account, that two indices with the same offset do not necessarily have to be aligned. If they are the `_fast_union`-method can be used, if not it should fall back to the `Index` implementation.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4564/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4564/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4564.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4564",
"merged_at": "2013-09-26T00:49:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4564.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4564"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4565 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4565/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4565/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4565/events | https://github.com/pandas-dev/pandas/issues/4565 | 18,054,382 | MDU6SXNzdWUxODA1NDM4Mg== | 4,565 | API: add is_beg_month/year, is_end_month/year accessors for a DateTimeIndex/Timestamp | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 0 | 2013-08-14T14:14:11Z | 2014-04-29T23:41:57Z | 2014-04-29T23:41:57Z | CONTRIBUTOR | null | ```
In [110]: x = Timestamp('20130101')
```
Last day of month
```
In [111]: pd.tslib.monthrange(x.year,x.month)[1]==x.day
Out[111]: False
```
First day of month
```
In [112]: x.day==1
Out[112]: True
```
First day of year
```
In [113]: x.day==1 & x.month==1
Out[113]: True
```
http://stackoverflow.com/questions/18233107/pandas-convert-datetime-to-end-of-month/18233876?noredirect=1#comment26732170_18233876
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4565/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4565/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4566 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4566/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4566/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4566/events | https://github.com/pandas-dev/pandas/pull/4566 | 18,054,665 | MDExOlB1bGxSZXF1ZXN0NzYwMjU2Mg== | 4,566 | Fixes check in _can_fast_union. | {
"avatar_url": "https://avatars.githubusercontent.com/u/30848?v=4",
"events_url": "https://api.github.com/users/filmor/events{/privacy}",
"followers_url": "https://api.github.com/users/filmor/followers",
"following_url": "https://api.github.com/users/filmor/following{/other_user}",
"gists_url": "https://api.github.com/users/filmor/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/filmor",
"id": 30848,
"login": "filmor",
"node_id": "MDQ6VXNlcjMwODQ4",
"organizations_url": "https://api.github.com/users/filmor/orgs",
"received_events_url": "https://api.github.com/users/filmor/received_events",
"repos_url": "https://api.github.com/users/filmor/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/filmor/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/filmor/subscriptions",
"type": "User",
"url": "https://api.github.com/users/filmor"
} | [] | 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-08-14T14:19:06Z | 2014-07-18T15:00:07Z | 2013-08-15T07:55:02Z | CONTRIBUTOR | null | Fixes #4564.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4566/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4566/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4566.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4566",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4566.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4566"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4567 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4567/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4567/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4567/events | https://github.com/pandas-dev/pandas/issues/4567 | 18,055,204 | MDU6SXNzdWUxODA1NTIwNA== | 4,567 | ENH: recurrence relation calculations | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
},
{
"color": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 11 | 2013-08-14T14:27:59Z | 2021-07-14T01:41:40Z | 2020-09-19T20:49:31Z | CONTRIBUTOR | null | I think an implementation of a general recurrent relation might be interesting. These
are not able to evaluated in numpy/numexpr directly
see here:
http://stackoverflow.com/questions/9984373/calculate-two-coupled-equation-with-numpy
http://stackoverflow.com/questions/21336794/python-recursive-vectorization-with-timeseries/21338665
http://stackoverflow.com/questions/23996260/python-pandas-using-the-previous-value-in-dataframe/23997030#23997030
```
R[i<=k] = start(i)
R[i] = R[i-k]*a(i) + b(i)
```
in the case where a(i) and b(i) are constants then this can be completely cythonized
if a and/or b are passed functions then the shell can still be cythonized (with the function called at each iteration)
Example
```
values = df['input']
In [62]: result = np.empty(len(values))
In [65]: result[0] = values[0]
In [66]: for i in xrange(len(result)):
....: if i > 0:
....: result[i] = result[i-1]*.8
....:
In [67]: result
Out[67]: array([ 5. , 4. , 3.2 , 2.56 , 2.048 , 1.6384])
```
I propose that pandas have a `recurrence` wrapper (that can then call a pure constant cython version and a cython version that takes functions)
Probably just for a 1-dim array atm
In theory this can also be done by a `rolling_apply` that has memory (or I guess that is sort of the same thing)
related #4546
https://groups.google.com/forum/#!topic/pydata/0MCWhwurOWs
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4567/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4567/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4568 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4568/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4568/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4568/events | https://github.com/pandas-dev/pandas/issues/4568 | 18,057,390 | MDU6SXNzdWUxODA1NzM5MA== | 4,568 | ENH/API: cross_apply | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
},
{
"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"
} | 2 | 2013-08-14T15:07:39Z | 2021-04-11T03:00:47Z | 2021-04-11T03:00:46Z | CONTRIBUTOR | null | Would prob need to be done in cython for perf
```
def cross_apply(func, is_symmetric=True, **kwargs):
l = len(df.columns)
results = np.zeros((l,l))
if is_symmetric:
for i in range(l):
for j in range(i + 1):
results[i,j] = results[j,i] = func(ac,bc, **kwargs)
else:
for i, ac in enumerate(df):
for j, bc in enumerate(df):
if is_symmetric:
results[j,i] = func(ac,bc, **kwargs)
return DataFrame(results,index=df.columns,columns=df.columns)
```
http://stackoverflow.com/questions/18234440/pairwise-correlation-of-pandas-dataframe-columns-with-custom-function
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4568/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4568/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4569 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4569/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4569/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4569/events | https://github.com/pandas-dev/pandas/issues/4569 | 18,058,047 | MDU6SXNzdWUxODA1ODA0Nw== | 4,569 | One assignment method in mixed type dataframe not working | {
"avatar_url": "https://avatars.githubusercontent.com/u/2666070?v=4",
"events_url": "https://api.github.com/users/ttsillybear/events{/privacy}",
"followers_url": "https://api.github.com/users/ttsillybear/followers",
"following_url": "https://api.github.com/users/ttsillybear/following{/other_user}",
"gists_url": "https://api.github.com/users/ttsillybear/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ttsillybear",
"id": 2666070,
"login": "ttsillybear",
"node_id": "MDQ6VXNlcjI2NjYwNzA=",
"organizations_url": "https://api.github.com/users/ttsillybear/orgs",
"received_events_url": "https://api.github.com/users/ttsillybear/received_events",
"repos_url": "https://api.github.com/users/ttsillybear/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ttsillybear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ttsillybear/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ttsillybear"
} | [] | 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-08-14T15:19:07Z | 2014-06-08T01:07:51Z | 2014-06-08T01:07:51Z | NONE | null | I tried several ways of assigning values in a mixed type dataframe and it seems that one of them is not working. I am not sure if it is supposed to do so:
from pandas import DataFrame
df = DataFrame({'A':[:'aaa','bbb','ccc'],'B':[1,2,3]})
# this works, value is changed
df.ix[0,'A'] = 11
# this works, value is changed
df['A'][0] = 111
# this does not work, value is not changed
df.ix[0]['A'] = 1111
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4569/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4569/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4570 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4570/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4570/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4570/events | https://github.com/pandas-dev/pandas/issues/4570 | 18,058,561 | MDU6SXNzdWUxODA1ODU2MQ== | 4,570 | DOC: even bigger badder warning on doing chained assignments | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 2 | 2013-08-14T15:27:16Z | 2013-08-14T16:03:04Z | 2013-08-14T16:03:04Z | CONTRIBUTOR | null | BAD
`df.ix[0]['A'] = 5`
GOOD
`df.ix[0,'A'] = 5`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4570/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4570/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4571 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4571/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4571/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4571/events | https://github.com/pandas-dev/pandas/pull/4571 | 18,074,174 | MDExOlB1bGxSZXF1ZXN0NzYxMzczMg== | 4,571 | BUG: Fix bug in pd.read_clipboard on windows with PY3 (GH4561); not decoding properly | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 10 | 2013-08-14T20:16:11Z | 2014-06-23T13:06:27Z | 2013-08-15T11:50:48Z | CONTRIBUTOR | null | closes #4561
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4571/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4571/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4571.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4571",
"merged_at": "2013-08-15T11:50:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4571.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4571"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4572 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4572/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4572/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4572/events | https://github.com/pandas-dev/pandas/issues/4572 | 18,080,926 | MDU6SXNzdWUxODA4MDkyNg== | 4,572 | implementation of a general recurrent relation | {
"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": "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 | 1 | 2013-08-14T22:26:28Z | 2013-08-14T23:08:36Z | 2013-08-14T23:08:36Z | CONTRIBUTOR | null | See:
http://permalink.gmane.org/gmane.comp.python.pydata/2164
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4572/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4572/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4573 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4573/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4573/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4573/events | https://github.com/pandas-dev/pandas/pull/4573 | 18,081,693 | MDExOlB1bGxSZXF1ZXN0NzYxODE5OA== | 4,573 | BUG: Fix incorrect urlparse in _is_s3_url | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-08-14T22:45:08Z | 2014-07-02T21:24:33Z | 2013-08-14T23:54:39Z | CONTRIBUTOR | null | Guess this got reverted/messed up during rebasing, but needs to be
changed - urlparse is no longer imported in io/common (in favor of py2/3
compatible methods).
I added a dumb test case so it at least gets called 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/4573/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4573/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4573.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4573",
"merged_at": "2013-08-14T23:54:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4573.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4573"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4574 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4574/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4574/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4574/events | https://github.com/pandas-dev/pandas/pull/4574 | 18,086,463 | MDExOlB1bGxSZXF1ZXN0NzYyMDk3MA== | 4,574 | ENH: add PostgreSQL support for pandas.io.sql.get_schema | {
"avatar_url": "https://avatars.githubusercontent.com/u/704919?v=4",
"events_url": "https://api.github.com/users/adamgreenhall/events{/privacy}",
"followers_url": "https://api.github.com/users/adamgreenhall/followers",
"following_url": "https://api.github.com/users/adamgreenhall/following{/other_user}",
"gists_url": "https://api.github.com/users/adamgreenhall/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/adamgreenhall",
"id": 704919,
"login": "adamgreenhall",
"node_id": "MDQ6VXNlcjcwNDkxOQ==",
"organizations_url": "https://api.github.com/users/adamgreenhall/orgs",
"received_events_url": "https://api.github.com/users/adamgreenhall/received_events",
"repos_url": "https://api.github.com/users/adamgreenhall/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/adamgreenhall/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adamgreenhall/subscriptions",
"type": "User",
"url": "https://api.github.com/users/adamgreenhall"
} | [] | 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-08-15T01:14:41Z | 2014-06-24T17:22:47Z | 2013-08-26T21:35:47Z | CONTRIBUTOR | null | Simple changes to add PostgreSQL syntax to `pandas.io.sql.get_schema`. Added data type cases for `get_sqltype()` and a columns "flavor" for `get_schema()`.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4574/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4574/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4574.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4574",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4574.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4574"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4575 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4575/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4575/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4575/events | https://github.com/pandas-dev/pandas/issues/4575 | 18,087,490 | MDU6SXNzdWUxODA4NzQ5MA== | 4,575 | TST: sometimes failing ujson comparison | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 5 | 2013-08-15T02:00:14Z | 2013-08-17T14:10:00Z | 2013-08-17T14:10:00Z | CONTRIBUTOR | null | cc @Komnomnomnom
skipping test via: b5ff81d34d74efdf88b8151ff58ed16ff7c02c67
fails about 1/3 times (and only seems on py3)
https://travis-ci.org/pydata/pandas/jobs/10223886
don't use now, pick a known value (that you can then compare too exactly)
```
def test_datetime_units(self):
from pandas.lib import Timestamp
val = datetime.datetime.now()
stamp = Timestamp(val)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4575/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4575/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4576 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4576/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4576/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4576/events | https://github.com/pandas-dev/pandas/issues/4576 | 18,092,581 | MDU6SXNzdWUxODA5MjU4MQ== | 4,576 | Pandas 0.12 unexpected results when comparing dataframe to list or tuple | {
"avatar_url": "https://avatars.githubusercontent.com/u/315866?v=4",
"events_url": "https://api.github.com/users/ssalonen/events{/privacy}",
"followers_url": "https://api.github.com/users/ssalonen/followers",
"following_url": "https://api.github.com/users/ssalonen/following{/other_user}",
"gists_url": "https://api.github.com/users/ssalonen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ssalonen",
"id": 315866,
"login": "ssalonen",
"node_id": "MDQ6VXNlcjMxNTg2Ng==",
"organizations_url": "https://api.github.com/users/ssalonen/orgs",
"received_events_url": "https://api.github.com/users/ssalonen/received_events",
"repos_url": "https://api.github.com/users/ssalonen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ssalonen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ssalonen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ssalonen"
} | [
{
"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-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 16 | 2013-08-15T06:27:50Z | 2016-07-16T22:41:18Z | 2013-08-26T12:45:17Z | CONTRIBUTOR | null | It seems that when comparing DataFrame to list or tuple of values (lenght of DataFrame columns), the resulting boolean DataFrame is incorrect.
`````` python
>>> import pandas
>>> print pandas.__version__
0.12.0
>>> import numpy as np
>>> print np.__version__
1.6.1
>>> df=pandas.DataFrame([ [-1, 0], [1, 2] ])
>>> df > (0, 1)
0 1
0 False False
1 False True
>>> df > [0, 1]
0 1
0 False False
1 False True
``'
Comparison with numpy array works as expected:
```python
>>> df > np.array([0, 1])
0 1
0 False False
1 True True
``'
Note that the comparison behaved correctly at least in pandas 0.9.0:
```python
>>> import pandas
>>> print pandas.__version__
0.9.0
>>> df=pandas.DataFrame([ [-1, 0], [1, 2] ])
>>> df > (0, 1)
0 1
0 False False
1 True True
>>> df > [0, 1]
0 1
0 False False
1 True 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/4576/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4576/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4577 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4577/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4577/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4577/events | https://github.com/pandas-dev/pandas/issues/4577 | 18,093,304 | MDU6SXNzdWUxODA5MzMwNA== | 4,577 | Segmentation fault with statsmodels | {
"avatar_url": "https://avatars.githubusercontent.com/u/354027?v=4",
"events_url": "https://api.github.com/users/gamesbook/events{/privacy}",
"followers_url": "https://api.github.com/users/gamesbook/followers",
"following_url": "https://api.github.com/users/gamesbook/following{/other_user}",
"gists_url": "https://api.github.com/users/gamesbook/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gamesbook",
"id": 354027,
"login": "gamesbook",
"node_id": "MDQ6VXNlcjM1NDAyNw==",
"organizations_url": "https://api.github.com/users/gamesbook/orgs",
"received_events_url": "https://api.github.com/users/gamesbook/received_events",
"repos_url": "https://api.github.com/users/gamesbook/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gamesbook/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gamesbook/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gamesbook"
} | [] | closed | false | null | [] | null | 5 | 2013-08-15T06:58:42Z | 2014-12-04T14:23:22Z | 2014-12-04T09:30:05Z | NONE | null | I am getting an intermittent fault when creating a series of plots - but I am not sure this is sufficient information to determine the cause.
```
/usr/local/lib/python2.7/dist-packages/numpy/core/scalarmath.so
/usr/local/lib/python2.7/dist-packages/numpy/linalg/lapack_lite.so
/usr/local/lib/python2.7/dist-packages/pandas-0.11.0-py2.7-linux-x86_64.egg/pandas/lib.so
/usr/local/lib/python2.7/dist-packages/pandas-0.11.0-py2.7-linux-x86_64.egg/pandas/algos.so
/usr/local/lib/python2.7/dist-packages/pandas-0.11.0-py2.7-linux-x86_64.egg/pandas/index.so
/usr/local/lib/python2.7/dist-packages/numpy/core/multiarray.so
/usr/local/lib/python2.7/dist-packages/statsmodels-0.5.0-py2.7-linux-x86_64.egg/statsmodels/nonparametric/_smoothers_lowess.so
/usr/local/lib/python2.7/dist-packages/numpy/fft/fftpack_lite.so
/usr/local/lib/python2.7/dist-packages/pandas-0.11.0-py2.7-linux-x86_64.egg/pandas/hashtable.so
/usr/local/lib/python2.7/dist-packages/numpy/core/umath.so
/usr/local/lib/python2.7/dist-packages/numpy/lib/_compiled_base.so
/usr/local/lib/python2.7/dist-packages/numpy/random/mtrand.so
/usr/local/lib/python2.7/dist-packages/statsmodels-0.5.0-py2.7-linux-x86_64.egg/statsmodels/tsa/kalmanf/kalman_loglike.so
/usr/local/lib/python2.7/dist-packages/pandas-0.11.0-py2.7-linux-x86_64.egg/pandas/tslib.so
/usr/local/lib/python2.7/dist-packages/pandas-0.11.0-py2.7-linux-x86_64.egg/pandas/_sparse.so
/usr/local/lib/python2.7/dist-packages/pandas-0.11.0-py2.7-linux-x86_64.egg/pandas/_parser.so
/usr/local/lib/python2.7/dist-packages/statsmodels-0.5.0-py2.7-linux-x86_64.egg/statsmodels/nonparametric/linbin.so
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4577/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4577/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4578 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4578/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4578/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4578/events | https://github.com/pandas-dev/pandas/pull/4578 | 18,149,492 | MDExOlB1bGxSZXF1ZXN0NzY1NTIyMg== | 4,578 | ENH: Remove the hardcoded border=1 in the to_html dataframe export. | {
"avatar_url": "https://avatars.githubusercontent.com/u/96245?v=4",
"events_url": "https://api.github.com/users/mattions/events{/privacy}",
"followers_url": "https://api.github.com/users/mattions/followers",
"following_url": "https://api.github.com/users/mattions/following{/other_user}",
"gists_url": "https://api.github.com/users/mattions/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mattions",
"id": 96245,
"login": "mattions",
"node_id": "MDQ6VXNlcjk2MjQ1",
"organizations_url": "https://api.github.com/users/mattions/orgs",
"received_events_url": "https://api.github.com/users/mattions/received_events",
"repos_url": "https://api.github.com/users/mattions/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mattions/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mattions/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mattions"
} | [
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
}
] | closed | false | null | [] | {
"closed_at": "2014-02-03T05:17:36Z",
"closed_issues": 314,
"created_at": "2013-08-26T22:11:58Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
},
"description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.",
"due_on": "2014-02-04T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/23",
"id": 412013,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels",
"node_id": "MDk6TWlsZXN0b25lNDEyMDEz",
"number": 23,
"open_issues": 0,
"state": "closed",
"title": "0.13.1",
"updated_at": "2014-02-03T05:18:00Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23"
} | 23 | 2013-08-16T10:03:29Z | 2014-06-16T07:25:15Z | 2014-01-01T03:27:35Z | NONE | null | The border is impossible to overwrite at later stage, therefore using no
border gives the user the possibility to style the table, using CSS Classes.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4578/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4578/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4578.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4578",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4578.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4578"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4579 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4579/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4579/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4579/events | https://github.com/pandas-dev/pandas/pull/4579 | 18,151,718 | MDExOlB1bGxSZXF1ZXN0ODgxODAyMQ== | 4,579 | date_range should (at least optionally) deal with right-open intervals | {
"avatar_url": "https://avatars.githubusercontent.com/u/30848?v=4",
"events_url": "https://api.github.com/users/filmor/events{/privacy}",
"followers_url": "https://api.github.com/users/filmor/followers",
"following_url": "https://api.github.com/users/filmor/following{/other_user}",
"gists_url": "https://api.github.com/users/filmor/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/filmor",
"id": 30848,
"login": "filmor",
"node_id": "MDQ6VXNlcjMwODQ4",
"organizations_url": "https://api.github.com/users/filmor/orgs",
"received_events_url": "https://api.github.com/users/filmor/received_events",
"repos_url": "https://api.github.com/users/filmor/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/filmor/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/filmor/subscriptions",
"type": "User",
"url": "https://api.github.com/users/filmor"
} | [
{
"color": "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-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 10 | 2013-08-16T11:14:45Z | 2014-06-27T14:49:22Z | 2013-10-15T12:38:35Z | CONTRIBUTOR | null | It is confusing that, albeit the name suggests otherwise, `date_range` behaves differently compared to the standard Python `range` generator in that it returns the right-closed interval.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4579/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4579/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4579.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4579",
"merged_at": "2013-10-15T12:38:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4579.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4579"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4580 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4580/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4580/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4580/events | https://github.com/pandas-dev/pandas/pull/4580 | 18,153,993 | MDExOlB1bGxSZXF1ZXN0NzY1NzY5OA== | 4,580 | TST: win32 paths cannot be turned into URLs by prefixing them with "file://" | {
"avatar_url": "https://avatars.githubusercontent.com/u/578872?v=4",
"events_url": "https://api.github.com/users/mindw/events{/privacy}",
"followers_url": "https://api.github.com/users/mindw/followers",
"following_url": "https://api.github.com/users/mindw/following{/other_user}",
"gists_url": "https://api.github.com/users/mindw/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mindw",
"id": 578872,
"login": "mindw",
"node_id": "MDQ6VXNlcjU3ODg3Mg==",
"organizations_url": "https://api.github.com/users/mindw/orgs",
"received_events_url": "https://api.github.com/users/mindw/received_events",
"repos_url": "https://api.github.com/users/mindw/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mindw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mindw/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mindw"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 15 | 2013-08-16T12:25:00Z | 2014-06-13T16:31:23Z | 2013-10-03T19:57:36Z | CONTRIBUTOR | null | see http://stackoverflow.com/questions/11687478/convert-a-filename-to-a-file-url
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4580/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4580/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4580.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4580",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/4580.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4580"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4581 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4581/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4581/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4581/events | https://github.com/pandas-dev/pandas/issues/4581 | 18,154,193 | MDU6SXNzdWUxODE1NDE5Mw== | 4,581 | BUG: (iloc) Comparisons of Series have different indexing semantics from DataFrame comparisons | {
"avatar_url": "https://avatars.githubusercontent.com/u/407010?v=4",
"events_url": "https://api.github.com/users/mairas/events{/privacy}",
"followers_url": "https://api.github.com/users/mairas/followers",
"following_url": "https://api.github.com/users/mairas/following{/other_user}",
"gists_url": "https://api.github.com/users/mairas/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mairas",
"id": 407010,
"login": "mairas",
"node_id": "MDQ6VXNlcjQwNzAxMA==",
"organizations_url": "https://api.github.com/users/mairas/orgs",
"received_events_url": "https://api.github.com/users/mairas/received_events",
"repos_url": "https://api.github.com/users/mairas/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mairas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mairas/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mairas"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] | closed | false | null | [] | {
"closed_at": "2016-10-03T08:52:13Z",
"closed_issues": 733,
"created_at": "2016-03-11T21:24:45Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2016-09-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/40",
"id": 1639795,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels",
"node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==",
"number": 40,
"open_issues": 0,
"state": "closed",
"title": "0.19.0",
"updated_at": "2017-11-06T02:01:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40"
} | 3 | 2013-08-16T12:30:24Z | 2016-08-25T10:20:52Z | 2016-08-25T10:20:52Z | NONE | null | Consider the following:
``` python
In [3]: df = pd.DataFrame(np.arange(5), columns=["foo"])
In [4]: df["foo"].iloc[:-1] != df["foo"].iloc[1:]
Out[4]:
0 True
1 True
2 True
3 True
dtype: bool
In [5]: df["foo"].iloc[1:] != df["foo"].iloc[:-1]
Out[5]:
1 True
2 True
3 True
4 True
dtype: bool
```
Obviously, the **ne** operator uses positional indexing when comparing the values and applies the index of the first argument to the result. I don't think this is the expected behaviour.
Again, the semantics are different when performing addition:
``` python
In [6]: df["foo"].iloc[:-1] + df["foo"].iloc[1:]
Out[6]:
0 NaN
1 2
2 4
3 6
4 NaN
dtype: float64
In [7]: df["foo"].values[:-1] + df["foo"].values[1:]
Out[7]: array([1, 3, 5, 7])
```
Here, everything works as expected.
I also tried the dataframe ne method:
``` python
In [8]: df.iloc[:-1].ne(df.iloc[1:])
Out[8]:
foo
0 True
1 False
2 False
3 False
4 True
```
This works as expected, and differently from Series comparisons. The respective method doesn't exist for Series objects, so I couldn't test 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/4581/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4581/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4582 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4582/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4582/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4582/events | https://github.com/pandas-dev/pandas/issues/4582 | 18,158,059 | MDU6SXNzdWUxODE1ODA1OQ== | 4,582 | ER: raise on invalid compression options in HDFStore | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
] | closed | false | null | [] | {
"closed_at": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 1 | 2013-08-16T14:15:17Z | 2015-06-12T21:49:51Z | 2015-06-12T21:49:51Z | CONTRIBUTOR | null | http://stackoverflow.com/questions/18274973/using-compression-with-pandas-and-hd5-hdfstore/18275402#18275402
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4582/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4582/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4583 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4583/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4583/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4583/events | https://github.com/pandas-dev/pandas/issues/4583 | 18,164,426 | MDU6SXNzdWUxODE2NDQyNg== | 4,583 | 0.12.0 concat() error | {
"avatar_url": "https://avatars.githubusercontent.com/u/1903683?v=4",
"events_url": "https://api.github.com/users/bluefir/events{/privacy}",
"followers_url": "https://api.github.com/users/bluefir/followers",
"following_url": "https://api.github.com/users/bluefir/following{/other_user}",
"gists_url": "https://api.github.com/users/bluefir/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bluefir",
"id": 1903683,
"login": "bluefir",
"node_id": "MDQ6VXNlcjE5MDM2ODM=",
"organizations_url": "https://api.github.com/users/bluefir/orgs",
"received_events_url": "https://api.github.com/users/bluefir/received_events",
"repos_url": "https://api.github.com/users/bluefir/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bluefir/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bluefir/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bluefir"
} | [] | closed | false | null | [] | null | 8 | 2013-08-16T15:58:56Z | 2013-09-18T13:40:57Z | 2013-08-16T16:25:14Z | NONE | null | I run the following code on a list of DataFrames
```
columns = None
for portfolio_data in portfolio_data_list:
print(portfolio_data.shape)
if columns is None:
columns = portfolio_data.columns
else:
print(all(portfolio_data.columns == columns))
portfolio_data = pd.concat(portfolio_data_list)
```
and get the following
> (15494, 12)
> (15534, 12)
> True
> (15584, 12)
> True
> (15557, 12)
> True
> (15555, 12)
> True
> (15555, 12)
> True
> (15600, 12)
> True
> Traceback (most recent call last):
> File "M:/Projects/PortfolioAnalytics/Code/Python/attribution/TopContributors.py", line 1028, in <module>
> portfolio_data = pd.concat(portfolio_data_list)
> File "C:\Python27\lib\site-packages\pandas\tools\merge.py", line 878, in concat
> verify_integrity=verify_integrity)
> File "C:\Python27\lib\site-packages\pandas\tools\merge.py", line 929, in **init**
> obj.consolidate(inplace=True)
> File "C:\Python27\lib\site-packages\pandas\core\generic.py", line 770, in consolidate
> self._consolidate_inplace()
> File "C:\Python27\lib\site-packages\pandas\core\generic.py", line 752, in _consolidate_inplace
> self._data = self._protect_consolidate(f)
> File "C:\Python27\lib\site-packages\pandas\core\generic.py", line 790, in _protect_consolidate
> result = f()
> File "C:\Python27\lib\site-packages\pandas\core\generic.py", line 751, in <lambda>
> f = lambda: self._data.consolidate()
> File "C:\Python27\lib\site-packages\pandas\core\internals.py", line 1638, in consolidate
> return BlockManager(new_blocks, self.axes)
> File "C:\Python27\lib\site-packages\pandas\core\internals.py", line 1001, in __init__
> self._verify_integrity()
> File "C:\Python27\lib\site-packages\pandas\core\internals.py", line 1245, in _verify_integrity
> tot_items))
> AssertionError: Number of manager items must equal union of block items
> # manager items: 12, # tot_items: 11
>
> Process finished with exit code 1
What's going wrong?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4583/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4583/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4584 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4584/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4584/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4584/events | https://github.com/pandas-dev/pandas/issues/4584 | 18,166,985 | MDU6SXNzdWUxODE2Njk4NQ== | 4,584 | BUG: 0.12.0 using DataFrame.to_hdf() with mode='a' does not append the data | {
"avatar_url": "https://avatars.githubusercontent.com/u/1903683?v=4",
"events_url": "https://api.github.com/users/bluefir/events{/privacy}",
"followers_url": "https://api.github.com/users/bluefir/followers",
"following_url": "https://api.github.com/users/bluefir/following{/other_user}",
"gists_url": "https://api.github.com/users/bluefir/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bluefir",
"id": 1903683,
"login": "bluefir",
"node_id": "MDQ6VXNlcjE5MDM2ODM=",
"organizations_url": "https://api.github.com/users/bluefir/orgs",
"received_events_url": "https://api.github.com/users/bluefir/received_events",
"repos_url": "https://api.github.com/users/bluefir/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bluefir/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bluefir/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bluefir"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 5 | 2013-08-16T16:53:24Z | 2013-08-26T12:43:52Z | 2013-08-26T12:43:52Z | NONE | null | `to_hdf(....., append=True,table=True)` raising, should accept this
Is there a way to use DataFrame.to_hdf() so that data can be appened the data? Somehow to_hdf(filename, table_name, mode='a', table=True) overwrites the data while to_hdf(filename, table_name, table=True, append=True) gives the following error:
> Traceback (most recent call last):
> File "M:/Projects/PortfolioAnalytics/Code/Python/attribution/TopContributors.py", line 1035, in <module>
> portfolio_data.to_hdf(filename, OUTPUT_NAME_PORTFOLIO, table=True, append=Settings.TC_OUTPUT_APPEND)
> File "C:\Python27\lib\site-packages\pandas\core\generic.py", line 521, in to_hdf
> return pytables.to_hdf(path_or_buf, key, self, *_kwargs)
> File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 194, in to_hdf
> f(store)
> File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 188, in <lambda>
> f = lambda store: store.append(key, value, *_kwargs)
> File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 658, in append
> self._write_to_group(key, value, table=True, append=True, **kwargs)
> TypeError: _write_to_group() got multiple values for keyword argument '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/4584/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4584/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4585 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4585/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4585/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4585/events | https://github.com/pandas-dev/pandas/pull/4585 | 18,178,540 | MDExOlB1bGxSZXF1ZXN0NzY3MDgwMA== | 4,585 | BUG: Fix boolean comparison with a DataFrame on the lhs, and a list/tuple on the rhs GH4576 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-08-16T20:58:01Z | 2014-07-16T08:23:30Z | 2013-08-26T12:45:17Z | CONTRIBUTOR | null | closes #4576
```
In [1]: df = DataFrame(np.arange(6).reshape((3,2)))
In [2]: b = np.array([2, 2])
In [3]: b_r = np.atleast_2d([2,2])
In [4]: b_c = b_r.T
In [5]: df>b
Out[5]:
0 1
0 False False
1 False True
2 True True
In [6]: df.values>b
Out[6]:
array([[False, False],
[False, True],
[ True, True]], dtype=bool)
In [7]: df>b_r
Out[7]:
0 1
0 False False
1 False True
2 True True
In [8]: df.values>b_r
Out[8]:
array([[False, False],
[False, True],
[ True, True]], dtype=bool)
In [9]: df>b_c
ValueError: cannot broadcast shape [(3, 2)] with block values [(2, 1)]
In [10]: df.values>b_c
ValueError: operands could not be broadcast together with shapes (3,2) (2,1)
In [11]: df == b
Out[11]:
0 1
0 False False
1 True False
2 False False
In [12]: df.values == b
Out[12]:
array([[False, False],
[ True, False],
[False, False]], dtype=bool)
In [13]: df==b_r
Out[13]:
0 1
0 False False
1 True False
2 False False
In [14]: df.values==b_r
Out[14]:
array([[False, False],
[ True, False],
[False, False]], dtype=bool)
```
Numpy does weird things like this (bottom example), but we will raise
I believe it is actually a NotImplemented Type which is interpreted as False (but still very weird)
```
In [15]: df==b_c
ValueError: cannot broadcast shape [(3, 2)] with block values [(2, 1)]
In [16]: df.values==b_c
Out[16]: False
```
with list/tuple
```
In [2]: df>(2,2)
ValueError: operands could not be broadcast together with shapes (2,3) (2)
In [3]: df>(2,2,2)
Out[3]:
0 1
0 False False
1 False True
2 True True
In [4]: df>[2,2,2]
Out[4]:
0 1
0 False False
1 False True
2 True True
In [5]: df==[2,2,2]
Out[5]:
0 1
0 False False
1 True False
2 False False
```
This will work with a frame with non integer labels too
```
In [6]: df = DataFrame(np.arange(6).reshape((3,2)),columns=list('AB'),index=list('abc'))
In [7]: df==[2,2,2]
Out[7]:
A B
a False False
b True False
c False False
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4585/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4585/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4585.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4585",
"merged_at": "2013-08-26T12:45:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4585.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4585"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4586 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4586/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4586/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4586/events | https://github.com/pandas-dev/pandas/pull/4586 | 18,179,729 | MDExOlB1bGxSZXF1ZXN0NzY3MTQ3Mg== | 4,586 | BUG: fix erroneous call to prrint_thing -> pprint_thing | {
"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 | {
"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": "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-08-16T21:26:57Z | 2014-06-21T02:58:13Z | 2013-08-16T21:41:25Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4586/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4586/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4586.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4586",
"merged_at": "2013-08-16T21:41:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4586.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4586"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/4587 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4587/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4587/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4587/events | https://github.com/pandas-dev/pandas/issues/4587 | 18,180,553 | MDU6SXNzdWUxODE4MDU1Mw== | 4,587 | Unexpected Behavior: Assigning ndarray to variable results in new object | {
"avatar_url": "https://avatars.githubusercontent.com/u/3711678?v=4",
"events_url": "https://api.github.com/users/dirkbike/events{/privacy}",
"followers_url": "https://api.github.com/users/dirkbike/followers",
"following_url": "https://api.github.com/users/dirkbike/following{/other_user}",
"gists_url": "https://api.github.com/users/dirkbike/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dirkbike",
"id": 3711678,
"login": "dirkbike",
"node_id": "MDQ6VXNlcjM3MTE2Nzg=",
"organizations_url": "https://api.github.com/users/dirkbike/orgs",
"received_events_url": "https://api.github.com/users/dirkbike/received_events",
"repos_url": "https://api.github.com/users/dirkbike/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dirkbike/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dirkbike/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dirkbike"
} | [] | closed | false | null | [] | null | 12 | 2013-08-16T21:48:21Z | 2013-08-17T00:32:30Z | 2013-08-17T00:32:30Z | NONE | null | The below code should yield True after the assignment, but instead it yields False. This happens in Python 2.7.3 / Pandas 0.12.0 / Numpy 1.7.1. This means that any changes to the ndarray 'x' are not guaranteed to be reflected in the source data frame 'df', which is not normal Python behavior for assignments of mutable objects.
``` python
>>> import pandas
>>> df = pandas.DataFrame({'a':[1,2,3,4,5],'b':[2,4,6,8,10]})
>>> x = df['a'].values
>>> x is df['a'].values
False
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4587/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4587/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4588 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4588/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4588/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4588/events | https://github.com/pandas-dev/pandas/issues/4588 | 18,183,895 | MDU6SXNzdWUxODE4Mzg5NQ== | 4,588 | BUG: concat unwantedly sorts DataFrame column names if they differ | {
"avatar_url": "https://avatars.githubusercontent.com/u/1179309?v=4",
"events_url": "https://api.github.com/users/smcinerney/events{/privacy}",
"followers_url": "https://api.github.com/users/smcinerney/followers",
"following_url": "https://api.github.com/users/smcinerney/following{/other_user}",
"gists_url": "https://api.github.com/users/smcinerney/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/smcinerney",
"id": 1179309,
"login": "smcinerney",
"node_id": "MDQ6VXNlcjExNzkzMDk=",
"organizations_url": "https://api.github.com/users/smcinerney/orgs",
"received_events_url": "https://api.github.com/users/smcinerney/received_events",
"repos_url": "https://api.github.com/users/smcinerney/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/smcinerney/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/smcinerney/subscriptions",
"type": "User",
"url": "https://api.github.com/users/smcinerney"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] | closed | false | null | [] | {
"closed_at": "2018-05-16T03:09:58Z",
"closed_issues": 1645,
"created_at": "2017-10-20T10:17:09Z",
"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.22",
"due_on": "2018-05-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/53",
"id": 2853937,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53/labels",
"node_id": "MDk6TWlsZXN0b25lMjg1MzkzNw==",
"number": 53,
"open_issues": 0,
"state": "closed",
"title": "0.23.0",
"updated_at": "2018-08-20T06:48:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53"
} | 36 | 2013-08-16T23:30:10Z | 2019-06-24T13:39:14Z | 2018-05-01T20:06:11Z | NONE | null | When concat'ing DataFrames, the column names get alphanumerically sorted *if* there are any differences between them. If they're identical across DataFrames, they don't get sorted.
This sort is undocumented and unwanted. Certainly the default behavior should be no-sort. EDIT: the standard order as in SQL would be: columns from df1 (same order as in df1), columns (uniquely) from df2 (less the common columns) (same order as in df2). Example:
``` python
df4a = DataFrame(columns=['C','B','D','A'], data=np.random.randn(3,4))
df4b = DataFrame(columns=['C','B','D','A'], data=np.random.randn(3,4))
df5 = DataFrame(columns=['C','B','E','D','A'], data=np.random.randn(3,5))
print "Cols unsorted:", concat([df4a,df4b])
# Cols unsorted: C B D A
print "Cols sorted", concat([df4a,df5])
# Cols sorted A B C D E
``'
```
| {
"+1": 8,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 8,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4588/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4588/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4589 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4589/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4589/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4589/events | https://github.com/pandas-dev/pandas/issues/4589 | 18,184,244 | MDU6SXNzdWUxODE4NDI0NA== | 4,589 | Factor out excel_value_to_python_value from ExcelFile::_parse_excel | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-08-16T23:44:01Z | 2013-08-26T12:36:36Z | 2013-08-26T12:36:36Z | CONTRIBUTOR | null | I will make PR
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4589/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4589/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4590 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4590/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4590/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4590/events | https://github.com/pandas-dev/pandas/pull/4590 | 18,184,701 | MDExOlB1bGxSZXF1ZXN0NzY3NDI4Mg== | 4,590 | ENH Factored out excel_value_to_python_value from ExcelFile::_parse_exce... | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [] | closed | false | null | [] | {
"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"
} | 14 | 2013-08-17T00:03:41Z | 2013-08-26T23:00:09Z | 2013-08-26T12:36:36Z | CONTRIBUTOR | null | ...l (GH4589)
closes #4589
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4590/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4590/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4590.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4590",
"merged_at": "2013-08-26T12:36:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4590.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4590"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4591 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4591/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4591/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4591/events | https://github.com/pandas-dev/pandas/issues/4591 | 18,184,889 | MDU6SXNzdWUxODE4NDg4OQ== | 4,591 | DOC: Unclear documentation for Period Construction | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 6 | 2013-08-17T00:11:47Z | 2021-10-17T18:27:06Z | null | CONTRIBUTOR | null | The documentation is unclear as to what the date passed to a `Period` means: whether it is the start date or the end date of the period. Convention is that fiscal quarters are usually stated by the date the quarter ends, whereas weeks are many times stated by the day week starts. This is especially unclear given that the default `freq='W'` is `W-SUN` which means the "week ending on Sunday" whereas one convention is to show weeks starting on Sunday.
I would recommend clearing this up in the documentation.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4591/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4591/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4592 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4592/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4592/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4592/events | https://github.com/pandas-dev/pandas/pull/4592 | 18,192,830 | MDExOlB1bGxSZXF1ZXN0NzY3NzA4Mw== | 4,592 | TST: fix ujson's intermittently failing date unit test | {
"avatar_url": "https://avatars.githubusercontent.com/u/107748?v=4",
"events_url": "https://api.github.com/users/Komnomnomnom/events{/privacy}",
"followers_url": "https://api.github.com/users/Komnomnomnom/followers",
"following_url": "https://api.github.com/users/Komnomnomnom/following{/other_user}",
"gists_url": "https://api.github.com/users/Komnomnomnom/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Komnomnomnom",
"id": 107748,
"login": "Komnomnomnom",
"node_id": "MDQ6VXNlcjEwNzc0OA==",
"organizations_url": "https://api.github.com/users/Komnomnomnom/orgs",
"received_events_url": "https://api.github.com/users/Komnomnomnom/received_events",
"repos_url": "https://api.github.com/users/Komnomnomnom/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Komnomnomnom/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Komnomnomnom/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Komnomnomnom"
} | [] | closed | false | null | [] | null | 3 | 2013-08-17T11:28:32Z | 2014-07-01T09:00:09Z | 2013-08-17T14:10:00Z | CONTRIBUTOR | null | Fixes #4575.
As you surmised @jreback it looks like unnecessary float arithmetic was causing the test failure. I fixed this up and in the interest of consistency removed the dependence on `datetime.now()`
Example
``` python
In [8]: val = 1376774232215504000
In [9]: val / 1000
Out[9]: 1376774232215504
In [10]: val / 1e3
Out[10]: 1376774232215503.8
In [11]: val // 1e3
Out[11]: 1376774232215503.0
In [12]: val / 1000.0
Out[12]: 1376774232215503.8
In [13]: val / 10**3
Out[13]: 1376774232215504
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4592/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4592/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4592.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4592",
"merged_at": "2013-08-17T14:10:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4592.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4592"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4593 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4593/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4593/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4593/events | https://github.com/pandas-dev/pandas/pull/4593 | 18,194,317 | MDExOlB1bGxSZXF1ZXN0NzY3NzU0Nw== | 4,593 | BUG: ujson labels are encoded twice | {
"avatar_url": "https://avatars.githubusercontent.com/u/107748?v=4",
"events_url": "https://api.github.com/users/Komnomnomnom/events{/privacy}",
"followers_url": "https://api.github.com/users/Komnomnomnom/followers",
"following_url": "https://api.github.com/users/Komnomnomnom/following{/other_user}",
"gists_url": "https://api.github.com/users/Komnomnomnom/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Komnomnomnom",
"id": 107748,
"login": "Komnomnomnom",
"node_id": "MDQ6VXNlcjEwNzc0OA==",
"organizations_url": "https://api.github.com/users/Komnomnomnom/orgs",
"received_events_url": "https://api.github.com/users/Komnomnomnom/received_events",
"repos_url": "https://api.github.com/users/Komnomnomnom/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Komnomnomnom/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Komnomnomnom/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Komnomnomnom"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 2 | 2013-08-17T13:52:57Z | 2014-06-22T10:10:15Z | 2013-08-21T02:01:54Z | CONTRIBUTOR | null | With its current handling ujson ends up encoding labels twice, which can cause problems if they contain escapable characters:
``` python
In [16]: df = DataFrame([['a', 'b'], ['c', 'd']], index=['index " 1', 'index / 2'], columns=['a \\ b', 'y / z'])
In [17]: df
Out[17]:
a \ b y / z
index " 1 a b
index / 2 c d
In [18]: json = df.to_json()
In [19]: json
Out[19]: '{"a \\\\\\\\ b":{"index \\\\\\" 1":"a","index \\\\\\/ 2":"c"},"y \\\\\\/ z":{"index \\\\\\" 1":"b","index \\\\\\/ 2":"d"}}'
In [20]: pd.read_json(json)
Out[20]:
a \\ b y \/ z
index \" 1 a b
index \/ 2 c d
```
This PR fixes this behaviour so labels are only encoded a single time.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4593/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4593/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4593.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4593",
"merged_at": "2013-08-21T02:01:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4593.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4593"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4594 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4594/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4594/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4594/events | https://github.com/pandas-dev/pandas/issues/4594 | 18,198,130 | MDU6SXNzdWUxODE5ODEzMA== | 4,594 | Allow flavor argument to read_html to be list/instance of _HtmlFrameParser | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 12 | 2013-08-17T19:18:50Z | 2014-01-24T19:42:23Z | 2014-01-24T14:48:49Z | CONTRIBUTOR | null | Currently the `flavor` argument to `read_html` must either be `None` or a string or a container of strings. This make is difficult for the user to write his own instance of `_HtmlFrameParser` and to use that when parsing. I suggest also allowing the user to pass in a subclass of `_HtmlFrameParser` in place of a string.
Implementation wise, this should be easy. `_parser_dispatch` would be modified to for this case. Likewise `_validate_parser_flavor` would need to allow 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/4594/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4594/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4595 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4595/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4595/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4595/events | https://github.com/pandas-dev/pandas/issues/4595 | 18,201,161 | MDU6SXNzdWUxODIwMTE2MQ== | 4,595 | DataFrame.to_csv/read_csv inconsistency | {
"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": "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"
} | 19 | 2013-08-18T00:07:44Z | 2018-02-03T10:09:14Z | 2013-08-18T12:36:22Z | NONE | null | This is not a bug; maybe it is more of a philosophical issue.
When I download data from Yahoo, mimicking the code on p. 139 of the book (python for data analysis) it creates a data frame. The index for this data frame is a time series index - timestamps provided by Yahoo.
If I save this DataFrame to disk using to_csv and then read it back using read_csv the resulting data frame now has a 'normal' range type index [0,1,2...n] and a new column labelled 'Date' which now contains the dates.
This means that code written to analyze this data needs to be different depending on whether it has been saved or not. I can deal with it as is, but I think this is not the best design; DataFrames should be invariant under saving.
Just my $ 0.02.
Respectfully,
Greg St. George
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4595/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4595/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4596 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4596/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4596/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4596/events | https://github.com/pandas-dev/pandas/issues/4596 | 18,201,612 | MDU6SXNzdWUxODIwMTYxMg== | 4,596 | PythonParser::_check_thousands appears broken | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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"
} | 1 | 2013-08-18T00:58:17Z | 2016-10-12T23:04:07Z | 2013-09-19T12:24:50Z | CONTRIBUTOR | null | This code appears broken:
```
def _check_thousands(self, lines):
if self.thousands is None:
return lines
nonnum = re.compile('[^-^0-9^%s^.]+' % self.thousands)
ret = []
for l in lines:
rl = []
for x in l:
if (not isinstance(x, compat.string_types) or
self.thousands not in x or
nonnum.search(x.strip())):
rl.append(x)
else:
rl.append(x.replace(',', ''))
ret.append(rl)
return ret
```
It looks like the `thousands` argument to the class is used to check if the value is "non numeric" but then a hard coded comma is used when actually performing the cleaning.
In addition to fixing this, I would recommend factoring out this method so that it can be used elsewhere.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4596/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4596/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4597 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4597/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4597/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4597/events | https://github.com/pandas-dev/pandas/issues/4597 | 18,203,942 | MDU6SXNzdWUxODIwMzk0Mg== | 4,597 | Add example git workflows to the wiki | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
] | {
"closed_at": "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-08-18T06:41:44Z | 2013-09-06T22:15:48Z | 2013-09-06T22:15:48Z | MEMBER | null | If any of the other pandas developers would like to give a quick rundown of their workflow when hacking on pandas that would be greatly appreciated. I'll do the same. Once the dust settles, I'll collect the workflows and create a new wiki page with this information.
FYI, I'm trying to highlight `git` usage here, so if there are any tricks you have up your sleeves don't hesitate to show them!
cc @nehalecky
My pandas workflow usually goes something like this:
1. Always use `virtualenvwrapper`. Period. Then I do `workon pandas`.
2. Depending on how much time I have I'll try to prioritize based on some combination of which issues are high-priority and those for which I see an easy fix and those that I think would be fun to work on.
3. Once I've selected an issue I'll start hacking on it. I usually _don't_ use any local branches unless I'm implementing something new and there's a bunch of things for that feature that can be worked on separately.
4. I use `git stash` **all the time**. In fact so much so that I have aliases for every `git stash` subcommand. Often times I'll get interrupted and I'll need to stash something so I do. I can then come back to it. If you end up accumulating a crap ton of stashes (which I do) then you can inspect them with `git stash list` followed by `git stash -p stash@{0}` or whatever stash number you want to see the diff of. I'll also occasionally prune the stash via visual inspection and/or my own memory of what's been merged recently or by comparison of stashes to `upstream/master`.
5. Two things that I use a lot are the command `git push -u origin $(git rev-parse --abbrev-ref HEAD)`. This pushes a remote branch with the same name as the one that I made locally to the `origin` remote (my fork). I have `git rev-parse --abbrev-ref HEAD` aliased to `gcb` which I remember as "git current branch". The other command I use is `hub pull-request -b pydata:master` which _automatically_ submits a PR. I can essentially push the remote and the PR in a single step on the command line without having to use the mouse. Pretty neat.
6. `git reflog` is great for those times when you accidentally type `git reset --hard` and you need to recover something.
7. Finally I'll rebase using `git rebase upstream/master` to pull in the latest from the `upstream` remote (which I have set to `http://github.com/pydata/pandas.git`)
8. Throughout the dev process I'm constantly doing `git fetch && git rebase upstream/master`, although recently I've toned that down a bit and I've started to just do it when I need to.
9. I also use `git log` all the time. Since the standard `git log` is a bit too verbose I use [scm_breeze](https://github.com/ndbroadbent/scm_breeze) and it has a gorgeous standard `git log` (as long as you've set `git config --global color.ui auto`!)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4597/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4597/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4598 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4598/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4598/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4598/events | https://github.com/pandas-dev/pandas/pull/4598 | 18,208,767 | MDExOlB1bGxSZXF1ZXN0NzY4Mjg2OQ== | 4,598 | csv_import: Thousands separator works in floating point numbers | {
"avatar_url": "https://avatars.githubusercontent.com/u/1184478?v=4",
"events_url": "https://api.github.com/users/guyrt/events{/privacy}",
"followers_url": "https://api.github.com/users/guyrt/followers",
"following_url": "https://api.github.com/users/guyrt/following{/other_user}",
"gists_url": "https://api.github.com/users/guyrt/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/guyrt",
"id": 1184478,
"login": "guyrt",
"node_id": "MDQ6VXNlcjExODQ0Nzg=",
"organizations_url": "https://api.github.com/users/guyrt/orgs",
"received_events_url": "https://api.github.com/users/guyrt/received_events",
"repos_url": "https://api.github.com/users/guyrt/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/guyrt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/guyrt/subscriptions",
"type": "User",
"url": "https://api.github.com/users/guyrt"
} | [] | 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"
} | 23 | 2013-08-18T15:13:06Z | 2014-06-22T08:32:53Z | 2013-08-23T17:51:35Z | CONTRIBUTOR | null | Closes issue #4322
Adds support for the thousands character in csv parser for floats.
Previously, the thousands separator character did not pass into the core floating point number parsing algorithm:
https://github.com/pydata/pandas/blob/master/pandas/src/parser/tokenizer.c#L1861
I added an argument to this function and provided a test. Now, in a file like this:
```
A|B|C
1|2,334.01|5
10|13|10
```
Column B would import as float type.
Also related to issue #2594
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4598/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4598/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/4598.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/4598",
"merged_at": "2013-08-23T17:51:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/4598.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/4598"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/4599 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4599/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4599/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4599/events | https://github.com/pandas-dev/pandas/issues/4599 | 18,209,374 | MDU6SXNzdWUxODIwOTM3NA== | 4,599 | Give the merge copy parameter better documentation | {
"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": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] | open | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/9169730?v=4",
"events_url": "https://api.github.com/users/moaraccounts/events{/privacy}",
"followers_url": "https://api.github.com/users/moaraccounts/followers",
"following_url": "https://api.github.com/users/moaraccounts/following{/other_user}",
"gists_url": "https://api.github.com/users/moaraccounts/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/moaraccounts",
"id": 9169730,
"login": "moaraccounts",
"node_id": "MDQ6VXNlcjkxNjk3MzA=",
"organizations_url": "https://api.github.com/users/moaraccounts/orgs",
"received_events_url": "https://api.github.com/users/moaraccounts/received_events",
"repos_url": "https://api.github.com/users/moaraccounts/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/moaraccounts/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/moaraccounts/subscriptions",
"type": "User",
"url": "https://api.github.com/users/moaraccounts"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/9169730?v=4",
"events_url": "https://api.github.com/users/moaraccounts/events{/privacy}",
"followers_url": "https://api.github.com/users/moaraccounts/followers",
"following_url": "https://api.github.com/users/moaraccounts/following{/other_user}",
"gists_url": "https://api.github.com/users/moaraccounts/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/moaraccounts",
"id": 9169730,
"login": "moaraccounts",
"node_id": "MDQ6VXNlcjkxNjk3MzA=",
"organizations_url": "https://api.github.com/users/moaraccounts/orgs",
"received_events_url": "https://api.github.com/users/moaraccounts/received_events",
"repos_url": "https://api.github.com/users/moaraccounts/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/moaraccounts/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/moaraccounts/subscriptions",
"type": "User",
"url": "https://api.github.com/users/moaraccounts"
}
] | {
"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"
} | 6 | 2013-08-18T15:59:22Z | 2020-05-27T17:14:56Z | null | MEMBER | null | See [this SO question](http://stackoverflow.com/q/18295630/564538)
The docstring should indicate _what_ is not being copied unnecessarily (`Index`es, `ndarray`s, etc.)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4599/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4599/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4600 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4600/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4600/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4600/events | https://github.com/pandas-dev/pandas/issues/4600 | 18,209,632 | MDU6SXNzdWUxODIwOTYzMg== | 4,600 | Adding a column to a DataFrame always creates a copy of a Series | {
"avatar_url": "https://avatars.githubusercontent.com/u/188258?v=4",
"events_url": "https://api.github.com/users/alefnula/events{/privacy}",
"followers_url": "https://api.github.com/users/alefnula/followers",
"following_url": "https://api.github.com/users/alefnula/following{/other_user}",
"gists_url": "https://api.github.com/users/alefnula/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alefnula",
"id": 188258,
"login": "alefnula",
"node_id": "MDQ6VXNlcjE4ODI1OA==",
"organizations_url": "https://api.github.com/users/alefnula/orgs",
"received_events_url": "https://api.github.com/users/alefnula/received_events",
"repos_url": "https://api.github.com/users/alefnula/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alefnula/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alefnula/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alefnula"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 15 | 2013-08-18T16:19:17Z | 2018-11-01T14:29:32Z | 2013-08-19T14:23:31Z | CONTRIBUTOR | null | I don't know if this is a valid behaviour, but it seems to me like a bug?
``` python
>>> s = pd.Series([1,2,3])
>>> df = pd.DataFrame(s)
>>> df.index is s.index
True
>>> df.iloc[0, 0] = 33
>>> df
0
0 33
1 2
2 3
>>> s
0 33
1 2
2 3
dtype: int64
```
So far so good.
But if I do:
``` python
>>> s = pd.Series([1,2,3])
>>> df = pd.DataFrame(index=s.index)
>>> df[0] = s
>>> df.index is s.index
True
>>> df.iloc[0, 0] = 33
>>> df
0
0 33
1 2
2 3
>>> s
0 1
1 2
2 3
dtype: int64
```
Basically there is no way to add a column to the DataFrame without creating a copy of the data. This seems like a suboptimal behaviour since the operation:
``` python
df['c'] = df['a'] + df['b']
```
First create a Series object in the memory, and then create a copy of it that get's assigned to the DataFrame column `c`.
I also understand why this can be a desired behaviour, so maybe this issue could be reformulated into a question: Is there a way to add a column to a DataFrame without creating a copy of the data.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4600/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4600/timeline | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.