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/7001 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7001/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7001/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7001/events | https://github.com/pandas-dev/pandas/issues/7001 | 32,479,145 | MDU6SXNzdWUzMjQ3OTE0NQ== | 7,001 | Sum of grouped bool column has inconsistent type | {
"avatar_url": "https://avatars.githubusercontent.com/u/931505?v=4",
"events_url": "https://api.github.com/users/jkleint/events{/privacy}",
"followers_url": "https://api.github.com/users/jkleint/followers",
"following_url": "https://api.github.com/users/jkleint/following{/other_user}",
"gists_url": "https://api.github.com/users/jkleint/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jkleint",
"id": 931505,
"login": "jkleint",
"node_id": "MDQ6VXNlcjkzMTUwNQ==",
"organizations_url": "https://api.github.com/users/jkleint/orgs",
"received_events_url": "https://api.github.com/users/jkleint/received_events",
"repos_url": "https://api.github.com/users/jkleint/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jkleint/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jkleint/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jkleint"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
]
| closed | false | null | []
| {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 4 | 2014-04-29T19:56:55Z | 2020-03-26T23:46:19Z | 2020-03-26T23:45:57Z | NONE | null | Summing a bool column after a groupby gives a bool result until there are two or more True values, when it becomes a float64. Seems like it should always be an (unsigned?) integer. Straight sum without a groupby always gives an int64. This is with 0.13.1.
```
pd.DataFrame([True]).groupby(lambda x: 0).sum()
0
0 True
pd.DataFrame([True,True]).groupby(lambda x: 0).sum()
0
0 2
pd.DataFrame([False]).groupby(lambda x: 0).sum()
0
0 False
pd.DataFrame([False,False]).groupby(lambda x: 0).sum()
0
0 False
pd.DataFrame([False,False,True]).groupby(lambda x: 0).sum()
0
0 True
pd.DataFrame([False,False,True,True]).groupby(lambda x: 0).sum()
0
0 2
pd.DataFrame([False,False]).sum()
0 0
dtype: int64
```
| {
"+1": 3,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7001/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7001/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7002 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7002/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7002/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7002/events | https://github.com/pandas-dev/pandas/issues/7002 | 32,481,715 | MDU6SXNzdWUzMjQ4MTcxNQ== | 7,002 | BUG/TST: verify that groupby apply with a column aggregation does not return the column | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
]
| closed | false | null | []
| {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 6 | 2014-04-29T20:26:56Z | 2020-06-14T22:20:51Z | 2020-06-14T22:20:51Z | CONTRIBUTOR | null | related https://github.com/pydata/pandas/pull/7000
```
In [1]: df = DataFrame({'foo1' : ['one', 'two', 'two', 'three', 'one', 'two'],
'foo2' : np.random.randn(6)})
In [2]: df
Out[2]:
foo1 foo2
0 one 1.006666
1 two 0.002063
2 two 1.507785
3 three 1.865921
4 one 0.141202
5 two -1.079792
[6 rows x 2 columns]
```
```
In [3]: df.groupby('foo1').mean()
Out[3]:
foo2
foo1
one 0.573934
three 1.865921
two 0.143352
[3 rows x 1 columns]
In [4]: df.groupby('foo1').apply(lambda x: x.mean())
Out[4]:
foo2
foo1
one 0.573934
three 1.865921
two 0.143352
[3 rows x 1 columns]
```
This should return the foo1 column as well
```
[6]: df.groupby('foo1',as_index=False).apply(lambda x: x.mean())
Out[6]:
foo2
0 0.573934
1 1.865921
2 0.143352
[3 rows x 1 columns]
In [7]: df.groupby('foo1',as_index=False).mean()
Out[7]:
foo1 foo2
0 one 0.573934
1 three 1.865921
2 two 0.143352
[3 rows x 2 columns]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7002/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7002/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7003 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7003/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7003/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7003/events | https://github.com/pandas-dev/pandas/issues/7003 | 32,482,806 | MDU6SXNzdWUzMjQ4MjgwNg== | 7,003 | PERF: cythonize groupby.count | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
]
| closed | false | null | []
| {
"closed_at": "2014-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"
} | 2 | 2014-04-29T20:37:10Z | 2014-05-05T22:18:47Z | 2014-05-05T22:18:47Z | CONTRIBUTOR | null | see #7000
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7003/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7003/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7004 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7004/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7004/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7004/events | https://github.com/pandas-dev/pandas/pull/7004 | 32,490,377 | MDExOlB1bGxSZXF1ZXN0MTUzMTYwOTU= | 7,004 | DOC: add notes to the groupby.rst docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 3 | 2014-04-29T22:15:50Z | 2014-07-02T11:19:20Z | 2014-04-30T12:17:29Z | CONTRIBUTOR | null | partial on #6944
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7004/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7004/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7004.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7004",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/7004.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7004"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7005 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7005/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7005/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7005/events | https://github.com/pandas-dev/pandas/pull/7005 | 32,495,254 | MDExOlB1bGxSZXF1ZXN0MTUzMTkyOTM= | 7,005 | adding left and right view to DataFrame, equivalent to head() and tail() | {
"avatar_url": "https://avatars.githubusercontent.com/u/69774?v=4",
"events_url": "https://api.github.com/users/michaelaye/events{/privacy}",
"followers_url": "https://api.github.com/users/michaelaye/followers",
"following_url": "https://api.github.com/users/michaelaye/following{/other_user}",
"gists_url": "https://api.github.com/users/michaelaye/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/michaelaye",
"id": 69774,
"login": "michaelaye",
"node_id": "MDQ6VXNlcjY5Nzc0",
"organizations_url": "https://api.github.com/users/michaelaye/orgs",
"received_events_url": "https://api.github.com/users/michaelaye/received_events",
"repos_url": "https://api.github.com/users/michaelaye/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/michaelaye/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michaelaye/subscriptions",
"type": "User",
"url": "https://api.github.com/users/michaelaye"
} | [
{
"color": "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": "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"
}
]
| 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"
} | 13 | 2014-04-29T23:43:05Z | 2021-08-03T15:59:56Z | 2015-01-18T21:37:46Z | CONTRIBUTOR | null | I am working with a lot of columns recently and just thought of these little helpers, basically the same as head() and tail(), but for columns.
Additionally, I fixed a small pep8 issue in head()
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7005/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7005/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7005.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7005",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/7005.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7005"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7006 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7006/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7006/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7006/events | https://github.com/pandas-dev/pandas/pull/7006 | 32,498,032 | MDExOlB1bGxSZXF1ZXN0MTUzMjA5NzI= | 7,006 | BUG: duplicate indexing with setitem with iloc (GH6766) | {
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "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": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 0 | 2014-04-30T00:43:53Z | 2014-07-16T09:03:54Z | 2014-04-30T01:05:17Z | CONTRIBUTOR | null | closes #6766
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7006/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7006/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7006.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7006",
"merged_at": "2014-04-30T01:05:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7006.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7006"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7007 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7007/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7007/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7007/events | https://github.com/pandas-dev/pandas/pull/7007 | 32,505,826 | MDExOlB1bGxSZXF1ZXN0MTUzMjUyOTY= | 7,007 | BUG: fixing tseries plot cursor display, resolves #5453 | {
"avatar_url": "https://avatars.githubusercontent.com/u/5356340?v=4",
"events_url": "https://api.github.com/users/rosnfeld/events{/privacy}",
"followers_url": "https://api.github.com/users/rosnfeld/followers",
"following_url": "https://api.github.com/users/rosnfeld/following{/other_user}",
"gists_url": "https://api.github.com/users/rosnfeld/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rosnfeld",
"id": 5356340,
"login": "rosnfeld",
"node_id": "MDQ6VXNlcjUzNTYzNDA=",
"organizations_url": "https://api.github.com/users/rosnfeld/orgs",
"received_events_url": "https://api.github.com/users/rosnfeld/received_events",
"repos_url": "https://api.github.com/users/rosnfeld/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rosnfeld/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rosnfeld/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rosnfeld"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 7 | 2014-04-30T04:27:11Z | 2014-06-12T21:07:21Z | 2014-05-01T17:50:35Z | CONTRIBUTOR | null | Fixes #5453
I am not sure how to test a mouse-over, and the original commit 922c6102eebb7347cea587fffc4795a3ca3e73b2 introducing this functionality did not have tests either, which is sadly probably how this got broken. @willfurnass do you happen to have any ideas for how to test this functionality, maybe from when you first looked at this?
The new code doesn't display timezone information like the old code once did (before it was broken) as Periods don't seem to have timezone info, and all `tseries/plotting.py` plots are Period-based. One could perhaps do some minor acrobatics to convert the tz-naive start time of the Period into a tz-aware Timestamp, I can research that if people feel strongly about 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/7007/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7007/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7007.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7007",
"merged_at": "2014-05-01T17:50:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7007.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7007"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7008 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7008/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7008/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7008/events | https://github.com/pandas-dev/pandas/pull/7008 | 32,520,003 | MDExOlB1bGxSZXF1ZXN0MTUzMzMzMDA= | 7,008 | BLD: fix failing vbench cases | {
"avatar_url": "https://avatars.githubusercontent.com/u/579798?v=4",
"events_url": "https://api.github.com/users/immerrr/events{/privacy}",
"followers_url": "https://api.github.com/users/immerrr/followers",
"following_url": "https://api.github.com/users/immerrr/following{/other_user}",
"gists_url": "https://api.github.com/users/immerrr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/immerrr",
"id": 579798,
"login": "immerrr",
"node_id": "MDQ6VXNlcjU3OTc5OA==",
"organizations_url": "https://api.github.com/users/immerrr/orgs",
"received_events_url": "https://api.github.com/users/immerrr/received_events",
"repos_url": "https://api.github.com/users/immerrr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/immerrr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/immerrr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/immerrr"
} | []
| closed | false | null | []
| null | 2 | 2014-04-30T09:34:09Z | 2014-06-24T04:26:08Z | 2014-04-30T12:48:54Z | CONTRIBUTOR | null | There were about 30 vbench tests that failed due to multiple recent deprecations and copy-pasting.
This PR fixes all but 8 of those that correspond to constructing frame with "exotic" time offsets (`WeekOfYear`, `LastWeekOfYear`, `FY5253` and `FY5253Quarter`) that apparently require some kwargs for construction.
This also fixes the "different name/same test" situation with `eval_frame_and` benchmarks where for some reason single-thread and multi-thread cases share setup code.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7008/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7008/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7008.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7008",
"merged_at": "2014-04-30T12:48:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7008.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7008"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7009 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7009/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7009/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7009/events | https://github.com/pandas-dev/pandas/pull/7009 | 32,532,347 | MDExOlB1bGxSZXF1ZXN0MTUzNDA4NDU= | 7,009 | BLD/TST: Python3.4 testing via travis | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 2 | 2014-04-30T13:00:43Z | 2014-07-16T09:03:59Z | 2014-04-30T15:48:21Z | CONTRIBUTOR | null | closes #6619
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7009/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7009/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7009.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7009",
"merged_at": "2014-04-30T15:48:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7009.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7009"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7010 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7010/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7010/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7010/events | https://github.com/pandas-dev/pandas/issues/7010 | 32,549,828 | MDU6SXNzdWUzMjU0OTgyOA== | 7,010 | read_sql fails with psycopg2 connection | {
"avatar_url": "https://avatars.githubusercontent.com/u/1993919?v=4",
"events_url": "https://api.github.com/users/amelio-vazquez-reina/events{/privacy}",
"followers_url": "https://api.github.com/users/amelio-vazquez-reina/followers",
"following_url": "https://api.github.com/users/amelio-vazquez-reina/following{/other_user}",
"gists_url": "https://api.github.com/users/amelio-vazquez-reina/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/amelio-vazquez-reina",
"id": 1993919,
"login": "amelio-vazquez-reina",
"node_id": "MDQ6VXNlcjE5OTM5MTk=",
"organizations_url": "https://api.github.com/users/amelio-vazquez-reina/orgs",
"received_events_url": "https://api.github.com/users/amelio-vazquez-reina/received_events",
"repos_url": "https://api.github.com/users/amelio-vazquez-reina/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/amelio-vazquez-reina/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amelio-vazquez-reina/subscriptions",
"type": "User",
"url": "https://api.github.com/users/amelio-vazquez-reina"
} | [
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 7 | 2014-04-30T16:09:42Z | 2014-05-05T08:30:11Z | 2014-05-05T08:30:11Z | CONTRIBUTOR | null | I am unable to run `read_sql` against a PostgreSQL database with the current master branch. This error only happens with master. If I switch back to pandas `0.13.1` (stable) everything works again.
For reference, I am using `psycopg2 2.5.2` from `pip install`.
Below is some example code:
``` python
# Connect to the database
host = 'some.remote.host.net'
database = 'some_remote_database'
port = '54321'
username = 'josh'
my_query = 'select item_uid from db.items as item\nwhere item.end_date > (current_date + 1);'
connection = pg.connect(host=host, dbname=database, port=port, user=username)
my_dataframe = psql.read_sql(my_query, connection)
```
The error that I get is:
```
DatabaseError: Execution failed on sql: SELECT name FROM sqlite_master WHERE type='table'
AND name='select item_uid from db.items as item\nwhere item.end_date > (current_date + 1);'
```
I get the same error with `read_frame`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7010/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7010/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7011 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7011/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7011/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7011/events | https://github.com/pandas-dev/pandas/issues/7011 | 32,558,939 | MDU6SXNzdWUzMjU1ODkzOQ== | 7,011 | Arithmetic operation between Series and `bool` fails | {
"avatar_url": "https://avatars.githubusercontent.com/u/81476?v=4",
"events_url": "https://api.github.com/users/fonnesbeck/events{/privacy}",
"followers_url": "https://api.github.com/users/fonnesbeck/followers",
"following_url": "https://api.github.com/users/fonnesbeck/following{/other_user}",
"gists_url": "https://api.github.com/users/fonnesbeck/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fonnesbeck",
"id": 81476,
"login": "fonnesbeck",
"node_id": "MDQ6VXNlcjgxNDc2",
"organizations_url": "https://api.github.com/users/fonnesbeck/orgs",
"received_events_url": "https://api.github.com/users/fonnesbeck/received_events",
"repos_url": "https://api.github.com/users/fonnesbeck/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fonnesbeck/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fonnesbeck/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fonnesbeck"
} | [
{
"color": "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": "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": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 3 | 2014-04-30T18:02:32Z | 2016-10-12T23:04:49Z | 2014-05-14T05:00:40Z | NONE | null | In the current master, I am no longer able to add or subtract `bool` scalars from Series. For example:
```
In [63]: (covariates.isnull().sum(axis=1).astype(bool))
Out[63]:
case_id
A0001 False
A0002 False
A0003 False
A0004 False
A0005 False
A0006 False
A0007 False
A0008 False
A0009 False
A0010 False
A0011 False
A0012 False
A0013 False
A0014 False
A0015 False
...
D3760 True
D3761 False
D3762 False
D3763 False
D3764 False
D3765 False
D3766 False
D3767 False
D3768 False
D3769 False
D3770 False
D3771 False
D3772 False
D3773 False
D3774 False
Length: 3169, dtype: bool
In [65]: (covariates.isnull().sum(axis=1).astype(bool)).value_counts()
Out[65]:
False 2677
True 492
dtype: int64
```
When I subtract `True` to flip the trues and falses, I get:
```
In [66]: (covariates.isnull().sum(axis=1).astype(bool)) - True
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-66-6db12b7f95bf> in <module>()
----> 1 (covariates.isnull().sum(axis=1).astype(bool)) - True
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.13.1_780_gdc098d8-py2.7-macosx-10.9-x86_64.egg/pandas/core/ops.pyc in wrapper(left, right, name)
501 if hasattr(lvalues, 'values'):
502 lvalues = lvalues.values
--> 503 return left._constructor(wrap_results(na_op(lvalues, rvalues)),
504 index=left.index, name=left.name,
505 dtype=dtype)
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.13.1_780_gdc098d8-py2.7-macosx-10.9-x86_64.egg/pandas/core/ops.pyc in na_op(x, y)
441 try:
442 result = expressions.evaluate(op, str_rep, x, y,
--> 443 raise_on_error=True, **eval_kwargs)
444 except TypeError:
445 if isinstance(y, (pa.Array, pd.Series)):
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.13.1_780_gdc098d8-py2.7-macosx-10.9-x86_64.egg/pandas/computation/expressions.pyc in evaluate(op, op_str, a, b, raise_on_error, use_numexpr, **eval_kwargs)
185 use_numexpr : whether to try to use numexpr (default True)
186 """
--> 187 _bool_arith_check(op_str, a, b)
188 if use_numexpr:
189 return _evaluate(op, op_str, a, b, raise_on_error=raise_on_error,
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.13.1_780_gdc098d8-py2.7-macosx-10.9-x86_64.egg/pandas/computation/expressions.pyc in _bool_arith_check(op_str, a, b, not_allowed)
164 def _bool_arith_check(op_str, a, b, not_allowed=frozenset(('+', '*', '-', '/',
165 '//', '**'))):
--> 166 if op_str in not_allowed and _has_bool_dtype(a) and _has_bool_dtype(b):
167 raise NotImplementedError("operator %r not implemented for bool "
168 "dtypes" % op_str)
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.13.1_780_gdc098d8-py2.7-macosx-10.9-x86_64.egg/pandas/computation/expressions.pyc in _has_bool_dtype(x)
159 return x.dtype == bool
160 except AttributeError:
--> 161 return 'bool' in x.blocks
162
163
AttributeError: 'bool' object has no attribute 'blocks'
```
Running current master on Python 2.7.5 (OS X 10.9.2).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7011/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7011/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7012 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7012/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7012/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7012/events | https://github.com/pandas-dev/pandas/pull/7012 | 32,559,905 | MDExOlB1bGxSZXF1ZXN0MTUzNTcwNTE= | 7,012 | Added selection example to cookbook | {
"avatar_url": "https://avatars.githubusercontent.com/u/3525666?v=4",
"events_url": "https://api.github.com/users/ojdo/events{/privacy}",
"followers_url": "https://api.github.com/users/ojdo/followers",
"following_url": "https://api.github.com/users/ojdo/following{/other_user}",
"gists_url": "https://api.github.com/users/ojdo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ojdo",
"id": 3525666,
"login": "ojdo",
"node_id": "MDQ6VXNlcjM1MjU2NjY=",
"organizations_url": "https://api.github.com/users/ojdo/orgs",
"received_events_url": "https://api.github.com/users/ojdo/received_events",
"repos_url": "https://api.github.com/users/ojdo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ojdo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ojdo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ojdo"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 1 | 2014-04-30T18:15:27Z | 2014-06-30T11:25:11Z | 2014-04-30T18:56:37Z | CONTRIBUTOR | null | I added a (for me) very helpful Q&A from Stackoverflow on groupby/minimization while retaining the original DataFrame columns. Additionally, I cleaned up some links in the same cookbok section.
(Disclaimer: this is my first pull request.)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7012/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7012/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7012.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7012",
"merged_at": "2014-04-30T18:56:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7012.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7012"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7013 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7013/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7013/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7013/events | https://github.com/pandas-dev/pandas/issues/7013 | 32,560,450 | MDU6SXNzdWUzMjU2MDQ1MA== | 7,013 | DOC/BLD: dev docs not available | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 11 | 2014-04-30T18:22:04Z | 2014-04-30T19:25:02Z | 2014-04-30T18:56:19Z | MEMBER | null | http://pandas-docs.github.io/pandas-docs-travis/ gives a `404 page not found` error.
So also http://pandas.pydata.org/pandas-docs/dev/ does not work (as this is redirected to the former).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7013/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7013/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7014 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7014/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7014/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7014/events | https://github.com/pandas-dev/pandas/issues/7014 | 32,565,806 | MDU6SXNzdWUzMjU2NTgwNg== | 7,014 | Feature request: add median, mode & number of unique entries to pandas.DataFrame.describe() | {
"avatar_url": "https://avatars.githubusercontent.com/u/1903672?v=4",
"events_url": "https://api.github.com/users/tantrev/events{/privacy}",
"followers_url": "https://api.github.com/users/tantrev/followers",
"following_url": "https://api.github.com/users/tantrev/following{/other_user}",
"gists_url": "https://api.github.com/users/tantrev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tantrev",
"id": 1903672,
"login": "tantrev",
"node_id": "MDQ6VXNlcjE5MDM2NzI=",
"organizations_url": "https://api.github.com/users/tantrev/orgs",
"received_events_url": "https://api.github.com/users/tantrev/received_events",
"repos_url": "https://api.github.com/users/tantrev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tantrev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tantrev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tantrev"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
]
| closed | false | null | []
| {
"closed_at": 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"
} | 6 | 2014-04-30T19:28:11Z | 2017-04-14T15:37:04Z | 2017-04-14T15:37:04Z | NONE | null | Would come in handy for a number of a different applications from basic statistics, to understanding one's data, to estimating machine learning algorithmic load.
dupe of #2749
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7014/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7014/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7015 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7015/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7015/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7015/events | https://github.com/pandas-dev/pandas/pull/7015 | 32,572,205 | MDExOlB1bGxSZXF1ZXN0MTUzNjQ4NTA= | 7,015 | ERR: more informative error message on bool arith op failures | {
"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": "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": "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 | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
]
| {
"closed_at": "2014-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 | 2014-04-30T20:52:28Z | 2014-06-25T08:57:46Z | 2014-05-14T05:00:40Z | MEMBER | null | closes #7011
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7015/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7015/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7015.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7015",
"merged_at": "2014-05-14T05:00:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7015.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7015"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7016 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7016/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7016/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7016/events | https://github.com/pandas-dev/pandas/pull/7016 | 32,578,347 | MDExOlB1bGxSZXF1ZXN0MTUzNjg3ODY= | 7,016 | ENH: cythonize groupby.count | {
"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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
]
| closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
]
| {
"closed_at": "2014-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"
} | 35 | 2014-04-30T22:12:47Z | 2014-06-13T01:26:49Z | 2014-05-05T22:18:47Z | MEMBER | null | closes #7003
- [x] vbench
- ~~axis parameter~~ (this only works in non-cython land)
- [x] tests for `object` dtype if there are none
- [x] datetime64/timedelta64 count
vbench results:
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
groupby_multi_count | 7.3980 | 6814.2579 | 0.0011 |
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7016/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7016/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7016.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7016",
"merged_at": "2014-05-05T22:18:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7016.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7016"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7017 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7017/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7017/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7017/events | https://github.com/pandas-dev/pandas/issues/7017 | 32,609,134 | MDU6SXNzdWUzMjYwOTEzNA== | 7,017 | Data corruption when renaming to duplicate column names | {
"avatar_url": "https://avatars.githubusercontent.com/u/3168512?v=4",
"events_url": "https://api.github.com/users/Gerenuk/events{/privacy}",
"followers_url": "https://api.github.com/users/Gerenuk/followers",
"following_url": "https://api.github.com/users/Gerenuk/following{/other_user}",
"gists_url": "https://api.github.com/users/Gerenuk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Gerenuk",
"id": 3168512,
"login": "Gerenuk",
"node_id": "MDQ6VXNlcjMxNjg1MTI=",
"organizations_url": "https://api.github.com/users/Gerenuk/orgs",
"received_events_url": "https://api.github.com/users/Gerenuk/received_events",
"repos_url": "https://api.github.com/users/Gerenuk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Gerenuk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Gerenuk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Gerenuk"
} | []
| closed | false | null | []
| null | 1 | 2014-05-01T11:35:32Z | 2014-05-01T13:52:50Z | 2014-05-01T13:52:50Z | NONE | null | The following throws a very confusing error (pandas 0.13.1):
pd.DataFrame([[1,"abc", 1]], columns=["a", "b", "a"]).describe()
File "C:\Program Files\Python 3.3.3\lib\site-packages\pandas\core\frame.py", line 3790, in describe
numdata = self._get_numeric_data()
File "C:\Program Files\Python 3.3.3\lib\site-packages\pandas\core\generic.py", line 1894, in _get_numeric_data
self._data.get_numeric_data()).__finalize__(self)
File "C:\Program Files\Python 3.3.3\lib\site-packages\pandas\core\internals.py", line 2596, in get_numeric_data
return self.get_data(**kwargs)
File "C:\Program Files\Python 3.3.3\lib\site-packages\pandas\core\internals.py", line 2610, in get_data
return self.combine(blocks)
File "C:\Program Files\Python 3.3.3\lib\site-packages\pandas\core\internals.py", line 2624, in combine
return self.**class**(new_blocks, new_axes, do_integrity_check=False)
File "C:\Program Files\Python 3.3.3\lib\site-packages\pandas\core\internals.py", line 2037, in **init**
self._set_ref_locs(do_refs=True)
File "C:\Program Files\Python 3.3.3\lib\site-packages\pandas\core\internals.py", line 2189, in _set_ref_locs
rl[loc] = (block, i)
IndexError: list assignment index out of range
pd.DataFrame([[1,"abc", 1]], columns=["a", "b", "a"]).info()
File "C:\Program Files\Python 3.3.3\lib\site-packages\pandas\core\frame.py", line 1443, in info
counts = self.count()
File "C:\Program Files\Python 3.3.3\lib\site-packages\pandas\core\frame.py", line 3862, in count
result = notnull(frame).sum(axis=axis)
File "C:\Program Files\Python 3.3.3\lib\site-packages\pandas\core\common.py", line 273, in notnull
res = isnull(obj)
File "C:\Program Files\Python 3.3.3\lib\site-packages\pandas\core\common.py", line 125, in isnull
return _isnull(obj)
File "C:\Program Files\Python 3.3.3\lib\site-packages\pandas\core\common.py", line 137, in _isnull_new
return obj._constructor(obj._data.apply(lambda x: isnull(x.values)))
File "C:\Program Files\Python 3.3.3\lib\site-packages\pandas\core\internals.py", line 2384, in apply
do_integrity_check=do_integrity_check)
File "C:\Program Files\Python 3.3.3\lib\site-packages\pandas\core\internals.py", line 2037, in __init__
self._set_ref_locs(do_refs=True)
File "C:\Program Files\Python 3.3.3\lib\site-packages\pandas\core\internals.py", line 2177, in _set_ref_locs
'have _ref_locs set' % (block, labels))
AssertionError: Cannot create BlockManager._ref_locs because block [BoolBlock: [a, a], 2 x 1, dtype: bool] with duplicate items [Index(['a', 'b', 'a'], dtype='object')] does not have _ref_locs set
Note that there are multiple ways to avoid the error:
- not having duplicate column names
- changing the type of column "b" or deleting it!
In my program I had duplicate names only accidently, but still this behaviour and dependence on the non-duplicate column looks like a bug to me.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7017/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7017/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7018 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7018/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7018/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7018/events | https://github.com/pandas-dev/pandas/issues/7018 | 32,616,549 | MDU6SXNzdWUzMjYxNjU0OQ== | 7,018 | Lifting limits on display options: None vs 0 vs Inf ? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1993919?v=4",
"events_url": "https://api.github.com/users/amelio-vazquez-reina/events{/privacy}",
"followers_url": "https://api.github.com/users/amelio-vazquez-reina/followers",
"following_url": "https://api.github.com/users/amelio-vazquez-reina/following{/other_user}",
"gists_url": "https://api.github.com/users/amelio-vazquez-reina/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/amelio-vazquez-reina",
"id": 1993919,
"login": "amelio-vazquez-reina",
"node_id": "MDQ6VXNlcjE5OTM5MTk=",
"organizations_url": "https://api.github.com/users/amelio-vazquez-reina/orgs",
"received_events_url": "https://api.github.com/users/amelio-vazquez-reina/received_events",
"repos_url": "https://api.github.com/users/amelio-vazquez-reina/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/amelio-vazquez-reina/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amelio-vazquez-reina/subscriptions",
"type": "User",
"url": "https://api.github.com/users/amelio-vazquez-reina"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"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"
}
]
| 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"
} | 1 | 2014-05-01T14:03:25Z | 2021-04-11T04:32:05Z | null | CONTRIBUTOR | null | When lifting limits on display options, for some of them one can use `None`:
```
display.max_columns = None
display.display.max_rows = None
display.width = None
```
but for other options, Pandas complains if you use `None` returning `ValueError: Value must have type '<type 'int'>'`, so you have to use 0
```
display.max_col_width = 0
```
Is this intentional? If so, what is the rationale behind 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/7018/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7018/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7019 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7019/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7019/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7019/events | https://github.com/pandas-dev/pandas/pull/7019 | 32,618,386 | MDExOlB1bGxSZXF1ZXN0MTUzODk1MTA= | 7,019 | TST: tests for groupby not using grouper column, solved in GH7000, (GH5614) | {
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 0 | 2014-05-01T14:32:42Z | 2014-07-16T09:04:12Z | 2014-05-01T15:13:57Z | CONTRIBUTOR | null | closes #5614
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7019/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7019/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7019.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7019",
"merged_at": "2014-05-01T15:13:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7019.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7019"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7020 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7020/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7020/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7020/events | https://github.com/pandas-dev/pandas/pull/7020 | 32,622,835 | MDExOlB1bGxSZXF1ZXN0MTUzOTIxNDM= | 7,020 | PyQt 5 support added | {
"avatar_url": "https://avatars.githubusercontent.com/u/3449635?v=4",
"events_url": "https://api.github.com/users/rominf/events{/privacy}",
"followers_url": "https://api.github.com/users/rominf/followers",
"following_url": "https://api.github.com/users/rominf/following{/other_user}",
"gists_url": "https://api.github.com/users/rominf/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rominf",
"id": 3449635,
"login": "rominf",
"node_id": "MDQ6VXNlcjM0NDk2MzU=",
"organizations_url": "https://api.github.com/users/rominf/orgs",
"received_events_url": "https://api.github.com/users/rominf/received_events",
"repos_url": "https://api.github.com/users/rominf/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rominf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rominf/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rominf"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "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": 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"
} | 16 | 2014-05-01T15:37:07Z | 2019-11-17T11:23:42Z | 2015-01-25T23:00:02Z | NONE | null | Added imports for PyQt 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/7020/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7020/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7020.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7020",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/7020.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7020"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7021 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7021/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7021/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7021/events | https://github.com/pandas-dev/pandas/pull/7021 | 32,629,711 | MDExOlB1bGxSZXF1ZXN0MTUzOTYzMzg= | 7,021 | Refactoring: DataFrameWidget(QWidget) -> DataFrameWidget(QTableView) | {
"avatar_url": "https://avatars.githubusercontent.com/u/3449635?v=4",
"events_url": "https://api.github.com/users/rominf/events{/privacy}",
"followers_url": "https://api.github.com/users/rominf/followers",
"following_url": "https://api.github.com/users/rominf/following{/other_user}",
"gists_url": "https://api.github.com/users/rominf/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rominf",
"id": 3449635,
"login": "rominf",
"node_id": "MDQ6VXNlcjM0NDk2MzU=",
"organizations_url": "https://api.github.com/users/rominf/orgs",
"received_events_url": "https://api.github.com/users/rominf/received_events",
"repos_url": "https://api.github.com/users/rominf/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rominf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rominf/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rominf"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "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": "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"
} | 8 | 2014-05-01T17:11:48Z | 2015-01-25T23:18:58Z | 2015-01-25T23:18:58Z | NONE | null | I think that deriving DataFrameWidget from the QTableView is more logical than from QWidget
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7021/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7021/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7021.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7021",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/7021.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7021"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7022 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7022/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7022/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7022/events | https://github.com/pandas-dev/pandas/pull/7022 | 32,643,272 | MDExOlB1bGxSZXF1ZXN0MTU0MDQ0OTM= | 7,022 | BLD: use sqlalchemy 0.7.1 in 2.6 build (GH6340) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "5319e7",
"default": false,
"description": "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"
},
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
]
| closed | false | null | []
| {
"closed_at": "2014-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"
} | 8 | 2014-05-01T20:04:30Z | 2014-06-14T13:15:12Z | 2014-06-14T13:15:12Z | CONTRIBUTOR | null | closes #6340
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7022/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7022/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7022.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7022",
"merged_at": "2014-06-14T13:15:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7022.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7022"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7023 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7023/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7023/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7023/events | https://github.com/pandas-dev/pandas/issues/7023 | 32,646,424 | MDU6SXNzdWUzMjY0NjQyNA== | 7,023 | DF Plots: Error bars don't allow to set styles | {
"avatar_url": "https://avatars.githubusercontent.com/u/5675858?v=4",
"events_url": "https://api.github.com/users/Zaharid/events{/privacy}",
"followers_url": "https://api.github.com/users/Zaharid/followers",
"following_url": "https://api.github.com/users/Zaharid/following{/other_user}",
"gists_url": "https://api.github.com/users/Zaharid/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Zaharid",
"id": 5675858,
"login": "Zaharid",
"node_id": "MDQ6VXNlcjU2NzU4NTg=",
"organizations_url": "https://api.github.com/users/Zaharid/orgs",
"received_events_url": "https://api.github.com/users/Zaharid/received_events",
"repos_url": "https://api.github.com/users/Zaharid/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Zaharid/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Zaharid/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Zaharid"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 6 | 2014-05-01T20:48:31Z | 2017-12-07T11:44:00Z | null | NONE | null | With this code the style spec `'o'` is ignored when plotting error bars (#5638):
``` python
In [25]: from numpy.random import randn
In [26]: import pandas as pd
In [27]: df = pd.DataFrame(randn(8,3), columns = "A B yerr".split())
In [28]: df.plot(x='A', y='B',style='o' ,yerr='yerr')
Out[28]: <matplotlib.axes.AxesSubplot at 0x5259cd0>
In [29]: pd.__version__
Out[29]: '0.13.1-791-g07f6d46'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7023/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7023/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7024 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7024/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7024/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7024/events | https://github.com/pandas-dev/pandas/issues/7024 | 32,651,166 | MDU6SXNzdWUzMjY1MTE2Ng== | 7,024 | pd.concat(objs) drops type of the inputs if all inputs are empty | {
"avatar_url": "https://avatars.githubusercontent.com/u/931214?v=4",
"events_url": "https://api.github.com/users/OlexiyO/events{/privacy}",
"followers_url": "https://api.github.com/users/OlexiyO/followers",
"following_url": "https://api.github.com/users/OlexiyO/following{/other_user}",
"gists_url": "https://api.github.com/users/OlexiyO/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/OlexiyO",
"id": 931214,
"login": "OlexiyO",
"node_id": "MDQ6VXNlcjkzMTIxNA==",
"organizations_url": "https://api.github.com/users/OlexiyO/orgs",
"received_events_url": "https://api.github.com/users/OlexiyO/received_events",
"repos_url": "https://api.github.com/users/OlexiyO/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/OlexiyO/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/OlexiyO/subscriptions",
"type": "User",
"url": "https://api.github.com/users/OlexiyO"
} | []
| closed | false | null | []
| null | 3 | 2014-05-01T21:50:57Z | 2014-05-01T22:22:51Z | 2014-05-01T22:22:08Z | NONE | null | When concatenating several pd.Series of the same type, I would expect the output Series to have the same type. However, this does not hold if all input Series are empty:
```
In [0]: x = pd.Series([], dtype=int)
In [1]: pd.concat([x, x])
Series([], dtype: object)
```
How I would expect it to work:
_pd.concat([x, x]) should return Series([], dtype=int)_
Just as an example, this works fine:
```
In [2]: y = pd.Series([1], dtype=int)
In [3]: pd.concat([y, y]) # This works fine:
0 1
0 1
dtype: int64
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7024/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7024/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7025 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7025/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7025/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7025/events | https://github.com/pandas-dev/pandas/issues/7025 | 32,688,171 | MDU6SXNzdWUzMjY4ODE3MQ== | 7,025 | GroupBy with Float Index not Plotting | {
"avatar_url": "https://avatars.githubusercontent.com/u/3421?v=4",
"events_url": "https://api.github.com/users/grundprinzip/events{/privacy}",
"followers_url": "https://api.github.com/users/grundprinzip/followers",
"following_url": "https://api.github.com/users/grundprinzip/following{/other_user}",
"gists_url": "https://api.github.com/users/grundprinzip/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/grundprinzip",
"id": 3421,
"login": "grundprinzip",
"node_id": "MDQ6VXNlcjM0MjE=",
"organizations_url": "https://api.github.com/users/grundprinzip/orgs",
"received_events_url": "https://api.github.com/users/grundprinzip/received_events",
"repos_url": "https://api.github.com/users/grundprinzip/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/grundprinzip/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/grundprinzip/subscriptions",
"type": "User",
"url": "https://api.github.com/users/grundprinzip"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 3 | 2014-05-02T12:31:04Z | 2014-05-02T21:37:21Z | 2014-05-02T21:37:21Z | NONE | null | I have the following problem: I have a dataset with a float index that I want to group and plot. If I'm using integer indices it works, with floats it doesn't. Here is the minimal example that once works and once not. I'm testing with the current master. Am I doing something wrong?
This code snippet fails:
```
import pandas as pd
import numpy as np
test = pd.DataFrame({'def': [1,1,1,2,2,2,3,3,3], 'val': np.random.randn(9)}, index=[1.0,2.0,3.0,1.0,2.0,3.0,1.0,2.0,3.0])
test.groupby('def')['val'].plot()
```
While this works:
```
# This Works
test = pd.DataFrame({'def': [1,1,1,2,2,2,3,3,3], 'val': np.random.randn(9)}, index= [1,2,3,1,2,3,1,2,3])
test.groupby('def')['val'].plot()
```
The error I get is:
```
---------------------------------------------------------------------------
NotImplementedError Traceback (most recent call last)
<ipython-input-83-e50f1a9b07c6> in <module>()
----> 1 test.groupby('def')['val'].plot()
/Library/Python/2.7/site-packages/pandas-0.13.1_758_g4a67608-py2.7-macosx-10.9-intel.egg/pandas/core/groupby.pyc in __getattr__(self, attr)
452 if attr in self._internal_names_set:
453 return object.__getattribute__(self, attr)
--> 454 if attr in self.obj:
455 return self[attr]
456
/Library/Python/2.7/site-packages/pandas-0.13.1_758_g4a67608-py2.7-macosx-10.9-intel.egg/pandas/core/series.pyc in __contains__(self, key)
379
380 def __contains__(self, key):
--> 381 return key in self.index
382
383 # complex
/Library/Python/2.7/site-packages/pandas-0.13.1_758_g4a67608-py2.7-macosx-10.9-intel.egg/pandas/core/index.pyc in __contains__(self, other)
2042 try:
2043 # if other is a sequence this throws a ValueError
-> 2044 return np.isnan(other) and self._hasnans
2045 except ValueError:
2046 try:
NotImplementedError: Not implemented for this type
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7025/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7025/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7026 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7026/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7026/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7026/events | https://github.com/pandas-dev/pandas/pull/7026 | 32,688,907 | MDExOlB1bGxSZXF1ZXN0MTU0Mjk2Nzg= | 7,026 | BUG: error in Float64Index with contains and non-float (GH7025) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "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": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 0 | 2014-05-02T12:44:11Z | 2014-07-05T02:58:59Z | 2014-05-02T21:37:21Z | CONTRIBUTOR | null | closes #7025
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7026/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7026/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7026.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7026",
"merged_at": "2014-05-02T21:37:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7026.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7026"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7027 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7027/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7027/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7027/events | https://github.com/pandas-dev/pandas/pull/7027 | 32,712,682 | MDExOlB1bGxSZXF1ZXN0MTU0NDMxNjg= | 7,027 | DOC: Visualization reorganization | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 16 | 2014-05-02T18:07:46Z | 2017-04-05T02:07:52Z | 2014-05-05T19:52:08Z | CONTRIBUTOR | null | Closes https://github.com/pydata/pandas/issues/6994
I still need to do one more read through. Happy to hear additional suggestions.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7027/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7027/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7027.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7027",
"merged_at": "2014-05-05T19:52:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7027.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7027"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7028 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7028/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7028/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7028/events | https://github.com/pandas-dev/pandas/pull/7028 | 32,736,375 | MDExOlB1bGxSZXF1ZXN0MTU0NTc3NDc= | 7,028 | API: adds weekday_common accessors (GH6936) | {
"avatar_url": "https://avatars.githubusercontent.com/u/7309531?v=4",
"events_url": "https://api.github.com/users/trailsquirrel/events{/privacy}",
"followers_url": "https://api.github.com/users/trailsquirrel/followers",
"following_url": "https://api.github.com/users/trailsquirrel/following{/other_user}",
"gists_url": "https://api.github.com/users/trailsquirrel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/trailsquirrel",
"id": 7309531,
"login": "trailsquirrel",
"node_id": "MDQ6VXNlcjczMDk1MzE=",
"organizations_url": "https://api.github.com/users/trailsquirrel/orgs",
"received_events_url": "https://api.github.com/users/trailsquirrel/received_events",
"repos_url": "https://api.github.com/users/trailsquirrel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/trailsquirrel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/trailsquirrel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/trailsquirrel"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 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 | 2014-05-03T00:50:49Z | 2017-08-09T10:25:16Z | 2015-01-25T23:19:11Z | NONE | null | closes #6936
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7028/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7028/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7028.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7028",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/7028.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7028"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7029 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7029/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7029/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7029/events | https://github.com/pandas-dev/pandas/pull/7029 | 32,753,996 | MDExOlB1bGxSZXF1ZXN0MTU0NjU2ODE= | 7,029 | BUG: fix reading multi-index data in python parser | {
"avatar_url": "https://avatars.githubusercontent.com/u/319411?v=4",
"events_url": "https://api.github.com/users/mcwitt/events{/privacy}",
"followers_url": "https://api.github.com/users/mcwitt/followers",
"following_url": "https://api.github.com/users/mcwitt/following{/other_user}",
"gists_url": "https://api.github.com/users/mcwitt/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mcwitt",
"id": 319411,
"login": "mcwitt",
"node_id": "MDQ6VXNlcjMxOTQxMQ==",
"organizations_url": "https://api.github.com/users/mcwitt/orgs",
"received_events_url": "https://api.github.com/users/mcwitt/received_events",
"repos_url": "https://api.github.com/users/mcwitt/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mcwitt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mcwitt/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mcwitt"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 7 | 2014-05-03T20:04:50Z | 2014-06-23T23:28:38Z | 2014-05-06T18:02:22Z | CONTRIBUTOR | null | partial fix for #6893
The python parser has a problem reading data with a multi-index specified in the row following the header, for example
``` python
In [3]: text = """ A B C D E
one two three four
a b 10.0032 5 -0.5109 -2.3358 -0.4645 0.05076 0.3640
a q 20 4 0.4473 1.4152 0.2834 1.00661 0.1744
x q 30 3 -0.6662 -0.5243 -0.3580 0.89145 2.5838"""
In [4]: pd.read_table(StringIO(text), sep='\s+', engine='python')
Out[4]:
E
one two three four
a b 10.0032 5 0.3640
q 20.0000 4 0.1744
x q 30.0000 3 2.5838
[3 rows x 1 columns]
```
(the C parser doesn't make it this far, see #6893)
This PR fixes the bug in the python parser:
``` python
In [4]: pd.read_table(StringIO(text), sep='\s+', engine='python')
Out[4]:
A B C D E
one two three four
a b 10.0032 5 -0.5109 -2.3358 -0.4645 0.05076 0.3640
q 20.0000 4 0.4473 1.4152 0.2834 1.00661 0.1744
x q 30.0000 3 -0.6662 -0.5243 -0.3580 0.89145 2.5838
[3 rows x 5 columns]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7029/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7029/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7029.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7029",
"merged_at": "2014-05-06T18:02:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7029.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7029"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7030 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7030/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7030/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7030/events | https://github.com/pandas-dev/pandas/issues/7030 | 32,754,375 | MDU6SXNzdWUzMjc1NDM3NQ== | 7,030 | ENH: Add a Parser to read fixed-width ASCII data using a data description file or dictionary file | {
"avatar_url": "https://avatars.githubusercontent.com/u/1882093?v=4",
"events_url": "https://api.github.com/users/AllenDowney/events{/privacy}",
"followers_url": "https://api.github.com/users/AllenDowney/followers",
"following_url": "https://api.github.com/users/AllenDowney/following{/other_user}",
"gists_url": "https://api.github.com/users/AllenDowney/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AllenDowney",
"id": 1882093,
"login": "AllenDowney",
"node_id": "MDQ6VXNlcjE4ODIwOTM=",
"organizations_url": "https://api.github.com/users/AllenDowney/orgs",
"received_events_url": "https://api.github.com/users/AllenDowney/received_events",
"repos_url": "https://api.github.com/users/AllenDowney/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AllenDowney/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AllenDowney/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AllenDowney"
} | [
{
"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": "e99695",
"default": false,
"description": "read_fwf",
"id": 1728902385,
"name": "IO Fixed Width",
"node_id": "MDU6TGFiZWwxNzI4OTAyMzg1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Fixed%20Width"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 5 | 2014-05-03T20:28:08Z | 2019-12-22T16:55:36Z | 2019-12-22T16:55:35Z | CONTRIBUTOR | null | As an example, I would like to be able to read a dataset like this one:
http://www.cdc.gov/nchs/nsfg/nsfg_cycle6.htm
The data files themselves are ASCII with fixed-width fields. The variables names, types, and indices are in a separate data description file, available for SAS, SPSS and STATA. I would like to add a parser that reads at least one of these description files and then parses the data file. Since two files are used, it might require changes in the Parser API.
I am happy to write a parser that reads the dictionary file and then the data file. I could use help with either setting up the new parser ahead of time or (after the fact) integrating my code with the existing structure.
Also, is there a preference for the SAS, SPSS, or Stata format?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7030/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7030/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7031 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7031/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7031/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7031/events | https://github.com/pandas-dev/pandas/issues/7031 | 32,763,531 | MDU6SXNzdWUzMjc2MzUzMQ== | 7,031 | `Nan` in the multi index get cast into string after a subtraction | {
"avatar_url": "https://avatars.githubusercontent.com/u/666504?v=4",
"events_url": "https://api.github.com/users/alphaho/events{/privacy}",
"followers_url": "https://api.github.com/users/alphaho/followers",
"following_url": "https://api.github.com/users/alphaho/following{/other_user}",
"gists_url": "https://api.github.com/users/alphaho/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alphaho",
"id": 666504,
"login": "alphaho",
"node_id": "MDQ6VXNlcjY2NjUwNA==",
"organizations_url": "https://api.github.com/users/alphaho/orgs",
"received_events_url": "https://api.github.com/users/alphaho/received_events",
"repos_url": "https://api.github.com/users/alphaho/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alphaho/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alphaho/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alphaho"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
]
| closed | false | null | []
| {
"closed_at": "2014-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"
} | 6 | 2014-05-04T07:37:49Z | 2017-06-08T11:14:01Z | 2017-06-08T11:13:39Z | NONE | null | related #6322
Hi,
I've found this accidentally that after the subtraction between `df1` and `df2`, the `nan` in the multi index has turned to a `string` rather than the original `float` type. And it's also weird that this issue only happens with the `parse_dates` set to `False`.
The following is the code to reproduce:
``` python
import StringIO
from pandas import DataFrame
index = ['ID', 'Index']
input1 = '''"value","ID","Index"
"0.0","B9",""
"0.0","B",""
'''
input2 = '''"value","ID","Index"
"1.5375969","M","Blah"
'''
df1 = DataFrame.from_csv(StringIO.StringIO(input1), index_col=index, parse_dates=False)
df2 = DataFrame.from_csv(StringIO.StringIO(input2), index_col=index, parse_dates=False)
## The following two lines can work as expected
#df1 = DataFrame.from_csv(file1, index_col=index, )
#df2 = DataFrame.from_csv(file2, index_col=index, )
diff = df2['value'] - df1['value']
print diff.index[0], diff.index[1] # => ('B', 'nan') ('B9', 'nan')
print df1.index[0], df1.index[1] # => ('B9', nan) ('B', nan)
```
versions of pandas and it's dependencies:
```
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.5.final.0
python-bits: 64
OS: Darwin
OS-release: 13.1.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: zh_HK.UTF-8
pandas: 0.13.1
Cython: None
numpy: 1.8.1
scipy: None
statsmodels: None
IPython: 1.1.0
sphinx: None
patsy: None
scikits.timeseries: None
dateutil: 2.2
pytz: 2014.2
bottleneck: None
tables: None
numexpr: None
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
sqlalchemy: None
lxml: None
bs4: None
html5lib: None
bq: None
apiclient: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7031/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7031/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7032 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7032/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7032/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7032/events | https://github.com/pandas-dev/pandas/issues/7032 | 32,776,276 | MDU6SXNzdWUzMjc3NjI3Ng== | 7,032 | read_html infers wrong datatype | {
"avatar_url": "https://avatars.githubusercontent.com/u/4936155?v=4",
"events_url": "https://api.github.com/users/LetterRip/events{/privacy}",
"followers_url": "https://api.github.com/users/LetterRip/followers",
"following_url": "https://api.github.com/users/LetterRip/following{/other_user}",
"gists_url": "https://api.github.com/users/LetterRip/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/LetterRip",
"id": 4936155,
"login": "LetterRip",
"node_id": "MDQ6VXNlcjQ5MzYxNTU=",
"organizations_url": "https://api.github.com/users/LetterRip/orgs",
"received_events_url": "https://api.github.com/users/LetterRip/received_events",
"repos_url": "https://api.github.com/users/LetterRip/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/LetterRip/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LetterRip/subscriptions",
"type": "User",
"url": "https://api.github.com/users/LetterRip"
} | [
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "006b75",
"default": false,
"description": "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": "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"
} | 10 | 2014-05-04T20:38:00Z | 2014-07-28T13:24:39Z | 2014-07-28T13:24:39Z | NONE | null | As can be seen in the below code, column 3, 8, 9, and 10 were misinterpreted as datetime objects. Columns 1, 6 and 7 should be integer. How do I force the columns to be interpreted as the proper type? Only 2, 4, 5 and 11 appear to have been read properly. I can pass 'infer_types=False' I suppose and do manual conversion afterwards, but since infer_types is going away, this won't work.
```
In [63]: import pandas as pd
In [64]: path = r"http://en.wikipedia.org/wiki/List_of_U.S._states_and_territories_by_population"
In [65]: tables = pd.read_html(path)
In [66]: df = tables[1]
In [67]: df.head()
Out[67]:
1 2 3 4 5 6 7 8 \
1 !000001 California NaT 37253956 33871648 !000053 !000055 NaT
2 !000002 Texas NaT 25145561 20851820 !000036 !000038 NaT
3 !000003 New York 1965-11-27 19378102 18976457 !000027 !000029 NaT
4 !000004 Florida NaT 18801310 15982378 !000027 !000029 NaT
5 !000005 Illinois NaT 12830632 12419293 !000018 !000020 NaT
9 10 11
1 NaT NaT 11.91%
2 NaT NaT 8.04%
3 NaT NaT 6.19%
4 NaT NaT 6.01%
5 NaT NaT 4.10%
[5 rows x 11 columns]
dtype: object
In [68]: df.dtypes
Out[68]:
1 object
2 object
3 datetime64[ns]
4 object
5 object
6 object
7 object
8 datetime64[ns]
9 datetime64[ns]
10 datetime64[ns]
11 object
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/7032/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7032/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7033 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7033/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7033/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7033/events | https://github.com/pandas-dev/pandas/pull/7033 | 32,777,682 | MDExOlB1bGxSZXF1ZXN0MTU0NzU4MjE= | 7,033 | API: Allow groupby's by to take column and index names [WIP] | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 13 | 2014-05-04T21:46:30Z | 2017-04-05T02:08:43Z | 2015-05-09T16:08:38Z | CONTRIBUTOR | null | closes https://github.com/pydata/pandas/issues/5677
As a reminder, with a data frame like:
``` python
from itertools import cycle, islice
np.random.seed(0)
df = pd.DataFrame(np.random.randn(20, 2))
df.columns = ["foo","bar"]
df['g0'] = list(islice(cycle('ab'), 20))
df['g1'] = ['a'] * 10 + ['b'] * 10
df['g2'] = ['c'] * 5 + ['d'] * 5 + ['c'] * 5 + ['d'] * 5
df = df.set_index(['g1', 'g2'])
```
Before if you wanted to groupby a a column and index level, you'd have to
``` python
g = df.reset_index().groupby(['g0', 'g1'])
```
Now you can just do `df.groupby(['g0', 'g1'])`. In ambiguous cases where a there's a key in `by` that's in both the index names and columns we warn and proceed with grouping by the columns (I haven't tested this part yet).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7033/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7033/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7033.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7033",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/7033.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7033"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7034 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7034/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7034/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7034/events | https://github.com/pandas-dev/pandas/pull/7034 | 32,779,900 | MDExOlB1bGxSZXF1ZXN0MTU0NzY1NDA= | 7,034 | TST: nose.SkipTest on RemoteDataErrors in tests for io.data.Options | {
"avatar_url": "https://avatars.githubusercontent.com/u/5957850?v=4",
"events_url": "https://api.github.com/users/davidastephens/events{/privacy}",
"followers_url": "https://api.github.com/users/davidastephens/followers",
"following_url": "https://api.github.com/users/davidastephens/following{/other_user}",
"gists_url": "https://api.github.com/users/davidastephens/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidastephens",
"id": 5957850,
"login": "davidastephens",
"node_id": "MDQ6VXNlcjU5NTc4NTA=",
"organizations_url": "https://api.github.com/users/davidastephens/orgs",
"received_events_url": "https://api.github.com/users/davidastephens/received_events",
"repos_url": "https://api.github.com/users/davidastephens/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidastephens/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidastephens/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidastephens"
} | [
{
"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"
} | 3 | 2014-05-04T23:08:12Z | 2014-06-16T05:08:36Z | 2014-05-05T10:00:59Z | CONTRIBUTOR | null | Prevents tests from failing if data isn't able to be downloaded from Yahoo Finance.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7034/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7034/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7034.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7034",
"merged_at": "2014-05-05T10:00:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7034.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7034"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7035 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7035/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7035/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7035/events | https://github.com/pandas-dev/pandas/pull/7035 | 32,780,042 | MDExOlB1bGxSZXF1ZXN0MTU0NzY2MDI= | 7,035 | ENH/BUG: boxplot now supports layout | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2014-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"
} | 15 | 2014-05-04T23:16:27Z | 2014-06-14T11:21:40Z | 2014-05-10T16:16:08Z | MEMBER | null | Closes #6769. Added `layout` kw to `boxplot`. I think tests can be improved if boxplot can return ndarray with the same shape as layout, as the same manner as hist (maybe after #4472).
## Bug fix
It includes the fix to hide unnecessary axes than required in boxplot and hist. For example, `layout=(2, 2)` is specified for 3 subplots. I've listed affected cases as below.
```
import pandas as pd
import numpy as np
df = pd.DataFrame({'3g': 'A A A B B B C C C'.split(),
'2g': [1, 2, 1, 2, 1, 2, 1, 2, 2],
'values': np.random.rand(9),
'values2': np.random.rand(9),
'values3': np.random.rand(9)})
# BoxPlot
# specify 3 columns with by keyword -> should be 3 axes in (2, 2) layout
df.boxplot(column=['values', 'values2', 'values3'], by='2g')
# groupby results in 3 groups -> should be 3 axes
df.groupby('3g').boxplot()
# groupby results in 3 groups, with column kw -> should be 3 axes in (2, 2) layout
df.groupby('3g').boxplot(column=['values', 'values2', 'values3'])
# Histogram
# specify 3 columns without by kw -> should be 3 axes in (2, 2) layout
df.hist(column=['values', 'values2', 'values3'])
# groupby results 3 groups results of by kw -> should be 3 axes in (2, 2) layout
df.hist(column=['values'], by='3g')
# This results KeyError: '3g' in current master, and the error has been fixed.
# groupby results in 3 groups -> should be 3 axes in (2, 2) layout
df.hist(by='3g')
# layout contains more size than groups -> should be 2 axes in specified layout
df.hist(by='2g', layout=(2, 2))
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7035/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7035/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7035.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7035",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/7035.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7035"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7036 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7036/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7036/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7036/events | https://github.com/pandas-dev/pandas/pull/7036 | 32,782,189 | MDExOlB1bGxSZXF1ZXN0MTU0Nzc2Mzc= | 7,036 | TST/CLN: centralize common validation methods in test_graphics | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "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"
} | 4 | 2014-05-05T01:15:25Z | 2014-07-16T09:04:29Z | 2014-05-11T18:05:56Z | MEMBER | null | Create base class for plotting related test, and organized data creation and validation 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/7036/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7036/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7036.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7036",
"merged_at": "2014-05-11T18:05:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7036.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7036"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7037 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7037/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7037/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7037/events | https://github.com/pandas-dev/pandas/issues/7037 | 32,785,597 | MDU6SXNzdWUzMjc4NTU5Nw== | 7,037 | fully deprecate read_html infer_types argument in 0.14 | {
"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": "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": "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 | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
]
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 4 | 2014-05-05T03:44:37Z | 2014-05-05T13:50:55Z | 2014-05-05T13:50:55Z | MEMBER | null | xref: #7032
really just remove the parameter's effect (no signature change) ... but give a _full_ removal warning for 0.15
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7037/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7037/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7038 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7038/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7038/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7038/events | https://github.com/pandas-dev/pandas/pull/7038 | 32,786,180 | MDExOlB1bGxSZXF1ZXN0MTU0Nzk1Njc= | 7,038 | BUG: DatetimeIndex cannot parse string ndarray with dayfirst | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 8 | 2014-05-05T04:12:11Z | 2014-07-16T09:04:30Z | 2014-05-10T11:32:16Z | MEMBER | null | Closes #5917.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7038/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7038/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7038.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7038",
"merged_at": "2014-05-10T11:32:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7038.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7038"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7039 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7039/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7039/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7039/events | https://github.com/pandas-dev/pandas/issues/7039 | 32,798,369 | MDU6SXNzdWUzMjc5ODM2OQ== | 7,039 | NWK: any remaining network fails on builds - pls report | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "e4a5f1",
"default": false,
"description": "Local or Cloud (AWS, GCS, etc.) IO Issues",
"id": 49381477,
"name": "IO Network",
"node_id": "MDU6TGFiZWw0OTM4MTQ3Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Network"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 0 | 2014-05-05T10:02:54Z | 2014-05-12T12:37:23Z | 2014-05-12T12:37:23Z | CONTRIBUTOR | null | https://github.com/pydata/pandas/pull/7034
should have closed all the io/data get options data failures..
if you see other ones pls report 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/7039/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7039/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7040 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7040/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7040/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7040/events | https://github.com/pandas-dev/pandas/pull/7040 | 32,801,806 | MDExOlB1bGxSZXF1ZXN0MTU0ODgxMTA= | 7,040 | PERF: optimize Index.delete for dtype=object | {
"avatar_url": "https://avatars.githubusercontent.com/u/579798?v=4",
"events_url": "https://api.github.com/users/immerrr/events{/privacy}",
"followers_url": "https://api.github.com/users/immerrr/followers",
"following_url": "https://api.github.com/users/immerrr/following{/other_user}",
"gists_url": "https://api.github.com/users/immerrr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/immerrr",
"id": 579798,
"login": "immerrr",
"node_id": "MDQ6VXNlcjU3OTc5OA==",
"organizations_url": "https://api.github.com/users/immerrr/orgs",
"received_events_url": "https://api.github.com/users/immerrr/received_events",
"repos_url": "https://api.github.com/users/immerrr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/immerrr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/immerrr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/immerrr"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 3 | 2014-05-05T11:18:41Z | 2014-06-16T01:51:43Z | 2014-05-05T13:27:58Z | CONTRIBUTOR | null | This should close #6933.
The downside of this patch is that we'll lose type inference that might change index type in rare occasions when index items have different dtypes. This is the same issue that occurred in #6440, and it was ruled out as infrequent and worth dropping for extra performance.
Note though, that the benchmark results are not exactly what I've expected:
``` python
In [39]: idx = tm.makeStringIndex(100000)
In [40]: timeit idx.delete(-1)
1000 loops, best of 3: 1.46 ms per loop
In [41]: timeit np.delete(idx, -1)
1000 loops, best of 3: 1.05 ms per loop
```
The result is faster, but not as fast as I'd expect. This is probably because of object refcounting overhead, because MultiIndex fares a lot better with its Categorial-like implementation:
``` python
In [42]: midx = pd.MultiIndex.from_product([[0], idx])
# <..snip..>
In [45]: timeit midx.delete(-1)
1000 loops, best of 3: 225 µs per loop
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7040/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7040/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7040.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7040",
"merged_at": "2014-05-05T13:27:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7040.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7040"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7041 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7041/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7041/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7041/events | https://github.com/pandas-dev/pandas/pull/7041 | 32,802,969 | MDExOlB1bGxSZXF1ZXN0MTU0ODg3Nzk= | 7,041 | BUG: unstack fails in PeriodIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "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": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
]
| closed | false | null | []
| {
"closed_at": "2014-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"
} | 9 | 2014-05-05T11:45:58Z | 2014-06-28T15:35:06Z | 2014-05-10T15:32:36Z | MEMBER | null | Closes #4342.
Also changed `Categorical` and `PeriodIndex.factorize` to make index sorted like other indexes 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/7041/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7041/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7041.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7041",
"merged_at": "2014-05-10T15:32:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7041.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7041"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7042 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7042/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7042/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7042/events | https://github.com/pandas-dev/pandas/pull/7042 | 32,803,170 | MDExOlB1bGxSZXF1ZXN0MTU0ODg4OTE= | 7,042 | TST: clean skipping tests in test_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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "0052cc",
"default": false,
"description": "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 | 2014-05-05T11:50:26Z | 2014-07-16T09:04:36Z | 2014-05-05T11:50:40Z | CONTRIBUTOR | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7042/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7042/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7042.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7042",
"merged_at": "2014-05-05T11:50:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7042.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7042"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/7043 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7043/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7043/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7043/events | https://github.com/pandas-dev/pandas/pull/7043 | 32,805,800 | MDExOlB1bGxSZXF1ZXN0MTU0OTAyNTg= | 7,043 | ENH/BUG: partial string indexing with PeriodIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 5 | 2014-05-05T12:39:57Z | 2014-06-17T01:47:00Z | 2014-05-13T14:29:35Z | MEMBER | null | Closes #6716.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7043/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7043/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7043.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7043",
"merged_at": "2014-05-13T14:29:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7043.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7043"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7044 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7044/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7044/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7044/events | https://github.com/pandas-dev/pandas/pull/7044 | 32,805,988 | MDExOlB1bGxSZXF1ZXN0MTU0OTAzNjg= | 7,044 | API: update nth to use the _set_selection_from_grouper makes first==nth(0) and last==nth(-1) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 7 | 2014-05-05T12:43:30Z | 2014-07-16T09:04:40Z | 2014-05-12T12:41:17Z | CONTRIBUTOR | null | closes #6732
`nth` sets the index appropriately and the same as first/last.
this becomes less like head/tail in that `as_index` determines when you have an index
here's the revised behavior:
```
In [1]: df = DataFrame([[1, np.nan], [1, 4], [5, 6]], columns=['A', 'B'])
In [3]: df
Out[3]:
A B
0 1 NaN
1 1 4
2 5 6
[3 rows x 2 columns]
In [2]: g = df.groupby('A')
In [9]: gni = df.groupby('A',as_index=False)
```
```
In [5]: g.first()
Out[5]:
B
A
1 4
5 6
[2 rows x 1 columns]
# this was a regression from 0.13.1 (in that before this PR, this was returning like ``as_index=False``)
In [6]: g.nth(0)
Out[6]:
B
A
1 NaN
5 6
[2 rows x 1 columns]
In [7]: g.nth(0,dropna='all')
Out[7]:
B
A
1 4
5 6
[2 rows x 1 columns]
```
```
In [10]: gni.nth(0)
Out[10]:
A B
0 1 NaN
2 5 6
[2 rows x 2 columns]
In [11]: gni.nth(0,dropna='all')
Out[11]:
A B
0 1 4
1 5 6
[2 rows x 2 columns]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7044/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7044/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7044.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7044",
"merged_at": "2014-05-12T12:41:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7044.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7044"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7045 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7045/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7045/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7045/events | https://github.com/pandas-dev/pandas/issues/7045 | 32,822,587 | MDU6SXNzdWUzMjgyMjU4Nw== | 7,045 | VIS: Warn when a user passes an ignored argument | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "f2f074",
"default": false,
"description": "Warnings that appear or should be added to pandas",
"id": 1628184320,
"name": "Warnings",
"node_id": "MDU6TGFiZWwxNjI4MTg0MzIw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Warnings"
}
]
| 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"
} | 2 | 2014-05-05T16:20:06Z | 2021-04-11T04:32:37Z | null | CONTRIBUTOR | null | So the plot method is quite... flexible (bloated). This does give great flexibility for quickly plotting stuff, but not all args make sense for every kind of plot. Some plots (for example PiePlot) will ignore arguments like `logx` since it doesn't make any sense. This case is obviously nonsense, so it probably won't happen, but it would be nice to decorate the `_args_adjust` methods to warn when arguments are being ignored / adjusted if the user has explicitly changed them from the defaults. I should be able to do this one.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7045/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7045/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7046 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7046/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7046/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7046/events | https://github.com/pandas-dev/pandas/pull/7046 | 32,839,444 | MDExOlB1bGxSZXF1ZXN0MTU1MTAwOTY= | 7,046 | DOC: Add parameter to docstring | {
"avatar_url": "https://avatars.githubusercontent.com/u/296164?v=4",
"events_url": "https://api.github.com/users/jseabold/events{/privacy}",
"followers_url": "https://api.github.com/users/jseabold/followers",
"following_url": "https://api.github.com/users/jseabold/following{/other_user}",
"gists_url": "https://api.github.com/users/jseabold/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jseabold",
"id": 296164,
"login": "jseabold",
"node_id": "MDQ6VXNlcjI5NjE2NA==",
"organizations_url": "https://api.github.com/users/jseabold/orgs",
"received_events_url": "https://api.github.com/users/jseabold/received_events",
"repos_url": "https://api.github.com/users/jseabold/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jseabold/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jseabold/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jseabold"
} | []
| closed | false | null | []
| null | 1 | 2014-05-05T19:54:13Z | 2014-06-28T15:35:13Z | 2014-05-05T21:04:26Z | CONTRIBUTOR | null | I just kinda guessed what `precision` does.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7046/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7046/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7046.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7046",
"merged_at": "2014-05-05T21:04:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7046.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7046"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7047 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7047/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7047/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7047/events | https://github.com/pandas-dev/pandas/pull/7047 | 32,842,528 | MDExOlB1bGxSZXF1ZXN0MTU1MTE4NTY= | 7,047 | DOC: Small typo | {
"avatar_url": "https://avatars.githubusercontent.com/u/1630128?v=4",
"events_url": "https://api.github.com/users/jsexauer/events{/privacy}",
"followers_url": "https://api.github.com/users/jsexauer/followers",
"following_url": "https://api.github.com/users/jsexauer/following{/other_user}",
"gists_url": "https://api.github.com/users/jsexauer/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jsexauer",
"id": 1630128,
"login": "jsexauer",
"node_id": "MDQ6VXNlcjE2MzAxMjg=",
"organizations_url": "https://api.github.com/users/jsexauer/orgs",
"received_events_url": "https://api.github.com/users/jsexauer/received_events",
"repos_url": "https://api.github.com/users/jsexauer/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jsexauer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jsexauer/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jsexauer"
} | []
| closed | false | null | []
| null | 1 | 2014-05-05T20:29:06Z | 2014-07-16T09:04:45Z | 2014-05-05T21:07:18Z | CONTRIBUTOR | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7047/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7047/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7047.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7047",
"merged_at": "2014-05-05T21:07:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7047.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7047"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/7048 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7048/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7048/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7048/events | https://github.com/pandas-dev/pandas/issues/7048 | 32,846,119 | MDU6SXNzdWUzMjg0NjExOQ== | 7,048 | read_csv is inefficient for wide tables | {
"avatar_url": "https://avatars.githubusercontent.com/u/3308182?v=4",
"events_url": "https://api.github.com/users/jdavidheiser/events{/privacy}",
"followers_url": "https://api.github.com/users/jdavidheiser/followers",
"following_url": "https://api.github.com/users/jdavidheiser/following{/other_user}",
"gists_url": "https://api.github.com/users/jdavidheiser/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jdavidheiser",
"id": 3308182,
"login": "jdavidheiser",
"node_id": "MDQ6VXNlcjMzMDgxODI=",
"organizations_url": "https://api.github.com/users/jdavidheiser/orgs",
"received_events_url": "https://api.github.com/users/jdavidheiser/received_events",
"repos_url": "https://api.github.com/users/jdavidheiser/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jdavidheiser/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jdavidheiser/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jdavidheiser"
} | [
{
"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": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| closed | false | null | []
| {
"closed_at": 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 | 2014-05-05T21:13:02Z | 2016-01-07T19:56:31Z | 2016-01-07T19:56:31Z | NONE | null | I was loading some relatively large CSV files (roughly three hundred by one million), and noticed that the layout of those CSVs is actually critical to Pandas' ability to read them to memory. A "wide" format uses large amounts of memory and takes an extremely long time to run (killed the process after a half hour). The exact same data, but presented in a "tall" format (ie 300 columns and one million rows) reads within about sixty seconds. Given there is no sort of "warning" message regarding the number of columns when reading the CSV file, I could easily see this confusing a new user and leading them to believe that Pandas is simply unable to handle that volume of data, when in fact it can, given that the data is formatted correctly. Perhaps some broader documentation on wide vs tall inputs would be appropriate.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7048/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7048/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7049 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7049/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7049/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7049/events | https://github.com/pandas-dev/pandas/issues/7049 | 32,853,360 | MDU6SXNzdWUzMjg1MzM2MA== | 7,049 | Week Start/End Resamping: WS/WE frequencies | {
"avatar_url": "https://avatars.githubusercontent.com/u/1403768?v=4",
"events_url": "https://api.github.com/users/quasiben/events{/privacy}",
"followers_url": "https://api.github.com/users/quasiben/followers",
"following_url": "https://api.github.com/users/quasiben/following{/other_user}",
"gists_url": "https://api.github.com/users/quasiben/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/quasiben",
"id": 1403768,
"login": "quasiben",
"node_id": "MDQ6VXNlcjE0MDM3Njg=",
"organizations_url": "https://api.github.com/users/quasiben/orgs",
"received_events_url": "https://api.github.com/users/quasiben/received_events",
"repos_url": "https://api.github.com/users/quasiben/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/quasiben/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/quasiben/subscriptions",
"type": "User",
"url": "https://api.github.com/users/quasiben"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
},
{
"color": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
]
| 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"
} | 20 | 2014-05-05T22:54:07Z | 2021-04-11T04:33:43Z | null | NONE | null | There are a number of offset aliases listed here:
http://pandas.pydata.org/pandas-docs/dev/timeseries.html#offset-aliases
I'm currently trying to resample a timeseries where the buckets are return with the beginning and/or end of the week. There are a number of Start Month/End Month frequency aliases. Am I missing something or should we include Week End/Week Start resampling aliases as well?
| {
"+1": 3,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7049/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7049/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7050 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7050/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7050/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7050/events | https://github.com/pandas-dev/pandas/issues/7050 | 32,854,617 | MDU6SXNzdWUzMjg1NDYxNw== | 7,050 | Subtract Timestamp from DatetimeIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/3414802?v=4",
"events_url": "https://api.github.com/users/pzakielarz/events{/privacy}",
"followers_url": "https://api.github.com/users/pzakielarz/followers",
"following_url": "https://api.github.com/users/pzakielarz/following{/other_user}",
"gists_url": "https://api.github.com/users/pzakielarz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pzakielarz",
"id": 3414802,
"login": "pzakielarz",
"node_id": "MDQ6VXNlcjM0MTQ4MDI=",
"organizations_url": "https://api.github.com/users/pzakielarz/orgs",
"received_events_url": "https://api.github.com/users/pzakielarz/received_events",
"repos_url": "https://api.github.com/users/pzakielarz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pzakielarz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pzakielarz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pzakielarz"
} | [
{
"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": "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": "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": "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"
} | 6 | 2014-05-05T23:16:21Z | 2014-10-30T04:10:53Z | 2014-10-30T04:10:53Z | NONE | null | A TypeError is raised when attempting to subtract a Timestamp from a DatetimeIndex when the result of the subtraction is zero.
```
dr = pd.date_range('20140101', freq='S', periods=11)
zero = dr[5]
diff = dr - zero
```
raises a TypeError, however,
```
diff = [i - zero for i in dr]
```
produces the desired list of timedelta objects.
```
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.6.final.0
python-bits: 64
OS: Darwin
OS-release: 12.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.13.1
Cython: 0.20.1
numpy: 1.8.0
scipy: 0.13.3
statsmodels: None
IPython: 2.0.0
sphinx: 1.2.2
patsy: None
scikits.timeseries: None
dateutil: 2.2
pytz: 2013.9
bottleneck: 0.6.0
tables: 3.1.1
numexpr: 2.1
matplotlib: 1.3.1
openpyxl: None
xlrd: 0.9.2
xlwt: None
xlsxwriter: None
sqlalchemy: None
lxml: None
bs4: None
html5lib: None
bq: None
apiclient: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7050/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7050/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7051 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7051/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7051/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7051/events | https://github.com/pandas-dev/pandas/issues/7051 | 32,865,435 | MDU6SXNzdWUzMjg2NTQzNQ== | 7,051 | Performance issue with DataFrame.to_csv() | {
"avatar_url": "https://avatars.githubusercontent.com/u/69774?v=4",
"events_url": "https://api.github.com/users/michaelaye/events{/privacy}",
"followers_url": "https://api.github.com/users/michaelaye/followers",
"following_url": "https://api.github.com/users/michaelaye/following{/other_user}",
"gists_url": "https://api.github.com/users/michaelaye/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/michaelaye",
"id": 69774,
"login": "michaelaye",
"node_id": "MDQ6VXNlcjY5Nzc0",
"organizations_url": "https://api.github.com/users/michaelaye/orgs",
"received_events_url": "https://api.github.com/users/michaelaye/received_events",
"repos_url": "https://api.github.com/users/michaelaye/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/michaelaye/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michaelaye/subscriptions",
"type": "User",
"url": "https://api.github.com/users/michaelaye"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "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 | []
| null | 11 | 2014-05-06T04:27:42Z | 2014-05-10T00:27:22Z | 2014-05-06T12:02:24Z | CONTRIBUTOR | null | I have a performance issue that I discovered by noticing that 173 MB sized CSV files take quite a while to write out (I have to write many of them). The io profiler I use is `iotop` that indicated that my write rate was a meager 9 MB/s while the raid I am writing to supports up to 20 times that, as I have confirmed with a pure `open(fname,'w').write(longstring)`.
Here's info on the dataframe:
``` python
In [17]: df.info()
<class 'pandas.core.frame.DataFrame'>
Int64Index: 590604 entries, 0 to 590603
Data columns (total 36 columns):
jdate 590604 non-null float64
orbit 590604 non-null int64
sundist 590604 non-null float64
sunlat 590604 non-null float64
sunlon 590604 non-null float64
sclk 590604 non-null float64
sclat 590604 non-null float64
sclon 590604 non-null float64
scrad 590604 non-null float64
scalt 590604 non-null float64
el_cmd 590604 non-null float64
az_cmd 590604 non-null float64
af 590604 non-null float64
orientlat 590604 non-null float64
orientlon 590604 non-null float64
det 590604 non-null int64
vlookx 590604 non-null float64
vlooky 590604 non-null float64
qge 590604 non-null float64
clat 183036 non-null float64
csunzen 183036 non-null float64
qca 590604 non-null float64
vlookz 590604 non-null float64
clon 183036 non-null float64
cloctime 183036 non-null float64
csunazi 183036 non-null float64
cemis 183036 non-null float64
tb 590604 non-null float64
radiance 590604 non-null float64
hour 590604 non-null int64
minute 590604 non-null int64
second 590604 non-null float64
year 590604 non-null int64
month 590604 non-null int64
date 590604 non-null int64
c 590604 non-null int64
dtypes: float64(28), int64(8)
```
and here's the output of a profiling run:
``` bash
In [16]: %prun df.to_csv()
2969486 function calls in 19.916 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
213 16.523 0.078 18.138 0.085 {pandas.lib.write_csv_rows}
590605 1.101 0.000 1.616 0.000 StringIO.py:208(write)
427 0.980 0.002 0.980 0.002 {pandas.lib.isnullobj}
593811 0.279 0.000 0.284 0.000 {isinstance}
854 0.221 0.000 0.221 0.000 {numpy.core.multiarray.array}
640 0.180 0.000 0.180 0.000 {method 'tolist' of 'numpy.ndarray' objects}
213 0.168 0.001 19.784 0.093 format.py:1283(_save_chunk)
590606 0.084 0.000 0.084 0.000 StringIO.py:38(_complain_ifclosed)
590605 0.082 0.000 0.082 0.000 {method 'append' of 'list' objects}
1 0.082 0.082 0.082 0.082 {method 'join' of 'str' objects}
590821 0.074 0.000 0.074 0.000 {len}
213 0.048 0.000 1.198 0.006 internals.py:1041(to_native_types)
1 0.043 0.043 0.124 0.124 StringIO.py:258(getvalue)
640 0.013 0.000 1.001 0.002 common.py:202(_isnull_ndarraylike)
213 0.009 0.000 0.250 0.001 internals.py:420(to_native_types)
1 0.004 0.004 19.788 19.788 format.py:1265(_save)
2134 0.004 0.000 0.005 0.000 {getattr}
640 0.003 0.000 1.011 0.002 common.py:132(_isnull_new)
1 0.002 0.002 19.916 19.916 decorators.py:47(wrapper)
214 0.002 0.000 0.023 0.000 index.py:821(_format_native_types)
213 0.002 0.000 0.004 0.000 index.py:694(__getitem__)
853 0.002 0.000 0.003 0.000 numeric.py:1810(isscalar)
214 0.002 0.000 0.029 0.000 index.py:814(to_native_types)
1280 0.002 0.000 0.004 0.000 common.py:58(_check)
427 0.002 0.000 0.002 0.000 {numpy.core.multiarray.empty}
640 0.001 0.000 0.004 0.000 {pandas.lib.isscalar}
427 0.001 0.000 0.001 0.000 {method 'reshape' of 'numpy.ndarray' objects}
213 0.001 0.000 0.001 0.000 index.py:245(__array_finalize__)
640 0.000 0.000 1.012 0.002 common.py:111(isnull)
1 0.000 0.000 19.916 19.916 <string>:1(<module>)
427 0.000 0.000 0.000 0.000 {method 'ravel' of 'numpy.ndarray' objects}
213 0.000 0.000 0.000 0.000 index.py:207(_reset_identity)
426 0.000 0.000 0.000 0.000 internals.py:93(mgr_locs)
214 0.000 0.000 0.001 0.000 numeric.py:392(asarray)
213 0.000 0.000 0.000 0.000 {min}
214 0.000 0.000 0.001 0.000 index.py:432(values)
1 0.000 0.000 0.000 0.000 format.py:948(__init__)
1 0.000 0.000 19.913 19.913 frame.py:1069(to_csv)
1 0.000 0.000 19.788 19.788 format.py:1149(save)
1 0.000 0.000 0.000 0.000 format.py:1187(_save_header)
1 0.000 0.000 0.000 0.000 {method 'writerow' of '_csv.writer' objects}
3 0.000 0.000 0.000 0.000 format.py:1027(<genexpr>)
1 0.000 0.000 0.000 0.000 {_csv.writer}
1 0.000 0.000 0.000 0.000 StringIO.py:54(__init__)
1 0.000 0.000 0.000 0.000 {sum}
2 0.000 0.000 0.000 0.000 internals.py:171(shape)
1 0.000 0.000 0.000 0.000 {hasattr}
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
1 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
1 0.000 0.000 0.000 0.000 index.py:345(nlevels)
1 0.000 0.000 0.000 0.000 {method 'pop' of 'dict' objects}
```
Note that above time of about 20 seconds is only the conversion to a string, which seems to be the longest part.
For completeness, here's the profile when writing the file:
``` bash
In [19]: %prun df.to_csv('/raid1/maye/rdr_out/test_write_speed.csv')
16458 function calls in 18.126 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
213 16.447 0.077 16.447 0.077 {pandas.lib.write_csv_rows}
427 0.979 0.002 0.979 0.002 {pandas.lib.isnullobj}
854 0.182 0.000 0.182 0.000 {numpy.core.multiarray.array}
213 0.167 0.001 18.029 0.085 format.py:1283(_save_chunk)
640 0.159 0.000 0.159 0.000 {method 'tolist' of 'numpy.ndarray' objects}
1 0.059 0.059 0.059 0.059 {method 'close' of 'file' objects}
213 0.048 0.000 1.137 0.005 internals.py:1041(to_native_types)
1 0.032 0.032 0.032 0.032 {open}
640 0.013 0.000 1.000 0.002 common.py:202(_isnull_ndarraylike)
213 0.009 0.000 0.249 0.001 internals.py:420(to_native_types)
1 0.004 0.004 18.033 18.033 format.py:1265(_save)
3205 0.004 0.000 0.008 0.000 {isinstance}
2134 0.004 0.000 0.005 0.000 {getattr}
640 0.003 0.000 1.009 0.002 common.py:132(_isnull_new)
214 0.002 0.000 0.023 0.000 index.py:821(_format_native_types)
213 0.002 0.000 0.004 0.000 index.py:694(__getitem__)
214 0.002 0.000 0.029 0.000 index.py:814(to_native_types)
853 0.002 0.000 0.003 0.000 numeric.py:1810(isscalar)
1280 0.002 0.000 0.004 0.000 common.py:58(_check)
427 0.001 0.000 0.001 0.000 {numpy.core.multiarray.empty}
640 0.001 0.000 0.003 0.000 {pandas.lib.isscalar}
427 0.001 0.000 0.001 0.000 {method 'reshape' of 'numpy.ndarray' objects}
1 0.001 0.001 18.126 18.126 decorators.py:47(wrapper)
213 0.001 0.000 0.001 0.000 index.py:245(__array_finalize__)
640 0.000 0.000 1.009 0.002 common.py:111(isnull)
427 0.000 0.000 0.000 0.000 {method 'ravel' of 'numpy.ndarray' objects}
213 0.000 0.000 0.000 0.000 index.py:207(_reset_identity)
426 0.000 0.000 0.000 0.000 internals.py:93(mgr_locs)
214 0.000 0.000 0.001 0.000 numeric.py:392(asarray)
213 0.000 0.000 0.000 0.000 {min}
214 0.000 0.000 0.001 0.000 index.py:432(values)
215 0.000 0.000 0.000 0.000 {len}
1 0.000 0.000 18.125 18.125 format.py:1149(save)
1 0.000 0.000 0.000 0.000 format.py:948(__init__)
1 0.000 0.000 18.125 18.125 frame.py:1069(to_csv)
1 0.000 0.000 0.000 0.000 {method 'writerow' of '_csv.writer' objects}
1 0.000 0.000 0.000 0.000 format.py:1187(_save_header)
1 0.000 0.000 0.000 0.000 {_csv.writer}
3 0.000 0.000 0.000 0.000 format.py:1027(<genexpr>)
1 0.000 0.000 18.126 18.126 <string>:1(<module>)
1 0.000 0.000 0.032 0.032 common.py:2336(_get_handle)
1 0.000 0.000 0.000 0.000 {sum}
2 0.000 0.000 0.000 0.000 internals.py:171(shape)
1 0.000 0.000 0.000 0.000 {hasattr}
1 0.000 0.000 0.000 0.000 index.py:345(nlevels)
1 0.000 0.000 0.000 0.000 {method 'pop' of 'dict' objects}
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
1 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
```
Pandas version: ['0.13.1-769-gf26cf9e'](f26cf9e) , running on a 64-bit CentOS6.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7051/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7051/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7052 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7052/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7052/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7052/events | https://github.com/pandas-dev/pandas/issues/7052 | 32,875,614 | MDU6SXNzdWUzMjg3NTYxNA== | 7,052 | Hierarchical reindexing with NaN in index | {
"avatar_url": "https://avatars.githubusercontent.com/u/1550888?v=4",
"events_url": "https://api.github.com/users/Marigold/events{/privacy}",
"followers_url": "https://api.github.com/users/Marigold/followers",
"following_url": "https://api.github.com/users/Marigold/following{/other_user}",
"gists_url": "https://api.github.com/users/Marigold/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Marigold",
"id": 1550888,
"login": "Marigold",
"node_id": "MDQ6VXNlcjE1NTA4ODg=",
"organizations_url": "https://api.github.com/users/Marigold/orgs",
"received_events_url": "https://api.github.com/users/Marigold/received_events",
"repos_url": "https://api.github.com/users/Marigold/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Marigold/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Marigold/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Marigold"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
]
| closed | false | null | []
| {
"closed_at": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 1 | 2014-05-06T08:59:35Z | 2014-05-06T10:14:52Z | 2014-05-06T10:14:52Z | NONE | null | related #6322
dupe of #7031
I'm on 0.13.1, don't know if this is already fixed on master, but haven't found any issues about this. If I you have `NaN` value in MultiIndex, reindexing will fill the first value from reindexed series to all `NaN` indices. Perhaps an example will clarify it
Code:
``` python
import pandas as pd
import numpy as np
ix = pd.MultiIndex.from_tuples([('a',np.nan)], names=['col1', 'col2'])
pd.Series([1], index=[1]).reindex(ix, level=1)
```
Output:
```
col1 col2
a NaN 1
```
Desired output:
```
col1 col2
a NaN NaN
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7052/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7052/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7053 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7053/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7053/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7053/events | https://github.com/pandas-dev/pandas/issues/7053 | 32,886,238 | MDU6SXNzdWUzMjg4NjIzOA== | 7,053 | ENH: add nlargest/nsmallest to Series groupby | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
]
| 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"
} | 2 | 2014-05-06T12:04:58Z | 2016-10-12T23:04:49Z | 2014-06-09T03:00:56Z | CONTRIBUTOR | null | see #5534
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7053/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7053/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7054 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7054/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7054/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7054/events | https://github.com/pandas-dev/pandas/pull/7054 | 32,892,898 | MDExOlB1bGxSZXF1ZXN0MTU1NDA4ODk= | 7,054 | DOC: cleanup vis docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 3 | 2014-05-06T13:39:00Z | 2017-04-05T02:08:36Z | 2014-05-06T14:22:31Z | CONTRIBUTOR | null | DOC: Give KDE a section header
DOC: remove extra slice in hexbin example
DOC: move notes to look nicer
A few changes that came up in https://github.com/pydata/pandas/pull/7027
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7054/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7054/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7054.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7054",
"merged_at": "2014-05-06T14:22:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7054.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7054"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7055 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7055/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7055/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7055/events | https://github.com/pandas-dev/pandas/pull/7055 | 32,894,958 | MDExOlB1bGxSZXF1ZXN0MTU1NDIxMTc= | 7,055 | ENH: use size instead of cythonized count for fallback cases | {
"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": "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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
]
| closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
]
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 12 | 2014-05-06T14:02:58Z | 2014-07-16T09:04:47Z | 2014-05-08T17:55:21Z | MEMBER | null | - use size instead of cythonized count for integer case since we cannot have
`nan` in that case
- not faster perf wise
- compilation time is shorter because count has no int templates except for
dates and times
- any precision issues (don't think there were any) with other integer types are gone, since only `int64` is compared with dates, whereas lower precision integers use `size`.
Anywho, here's the vbench results for this PR vs master:
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
groupby_int_count | 4.0247 | 4.0337 | 0.9978 |
groupby_multi_count | 7.5080 | 7.4813 | 1.0036 |
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7055/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7055/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7055.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7055",
"merged_at": "2014-05-08T17:55:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7055.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7055"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7056 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7056/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7056/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7056/events | https://github.com/pandas-dev/pandas/issues/7056 | 32,894,990 | MDU6SXNzdWUzMjg5NDk5MA== | 7,056 | to_excel can't handle index with time zones | {
"avatar_url": "https://avatars.githubusercontent.com/u/2857308?v=4",
"events_url": "https://api.github.com/users/sboehler/events{/privacy}",
"followers_url": "https://api.github.com/users/sboehler/followers",
"following_url": "https://api.github.com/users/sboehler/following{/other_user}",
"gists_url": "https://api.github.com/users/sboehler/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sboehler",
"id": 2857308,
"login": "sboehler",
"node_id": "MDQ6VXNlcjI4NTczMDg=",
"organizations_url": "https://api.github.com/users/sboehler/orgs",
"received_events_url": "https://api.github.com/users/sboehler/received_events",
"repos_url": "https://api.github.com/users/sboehler/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sboehler/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sboehler/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sboehler"
} | [
{
"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": "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": "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"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
]
| closed | false | null | []
| {
"closed_at": 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"
} | 17 | 2014-05-06T14:03:16Z | 2019-06-29T20:54:28Z | 2019-06-29T20:54:28Z | NONE | null | Hi
Something is wrong when trying to save a dataframe with tz-aware timestamps to xlsx, using pd.Dataframe.to_excel:
``` Python
df = pd.DataFrame([1], index=[pd.Timestamp('2014-05-02', tz='CET')])
df.to_excel('test.xlsx')
```
yields an exception on my system:
```
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-2-4e18a4be2a71> in <module>()
----> 1 df.to_excel('test.xlsx')
/home/silvio/prod34/lib/python3.4/site-packages/pandas/core/frame.py in to_excel(self, excel_writer, sheet_name, na_rep, float_format, cols, header, index, index_label, startrow, startcol, engine, merge_cells)
1202 formatted_cells = formatter.get_formatted_cells()
1203 excel_writer.write_cells(formatted_cells, sheet_name,
-> 1204 startrow=startrow, startcol=startcol)
1205 if need_save:
1206 excel_writer.save()
/home/silvio/prod34/lib/python3.4/site-packages/pandas/io/excel.py in write_cells(self, cells, sheet_name, startrow, startcol)
771 wks.write(startrow + cell.row,
772 startcol + cell.col,
--> 773 cell.val, style)
774
775 def _convert_to_style(self, style_dict, num_format_str=None):
/home/silvio/prod34/lib/python3.4/site-packages/xlsxwriter/worksheet.py in cell_wrapper(self, *args, **kwargs)
55 if len(args):
56 int(args[0])
---> 57 return method(self, *args, **kwargs)
58 except ValueError:
59 # First arg isn't an int, convert to A1 notation.
/home/silvio/prod34/lib/python3.4/site-packages/xlsxwriter/worksheet.py in write(self, row, col, *args)
374 # Write datetime objects.
375 if isinstance(token, date_types):
--> 376 return self.write_datetime(row, col, *args)
377
378 # Write number types.
/home/silvio/prod34/lib/python3.4/site-packages/xlsxwriter/worksheet.py in cell_wrapper(self, *args, **kwargs)
55 if len(args):
56 int(args[0])
---> 57 return method(self, *args, **kwargs)
58 except ValueError:
59 # First arg isn't an int, convert to A1 notation.
/home/silvio/prod34/lib/python3.4/site-packages/xlsxwriter/worksheet.py in write_datetime(self, row, col, date, cell_format)
666
667 # Convert datetime to an Excel date.
--> 668 number = self._convert_date_time(date)
669
670 # Add the default date format.
/home/silvio/prod34/lib/python3.4/site-packages/xlsxwriter/worksheet.py in _convert_date_time(self, dt_obj)
3265 def _convert_date_time(self, dt_obj):
3266 # Convert a datetime object to an Excel serial date and time.
-> 3267 return datetime_to_excel_datetime(dt_obj, self.date_1904)
3268
3269 def _options_changed(self):
/home/silvio/prod34/lib/python3.4/site-packages/xlsxwriter/utility.py in datetime_to_excel_datetime(dt_obj, date_1904)
577
578 # Convert a Python datetime.datetime value to an Excel date number.
--> 579 delta = dt_obj - epoch
580 excel_time = (delta.days
581 + (float(delta.seconds)
/home/silvio/prod34/lib/python3.4/site-packages/pandas/tslib.cpython-34m.so in pandas.tslib._Timestamp.__sub__ (pandas/tslib.c:11918)()
TypeError: can't subtract offset-naive and offset-aware datetimes
```
Using Python 3.4.0 on Arch Linux, list of installed packages:
```
~% pip freeze
Cython==0.20.1
Jinja2==2.7.2
MarkupSafe==0.21
Pygments==1.6
SQLAlchemy==0.9.4
XlsxWriter==0.5.3
ecdsa==0.11
ipdb==0.8
ipython==2.0.0
ipython-sql==0.3.1
lxml==3.3.5
matplotlib==1.3.1
mysql-connector-python==1.1.6
nose==1.3.1
numpy==1.8.1
openpyxl==1.8.5
pandas==0.13.1
paramiko==1.13.0
patsy==0.2.1
prettytable==0.7.2
psycopg2==2.5.2
pycrypto==2.6.1
pyodbc==3.0.7
pyparsing==2.0.2
python-dateutil==2.2
pytz==2014.2
requests==2.2.1
scipy==0.13.3
six==1.6.1
sqlparse==0.1.11
statsmodels==0.6.0
tornado==3.2
xlrd==0.9.3
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7056/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7056/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7057 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7057/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7057/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7057/events | https://github.com/pandas-dev/pandas/issues/7057 | 32,902,286 | MDU6SXNzdWUzMjkwMjI4Ng== | 7,057 | Apply Functions to Inner Dict in Groupby | {
"avatar_url": "https://avatars.githubusercontent.com/u/2454080?v=4",
"events_url": "https://api.github.com/users/calben/events{/privacy}",
"followers_url": "https://api.github.com/users/calben/followers",
"following_url": "https://api.github.com/users/calben/following{/other_user}",
"gists_url": "https://api.github.com/users/calben/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/calben",
"id": 2454080,
"login": "calben",
"node_id": "MDQ6VXNlcjI0NTQwODA=",
"organizations_url": "https://api.github.com/users/calben/orgs",
"received_events_url": "https://api.github.com/users/calben/received_events",
"repos_url": "https://api.github.com/users/calben/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/calben/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/calben/subscriptions",
"type": "User",
"url": "https://api.github.com/users/calben"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
]
| closed | false | null | []
| null | 7 | 2014-05-06T15:16:25Z | 2014-05-16T17:48:39Z | 2014-05-16T17:48:39Z | NONE | null | I have a problem where I need to use the value of the column by which a grouped dataframe is transformed.
The code is a complicated case of the following, where column are labelled by instances of a Python class:
```
# group by a value in the column instance
per_column = results.groupby(lambda x : x.value, 1)
for k, v in per_column:
v = v.apply(function(k, v))
```
Basically, a transformation for a group needs to consider both the value of the index by which the frame is grouped and the dataframe itself.
This works, but the grouped object's values aren't actually changed, so I have to load them into a new dictionary.
Is this possible creating a new dictionary (that I then can't really converted into a grouped 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/7057/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7057/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7058 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7058/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7058/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7058/events | https://github.com/pandas-dev/pandas/issues/7058 | 32,908,566 | MDU6SXNzdWUzMjkwODU2Ng== | 7,058 | DataFrame.to_panel() method throws MemoryError when number of rows per item varies greatly | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | []
| closed | false | null | []
| null | 8 | 2014-05-06T16:23:50Z | 2014-05-06T19:51:23Z | 2014-05-06T19:51:23Z | NONE | null | Ipython 64, pandas installed with pip, 16 gb ram with sizable swap.
The following seems to replicate the issue I have with my data:
``` python
import pandas as pd
import numpy as np
pdf = pd.DataFrame(np.random.rand(600000,25), columns = list('abcdefghijklmnopqrstuvwxy'))
sample=np.random.rand(900)
for i in range(100):
pdf['a'][np.random.randint(0,600000)]=np.random.choice(sample)
pdf=pdf.set_index(['a','b'])
p=pdf.to_panel()
```
throws:
``` python
MemoryError Traceback (most recent call last)
<ipython-input-120-f97286b2b93a> in <module>()
----> 1 p=pdf.to_panel()
/home/user1/.pyenv/versions/theano/lib/python2.7/site-packages/pandas/core/frame.pyc in to_panel(self)
1051 newb = block2d_to_blocknd(block.values.T, block.items, shape,
1052 [major_labels, minor_labels],
-> 1053 ref_items=selfsorted.columns)
1054 new_blocks.append(newb)
1055
/home/user1/.pyenv/versions/theano/lib/python2.7/site-packages/pandas/core/reshape.pyc in block2d_to_blocknd(values, items, shape, labels, ref_items)
1034 # labels, for converting to panel format.
1035 selector = factor_indexer(shape[1:], labels)
-> 1036 mask = np.zeros(np.prod(shape), dtype=bool)
1037 mask.put(selector, True)
1038
MemoryError:
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7058/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7058/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7059 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7059/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7059/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7059/events | https://github.com/pandas-dev/pandas/issues/7059 | 32,918,352 | MDU6SXNzdWUzMjkxODM1Mg== | 7,059 | BUG: max_colwidth controls data, not headers | {
"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": "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"
}
]
| 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"
} | 3 | 2014-05-06T18:16:36Z | 2015-03-06T00:42:13Z | null | CONTRIBUTOR | null | https://github.com/statsmodels/statsmodels/issues/1584
So should do _something_ with the headers (maybe do a '....')
```
In [2]: df = DataFrame(1,index=range(2),columns=['short','really long'])
In [3]: df
Out[3]:
short really long
0 1 1
1 1 1
[2 rows x 2 columns]
In [6]: with pd.option_context('display.max_colwidth',5):
...: print(df)
...:
short really long
0 1 1
1 1 1
[2 rows x 2 columns]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7059/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7059/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7060 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7060/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7060/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7060/events | https://github.com/pandas-dev/pandas/pull/7060 | 32,935,447 | MDExOlB1bGxSZXF1ZXN0MTU1NjY3MjQ= | 7,060 | Remove tzinfo from datetime before writing cell with xlsxwriter | {
"avatar_url": "https://avatars.githubusercontent.com/u/2857308?v=4",
"events_url": "https://api.github.com/users/sboehler/events{/privacy}",
"followers_url": "https://api.github.com/users/sboehler/followers",
"following_url": "https://api.github.com/users/sboehler/following{/other_user}",
"gists_url": "https://api.github.com/users/sboehler/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sboehler",
"id": 2857308,
"login": "sboehler",
"node_id": "MDQ6VXNlcjI4NTczMDg=",
"organizations_url": "https://api.github.com/users/sboehler/orgs",
"received_events_url": "https://api.github.com/users/sboehler/received_events",
"repos_url": "https://api.github.com/users/sboehler/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sboehler/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sboehler/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sboehler"
} | [
{
"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": "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"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
]
| closed | false | null | []
| null | 3 | 2014-05-06T21:34:21Z | 2014-08-22T12:01:02Z | 2014-08-22T12:00:52Z | NONE | null | fixes #7056
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7060/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7060/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7060.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7060",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/7060.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7060"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7061 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7061/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7061/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7061/events | https://github.com/pandas-dev/pandas/issues/7061 | 32,941,334 | MDU6SXNzdWUzMjk0MTMzNA== | 7,061 | Unicode handling in `to_latex`. Needs encoding? | {
"avatar_url": "https://avatars.githubusercontent.com/u/296164?v=4",
"events_url": "https://api.github.com/users/jseabold/events{/privacy}",
"followers_url": "https://api.github.com/users/jseabold/followers",
"following_url": "https://api.github.com/users/jseabold/following{/other_user}",
"gists_url": "https://api.github.com/users/jseabold/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jseabold",
"id": 296164,
"login": "jseabold",
"node_id": "MDQ6VXNlcjI5NjE2NA==",
"organizations_url": "https://api.github.com/users/jseabold/orgs",
"received_events_url": "https://api.github.com/users/jseabold/received_events",
"repos_url": "https://api.github.com/users/jseabold/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jseabold/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jseabold/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jseabold"
} | [
{
"color": "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": "444444",
"default": false,
"description": "Unicode strings",
"id": 36380025,
"name": "Unicode",
"node_id": "MDU6TGFiZWwzNjM4MDAyNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode"
},
{
"color": "006b75",
"default": false,
"description": "to_latex",
"id": 251382258,
"name": "IO LaTeX",
"node_id": "MDU6TGFiZWwyNTEzODIyNTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX"
}
]
| closed | false | null | []
| {
"closed_at": "2016-03-12T16:19:08Z",
"closed_issues": 469,
"created_at": "2015-07-19T20:18:45Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2016-03-13T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/36",
"id": 1214851,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36/labels",
"node_id": "MDk6TWlsZXN0b25lMTIxNDg1MQ==",
"number": 36,
"open_issues": 0,
"state": "closed",
"title": "0.18.0",
"updated_at": "2016-12-06T21:34:41Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36"
} | 10 | 2014-05-06T23:00:35Z | 2016-01-15T16:24:52Z | 2016-01-15T16:24:52Z | CONTRIBUTOR | null | I can't seem to get this one to work and `to_latex` doesn't allow a user-specified encoding. I think this might need a look.
I have it in unicode, so try that way.
```
pd.DataFrame([[u'au\xdfgangen']]).to_latex('test.tex')
```
Nope. Ok, so let's encode it as a utf-8 string
```
pd.DataFrame([[u'au\xdfgangen']]).apply(lambda x : x.str.encode('utf-8')).to_latex('test.tex')
```
Nope. It looks like it's getting coerced back to unicode in formatter._to_str_columns() then tries to write it as ASCII...
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7061/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7061/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7062 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7062/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7062/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7062/events | https://github.com/pandas-dev/pandas/pull/7062 | 32,981,359 | MDExOlB1bGxSZXF1ZXN0MTU1OTI5MjY= | 7,062 | DOC: One more cleanup on visualization.rst | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | []
| closed | false | null | []
| null | 1 | 2014-05-07T12:44:27Z | 2014-07-16T09:04:50Z | 2014-05-07T13:14:48Z | CONTRIBUTOR | null | Followup to https://github.com/pydata/pandas/pull/7054
DOC: fix formatting on plot formattting
DOC: add KDE to other plots
more bits of formatting
Thanks for catching these
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7062/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7062/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7062.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7062",
"merged_at": "2014-05-07T13:14:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7062.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7062"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7063 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7063/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7063/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7063/events | https://github.com/pandas-dev/pandas/pull/7063 | 33,015,733 | MDExOlB1bGxSZXF1ZXN0MTU2MTQzMTU= | 7,063 | Added dropna to docstring for HDFStore.put() | {
"avatar_url": "https://avatars.githubusercontent.com/u/417058?v=4",
"events_url": "https://api.github.com/users/davidljung/events{/privacy}",
"followers_url": "https://api.github.com/users/davidljung/followers",
"following_url": "https://api.github.com/users/davidljung/following{/other_user}",
"gists_url": "https://api.github.com/users/davidljung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidljung",
"id": 417058,
"login": "davidljung",
"node_id": "MDQ6VXNlcjQxNzA1OA==",
"organizations_url": "https://api.github.com/users/davidljung/orgs",
"received_events_url": "https://api.github.com/users/davidljung/received_events",
"repos_url": "https://api.github.com/users/davidljung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidljung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidljung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidljung"
} | [
{
"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": "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": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 2 | 2014-05-07T19:17:37Z | 2014-05-07T19:27:30Z | 2014-05-07T19:27:30Z | CONTRIBUTOR | null | HDFStore.put() method accepts dropna boolean parameter as it is passed
directly to the internal _write_to_group() method, but it was not
explicitly documented (as it is for append).
Just added 2 lines to the put() method docstring to mention it explicitly.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7063/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7063/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7063.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7063",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/7063.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7063"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7064 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7064/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7064/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7064/events | https://github.com/pandas-dev/pandas/pull/7064 | 33,016,663 | MDExOlB1bGxSZXF1ZXN0MTU2MTQ4ODc= | 7,064 | Added dropna to docstring for HDFStore.put() | {
"avatar_url": "https://avatars.githubusercontent.com/u/417058?v=4",
"events_url": "https://api.github.com/users/davidljung/events{/privacy}",
"followers_url": "https://api.github.com/users/davidljung/followers",
"following_url": "https://api.github.com/users/davidljung/following{/other_user}",
"gists_url": "https://api.github.com/users/davidljung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidljung",
"id": 417058,
"login": "davidljung",
"node_id": "MDQ6VXNlcjQxNzA1OA==",
"organizations_url": "https://api.github.com/users/davidljung/orgs",
"received_events_url": "https://api.github.com/users/davidljung/received_events",
"repos_url": "https://api.github.com/users/davidljung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidljung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidljung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidljung"
} | [
{
"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": "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": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 6 | 2014-05-07T19:29:10Z | 2014-07-16T09:04:52Z | 2014-05-08T14:25:49Z | CONTRIBUTOR | null | HDFStore.put() method accepts dropna boolean parameter as it is passed
directly to the internal _write_to_group() method, but it was not
explicitly documented (as it is for append). Also settable via option.
Just added 2 lines to the put() method docstring to mention it explicitly - copied from append()
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7064/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7064/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7064.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7064",
"merged_at": "2014-05-08T14:25:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7064.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7064"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7065 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7065/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7065/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7065/events | https://github.com/pandas-dev/pandas/issues/7065 | 33,021,873 | MDU6SXNzdWUzMzAyMTg3Mw== | 7,065 | DEPR: seems numpy is deprecating object array bool comparison w/nan in 1.9 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
]
| closed | false | null | []
| {
"closed_at": "2014-11-09T12:33:59Z",
"closed_issues": 86,
"created_at": "2014-10-30T11:12:13Z",
"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.0 of course",
"due_on": "2014-11-09T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/31",
"id": 846460,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels",
"node_id": "MDk6TWlsZXN0b25lODQ2NDYw",
"number": 31,
"open_issues": 0,
"state": "closed",
"title": "0.15.1",
"updated_at": "2014-11-09T12:33:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31"
} | 5 | 2014-05-07T20:32:34Z | 2014-10-30T11:19:43Z | 2014-10-10T01:17:56Z | CONTRIBUTOR | null | related:
#8509
https://github.com/pydata/pandas/pull/5283
https://github.com/numpy/numpy/issues/4685
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7065/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7065/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7066 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7066/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7066/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7066/events | https://github.com/pandas-dev/pandas/issues/7066 | 33,024,171 | MDU6SXNzdWUzMzAyNDE3MQ== | 7,066 | Index.isin() always True for nans | {
"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": "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": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 6 | 2014-05-07T21:00:13Z | 2016-10-12T23:04:50Z | 2014-05-08T12:39:13Z | CONTRIBUTOR | null | This looks like a regression to me, the following code used to print `[ True]`, which I think is the correct behaviour, but prints `[False]` in recent development versions (0.13.1.dev).
```
import numpy as np
import pandas as pd
i = pd.Index([np.nan])
print i.isin({0}) # prints [ True], should be [False]
```
I do not think the following is relevant but just in case:
```
>>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.6.final.0
python-bits: 64
OS: Linux
OS-release: 3.13.0-24-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: es_ES.UTF-8
pandas: 0.13.1.dev
nose: 1.3.1
Cython: None
numpy: 1.8.1
scipy: 0.13.3
statsmodels: 0.6.0.dev-Unknown
IPython: 3.0.0-dev
sphinx: None
patsy: 0.2.1
scikits.timeseries: None
dateutil: 1.5
pytz: 2012c
bottleneck: 0.8.0
tables: 3.1.1
numexpr: 2.2.2
matplotlib: 1.3.1
openpyxl: 1.7.0
xlrd: 0.9.2
xlwt: 0.7.5
xlsxwriter: 0.5.2
lxml: 3.3.3
bs4: 4.2.1
html5lib: 0.999
bq: None
apiclient: None
rpy2: None
sqlalchemy: None
pymysql: None
psycopg2: 2.4.5 (dt dec mx pq3 ext)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7066/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7066/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7067 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7067/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7067/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7067/events | https://github.com/pandas-dev/pandas/issues/7067 | 33,027,071 | MDU6SXNzdWUzMzAyNzA3MQ== | 7,067 | datetime64 changes | {
"avatar_url": "https://avatars.githubusercontent.com/u/526173?v=4",
"events_url": "https://api.github.com/users/RayVR/events{/privacy}",
"followers_url": "https://api.github.com/users/RayVR/followers",
"following_url": "https://api.github.com/users/RayVR/following{/other_user}",
"gists_url": "https://api.github.com/users/RayVR/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/RayVR",
"id": 526173,
"login": "RayVR",
"node_id": "MDQ6VXNlcjUyNjE3Mw==",
"organizations_url": "https://api.github.com/users/RayVR/orgs",
"received_events_url": "https://api.github.com/users/RayVR/received_events",
"repos_url": "https://api.github.com/users/RayVR/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/RayVR/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RayVR/subscriptions",
"type": "User",
"url": "https://api.github.com/users/RayVR"
} | []
| closed | false | null | []
| null | 3 | 2014-05-07T21:35:28Z | 2014-05-07T21:45:30Z | 2014-05-07T21:44:06Z | NONE | null | In [40]: bnds.date[1]
Out[40]: Timestamp('2000-02-17 00:00:00', tz=None)
In [41]: tmp = bnds.date.values[1]
In [42]: tmp
Out[42]: numpy.datetime64('2000-02-16T19:00:00.000000000-0500')
In [43]: tmp.astype('datetime64[D]')
Out[43]: numpy.datetime64('2000-02-17')
Anyone know why Out[42] is February 16? I'm quite confused and the documentation on numpy site doesn't seem to explain this issue.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7067/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7067/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7068 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7068/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7068/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7068/events | https://github.com/pandas-dev/pandas/pull/7068 | 33,029,770 | MDExOlB1bGxSZXF1ZXN0MTU2MjMyNTU= | 7,068 | BUG: PEBKAC bug in Float64Index | {
"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": "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/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
]
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 9 | 2014-05-07T22:09:43Z | 2014-07-16T09:04:53Z | 2014-05-08T12:39:13Z | MEMBER | null | closes #7066
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7068/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7068/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7068.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7068",
"merged_at": "2014-05-08T12:39:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7068.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7068"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7069 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7069/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7069/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7069/events | https://github.com/pandas-dev/pandas/issues/7069 | 33,032,534 | MDU6SXNzdWUzMzAzMjUzNA== | 7,069 | ENH: Allow passing multiple axes as df.boxplot's `ax` argument | {
"avatar_url": "https://avatars.githubusercontent.com/u/1460294?v=4",
"events_url": "https://api.github.com/users/onesandzeroes/events{/privacy}",
"followers_url": "https://api.github.com/users/onesandzeroes/followers",
"following_url": "https://api.github.com/users/onesandzeroes/following{/other_user}",
"gists_url": "https://api.github.com/users/onesandzeroes/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/onesandzeroes",
"id": 1460294,
"login": "onesandzeroes",
"node_id": "MDQ6VXNlcjE0NjAyOTQ=",
"organizations_url": "https://api.github.com/users/onesandzeroes/orgs",
"received_events_url": "https://api.github.com/users/onesandzeroes/received_events",
"repos_url": "https://api.github.com/users/onesandzeroes/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/onesandzeroes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/onesandzeroes/subscriptions",
"type": "User",
"url": "https://api.github.com/users/onesandzeroes"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 2 | 2014-05-07T22:53:11Z | 2014-08-19T17:09:15Z | 2014-08-19T17:09:15Z | CONTRIBUTOR | null | As discussed in #6991. At the moment with `ax` accepting a single axis you cannot map a multi-axis boxplot onto existing axes, but we could allow `ax` to be an array of axes. Would require:
- Checking that the number of axes passed is equal to the number of axes the boxplot
wants to produce.
- Some documentation to make clear whether the axes get used in row or column order
(or maybe it could support two-dimensional arrays of axes?)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7069/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7069/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7070 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7070/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7070/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7070/events | https://github.com/pandas-dev/pandas/issues/7070 | 33,036,913 | MDU6SXNzdWUzMzAzNjkxMw== | 7,070 | Create Holiday Calendar for NYSE Stock Market | {
"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"
}
]
| 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"
} | 39 | 2014-05-08T00:10:29Z | 2018-02-09T11:56:21Z | 2018-02-09T11:56:20Z | CONTRIBUTOR | null | Using new code in #6719
See: http://www.nyx.com/holidays-and-hours/nyse
and with some guidlines: http://www.investmentcontrarians.com/nyse-2013-stock-market-holidays/
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7070/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7070/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7071 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7071/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7071/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7071/events | https://github.com/pandas-dev/pandas/issues/7071 | 33,056,985 | MDU6SXNzdWUzMzA1Njk4NQ== | 7,071 | ENH: add regex to pandas.DataFrame.isin function (possible speed up?) | {
"avatar_url": "https://avatars.githubusercontent.com/u/6316732?v=4",
"events_url": "https://api.github.com/users/ccsv/events{/privacy}",
"followers_url": "https://api.github.com/users/ccsv/followers",
"following_url": "https://api.github.com/users/ccsv/following{/other_user}",
"gists_url": "https://api.github.com/users/ccsv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ccsv",
"id": 6316732,
"login": "ccsv",
"node_id": "MDQ6VXNlcjYzMTY3MzI=",
"organizations_url": "https://api.github.com/users/ccsv/orgs",
"received_events_url": "https://api.github.com/users/ccsv/received_events",
"repos_url": "https://api.github.com/users/ccsv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ccsv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ccsv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ccsv"
} | [
{
"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": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
]
| closed | false | null | []
| null | 6 | 2014-05-08T06:10:59Z | 2018-07-05T19:49:21Z | 2014-05-09T13:27:29Z | NONE | null | I think it would be nice if regex were compatible with `pandas.DataFrame.isin`.
Lets say I am inputting the way snakes attack in a dataframe df I would tagging a column `df['Attack method']` using a list `poison` and a list `squeeze` to check if there are matches in `df[Genus]`
```
df['Attack method'] = (df.Genus.isin(poison).map({True:'Poison',False:''}) +
df.Genus.isin(squeeze).map({True:'Squeeze',False:''}))
```
If I was using Regex I would have to somehow get rid of the user warning
```
UserWarning: This pattern has match groups. To actually get the groups, use str.extract. " groups, use str.extract.", UserWarning
```
and create for loops like this:
```
for i in range(len(poison)):
df.loc[df.Genus.str.contains(poison[i]) & (df.Attack method == ''),'Attack method'] = 'Poison'
for i in range(len(squeeze)):
df.loc[df.Genus.str.contains(squeeze[i]) & (df.Attack method == ''),'Attack method'] = 'Squeeze'
```
unless there are other ways I missed out?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7071/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7071/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7072 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7072/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7072/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7072/events | https://github.com/pandas-dev/pandas/issues/7072 | 33,058,118 | MDU6SXNzdWUzMzA1ODExOA== | 7,072 | truncation issue with pd.read_csv | {
"avatar_url": "https://avatars.githubusercontent.com/u/431865?v=4",
"events_url": "https://api.github.com/users/nnaman/events{/privacy}",
"followers_url": "https://api.github.com/users/nnaman/followers",
"following_url": "https://api.github.com/users/nnaman/following{/other_user}",
"gists_url": "https://api.github.com/users/nnaman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nnaman",
"id": 431865,
"login": "nnaman",
"node_id": "MDQ6VXNlcjQzMTg2NQ==",
"organizations_url": "https://api.github.com/users/nnaman/orgs",
"received_events_url": "https://api.github.com/users/nnaman/received_events",
"repos_url": "https://api.github.com/users/nnaman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nnaman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nnaman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nnaman"
} | [
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
]
| closed | false | null | []
| {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 5 | 2014-05-08T06:37:07Z | 2019-12-31T15:04:45Z | 2019-12-31T15:04:45Z | NONE | null | hi, thank you very much for the awesome pandas tool. I would like to report an issue i noticed and seek guidance on remedial steps. When i store a long integer into a file using pd.to_csv, it stores the data fine - but when i read it back using pd.read_csv, it messes with the last 3 digits. When i try to save it back again using to_csv (without any edits), the numbers in resulting CSV file is different from the original CSV file. I've illustrated the problem below (notice how 4321113141090630389 becomes 4321113141090630400 and 4321583677327450765 becomes 4321583677327450880):
original CSV file created by pd.to_csv:
> > grep -e 321583677327450 -e 321113141090630 orig.piece
> > orig.piece:1,1;0;0;0;1;1;3844;3844;3844;1;1;1;1;1;1;0;0;1;1;0;0,,,4321583677327450765
> > orig.piece:5,1;0;0;0;1;1;843;843;843;1;1;1;1;1;1;0;0;1;1;0;0,64.0,;,4321113141090630389
> >
> > > import pandas as pd
> > > import numpy as np
> > >
> > > orig = pd.read_csv('orig.piece')
> > > orig.dtypes
> > > Unnamed: 0 int64
> > > aa object
> > > act float64
> > > ...
> > > ...
> > > s_act float64
> > > dtype: object
> > > orig['s_act'].head(6)
> > > 0 NaN
> > > 1 4.321584e+18
> > > 2 4.321974e+18
> > > 3 4.321494e+18
> > > 4 4.321283e+18
> > > 5 4.321113e+18
> > > Name: s_act, dtype: float64
> > >
> > > orig['s_act'].fillna(0).astype(int).head(6)
> > > 0 0
> > > 1 4321583677327450880
> > > 2 4321973950881710336
> > > 3 4321493786516159488
> > > 4 4321282586859217408
> > > 5 4321113141090630400
> > >
> > > orig.to_csv('convert.piece')
> >
> > grep -e 321583677327450 -e 321113141090630 orig.piece convert.piece
> > orig.piece:1,1;0;0;0;1;1;3844;3844;3844;1;1;1;1;1;1;0;0;1;1;0;0,,,4321583677327450765
> > orig.piece:5,1;0;0;0;1;1;843;843;843;1;1;1;1;1;1;0;0;1;1;0;0,64.0,;,4321113141090630389
> > convert.piece:1,1;0;0;0;1;1;3844;3844;3844;1;1;1;1;1;1;0;0;1;1;0;0,,,4.321583677327451e+18
> > convert.piece:5,1;0;0;0;1;1;843;843;843;1;1;1;1;1;1;0;0;1;1;0;0,64.0,;,4.3211131410906304e+18
could you please help me understand why read_csv jumbles the last three digits? Its not even a rounding issue, the digits are totally different (like 4321583677327450765 becomes 4321583677327450880 above) Is it because of the scientific notation that comes in the way - how can we disable it and let pandas treat this data as jus object/string or plan integer/float?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7072/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7072/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7073 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7073/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7073/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7073/events | https://github.com/pandas-dev/pandas/issues/7073 | 33,058,921 | MDU6SXNzdWUzMzA1ODkyMQ== | 7,073 | Duplicate entry on Multiindex .loc set | {
"avatar_url": "https://avatars.githubusercontent.com/u/1817552?v=4",
"events_url": "https://api.github.com/users/filmackay/events{/privacy}",
"followers_url": "https://api.github.com/users/filmackay/followers",
"following_url": "https://api.github.com/users/filmackay/following{/other_user}",
"gists_url": "https://api.github.com/users/filmackay/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/filmackay",
"id": 1817552,
"login": "filmackay",
"node_id": "MDQ6VXNlcjE4MTc1NTI=",
"organizations_url": "https://api.github.com/users/filmackay/orgs",
"received_events_url": "https://api.github.com/users/filmackay/received_events",
"repos_url": "https://api.github.com/users/filmackay/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/filmackay/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/filmackay/subscriptions",
"type": "User",
"url": "https://api.github.com/users/filmackay"
} | []
| closed | false | null | []
| null | 3 | 2014-05-08T06:56:58Z | 2014-07-07T15:49:10Z | 2014-07-07T15:49:10Z | NONE | null | ``` python
data = data.sortlevel()
print(data.loc[("STW AU Equity", "2014-04-29"), "split"])
data.loc[("STW AU Equity", "2014-04-29"), "split"] = 1
print(data.loc[("STW AU Equity", "2014-04-29"), "split"])
# result
1.0
symbol date
STW AU Equity 2014-04-29 1
2014-04-29 1
```
Is there something I'm doing wrong, or is Pandas duplicating the value instead of updating it? If there's nothing obvious - I'll break out into a self-contained 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/7073/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7073/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7074 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7074/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7074/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7074/events | https://github.com/pandas-dev/pandas/issues/7074 | 33,061,274 | MDU6SXNzdWUzMzA2MTI3NA== | 7,074 | ExcelWriter does not support BytesIO input | {
"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": "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-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 1 | 2014-05-08T07:47:28Z | 2015-06-20T16:20:11Z | 2015-06-20T16:20:11Z | CONTRIBUTOR | null | At least XlsxWriter supports writing to buffers but the `ExcelWriter` constructors try to read the extension of the supplied `path`, so it fails when you initialise it as `ExcelWriter(buf, engine="xlsxwriter")`.
Currently you can hack that into pandas using
```
b = BytesIO()
w = ExcelWriter("data.xlsx", engine="xlsxwriter")
w.book = xlsxwriter.Workbook(b)
df.to_excel(w)
w.save()
b.getvalue()
```
but it would of course be nice if this just worked out-of-the-box. I'll try to build a PR for 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/7074/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7074/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7075 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7075/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7075/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7075/events | https://github.com/pandas-dev/pandas/pull/7075 | 33,065,144 | MDExOlB1bGxSZXF1ZXN0MTU2MzkxODE= | 7,075 | Fix Xl(sx|wt)Writer always using date_format even if a datetime is supplied. | {
"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": "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": "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": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 6 | 2014-05-08T08:57:46Z | 2015-01-06T14:44:42Z | 2014-05-08T13:38:37Z | CONTRIBUTOR | null | In the `XlsxWriter` and `XlwtWriter` implementations there is a minor bug resulting in the `datetime_format` being discarded (i.e. https://github.com/pydata/pandas/blob/master/pandas/io/excel.py#L662):
```
if isinstance(cell.val, datetime.datetime):
num_format_str = self.datetime_format
if isinstance(cell.val, datetime.date):
num_format_str = self.date_format
```
Since `datetime.datetime` derives from `datetime.date` the second `if`-clause in the will always trigger, leading to the `num_format_str` being overwritten by the `date_format`.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7075/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7075/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7075.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7075",
"merged_at": "2014-05-08T13:38:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7075.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7075"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7076 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7076/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7076/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7076/events | https://github.com/pandas-dev/pandas/pull/7076 | 33,089,659 | MDExOlB1bGxSZXF1ZXN0MTU2NTM0MDY= | 7,076 | FIX sql handling of timedelta64 columns (GH6921) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 7 | 2014-05-08T14:43:56Z | 2014-09-06T09:40:27Z | 2014-05-11T09:55:01Z | MEMBER | null | Closes #6921
Converting to an int was actually also how it was now with sqlite DBAPI fallback (as timedelta64 is subclass of integer), so this solution is also backwards compatible and consistent between sqlalchemy and fallback mode.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7076/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7076/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7076.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7076",
"merged_at": "2014-05-11T09:55:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7076.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7076"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7077 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7077/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7077/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7077/events | https://github.com/pandas-dev/pandas/pull/7077 | 33,089,796 | MDExOlB1bGxSZXF1ZXN0MTU2NTM0ODI= | 7,077 | SQL: resolve legacy mode + deprecate mysql flavor (GH6900) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 3 | 2014-05-08T14:45:34Z | 2016-07-11T12:50:56Z | 2014-05-11T09:54:15Z | MEMBER | null | - removed warning for not using sqlalchemy (as sqlite DBAPI connection is fully supported, no warning needed)
- added deprecation warning for 'mysql' flavor
- removed necessity of providing flavor kwarg (no warning if not provided, assumed to be sqlite3)
- removed `flavor` kwarg from execute and read_sql_query (because a) are not database specific functions + b) would only be needed for mysql, but this will is deprecated so no need to introduce it)
- updated the tests to reflect this
- updated docs and docstrings to reflect that sqlite3 is the only but fully supported DBAPI connection (no 'legacy')
Closes #6900.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7077/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7077/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7077.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7077",
"merged_at": "2014-05-11T09:54:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7077.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7077"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7078 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7078/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7078/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7078/events | https://github.com/pandas-dev/pandas/pull/7078 | 33,112,405 | MDExOlB1bGxSZXF1ZXN0MTU2NjY5MTk= | 7,078 | DOC: Remove newline in @verbatim code-block. | {
"avatar_url": "https://avatars.githubusercontent.com/u/326005?v=4",
"events_url": "https://api.github.com/users/chebee7i/events{/privacy}",
"followers_url": "https://api.github.com/users/chebee7i/followers",
"following_url": "https://api.github.com/users/chebee7i/following{/other_user}",
"gists_url": "https://api.github.com/users/chebee7i/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chebee7i",
"id": 326005,
"login": "chebee7i",
"node_id": "MDQ6VXNlcjMyNjAwNQ==",
"organizations_url": "https://api.github.com/users/chebee7i/orgs",
"received_events_url": "https://api.github.com/users/chebee7i/received_events",
"repos_url": "https://api.github.com/users/chebee7i/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chebee7i/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chebee7i/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chebee7i"
} | [
{
"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 | []
| null | 2 | 2014-05-08T18:55:44Z | 2014-07-16T09:05:01Z | 2014-05-08T19:42:27Z | CONTRIBUTOR | null | This makes the tab-completed code show up in the rendered 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/7078/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7078/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7078.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7078",
"merged_at": "2014-05-08T19:42:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7078.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7078"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7079 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7079/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7079/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7079/events | https://github.com/pandas-dev/pandas/issues/7079 | 33,113,636 | MDU6SXNzdWUzMzExMzYzNg== | 7,079 | BUG: None should be a valid colspec? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1882093?v=4",
"events_url": "https://api.github.com/users/AllenDowney/events{/privacy}",
"followers_url": "https://api.github.com/users/AllenDowney/followers",
"following_url": "https://api.github.com/users/AllenDowney/following{/other_user}",
"gists_url": "https://api.github.com/users/AllenDowney/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AllenDowney",
"id": 1882093,
"login": "AllenDowney",
"node_id": "MDQ6VXNlcjE4ODIwOTM=",
"organizations_url": "https://api.github.com/users/AllenDowney/orgs",
"received_events_url": "https://api.github.com/users/AllenDowney/received_events",
"repos_url": "https://api.github.com/users/AllenDowney/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AllenDowney/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AllenDowney/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AllenDowney"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 10 | 2014-05-08T19:08:43Z | 2014-05-09T00:30:13Z | 2014-05-09T00:30:13Z | CONTRIBUTOR | null | In https://github.com/pydata/pandas/blob/master/pandas/io/parsers.py, the **init** method for FixedWidthReaders checks whether the colspecs are valid. Since None is a value slice index, should it be allowed as a colspec?
This would help me because I don't know the width of the last column until I start reading the file.
```
class FixedWidthReader(object):
"""
A reader of fixed-width lines.
"""
def __init__(self, f, colspecs, delimiter, comment):
self.f = f
self.buffer = None
self.delimiter = '\r\n' + delimiter if delimiter else '\n\r\t '
self.comment = comment
if colspecs == 'infer':
self.colspecs = self.detect_colspecs()
else:
self.colspecs = colspecs
if not isinstance(self.colspecs, (tuple, list)):
raise TypeError("column specifications must be a list or tuple, "
"input was a %r" % type(colspecs).__name__)
for colspec in self.colspecs:
if not (isinstance(colspec, (tuple, list)) and
len(colspec) == 2 and
isinstance(colspec[0], (int, np.integer)) and
isinstance(colspec[1], (int, np.integer))):
raise TypeError('Each column specification must be '
'2 element tuple or list of integers')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7079/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7079/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7080 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7080/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7080/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7080/events | https://github.com/pandas-dev/pandas/issues/7080 | 33,122,207 | MDU6SXNzdWUzMzEyMjIwNw== | 7,080 | comment on numpy/pandas interaction when calling amin() on a pandas DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/2501598?v=4",
"events_url": "https://api.github.com/users/paciorek/events{/privacy}",
"followers_url": "https://api.github.com/users/paciorek/followers",
"following_url": "https://api.github.com/users/paciorek/following{/other_user}",
"gists_url": "https://api.github.com/users/paciorek/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/paciorek",
"id": 2501598,
"login": "paciorek",
"node_id": "MDQ6VXNlcjI1MDE1OTg=",
"organizations_url": "https://api.github.com/users/paciorek/orgs",
"received_events_url": "https://api.github.com/users/paciorek/received_events",
"repos_url": "https://api.github.com/users/paciorek/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/paciorek/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/paciorek/subscriptions",
"type": "User",
"url": "https://api.github.com/users/paciorek"
} | []
| closed | false | null | []
| null | 1 | 2014-05-08T20:46:03Z | 2014-05-08T23:10:20Z | 2014-05-08T23:10:20Z | NONE | null | I noticed the following in tracking down a problem a user of ours encountered. Not sure this is a bug per se and with the caveat that I'm not a Python expert, but I thought I would mention it.
This is occurring with pandas 0.12.0 but given the nature of the issue is probably present in more recent versions.
If a user calls numpy's amin() [or amax()] on a pandas DataFrame, then within amin() the following lines of code will often be called
```
amin = a.min
amin(axis = axis, out = out)
```
The problem is that if the first argument to amin() is a pandas dataframe then the min method for 'a' inside amin() is the pandas dataframe min method, which does not take 'out' as an argument. This is for numpy 1.8.0.
The above issue was disguised somewhat in earlier numpy versions (e.g. 1.6.1) because 'out' was not a named argument, instead the line above was
amin(axis,out)
so in many cases the call to amin() would return a result.
Perhaps users shouldn't be calling amin() or amax() on pandas dataframes but nothing prevents them from doing so, resulting in what is a fairly subtle bug in their code and (at least in later numpy versions) an error message that requires a bit of investigation of the code in amin() to understand.
-Chris
---
Chris Paciorek
Statistical Computing Consultant
Statistical Computing Facility and Econometrics Laboratory
Office: 495 Evans Hall Email: [email protected]
Mailing Address: Voice: 510-842-6670
Department of Statistics Fax: 510-642-7892
367 Evans Hall Skype: cjpaciorek
University of California, Berkeley WWW: www.stat.berkeley.edu/~paciorek
Berkeley, CA 94720 USA Permanent forward: [email protected]
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7080/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7080/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7081 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7081/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7081/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7081/events | https://github.com/pandas-dev/pandas/pull/7081 | 33,124,133 | MDExOlB1bGxSZXF1ZXN0MTU2NzQwMDc= | 7,081 | BUG: read_fwf colspec should treat None like slice | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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"
} | 3 | 2014-05-08T21:08:46Z | 2014-07-16T09:05:02Z | 2014-05-09T00:30:13Z | CONTRIBUTOR | null | Closes https://github.com/pydata/pandas/issues/7079
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7081/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7081/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7081.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7081",
"merged_at": "2014-05-09T00:30:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7081.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7081"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7082 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7082/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7082/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7082/events | https://github.com/pandas-dev/pandas/pull/7082 | 33,126,553 | MDExOlB1bGxSZXF1ZXN0MTU2NzU2MDU= | 7,082 | SQL: datetime writing: add tests + issue with pymysql | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 4 | 2014-05-08T21:40:56Z | 2014-06-17T10:50:08Z | 2014-05-11T10:52:47Z | MEMBER | null | There were apparantly not yet tests for writing datetime data. So added a test case for both query/table.
For MySQL using the pymysql driver, writing a datetime column is not working ... It gives following error:
```
In [65]: import pymysql
In [66]: engine_mysql = sqlalchemy.create_engine('mysql+pymysql://root@localhost/pandas_nosetest')
In [67]: df = pd.DataFrame({'A': pd.date_range('2013-01-01 09:00:00', periods=3),
...: 'B': np.arange(3.0)})
In [68]: df.to_sql('test_datetime', engine_mysql, if_exists='replace')
Traceback (most recent call last):
File "<ipython-input-68-95961c7ce232>", line 1, in <module>
df.to_sql('test_datetime', engine_mysql, if_exists='replace')
...
File "C:\Anaconda\envs\devel\lib\site-packages\pymysql\converters.py", line 24, in escape_item
encoder = encoders[type(val)]
KeyError: <class 'pandas.tslib.Timestamp'>
```
The data are feeded to the database using `df.itertuples()` and then `np.asscalar()`, and apparantly this gives data of the `Timestamp` class. And for some reason the other drivers can handle this (because it is a subclass of datetime.datetime?), and pymysql not. Which is not good...
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7082/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7082/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7082.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7082",
"merged_at": "2014-05-11T10:52:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7082.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7082"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7083 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7083/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7083/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7083/events | https://github.com/pandas-dev/pandas/issues/7083 | 33,131,288 | MDU6SXNzdWUzMzEzMTI4OA== | 7,083 | how to make parallel_coordinates scale each y axis separately and add y-ticks? | {
"avatar_url": "https://avatars.githubusercontent.com/u/995761?v=4",
"events_url": "https://api.github.com/users/kindlychung/events{/privacy}",
"followers_url": "https://api.github.com/users/kindlychung/followers",
"following_url": "https://api.github.com/users/kindlychung/following{/other_user}",
"gists_url": "https://api.github.com/users/kindlychung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kindlychung",
"id": 995761,
"login": "kindlychung",
"node_id": "MDQ6VXNlcjk5NTc2MQ==",
"organizations_url": "https://api.github.com/users/kindlychung/orgs",
"received_events_url": "https://api.github.com/users/kindlychung/received_events",
"repos_url": "https://api.github.com/users/kindlychung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kindlychung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kindlychung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kindlychung"
} | [
{
"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"
}
]
| 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"
} | 8 | 2014-05-08T22:52:22Z | 2021-04-11T04:34:51Z | null | NONE | null | Here is the code:
```
import pandas
import matplotlib.pyplot as plt
from pandas.tools.plotting import parallel_coordinates
import numpy as np
from pandas import DataFrame
mypos = np.random.randint(10, size=(100, 2))
mydata = DataFrame(mypos, columns=['x', 'y'])
myres = np.random.rand(100, 1)
myclass = np.random.randint(3, size=(100, 1))
mydata['res'] = myres
mydata['class'] = myclass
parallel_coordinates(mydata, 'class')
```

Clearly, putting all dependent variables on the same scale is inappropriate 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/7083/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7083/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7084 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7084/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7084/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7084/events | https://github.com/pandas-dev/pandas/issues/7084 | 33,137,805 | MDU6SXNzdWUzMzEzNzgwNQ== | 7,084 | Updating a DataFrame by iteratively indexing into a columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/4460844?v=4",
"events_url": "https://api.github.com/users/Jenders74/events{/privacy}",
"followers_url": "https://api.github.com/users/Jenders74/followers",
"following_url": "https://api.github.com/users/Jenders74/following{/other_user}",
"gists_url": "https://api.github.com/users/Jenders74/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Jenders74",
"id": 4460844,
"login": "Jenders74",
"node_id": "MDQ6VXNlcjQ0NjA4NDQ=",
"organizations_url": "https://api.github.com/users/Jenders74/orgs",
"received_events_url": "https://api.github.com/users/Jenders74/received_events",
"repos_url": "https://api.github.com/users/Jenders74/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Jenders74/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jenders74/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Jenders74"
} | [
{
"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": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 7 | 2014-05-09T00:50:09Z | 2014-05-09T18:21:49Z | 2014-05-09T18:21:49Z | NONE | null | I am initializing a DataFrame with 0 and then update it by iteratively indexing into indvidual columns. The behavior of my code has changed with pandas 0.13.0 such that resulting DataFrame out[['A']] remains 0 but series out['A'] has the correct values:
```
>>> print out[['A']]
A
2014-05-07 0
2014-05-08 0
2014-05-09 0
>>> print out['A']
2014-05-07 600
2014-05-08 600
2014-05-09 600
```
Is this a bug?
``` python
import pandas
#initialize a DataFrame with 0 values
out = pandas.DataFrame({'A': [0, 0, 0]})
out.index = pandas.date_range('5/7/2014', '5/9/2014')
#DataFrame to update out with
df = pandas.DataFrame({'C': ['A', 'A', 'A'], 'D': [100, 200, 300]})
#loop through df to update out
for ix, row in df.iterrows():
six = pandas.Timestamp('5/7/2014')
eix = pandas.Timestamp('5/9/2014')
out[row['C']][six:eix] = out[row['C']][six:eix] + row['D']
print out
print out[['A']]
print out['A']
```
```
INSTALLED VERSIONS
------------------
Python: 2.7.6.final.0
OS: Windows
Release: 7
Processor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
byteorder: little
LC_ALL: None
LANG: en_US
pandas: 0.13.0
Cython: 0.20
Numpy: 1.7.1
Scipy: 0.12.0
statsmodels: 0.5.0
patsy: 0.2.1
scikits.timeseries: Not installed
dateutil: 1.5
pytz: 2013.9
bottleneck: 0.7.0
PyTables: 3.1.0rc2
numexpr: 2.2.2
matplotlib: 1.3.1
openpyxl: 1.8.2
xlrd: 0.9.2
xlwt: 0.7.5
xlsxwriter: Not installed
sqlalchemy: Not installed
lxml: Not installed
bs4: 4.3.2
html5lib: Not installed
bigquery: Not installed
apiclient: Not installed
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7084/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7084/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7085 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7085/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7085/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7085/events | https://github.com/pandas-dev/pandas/pull/7085 | 33,138,968 | MDExOlB1bGxSZXF1ZXN0MTU2ODI4NTQ= | 7,085 | adding a NotImplementedError for simultaneous use of nrows and chunksize... | {
"avatar_url": "https://avatars.githubusercontent.com/u/69774?v=4",
"events_url": "https://api.github.com/users/michaelaye/events{/privacy}",
"followers_url": "https://api.github.com/users/michaelaye/followers",
"following_url": "https://api.github.com/users/michaelaye/following{/other_user}",
"gists_url": "https://api.github.com/users/michaelaye/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/michaelaye",
"id": 69774,
"login": "michaelaye",
"node_id": "MDQ6VXNlcjY5Nzc0",
"organizations_url": "https://api.github.com/users/michaelaye/orgs",
"received_events_url": "https://api.github.com/users/michaelaye/received_events",
"repos_url": "https://api.github.com/users/michaelaye/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/michaelaye/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michaelaye/subscriptions",
"type": "User",
"url": "https://api.github.com/users/michaelaye"
} | [
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| closed | false | null | []
| {
"closed_at": "2014-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"
} | 37 | 2014-05-09T01:24:13Z | 2014-06-24T13:16:58Z | 2014-06-24T13:16:52Z | CONTRIBUTOR | null | ..., as the user intention most likely is to get a TextFileReader, when using the chunksize option.
Fixes #6774
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7085/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7085/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7085.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7085",
"merged_at": "2014-06-24T13:16:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7085.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7085"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7086 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7086/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7086/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7086/events | https://github.com/pandas-dev/pandas/pull/7086 | 33,170,272 | MDExOlB1bGxSZXF1ZXN0MTU3MDAxNDg= | 7,086 | Tidy representation when truncating dfs | {
"avatar_url": "https://avatars.githubusercontent.com/u/832380?v=4",
"events_url": "https://api.github.com/users/bjonen/events{/privacy}",
"followers_url": "https://api.github.com/users/bjonen/followers",
"following_url": "https://api.github.com/users/bjonen/following{/other_user}",
"gists_url": "https://api.github.com/users/bjonen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bjonen",
"id": 832380,
"login": "bjonen",
"node_id": "MDQ6VXNlcjgzMjM4MA==",
"organizations_url": "https://api.github.com/users/bjonen/orgs",
"received_events_url": "https://api.github.com/users/bjonen/received_events",
"repos_url": "https://api.github.com/users/bjonen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bjonen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bjonen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bjonen"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 59 | 2014-05-09T13:06:30Z | 2014-06-17T06:37:31Z | 2014-05-16T19:44:16Z | CONTRIBUTOR | null | This PR closes #5603
Dataframes are now truncated centrally (similar to pd.Series).
Before:

After:

Ipython notebook:
Simple Index:

MultiLevel Index:

| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7086/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7086/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7086.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7086",
"merged_at": "2014-05-16T19:44:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7086.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7086"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7087 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7087/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7087/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7087/events | https://github.com/pandas-dev/pandas/pull/7087 | 33,171,626 | MDExOlB1bGxSZXF1ZXN0MTU3MDA4OTM= | 7,087 | BUG: cache coherence issue with chain indexing and setitem (GH7084) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 0 | 2014-05-09T13:25:30Z | 2014-06-26T19:40:48Z | 2014-05-09T18:21:49Z | CONTRIBUTOR | null | closes #7084
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7087/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7087/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7087.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7087",
"merged_at": "2014-05-09T18:21:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7087.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7087"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7088 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7088/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7088/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7088/events | https://github.com/pandas-dev/pandas/pull/7088 | 33,195,514 | MDExOlB1bGxSZXF1ZXN0MTU3MTQ1MDk= | 7,088 | ENH/API: accept list-like percentiles in describe (WIP) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 17 | 2014-05-09T18:17:16Z | 2014-06-17T22:26:35Z | 2014-05-14T00:45:22Z | CONTRIBUTOR | null | Closes https://github.com/pydata/pandas/issues/4196
This is for frames. I'm going to refactor this into generic since to cover series / frames.
A couple questions:
- API wise, I added a new kwarg `percentiles`. For backwards compat, we keep the `percentile_width` kwarg. I changed the default `percentile_width` from 50 to `None` (but the default output is the same) Cases:
1. You specify `percentile_width` and `percentiles` -> `ValueError`
2. You specify neither `percentile_width` nor `percentiles` -> `percentile_width` set to 50 and same as before
3. You specify one of those, everything goes as expected.
- I'm accepting either decimals (e.g. [0.25, .5, .75]) or percentages (e.g. [25, 50, 75]). Those two are equivalent in output. Should I move this logic to the `.quantile` to be more consistent?
- I'm choosing to not sort the provided percentiles. It's easy for the user to sort, but hard for them to unsort if for some reason they want it in a specific order. I'd rather not add another kwarg.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7088/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7088/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7088.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7088",
"merged_at": "2014-05-14T00:45:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7088.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7088"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7089 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7089/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7089/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7089/events | https://github.com/pandas-dev/pandas/pull/7089 | 33,199,719 | MDExOlB1bGxSZXF1ZXN0MTU3MTY5MzM= | 7,089 | BUG: use size attribute (not method call) | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
]
| closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
}
]
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 9 | 2014-05-09T19:08:36Z | 2014-07-16T09:05:23Z | 2014-05-10T15:23:31Z | MEMBER | null | xref: #7055
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7089/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7089/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7089.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7089",
"merged_at": "2014-05-10T15:23:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7089.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7089"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7090 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7090/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7090/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7090/events | https://github.com/pandas-dev/pandas/pull/7090 | 33,231,411 | MDExOlB1bGxSZXF1ZXN0MTU3MzEzNTk= | 7,090 | ENH/CLN: Add factorize to IndexOpsMixin | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "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": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 4 | 2014-05-10T07:10:27Z | 2014-06-17T15:25:56Z | 2014-05-10T14:12:03Z | MEMBER | null | As pointed in #7041, I prepared a PR to add `factorize` to `IndexOpsMixin`.
As a side benefit, `Multiindex.from_arrays` can preserve original `DatetimeIndex.freq` and `tz`. (Related to #3950 and #6606. These issues are not solved yet because these use different methods to create `MultiIndex`).
I would like to confirm following points before adding more tests.
- What `Index.factorize` and `Series.factorize` should return as unique values, `ndarray` or `Index`? I think it should return `Index` to preserve `DatetimeIndex` attributes (`freq` and `tz`).
- Is this should be added to `api.rst`?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7090/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7090/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7090.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7090",
"merged_at": "2014-05-10T14:12:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7090.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7090"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7091 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7091/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7091/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7091/events | https://github.com/pandas-dev/pandas/issues/7091 | 33,238,814 | MDU6SXNzdWUzMzIzODgxNA== | 7,091 | CI: create/drop pandas_nosetest db on class instatiation | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "5319e7",
"default": false,
"description": "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"
},
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
]
| closed | false | null | []
| {
"closed_at": 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"
} | 5 | 2014-05-10T14:26:09Z | 2018-07-06T21:58:15Z | 2018-07-06T21:57:39Z | CONTRIBUTOR | null | So I think that the SQL test classes should inherit from:
https://github.com/pydata/pandas/blob/master/pandas/util/testing.py#L65
then you can add
```
class BaseSQLTestCase(tm.TestCase):
@classmethod
def setUpClass(cls):
super(BaseSQLTestCase, cls).setUpClass()
# create the ``pandas_nosetest`` db here
@classmethod
def tearDownClass(cls):
super(BaseSQLTestCase, cls).tearDownClass()
# drop the ``pandas_nosetest`` db here
```
and remove this:
https://github.com/pydata/pandas/blob/master/.travis.yml#L100
This doesn't affect travis, but testing on a static platform (e.g. windows)
where the database in theory could have something in it (if a test was stopped in the middle) and then the next time it runs their is stuff there
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7091/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7091/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7092 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7092/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7092/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7092/events | https://github.com/pandas-dev/pandas/pull/7092 | 33,240,271 | MDExOlB1bGxSZXF1ZXN0MTU3MzQzNDQ= | 7,092 | BUG: tz info lost by set_index and reindex | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 2 | 2014-05-10T15:28:00Z | 2014-06-13T19:01:07Z | 2014-05-12T13:34:58Z | MEMBER | null | Closes #6631. Closes #5878. Regarding #3950, original problem can be fixed by this, but `groupby` problem isn't.
Also, this includes the fix for `MultiIndex.get_level_values` doesn't retain `tz` and `freq`, as the method is used in `set_index`.
```
# current master
>>> import pandas as pd
>>> didx = pd.DatetimeIndex(start='2013/01/01', freq='H', periods=4, tz='Asia/Tokyo')
>>> pidx = pd.PeriodIndex(start='2013/01/01', freq='H', periods=4)
>>> midx = pd.MultiIndex.from_arrays([didx, pidx])
>>> midx.get_level_values(0)
<class 'pandas.tseries.index.DatetimeIndex'>
[2012-12-31 15:00:00, ..., 2012-12-31 18:00:00]
Length: 4, Freq: None, Timezone: None
>>> midx.get_level_values(1)
Int64Index([376944, 376945, 376946, 376947], dtype='int64')
```
```
# after fix
>>> midx.get_level_values(0)
<class 'pandas.tseries.index.DatetimeIndex'>
[2013-01-01 00:00:00+09:00, ..., 2013-01-01 03:00:00+09:00]
Length: 4, Freq: H, Timezone: Asia/Tokyo
>>> midx.get_level_values(1)
PeriodIndex([u'2013-01-01 00:00', u'2013-01-01 01:00', u'2013-01-01 02:00', u'2013-01-01 03:00'], freq='H')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7092/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7092/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7092.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7092",
"merged_at": "2014-05-12T13:34:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7092.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7092"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7093 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7093/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7093/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7093/events | https://github.com/pandas-dev/pandas/pull/7093 | 33,243,147 | MDExOlB1bGxSZXF1ZXN0MTU3MzUzMzI= | 7,093 | BUG: Let DataFrame.quantile() handle datetime | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 4 | 2014-05-10T17:20:15Z | 2014-07-16T09:05:32Z | 2014-05-10T21:51:19Z | CONTRIBUTOR | null | Closes https://github.com/pydata/pandas/issues/6965
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7093/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7093/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7093.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7093",
"merged_at": "2014-05-10T21:51:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7093.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7093"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7094 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7094/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7094/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7094/events | https://github.com/pandas-dev/pandas/pull/7094 | 33,246,610 | MDExOlB1bGxSZXF1ZXN0MTU3MzYzODU= | 7,094 | REGR: Regression in groupby.nth() for out-of-bounds indexers (GH6621) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 0 | 2014-05-10T19:31:34Z | 2014-07-16T09:05:33Z | 2014-05-10T19:49:51Z | CONTRIBUTOR | null | closes #6621
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7094/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7094/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7094.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7094",
"merged_at": "2014-05-10T19:49:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7094.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7094"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7095 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7095/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7095/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7095/events | https://github.com/pandas-dev/pandas/issues/7095 | 33,249,430 | MDU6SXNzdWUzMzI0OTQzMA== | 7,095 | BUG: fillna with invalid value for a block type | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"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": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 1 | 2014-05-10T21:28:22Z | 2015-09-20T18:52:13Z | 2015-09-20T18:52:13Z | CONTRIBUTOR | null | from SO: https://groups.google.com/forum/#!topic/pydata/C8VoV4do7io
need to catch errors on the putmask and skip that block (returning it unchanged)
```
In [9]: df = DataFrame(dict(A = np.random.randn(3),B=date_range('20130101',periods=3),C=['foo','bar','bah'],D=['foo2','bar2','bah2']),index=date_range('20130110',periods=3))
In [10]: df
Out[10]:
A B C D
2013-01-10 -2.002643 2013-01-01 foo foo2
2013-01-11 1.897382 2013-01-02 bar bar2
2013-01-12 0.038903 2013-01-03 bah bah2
[3 rows x 4 columns]
In [11]: df.iloc[2,[0,2,3]] = np.nan
In [12]: df
Out[12]:
A B C D
2013-01-10 -2.002643 2013-01-01 foo foo2
2013-01-11 1.897382 2013-01-02 bar bar2
2013-01-12 NaN 2013-01-03 NaN NaN
[3 rows x 4 columns]
In [13]: df.fillna(-1)
Out[13]:
A B C D
2013-01-10 -2.002643 2013-01-01 foo foo2
2013-01-11 1.897382 2013-01-02 bar bar2
2013-01-12 -1.000000 2013-01-03 -1 -1
[3 rows x 4 columns]
In [14]: df.fillna('?')
ValueError: Error parsing datetime string "?" at position 0
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7095/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7095/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7096 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7096/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7096/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7096/events | https://github.com/pandas-dev/pandas/pull/7096 | 33,251,558 | MDExOlB1bGxSZXF1ZXN0MTU3MzgyNzE= | 7,096 | API: Return axes from boxplot | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 42 | 2014-05-10T23:44:48Z | 2015-08-23T13:18:51Z | 2014-06-05T01:13:23Z | CONTRIBUTOR | null | Closes: https://github.com/pydata/pandas/issues/4264
Will go in place of https://github.com/pydata/pandas/pull/4472
In https://github.com/pydata/pandas/issues/985 we intentionally decided to have boxplot return a dict with the Lines of the boxplot.
I've added a kwarg `return_dict`. By default, `return_dict` is False. In this case only a `matplotlib.axes` is returned. When `return_dict` is True, we should either
- return the `matplotlib.axes` **and** the dict in a namedtuple
- return just the dict
Both of these are API breaking. Right now I've got both in the named tuple, but I may change that to just return just the dict. If we just return the dict, the only change people will have to make to their code is to add `return_dict` to True in their boxplot calls. Thoughts?
cc @jseabold, @fonnesbeck
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7096/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7096/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7096.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7096",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/7096.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7096"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7097 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7097/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7097/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7097/events | https://github.com/pandas-dev/pandas/issues/7097 | 33,251,852 | MDU6SXNzdWUzMzI1MTg1Mg== | 7,097 | df.to_stata doesn't handle boolean columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/368269?v=4",
"events_url": "https://api.github.com/users/puterleat/events{/privacy}",
"followers_url": "https://api.github.com/users/puterleat/followers",
"following_url": "https://api.github.com/users/puterleat/following{/other_user}",
"gists_url": "https://api.github.com/users/puterleat/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/puterleat",
"id": 368269,
"login": "puterleat",
"node_id": "MDQ6VXNlcjM2ODI2OQ==",
"organizations_url": "https://api.github.com/users/puterleat/orgs",
"received_events_url": "https://api.github.com/users/puterleat/received_events",
"repos_url": "https://api.github.com/users/puterleat/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/puterleat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/puterleat/subscriptions",
"type": "User",
"url": "https://api.github.com/users/puterleat"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "5319e7",
"default": false,
"description": "read_stata, to_stata",
"id": 104865385,
"name": "IO Stata",
"node_id": "MDU6TGFiZWwxMDQ4NjUzODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 7 | 2014-05-11T00:04:39Z | 2014-07-16T00:35:09Z | 2014-07-16T00:35:09Z | NONE | null | I'd expected this to generate a row of 1's and 0's in the dta file...
```
DataFrame([True, False]).to_stata('test.dta')
```
But it generates the following error:
sbox/lib/python2.7/site-packages/pandas/io/stata.pyc in _dtype_to_stata_type(dtype)
884 else: # pragma : no cover
885 raise ValueError("Data type %s not currently understood. "
--> 886 "Please report an error to the developers." % dtype)
887
888
ValueError: Data type bool not currently understood. Please report an error to the developers.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7097/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7097/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7098 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7098/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7098/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7098/events | https://github.com/pandas-dev/pandas/pull/7098 | 33,262,350 | MDExOlB1bGxSZXF1ZXN0MTU3NDI5OTQ= | 7,098 | BUG: DatetimeIndex with freq raises ValueError when passed value is short | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"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": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 2 | 2014-05-11T14:01:33Z | 2014-06-20T17:01:29Z | 2014-05-14T13:08:10Z | MEMBER | null | When `DatetimeIndex` is created by passing `freq` and `check_integrity=True`, passed `freq` and `inferred_freq` must be identical. But this comparison can fail if length of passed data doesn't have enough length to infer freq.
Added additional logic to determine whether passed values are on the passed `freq`.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7098/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7098/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7098.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7098",
"merged_at": "2014-05-14T13:08:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7098.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7098"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7099 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7099/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7099/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7099/events | https://github.com/pandas-dev/pandas/pull/7099 | 33,263,436 | MDExOlB1bGxSZXF1ZXN0MTU3NDM0Mjc= | 7,099 | BUG: GroupBy doesn't preserve timezone | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 2 | 2014-05-11T15:03:14Z | 2014-06-13T19:00:49Z | 2014-05-13T12:13:26Z | MEMBER | null | Closes #3950. This is a fix for `groupby` issue.
(#7092 is for original report)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7099/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7099/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7099.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7099",
"merged_at": "2014-05-13T12:13:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7099.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7099"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/7100 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7100/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7100/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7100/events | https://github.com/pandas-dev/pandas/pull/7100 | 33,265,727 | MDExOlB1bGxSZXF1ZXN0MTU3NDQzMTI= | 7,100 | TST: sql add more tests (NaN handling, ..) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
]
| closed | false | null | []
| {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 8 | 2014-05-11T17:03:28Z | 2014-07-08T03:52:05Z | 2014-05-13T10:29:47Z | MEMBER | null | This PR just adds some tests, not fixes to get them all running.
Summary:
- NaN writing not working for MySQL (or pymysql), but does work for sqlite and postgresql
- NaN reading does work for float columns. But not for string columns (converted to None or u'NaN') or for sqlite full float columns
- NaT in datetime columns only works for sqlite for writing. Writing postgresql gives an error on inserting the date `0001-255-255T00:00:00`.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7100/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7100/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/7100.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/7100",
"merged_at": "2014-05-13T10:29:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/7100.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7100"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.