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/8902 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8902/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8902/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8902/events | https://github.com/pandas-dev/pandas/issues/8902 | 50,225,498 | MDU6SXNzdWU1MDIyNTQ5OA== | 8,902 | Concat coerces ints to floats if empty DataFrame is present | {
"avatar_url": "https://avatars.githubusercontent.com/u/4074785?v=4",
"events_url": "https://api.github.com/users/EVaisman/events{/privacy}",
"followers_url": "https://api.github.com/users/EVaisman/followers",
"following_url": "https://api.github.com/users/EVaisman/following{/other_user}",
"gists_url": "https://api.github.com/users/EVaisman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/EVaisman",
"id": 4074785,
"login": "EVaisman",
"node_id": "MDQ6VXNlcjQwNzQ3ODU=",
"organizations_url": "https://api.github.com/users/EVaisman/orgs",
"received_events_url": "https://api.github.com/users/EVaisman/received_events",
"repos_url": "https://api.github.com/users/EVaisman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/EVaisman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/EVaisman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/EVaisman"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "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": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 5 | 2014-11-26T20:47:30Z | 2021-04-11T05:45:26Z | 2021-04-11T05:45:25Z | NONE | null | It seems that when using `concat` coerces `Series` of type `int` to type `float` if one of the `DataFrame`s being concatted is empty:
```
>>> df1 = pd.DataFrame([1],columns=['a'])
>>> df2 = pd.DataFrame(columns=['a'])
>>> df = pd.concat([df1, df2])
>>> df['a'].dtype
dtype('float64')
>>> df1['a'].dtype
dtype('int64')
```
While if both columns have ints, no coercion happens:
```
>>> df1 = pd.DataFrame([1],columns=['a'])
>>> df2 = pd.DataFrame([1],columns=['a'])
>>> df = pd.concat([df1, df2])
>>> df['a'].dtype
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/8902/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8902/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8903 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8903/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8903/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8903/events | https://github.com/pandas-dev/pandas/issues/8903 | 50,248,921 | MDU6SXNzdWU1MDI0ODkyMQ== | 8,903 | ENH/PERF: new kw complete to to_datetime to allow partial matches on a datetime format | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 1 | 2014-11-27T02:48:17Z | 2014-11-27T14:08:28Z | 2014-11-27T02:48:28Z | CONTRIBUTOR | null | Clearly the default is `complete=True` for back-compat
but allows for a match starting at the beginning (has always been like this),
but doesn't require the string to ONLY match the format, IOW, can be extra stuff after the match.
Avoids having to do a regex replace first.
```
In [21]: s = Series(['19MAY11','19MAY11:00:00:00']*100000)
In [22]: %timeit pd.to_datetime(s.str.replace(':\S+$',''),format='%d%b%y')
1 loops, best of 3: 828 ms per loop
In [23]: %timeit pd.to_datetime(s,format='%d%b%y',compete=False)
1 loops, best of 3: 603 ms per loop
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8903/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8903/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8904 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8904/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8904/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8904/events | https://github.com/pandas-dev/pandas/pull/8904 | 50,248,955 | MDExOlB1bGxSZXF1ZXN0MjUxMjY4MDg= | 8,904 | PERF: add exact kw to to_datetime to enable faster regex format parsing | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 17 | 2014-11-27T02:48:55Z | 2014-12-05T14:33:51Z | 2014-12-05T14:32:51Z | CONTRIBUTOR | null | closes #8989
closes #8903
Clearly the default is exact=True for back-compat
but allows for a match starting at the beginning (has always been like this),
but doesn't require the string to ONLY match the format, IOW, can be extra stuff after the match.
Avoids having to do a regex replace first.
```
In [21]: s = Series(['19MAY11','19MAY11:00:00:00']*100000)
In [22]: %timeit pd.to_datetime(s.str.replace(':\S+$',''),format='%d%b%y')
1 loops, best of 3: 828 ms per loop
In [23]: %timeit pd.to_datetime(s,format='%d%b%y',exact=False)
1 loops, best of 3: 603 ms per loop
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8904/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8904/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8904.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8904",
"merged_at": "2014-12-05T14:32:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8904.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8904"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8905 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8905/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8905/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8905/events | https://github.com/pandas-dev/pandas/issues/8905 | 50,255,404 | MDU6SXNzdWU1MDI1NTQwNA== | 8,905 | Plot label None in line plot | {
"avatar_url": "https://avatars.githubusercontent.com/u/885310?v=4",
"events_url": "https://api.github.com/users/micramm/events{/privacy}",
"followers_url": "https://api.github.com/users/micramm/followers",
"following_url": "https://api.github.com/users/micramm/following{/other_user}",
"gists_url": "https://api.github.com/users/micramm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/micramm",
"id": 885310,
"login": "micramm",
"node_id": "MDQ6VXNlcjg4NTMxMA==",
"organizations_url": "https://api.github.com/users/micramm/orgs",
"received_events_url": "https://api.github.com/users/micramm/received_events",
"repos_url": "https://api.github.com/users/micramm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/micramm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/micramm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/micramm"
} | [
{
"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": "2015-05-11T15:46:03Z",
"closed_issues": 237,
"created_at": "2014-10-07T14:39:07Z",
"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.16.0 of course!",
"due_on": "2015-05-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/29",
"id": 816810,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODEw",
"number": 29,
"open_issues": 0,
"state": "closed",
"title": "0.16.1",
"updated_at": "2017-04-16T08:39:48Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29"
} | 4 | 2014-11-27T05:24:43Z | 2015-05-01T16:05:38Z | 2015-05-01T16:05:32Z | NONE | null | The plot label appears when plotting a dataframe as a scatter plot but not as a line plot. Is this expected?
``` python
df = pd.DataFrame(np.random.rand(2, 4), columns=['a', 'b', 'c', 'd'])
ax = df.plot(kind = 'scatter', x='a', y='b',color='DarkBlue', label='Label')
ax = df.plot(kind = 'line', x='a', y='b',color='DarkBlue', label='Label')
```


```
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.8.final.0
python-bits: 64
OS: Darwin
OS-release: 14.0.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.15.1
nose: 1.3.1
Cython: 0.21.1
numpy: 1.9.1
scipy: 0.14.0
statsmodels: None
IPython: 2.3.1
sphinx: 1.2.3
patsy: None
dateutil: 2.2
pytz: 2014.9
bottleneck: 0.8.0
tables: 3.1.1
numexpr: 2.4
matplotlib: 1.4.2
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
rpy2: None
sqlalchemy: None
pymysql: None
psycopg2: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8905/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8905/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8906 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8906/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8906/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8906/events | https://github.com/pandas-dev/pandas/issues/8906 | 50,289,524 | MDU6SXNzdWU1MDI4OTUyNA== | 8,906 | Partial indexing of a Panel | {
"avatar_url": "https://avatars.githubusercontent.com/u/9883328?v=4",
"events_url": "https://api.github.com/users/Dimchord/events{/privacy}",
"followers_url": "https://api.github.com/users/Dimchord/followers",
"following_url": "https://api.github.com/users/Dimchord/following{/other_user}",
"gists_url": "https://api.github.com/users/Dimchord/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Dimchord",
"id": 9883328,
"login": "Dimchord",
"node_id": "MDQ6VXNlcjk4ODMzMjg=",
"organizations_url": "https://api.github.com/users/Dimchord/orgs",
"received_events_url": "https://api.github.com/users/Dimchord/received_events",
"repos_url": "https://api.github.com/users/Dimchord/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Dimchord/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Dimchord/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Dimchord"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"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-11-27T13:06:46Z | 2018-07-06T20:21:06Z | 2017-07-10T21:06:18Z | NONE | null | See also: http://stackoverflow.com/questions/26736745/indexing-a-pandas-panel-counterintuitive-or-a-bug
These are actually two related(?) issues.
The first is that the DataFrame is transposed, when you index the major_indexer or minor_indexer:
```
from pandas import Panel
from numpy import arange
p = Panel(arange(24).reshape(2,3,4))
p.shape
Out[4]: (2, 3, 4)
p.iloc[0].shape # original order
Out[5]: (3, 4)
p.iloc[:,0].shape # I would expect (2,4), but it is transposed
Out[6]: (4, 2)
p.iloc[:,:,0].shape # also transposed
Out[7]: (3, 2)
p.iloc[:,0,:].shape # transposed (same as [6])
Out[8]: (4, 2)
```
This may be a design choice, but it seems counterintuitive to me and it is not in line with the way numpy indexing works.
On a related note, I would expect the following two commands to be equivalent:
```
p.iloc[1:,0,:].shape # Slicing item_indexer, then transpose
Out[9]: (4, 1)
p.iloc[1:,0].shape # Expected to get the same as [9], but slicing minor_indexer instead????
Out[10]: (3, 2)
```
## INSTALLED VERSIONS
commit: None
python: 2.7.6.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
byteorder: little
LC_ALL: None
LANG: nl_NL
pandas: 0.15.1
nose: 1.3.3
Cython: 0.20.1
numpy: 1.9.1
scipy: 0.14.0
statsmodels: 0.5.0
IPython: 2.2.0
sphinx: 1.2.2
patsy: 0.2.1
dateutil: 1.5
pytz: 2014.9
bottleneck: None
tables: 3.1.1
numexpr: 2.3.1
matplotlib: 1.4.2
openpyxl: 1.8.5
xlrd: 0.9.3
xlwt: 0.7.5
xlsxwriter: 0.5.5
lxml: 3.3.5
bs4: 4.3.1
html5lib: None
httplib2: None
apiclient: None
rpy2: None
sqlalchemy: 0.9.4
pymysql: None
psycopg2: None
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8906/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8906/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8907 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8907/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8907/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8907/events | https://github.com/pandas-dev/pandas/pull/8907 | 50,299,198 | MDExOlB1bGxSZXF1ZXN0MjUxNTU4MTU= | 8,907 | BUG: DatetimeIndex with time object as key | {
"avatar_url": "https://avatars.githubusercontent.com/u/1288998?v=4",
"events_url": "https://api.github.com/users/behzadnouri/events{/privacy}",
"followers_url": "https://api.github.com/users/behzadnouri/followers",
"following_url": "https://api.github.com/users/behzadnouri/following{/other_user}",
"gists_url": "https://api.github.com/users/behzadnouri/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/behzadnouri",
"id": 1288998,
"login": "behzadnouri",
"node_id": "MDQ6VXNlcjEyODg5OTg=",
"organizations_url": "https://api.github.com/users/behzadnouri/orgs",
"received_events_url": "https://api.github.com/users/behzadnouri/received_events",
"repos_url": "https://api.github.com/users/behzadnouri/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/behzadnouri/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/behzadnouri/subscriptions",
"type": "User",
"url": "https://api.github.com/users/behzadnouri"
} | [
{
"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": "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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 12 | 2014-11-27T14:54:46Z | 2014-11-30T15:11:42Z | 2014-11-29T22:03:08Z | CONTRIBUTOR | null | closes https://github.com/pydata/pandas/issues/8667
on master:
```
>>> from datetime import time
>>> from pandas.index import _SIZE_CUTOFF
>>> n = _SIZE_CUTOFF + 100
>>> idx = pd.date_range('2014-11-26', periods=n, freq='S')
>>> ts = pd.Series(np.random.randn(n), index=idx)
>>> key = time(15, 0)
>>> ts[key]
TypeError: 'datetime.time' object is not iterable
>>> ts.index.get_loc(key)
TypeError: unorderable types: int() > datetime.time()
```
above would work on master branch if `n` was smaller than `_SIZE_CUTOFF`.
`_SIZE_CUTOFF` is set [here](https://github.com/pydata/pandas/blob/e5fe75e8d40e6b94eabf54882a17ab05341c9929/pandas/index.pyx#L68)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8907/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8907/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8907.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8907",
"merged_at": "2014-11-29T22:03:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8907.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8907"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8908 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8908/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8908/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8908/events | https://github.com/pandas-dev/pandas/issues/8908 | 50,306,945 | MDU6SXNzdWU1MDMwNjk0NQ== | 8,908 | shouldn't mangle_dupe_cols add an underscore rather than a dot in read_csv? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1363400?v=4",
"events_url": "https://api.github.com/users/mbakker7/events{/privacy}",
"followers_url": "https://api.github.com/users/mbakker7/followers",
"following_url": "https://api.github.com/users/mbakker7/following{/other_user}",
"gists_url": "https://api.github.com/users/mbakker7/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mbakker7",
"id": 1363400,
"login": "mbakker7",
"node_id": "MDQ6VXNlcjEzNjM0MDA=",
"organizations_url": "https://api.github.com/users/mbakker7/orgs",
"received_events_url": "https://api.github.com/users/mbakker7/received_events",
"repos_url": "https://api.github.com/users/mbakker7/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mbakker7/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mbakker7/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mbakker7"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| open | false | null | []
| null | 0 | 2014-11-27T16:18:12Z | 2021-04-11T05:46:12Z | null | NONE | null | When I use read_csv to read a file which has columns with the same name, the names are amended with .1, .2, etc, when mangle_dupe_cols=True in read_csv.
Wouldn't it make more sense to amend them as _1, _2, etc., so that columns of a dataframe can still be accessed with the dot syntax: df.name_1 works fine, but df.name.1 doesn't work.
Just a suggestion,
Mark
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8908/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8908/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8909 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8909/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8909/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8909/events | https://github.com/pandas-dev/pandas/pull/8909 | 50,307,791 | MDExOlB1bGxSZXF1ZXN0MjUxNjEwNjk= | 8,909 | ENH: make Series work with map objects the same way as generators | {
"avatar_url": "https://avatars.githubusercontent.com/u/1109234?v=4",
"events_url": "https://api.github.com/users/mcsalgado/events{/privacy}",
"followers_url": "https://api.github.com/users/mcsalgado/followers",
"following_url": "https://api.github.com/users/mcsalgado/following{/other_user}",
"gists_url": "https://api.github.com/users/mcsalgado/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mcsalgado",
"id": 1109234,
"login": "mcsalgado",
"node_id": "MDQ6VXNlcjExMDkyMzQ=",
"organizations_url": "https://api.github.com/users/mcsalgado/orgs",
"received_events_url": "https://api.github.com/users/mcsalgado/received_events",
"repos_url": "https://api.github.com/users/mcsalgado/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mcsalgado/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mcsalgado/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mcsalgado"
} | [
{
"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": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 4 | 2014-11-27T16:28:25Z | 2014-12-04T02:36:45Z | 2014-12-03T22:43:46Z | 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/8909/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8909/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8909.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8909",
"merged_at": "2014-12-03T22:43:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8909.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8909"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/8910 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8910/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8910/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8910/events | https://github.com/pandas-dev/pandas/issues/8910 | 50,313,198 | MDU6SXNzdWU1MDMxMzE5OA== | 8,910 | TST/BUG: Improve error handling when parsing iso 8601 strings | {
"avatar_url": "https://avatars.githubusercontent.com/u/7666987?v=4",
"events_url": "https://api.github.com/users/broessli/events{/privacy}",
"followers_url": "https://api.github.com/users/broessli/followers",
"following_url": "https://api.github.com/users/broessli/following{/other_user}",
"gists_url": "https://api.github.com/users/broessli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/broessli",
"id": 7666987,
"login": "broessli",
"node_id": "MDQ6VXNlcjc2NjY5ODc=",
"organizations_url": "https://api.github.com/users/broessli/orgs",
"received_events_url": "https://api.github.com/users/broessli/received_events",
"repos_url": "https://api.github.com/users/broessli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/broessli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/broessli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/broessli"
} | [
{
"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"
},
{
"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": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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": "on-merge: backport to 0.23.x",
"due_on": "2018-07-09T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/57",
"id": 3407592,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/57/labels",
"node_id": "MDk6TWlsZXN0b25lMzQwNzU5Mg==",
"number": 57,
"open_issues": 0,
"state": "closed",
"title": "0.23.2",
"updated_at": "2018-07-06T16:24:08Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/57"
} | 1 | 2014-11-27T17:38:36Z | 2018-06-18T22:34:30Z | 2018-06-18T22:34:30Z | NONE | null | xref #8832
Parsing of datetime strings ending with `Z0`or `Z00`should raise (this is currently only the case with `Z0`).
This is due to the fact that the parser in `np_datetime_strings.c` cannot raise its own errors since in tslib.pyx, function convert_ts_tsobject(), any ValueError is catched and then a fallback external parser (dateutil) is called.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8910/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8910/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8911 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8911/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8911/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8911/events | https://github.com/pandas-dev/pandas/issues/8911 | 50,317,592 | MDU6SXNzdWU1MDMxNzU5Mg== | 8,911 | Suggestion: Heatmap as part of pandas code. | {
"avatar_url": "https://avatars.githubusercontent.com/u/3391614?v=4",
"events_url": "https://api.github.com/users/sorenwacker/events{/privacy}",
"followers_url": "https://api.github.com/users/sorenwacker/followers",
"following_url": "https://api.github.com/users/sorenwacker/following{/other_user}",
"gists_url": "https://api.github.com/users/sorenwacker/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sorenwacker",
"id": 3391614,
"login": "sorenwacker",
"node_id": "MDQ6VXNlcjMzOTE2MTQ=",
"organizations_url": "https://api.github.com/users/sorenwacker/orgs",
"received_events_url": "https://api.github.com/users/sorenwacker/received_events",
"repos_url": "https://api.github.com/users/sorenwacker/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sorenwacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sorenwacker/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sorenwacker"
} | [
{
"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": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
]
| closed | false | null | []
| null | 2 | 2014-11-27T18:56:42Z | 2014-11-28T03:26:52Z | 2014-11-28T03:26:52Z | CONTRIBUTOR | null | Here is a function that generates a heatmap:
http://nbviewer.ipython.org/github/herrfz/dataanalysis/blob/master/week3/svd_pca.ipynb
It works with numpy.arrays
Maybe you want to ask the author to contribute this useful function to pandas.
I think, its quite nice.
kind regards
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8911/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8911/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8912 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8912/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8912/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8912/events | https://github.com/pandas-dev/pandas/pull/8912 | 50,320,958 | MDExOlB1bGxSZXF1ZXN0MjUxNjgzMTk= | 8,912 | DOC: Issue #8805 | {
"avatar_url": "https://avatars.githubusercontent.com/u/6609289?v=4",
"events_url": "https://api.github.com/users/villasv/events{/privacy}",
"followers_url": "https://api.github.com/users/villasv/followers",
"following_url": "https://api.github.com/users/villasv/following{/other_user}",
"gists_url": "https://api.github.com/users/villasv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/villasv",
"id": 6609289,
"login": "villasv",
"node_id": "MDQ6VXNlcjY2MDkyODk=",
"organizations_url": "https://api.github.com/users/villasv/orgs",
"received_events_url": "https://api.github.com/users/villasv/received_events",
"repos_url": "https://api.github.com/users/villasv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/villasv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/villasv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/villasv"
} | [
{
"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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 1 | 2014-11-27T20:07:45Z | 2014-11-28T01:02:25Z | 2014-11-28T01:02:21Z | CONTRIBUTOR | null | xref #8805
Documentation suggests other types of join, but only 'left' is implemented.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8912/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8912/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8912.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8912",
"merged_at": "2014-11-28T01:02:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8912.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8912"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8913 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8913/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8913/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8913/events | https://github.com/pandas-dev/pandas/issues/8913 | 50,327,544 | MDU6SXNzdWU1MDMyNzU0NA== | 8,913 | Generate new DataFrame for two objects results in NaNs | {
"avatar_url": "https://avatars.githubusercontent.com/u/3391614?v=4",
"events_url": "https://api.github.com/users/sorenwacker/events{/privacy}",
"followers_url": "https://api.github.com/users/sorenwacker/followers",
"following_url": "https://api.github.com/users/sorenwacker/following{/other_user}",
"gists_url": "https://api.github.com/users/sorenwacker/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sorenwacker",
"id": 3391614,
"login": "sorenwacker",
"node_id": "MDQ6VXNlcjMzOTE2MTQ=",
"organizations_url": "https://api.github.com/users/sorenwacker/orgs",
"received_events_url": "https://api.github.com/users/sorenwacker/received_events",
"repos_url": "https://api.github.com/users/sorenwacker/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sorenwacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sorenwacker/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sorenwacker"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
]
| closed | false | null | []
| null | 5 | 2014-11-27T22:52:50Z | 2014-11-28T22:50:25Z | 2014-11-28T00:57:38Z | CONTRIBUTOR | null | Hi,
I want to generate a DataFrame out of some data x0 and an index based some dates t0.
df = pd.DataFrame(x0)
Generates the dataframe containg all data correctly.
df = pd.DataFrame(x0,t0)
Generates a dataframe with the dates as index whereas 'Date' appears as first index and all data is cleared to NaNs.
type(x0)
pandas.core.frame.DataFrame
type(t0)
pandas.core.series.Series
(generated with >t0=pd.to_datetime(pm0['Date']) )
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8913/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8913/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8914 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8914/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8914/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8914/events | https://github.com/pandas-dev/pandas/issues/8914 | 50,329,562 | MDU6SXNzdWU1MDMyOTU2Mg== | 8,914 | Pandas 0.15.1 df.interpolate().plot() wrong result with NaT in datelike index | {
"avatar_url": "https://avatars.githubusercontent.com/u/3391614?v=4",
"events_url": "https://api.github.com/users/sorenwacker/events{/privacy}",
"followers_url": "https://api.github.com/users/sorenwacker/followers",
"following_url": "https://api.github.com/users/sorenwacker/following{/other_user}",
"gists_url": "https://api.github.com/users/sorenwacker/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sorenwacker",
"id": 3391614,
"login": "sorenwacker",
"node_id": "MDQ6VXNlcjMzOTE2MTQ=",
"organizations_url": "https://api.github.com/users/sorenwacker/orgs",
"received_events_url": "https://api.github.com/users/sorenwacker/received_events",
"repos_url": "https://api.github.com/users/sorenwacker/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sorenwacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sorenwacker/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sorenwacker"
} | [
{
"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 | []
| null | 8 | 2014-11-27T23:53:11Z | 2021-04-11T05:47:24Z | null | CONTRIBUTOR | null | I am using a DataFrame df with dates as index and some data with missing values.
All dates are from the same year 1999 and the data has some missing vales.
There is one record in the dates that is NaT.
When I use df.interploate().plot() a line is plotted between 1996 and 1716.
When NaT is committed the correct plot appears.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8914/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8914/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8915 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8915/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8915/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8915/events | https://github.com/pandas-dev/pandas/pull/8915 | 50,340,491 | MDExOlB1bGxSZXF1ZXN0MjUxNzczMjE= | 8,915 | ENH: adds ability to generate bq schema from df | {
"avatar_url": "https://avatars.githubusercontent.com/u/421839?v=4",
"events_url": "https://api.github.com/users/tshauck/events{/privacy}",
"followers_url": "https://api.github.com/users/tshauck/followers",
"following_url": "https://api.github.com/users/tshauck/following{/other_user}",
"gists_url": "https://api.github.com/users/tshauck/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tshauck",
"id": 421839,
"login": "tshauck",
"node_id": "MDQ6VXNlcjQyMTgzOQ==",
"organizations_url": "https://api.github.com/users/tshauck/orgs",
"received_events_url": "https://api.github.com/users/tshauck/received_events",
"repos_url": "https://api.github.com/users/tshauck/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tshauck/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tshauck/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tshauck"
} | [
{
"color": "0052cc",
"default": false,
"description": "pandas-gbq compatability",
"id": 57351315,
"name": "IO Google",
"node_id": "MDU6TGFiZWw1NzM1MTMxNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 3 | 2014-11-28T04:41:41Z | 2014-12-03T22:38:40Z | 2014-12-03T22:38:33Z | CONTRIBUTOR | null | I need this function for some other work I have in a branch (to_gbq w/ a new table and to_gbq with staging in gcs). I saw issue #8325 and thought this might be a good intermediate step.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8915/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8915/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8915.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8915",
"merged_at": "2014-12-03T22:38:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8915.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8915"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8916 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8916/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8916/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8916/events | https://github.com/pandas-dev/pandas/pull/8916 | 50,342,468 | MDExOlB1bGxSZXF1ZXN0MjUxNzgyOTk= | 8,916 | BUG/ENH: cleanup for Timestamp arithmetic | {
"avatar_url": "https://avatars.githubusercontent.com/u/1217238?v=4",
"events_url": "https://api.github.com/users/shoyer/events{/privacy}",
"followers_url": "https://api.github.com/users/shoyer/followers",
"following_url": "https://api.github.com/users/shoyer/following{/other_user}",
"gists_url": "https://api.github.com/users/shoyer/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/shoyer",
"id": 1217238,
"login": "shoyer",
"node_id": "MDQ6VXNlcjEyMTcyMzg=",
"organizations_url": "https://api.github.com/users/shoyer/orgs",
"received_events_url": "https://api.github.com/users/shoyer/received_events",
"repos_url": "https://api.github.com/users/shoyer/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/shoyer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shoyer/subscriptions",
"type": "User",
"url": "https://api.github.com/users/shoyer"
} | [
{
"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": "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 | []
| null | 9 | 2014-11-28T05:37:15Z | 2014-12-09T23:27:02Z | 2014-12-09T23:26:55Z | MEMBER | null | Fixes #8865 (Timestamp - Timestamp -> Timedelta)
This PR cleans up and extends `Timestamp` arithmetic similarly to my treatment for `Timedelta` in #8884.
It includes a new `to_datetime64()` method, and arithmetic now works between Timestamp and ndarrays. I also ensure comparison operations work properly between all of (Timestamp, Timedelta, NaT) and ndarrays.
Implementation notes: wide use of the `NotImplemented` singleton let me cleanup some complex logic. I also strove to reduce the tight-coupling of `Timestamp`/`Timedelta` to pandas itself by removing use of the `_typ` property in tslib (I honestly don't quite understand why it needs to exist) and by not treating series/index any differently from any other ndarray-like objects.
CC @jreback @jorisvandenbossche @immerrr
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8916/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8916/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8916.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8916",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8916.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8916"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8917 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8917/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8917/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8917/events | https://github.com/pandas-dev/pandas/issues/8917 | 50,364,548 | MDU6SXNzdWU1MDM2NDU0OA== | 8,917 | Timestamp.tz_localize() NonExistentTimeError handling | {
"avatar_url": "https://avatars.githubusercontent.com/u/803496?v=4",
"events_url": "https://api.github.com/users/mskrajnowski/events{/privacy}",
"followers_url": "https://api.github.com/users/mskrajnowski/followers",
"following_url": "https://api.github.com/users/mskrajnowski/following{/other_user}",
"gists_url": "https://api.github.com/users/mskrajnowski/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mskrajnowski",
"id": 803496,
"login": "mskrajnowski",
"node_id": "MDQ6VXNlcjgwMzQ5Ng==",
"organizations_url": "https://api.github.com/users/mskrajnowski/orgs",
"received_events_url": "https://api.github.com/users/mskrajnowski/received_events",
"repos_url": "https://api.github.com/users/mskrajnowski/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mskrajnowski/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mskrajnowski/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mskrajnowski"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "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": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2019-01-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/55",
"id": 3228419,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55/labels",
"node_id": "MDk6TWlsZXN0b25lMzIyODQxOQ==",
"number": 55,
"open_issues": 0,
"state": "closed",
"title": "0.24.0",
"updated_at": "2019-01-29T07:42:40Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55"
} | 16 | 2014-11-28T11:17:53Z | 2018-10-25T11:46:30Z | 2018-10-25T11:46:30Z | NONE | null | I'm trying to use pandas to speed up timezone conversions on many datetimes and I can't get around `NonExistentTimeErrors`. Pandas `tz_localize()` seems to ignore the `ambiguous` argument for the non existent time case.
Example:
``` python
import pytz
import pandas
tz = pytz.timezone('Europe/Warsaw')
non_existent = datetime.datetime(2015, 3, 29, 2, 30)
tz.normalize(tz.localize(non_existent))
#2015-03-29 03:30:00+02:00
tz.normalize(tz.localize(non_existent, is_dst=False))
#2015-03-29 03:30:00+02:00
pandas.Timestamp(non_existent).tz_localize(tz)
# NonExistentTimeError: 2015-03-29 02:30:00
pandas.Timestamp(non_existent).tz_localize(tz, ambiguous=0)
# NonExistentTimeError: 2015-03-29 02:30:00
```
It would be nice if the `ambiguous` argument worked the same as `is_dst` in pytz. As it is now, it's impossible afaik to reliably localize a series of datetimes using pandas, since any of them might cause a `NonExistentTimeError` and there's no way of guiding pandas what to do with such datetimes.
```
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.5.final.0
python-bits: 64
OS: Linux
OS-release: 3.13.0-39-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.15.1
nose: 1.3.4
Cython: None
numpy: 1.9.1
scipy: None
statsmodels: None
IPython: 2.3.1
sphinx: 1.2.2
patsy: None
dateutil: 2.2
pytz: 2013.9
bottleneck: None
tables: None
numexpr: None
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: 0.9
apiclient: 1.3.1
rpy2: None
sqlalchemy: None
pymysql: None
psycopg2: 2.5.4 (dt dec pq3 ext)
```
| {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8917/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8917/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8918 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8918/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8918/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8918/events | https://github.com/pandas-dev/pandas/issues/8918 | 50,405,763 | MDU6SXNzdWU1MDQwNTc2Mw== | 8,918 | Wishlist: make get_dummies() usable for train / test framework | {
"avatar_url": "https://avatars.githubusercontent.com/u/632858?v=4",
"events_url": "https://api.github.com/users/chrish42/events{/privacy}",
"followers_url": "https://api.github.com/users/chrish42/followers",
"following_url": "https://api.github.com/users/chrish42/following{/other_user}",
"gists_url": "https://api.github.com/users/chrish42/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chrish42",
"id": 632858,
"login": "chrish42",
"node_id": "MDQ6VXNlcjYzMjg1OA==",
"organizations_url": "https://api.github.com/users/chrish42/orgs",
"received_events_url": "https://api.github.com/users/chrish42/received_events",
"repos_url": "https://api.github.com/users/chrish42/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chrish42/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chrish42/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chrish42"
} | [
{
"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": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "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 | []
| null | 21 | 2014-11-28T22:06:20Z | 2020-08-03T11:44:05Z | 2015-10-05T10:34:22Z | CONTRIBUTOR | null | Having get_dummies() in Pandas is really nice, but to be useful for machine learning, it would need to be usable in a train / test framework (or "fit_transform" and "transform", with the sklearn terminology). Let me know if this needs more explanations.
So, I guess this is a wishlist bug report to add that functionality to Pandas. I can even create a pull request, if people agree this would be something useful to have in Pandas (and are willing to coach a bit and do code review for what would be my first contribution to this project).
| {
"+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/8918/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8918/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8919 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8919/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8919/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8919/events | https://github.com/pandas-dev/pandas/issues/8919 | 50,406,811 | MDU6SXNzdWU1MDQwNjgxMQ== | 8,919 | Pandas 0.15.1 pandas.t0_datetime() sometimes returns pandas.core.series.Series and sometimes pandas.tseries.index.DatetimeIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/3391614?v=4",
"events_url": "https://api.github.com/users/sorenwacker/events{/privacy}",
"followers_url": "https://api.github.com/users/sorenwacker/followers",
"following_url": "https://api.github.com/users/sorenwacker/following{/other_user}",
"gists_url": "https://api.github.com/users/sorenwacker/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sorenwacker",
"id": 3391614,
"login": "sorenwacker",
"node_id": "MDQ6VXNlcjMzOTE2MTQ=",
"organizations_url": "https://api.github.com/users/sorenwacker/orgs",
"received_events_url": "https://api.github.com/users/sorenwacker/received_events",
"repos_url": "https://api.github.com/users/sorenwacker/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sorenwacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sorenwacker/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sorenwacker"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
]
| closed | false | null | []
| null | 3 | 2014-11-28T22:38:41Z | 2014-11-29T00:40:43Z | 2014-11-28T22:44:41Z | CONTRIBUTOR | null | pandas.to_datetime() should not return different types.
Otherwise, all output should have methods like .head() and .tail() and .month()
---
import pandas as pd
import numpy as np
pd.options.display.mpl_style = 'default'
import matplotlib.pyplot as plt
x0['Month']=x0['Date'].month
data=np.random.rand(5)
data[4]=NaN
dfdata=pd.DataFrame({'Data':data})
times=['19990103','19990106','19990109','19990112','NaT']
dftimes = pd.to_datetime(times,format='%Y%m%d')
dftimes
> Out[10]:
> class 'pandas.tseries.index.DatetimeIndex'
dftimes.head
> AttributeError Traceback (most recent call last)
> <ipython-input-11-6c85e0098555> in <module>()
> ----> 1 dftimes.head
> AttributeError: 'DatetimeIndex' object has no attribute 'head'
---
'Download files'
import urllib
urllib.urlretrieve ("http://www.epa.gov/ttn/airs/airsaqs/detaildata/501files/Rd_501_88101_1999.Zip", "./data/Rd_501_88101_1999.zip")
'Unzip the files...'
import zipfile
import os.path
zfile = zipfile.ZipFile("./data/Rd_501_88101_1999.zip")
for name in zfile.namelist():
zfile.extract(name,'./data/')
import pandas as pd
import numpy as np
pd.options.display.mpl_style = 'default'
import matplotlib.pyplot as plt
%pylab inline
pm0=pd.io.parsers.read_table("./data/RD_501_88101_1999-0.txt","|",index_col=False,low_memory=False).drop(0)
x0=pm0[['Sample Value']].astype(float)
t0=pd.to_datetime(pm0['Date'],format='%Y%m%d')
print type(t0)
> class 'pandas.core.series.Series'
t0.head()
> 1 1999-01-03
> 2 1999-01-06
> 3 1999-01-09
> 4 1999-01-12
> 5 1999-01-15
> Name: Date, dtype: datetime64[ns]
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8919/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8919/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8920 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8920/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8920/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8920/events | https://github.com/pandas-dev/pandas/issues/8920 | 50,407,511 | MDU6SXNzdWU1MDQwNzUxMQ== | 8,920 | Pandas 0.15.1 dates from a column in DataFrame cannot directly be converted to month | {
"avatar_url": "https://avatars.githubusercontent.com/u/3391614?v=4",
"events_url": "https://api.github.com/users/sorenwacker/events{/privacy}",
"followers_url": "https://api.github.com/users/sorenwacker/followers",
"following_url": "https://api.github.com/users/sorenwacker/following{/other_user}",
"gists_url": "https://api.github.com/users/sorenwacker/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sorenwacker",
"id": 3391614,
"login": "sorenwacker",
"node_id": "MDQ6VXNlcjMzOTE2MTQ=",
"organizations_url": "https://api.github.com/users/sorenwacker/orgs",
"received_events_url": "https://api.github.com/users/sorenwacker/received_events",
"repos_url": "https://api.github.com/users/sorenwacker/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sorenwacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sorenwacker/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sorenwacker"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
]
| closed | false | null | []
| null | 11 | 2014-11-28T22:58:38Z | 2014-11-29T00:28:32Z | 2014-11-28T23:07:15Z | 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/8920/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8920/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/8921 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8921/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8921/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8921/events | https://github.com/pandas-dev/pandas/pull/8921 | 50,410,233 | MDExOlB1bGxSZXF1ZXN0MjUyMTcwODI= | 8,921 | DOC: specify return type in to_datetime | {
"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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 1 | 2014-11-29T00:38:47Z | 2014-11-29T13:44:21Z | 2014-11-29T13:44:17Z | MEMBER | null | related #8919
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8921/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8921/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8921.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8921",
"merged_at": "2014-11-29T13:44:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8921.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8921"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8922 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8922/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8922/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8922/events | https://github.com/pandas-dev/pandas/pull/8922 | 50,423,865 | MDExOlB1bGxSZXF1ZXN0MjUyMjIyMjk= | 8,922 | CLN: move import to top of file | {
"avatar_url": "https://avatars.githubusercontent.com/u/1478530?v=4",
"events_url": "https://api.github.com/users/aevri/events{/privacy}",
"followers_url": "https://api.github.com/users/aevri/followers",
"following_url": "https://api.github.com/users/aevri/following{/other_user}",
"gists_url": "https://api.github.com/users/aevri/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aevri",
"id": 1478530,
"login": "aevri",
"node_id": "MDQ6VXNlcjE0Nzg1MzA=",
"organizations_url": "https://api.github.com/users/aevri/orgs",
"received_events_url": "https://api.github.com/users/aevri/received_events",
"repos_url": "https://api.github.com/users/aevri/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aevri/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aevri/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aevri"
} | []
| closed | false | null | []
| null | 1 | 2014-11-29T12:01:14Z | 2014-12-03T22:40:43Z | 2014-11-29T12:32:55Z | CONTRIBUTOR | null | For consistency with [PEP8](https://www.python.org/dev/peps/pep-0008#id17):
```
Imports are always put at the top of the file, just after any module
comments and docstrings, and before module globals and constants.
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8922/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8922/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8922.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8922",
"merged_at": "2014-11-29T12:32:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8922.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8922"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8923 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8923/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8923/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8923/events | https://github.com/pandas-dev/pandas/pull/8923 | 50,424,422 | MDExOlB1bGxSZXF1ZXN0MjUyMjI0NTY= | 8,923 | TST: harmonize testing namespace in TestCase (GH8023) | {
"avatar_url": "https://avatars.githubusercontent.com/u/4346513?v=4",
"events_url": "https://api.github.com/users/dxe4/events{/privacy}",
"followers_url": "https://api.github.com/users/dxe4/followers",
"following_url": "https://api.github.com/users/dxe4/following{/other_user}",
"gists_url": "https://api.github.com/users/dxe4/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dxe4",
"id": 4346513,
"login": "dxe4",
"node_id": "MDQ6VXNlcjQzNDY1MTM=",
"organizations_url": "https://api.github.com/users/dxe4/orgs",
"received_events_url": "https://api.github.com/users/dxe4/received_events",
"repos_url": "https://api.github.com/users/dxe4/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dxe4/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dxe4/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dxe4"
} | [
{
"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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 6 | 2014-11-29T12:30:02Z | 2014-12-01T00:57:47Z | 2014-12-01T00:07:21Z | CONTRIBUTOR | null | closes #8023
Merged via https://github.com/pydata/pandas/commit/ace3c46be0ebf12f0eb4b63f22843d76b67ccfde
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8923/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8923/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8923.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8923",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8923.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8923"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8924 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8924/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8924/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8924/events | https://github.com/pandas-dev/pandas/pull/8924 | 50,424,565 | MDExOlB1bGxSZXF1ZXN0MjUyMjI1MDc= | 8,924 | astype checks notnull Fixes: #8732 | {
"avatar_url": "https://avatars.githubusercontent.com/u/15446?v=4",
"events_url": "https://api.github.com/users/vikram/events{/privacy}",
"followers_url": "https://api.github.com/users/vikram/followers",
"following_url": "https://api.github.com/users/vikram/following{/other_user}",
"gists_url": "https://api.github.com/users/vikram/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vikram",
"id": 15446,
"login": "vikram",
"node_id": "MDQ6VXNlcjE1NDQ2",
"organizations_url": "https://api.github.com/users/vikram/orgs",
"received_events_url": "https://api.github.com/users/vikram/received_events",
"repos_url": "https://api.github.com/users/vikram/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vikram/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vikram/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vikram"
} | [
{
"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 | 4 | 2014-11-29T12:37:50Z | 2014-11-29T22:29:04Z | 2014-11-29T14:26:28Z | NONE | null | As suggested in issue #8732 if there are no nulls, we skip the nan_safe bit.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8924/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8924/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8924.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8924",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8924.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8924"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8925 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8925/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8925/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8925/events | https://github.com/pandas-dev/pandas/pull/8925 | 50,425,454 | MDExOlB1bGxSZXF1ZXN0MjUyMjI4NjE= | 8,925 | BUG: Option context applies on __enter__ | {
"avatar_url": "https://avatars.githubusercontent.com/u/3100311?v=4",
"events_url": "https://api.github.com/users/hkleynhans/events{/privacy}",
"followers_url": "https://api.github.com/users/hkleynhans/followers",
"following_url": "https://api.github.com/users/hkleynhans/following{/other_user}",
"gists_url": "https://api.github.com/users/hkleynhans/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hkleynhans",
"id": 3100311,
"login": "hkleynhans",
"node_id": "MDQ6VXNlcjMxMDAzMTE=",
"organizations_url": "https://api.github.com/users/hkleynhans/orgs",
"received_events_url": "https://api.github.com/users/hkleynhans/received_events",
"repos_url": "https://api.github.com/users/hkleynhans/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hkleynhans/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hkleynhans/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hkleynhans"
} | []
| closed | false | null | []
| null | 3 | 2014-11-29T13:19:45Z | 2014-11-29T16:48:19Z | 2014-11-29T16:48:19Z | CONTRIBUTOR | null | Option context no longer overrides options when used outside a `with`
statement.
Added test TestConfig.test_option_config_scope
Closes #8514
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8925/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8925/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8925.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8925",
"merged_at": "2014-11-29T16:48:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8925.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8925"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8926 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8926/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8926/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8926/events | https://github.com/pandas-dev/pandas/pull/8926 | 50,425,765 | MDExOlB1bGxSZXF1ZXN0MjUyMjI5ODY= | 8,926 | ENH: dtype costumization on to_sql (GH8778) | {
"avatar_url": "https://avatars.githubusercontent.com/u/34787?v=4",
"events_url": "https://api.github.com/users/tiagoantao/events{/privacy}",
"followers_url": "https://api.github.com/users/tiagoantao/followers",
"following_url": "https://api.github.com/users/tiagoantao/following{/other_user}",
"gists_url": "https://api.github.com/users/tiagoantao/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tiagoantao",
"id": 34787,
"login": "tiagoantao",
"node_id": "MDQ6VXNlcjM0Nzg3",
"organizations_url": "https://api.github.com/users/tiagoantao/orgs",
"received_events_url": "https://api.github.com/users/tiagoantao/received_events",
"repos_url": "https://api.github.com/users/tiagoantao/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tiagoantao/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tiagoantao/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tiagoantao"
} | [
{
"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": "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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 17 | 2014-11-29T13:33:44Z | 2014-12-02T23:31:44Z | 2014-12-02T23:31:30Z | CONTRIBUTOR | null | This is the proposed general gist of the changes. My ad-hoc testing suggests that this might work. If this is an acceptible design, I will proceed to make the formal test and change the docs (including docstrings)
Closes #8778
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8926/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8926/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8926.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8926",
"merged_at": "2014-12-02T23:31:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8926.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8926"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8927 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8927/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8927/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8927/events | https://github.com/pandas-dev/pandas/pull/8927 | 50,426,515 | MDExOlB1bGxSZXF1ZXN0MjUyMjMyNDQ= | 8,927 | BUG: fixed chunksize guessed to 0 (py3 only). #8621 | {
"avatar_url": "https://avatars.githubusercontent.com/u/4346513?v=4",
"events_url": "https://api.github.com/users/dxe4/events{/privacy}",
"followers_url": "https://api.github.com/users/dxe4/followers",
"following_url": "https://api.github.com/users/dxe4/following{/other_user}",
"gists_url": "https://api.github.com/users/dxe4/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dxe4",
"id": 4346513,
"login": "dxe4",
"node_id": "MDQ6VXNlcjQzNDY1MTM=",
"organizations_url": "https://api.github.com/users/dxe4/orgs",
"received_events_url": "https://api.github.com/users/dxe4/received_events",
"repos_url": "https://api.github.com/users/dxe4/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dxe4/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dxe4/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dxe4"
} | [
{
"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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 2 | 2014-11-29T14:03:47Z | 2014-12-03T22:37:49Z | 2014-12-03T22:37:35Z | CONTRIBUTOR | null | Fixes https://github.com/pydata/pandas/issues/8621
As mentioned in the github issue its a py3 only bug. I copied the test @rmorgans made
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8927/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8927/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8927.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8927",
"merged_at": "2014-12-03T22:37:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8927.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8927"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8928 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8928/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8928/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8928/events | https://github.com/pandas-dev/pandas/pull/8928 | 50,429,480 | MDExOlB1bGxSZXF1ZXN0MjUyMjQyOTI= | 8,928 | Implement Categorical.searchsorted(v, side, sorter) | {
"avatar_url": "https://avatars.githubusercontent.com/u/2830459?v=4",
"events_url": "https://api.github.com/users/stevesimmons/events{/privacy}",
"followers_url": "https://api.github.com/users/stevesimmons/followers",
"following_url": "https://api.github.com/users/stevesimmons/following{/other_user}",
"gists_url": "https://api.github.com/users/stevesimmons/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/stevesimmons",
"id": 2830459,
"login": "stevesimmons",
"node_id": "MDQ6VXNlcjI4MzA0NTk=",
"organizations_url": "https://api.github.com/users/stevesimmons/orgs",
"received_events_url": "https://api.github.com/users/stevesimmons/received_events",
"repos_url": "https://api.github.com/users/stevesimmons/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/stevesimmons/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stevesimmons/subscriptions",
"type": "User",
"url": "https://api.github.com/users/stevesimmons"
} | [
{
"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": "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 | []
| null | 3 | 2014-11-29T15:55:50Z | 2014-12-03T08:28:03Z | 2014-12-03T08:27:50Z | CONTRIBUTOR | null | Continued in #8972
This closes #8420, with code that supports searchsorted in Categorical, for both side='left'/'right' and with an optional sorter. The case of side='right' was tricky, as we look to the right only when matching the category name, not when matching the codes. The docstring and unit tests cover the various cases.
One thing I wasn't sure about was forcing scalar input to a Series. I copied this behaviour from Series.searchsorted to match its docstring examples. To avoid circular imports from series.py importing categorical.py, I got Series via a local import. Probably there is a better way to do this.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8928/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8928/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8928.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8928",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8928.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8928"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8929 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8929/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8929/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8929/events | https://github.com/pandas-dev/pandas/pull/8929 | 50,430,351 | MDExOlB1bGxSZXF1ZXN0MjUyMjQ2MTk= | 8,929 | BUG: allow numpy.array as c values to scatterplot | {
"avatar_url": "https://avatars.githubusercontent.com/u/1478530?v=4",
"events_url": "https://api.github.com/users/aevri/events{/privacy}",
"followers_url": "https://api.github.com/users/aevri/followers",
"following_url": "https://api.github.com/users/aevri/following{/other_user}",
"gists_url": "https://api.github.com/users/aevri/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aevri",
"id": 1478530,
"login": "aevri",
"node_id": "MDQ6VXNlcjE0Nzg1MzA=",
"organizations_url": "https://api.github.com/users/aevri/orgs",
"received_events_url": "https://api.github.com/users/aevri/received_events",
"repos_url": "https://api.github.com/users/aevri/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aevri/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aevri/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aevri"
} | [
{
"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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 10 | 2014-11-29T16:32:11Z | 2014-12-03T22:38:46Z | 2014-12-03T22:33:53Z | CONTRIBUTOR | null | Ensure that we can pass an np.array as 'c' straight through to
matplotlib, this functionality was accidentally removed previously.
Add tests.
Closes #8852
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8929/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8929/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8929.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8929",
"merged_at": "2014-12-03T22:33:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8929.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8929"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8930 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8930/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8930/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8930/events | https://github.com/pandas-dev/pandas/pull/8930 | 50,430,950 | MDExOlB1bGxSZXF1ZXN0MjUyMjQ4NDY= | 8,930 | BUG: moving the utf encoding line to the first line (before from __futur... | {
"avatar_url": "https://avatars.githubusercontent.com/u/3817978?v=4",
"events_url": "https://api.github.com/users/fvia/events{/privacy}",
"followers_url": "https://api.github.com/users/fvia/followers",
"following_url": "https://api.github.com/users/fvia/following{/other_user}",
"gists_url": "https://api.github.com/users/fvia/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fvia",
"id": 3817978,
"login": "fvia",
"node_id": "MDQ6VXNlcjM4MTc5Nzg=",
"organizations_url": "https://api.github.com/users/fvia/orgs",
"received_events_url": "https://api.github.com/users/fvia/received_events",
"repos_url": "https://api.github.com/users/fvia/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fvia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fvia/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fvia"
} | [
{
"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": "444444",
"default": false,
"description": "Unicode strings",
"id": 36380025,
"name": "Unicode",
"node_id": "MDU6TGFiZWwzNjM4MDAyNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 5 | 2014-11-29T16:53:50Z | 2014-12-03T22:31:30Z | 2014-12-03T22:31:15Z | CONTRIBUTOR | null | ```
ERROR: Failure: SyntaxError (Non-ASCII character '\xc3' in file /home/fvia/bloom/pandas/pandas/tests/test_format.py on line 825, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details (test_format.py, line 825))
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8930/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8930/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8930.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8930",
"merged_at": "2014-12-03T22:31:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8930.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8930"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8931 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8931/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8931/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8931/events | https://github.com/pandas-dev/pandas/pull/8931 | 50,431,348 | MDExOlB1bGxSZXF1ZXN0MjUyMjQ5Nzk= | 8,931 | BUG: fix doctests in pandas.core.common | {
"avatar_url": "https://avatars.githubusercontent.com/u/7761588?v=4",
"events_url": "https://api.github.com/users/rupertthompson/events{/privacy}",
"followers_url": "https://api.github.com/users/rupertthompson/followers",
"following_url": "https://api.github.com/users/rupertthompson/following{/other_user}",
"gists_url": "https://api.github.com/users/rupertthompson/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rupertthompson",
"id": 7761588,
"login": "rupertthompson",
"node_id": "MDQ6VXNlcjc3NjE1ODg=",
"organizations_url": "https://api.github.com/users/rupertthompson/orgs",
"received_events_url": "https://api.github.com/users/rupertthompson/received_events",
"repos_url": "https://api.github.com/users/rupertthompson/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rupertthompson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rupertthompson/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rupertthompson"
} | [
{
"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 | []
| null | 1 | 2014-11-29T17:08:12Z | 2014-11-30T20:40:31Z | 2014-11-30T11:35:55Z | CONTRIBUTOR | null | $ nosetests pandas/core/common.py --with-doc -v
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8931/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8931/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8931.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8931",
"merged_at": "2014-11-30T11:35:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8931.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8931"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8932 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8932/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8932/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8932/events | https://github.com/pandas-dev/pandas/issues/8932 | 50,434,266 | MDU6SXNzdWU1MDQzNDI2Ng== | 8,932 | BUG: Timestamp comparisons to dataframe should raise if there are mismatched types | {
"avatar_url": "https://avatars.githubusercontent.com/u/1217238?v=4",
"events_url": "https://api.github.com/users/shoyer/events{/privacy}",
"followers_url": "https://api.github.com/users/shoyer/followers",
"following_url": "https://api.github.com/users/shoyer/following{/other_user}",
"gists_url": "https://api.github.com/users/shoyer/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/shoyer",
"id": 1217238,
"login": "shoyer",
"node_id": "MDQ6VXNlcjEyMTcyMzg=",
"organizations_url": "https://api.github.com/users/shoyer/orgs",
"received_events_url": "https://api.github.com/users/shoyer/received_events",
"repos_url": "https://api.github.com/users/shoyer/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/shoyer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shoyer/subscriptions",
"type": "User",
"url": "https://api.github.com/users/shoyer"
} | [
{
"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": "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": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2019-01-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/55",
"id": 3228419,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55/labels",
"node_id": "MDk6TWlsZXN0b25lMzIyODQxOQ==",
"number": 55,
"open_issues": 0,
"state": "closed",
"title": "0.24.0",
"updated_at": "2019-01-29T07:42:40Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55"
} | 1 | 2014-11-29T19:06:29Z | 2018-08-14T10:49:11Z | 2018-08-14T10:49:11Z | MEMBER | null | Compare (on Python 2.7):
```
In [7]: pd.Timestamp('2000-01-01') > pd.Series(range(5))
TypeError: Cannot compare type 'Timestamp' with type 'int'
In [8]: pd.Timestamp('2000-01-01') > pd.DataFrame({'x': range(5)})
Out[8]:
x
0 True
1 True
2 True
3 True
4 True
```
Probably will fix this in the process of getting #8916 to pass, but I wanted to raise this as a separate issue in case this is intentional. Pretty sure it's not, but there was a test-case specifically introduced that relies on this behavior (see PR #4983).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8932/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8932/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8933 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8933/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8933/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8933/events | https://github.com/pandas-dev/pandas/issues/8933 | 50,434,986 | MDU6SXNzdWU1MDQzNDk4Ng== | 8,933 | CLN: core.common._is_sequence -> is_sequence | {
"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": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 0 | 2014-11-29T19:35:34Z | 2014-12-02T10:52:26Z | 2014-12-02T10:52:26Z | CONTRIBUTOR | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8933/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8933/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/8934 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8934/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8934/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8934/events | https://github.com/pandas-dev/pandas/issues/8934 | 50,437,544 | MDU6SXNzdWU1MDQzNzU0NA== | 8,934 | BLD: add conda.recipe / binstar build | {
"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": "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": "2015-05-11T15:46:03Z",
"closed_issues": 237,
"created_at": "2014-10-07T14:39:07Z",
"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.16.0 of course!",
"due_on": "2015-05-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/29",
"id": 816810,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODEw",
"number": 29,
"open_issues": 0,
"state": "closed",
"title": "0.16.1",
"updated_at": "2017-04-16T08:39:48Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29"
} | 2 | 2014-11-29T21:13:35Z | 2016-10-12T23:05:21Z | 2015-03-11T20:46:30Z | CONTRIBUTOR | null | - Anaconda has a conda recipe for pandas, but nice to include this inline
- ideally add a binstar recipe to check builds on linux/windows/mac
- nice little binstar build badges!
will close #7127 (and obviate need for #8630)
@cpcloud
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8934/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8934/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8935 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8935/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8935/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8935/events | https://github.com/pandas-dev/pandas/issues/8935 | 50,437,603 | MDU6SXNzdWU1MDQzNzYwMw== | 8,935 | RLS: 0.15.2 Issues | {
"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": "006b75",
"default": false,
"description": null,
"id": 131473665,
"name": "Release",
"node_id": "MDU6TGFiZWwxMzE0NzM2NjU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Release"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 7 | 2014-11-29T21:15:53Z | 2014-12-12T13:50:38Z | 2014-12-12T13:45:33Z | CONTRIBUTOR | null | We have a scheduled release of 0.15.2 for 12/8. So let's try to move pushable issues asap.
I was also thinking of having 0.16.0 be a somewhat shorter cycle, say 2 months. Pls lmk any objections.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8935/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8935/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8936 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8936/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8936/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8936/events | https://github.com/pandas-dev/pandas/pull/8936 | 50,437,641 | MDExOlB1bGxSZXF1ZXN0MjUyMjczNTY= | 8,936 | ENH: Adds gcs module for IO with Google Cloud Storage | {
"avatar_url": "https://avatars.githubusercontent.com/u/421839?v=4",
"events_url": "https://api.github.com/users/tshauck/events{/privacy}",
"followers_url": "https://api.github.com/users/tshauck/followers",
"following_url": "https://api.github.com/users/tshauck/following{/other_user}",
"gists_url": "https://api.github.com/users/tshauck/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tshauck",
"id": 421839,
"login": "tshauck",
"node_id": "MDQ6VXNlcjQyMTgzOQ==",
"organizations_url": "https://api.github.com/users/tshauck/orgs",
"received_events_url": "https://api.github.com/users/tshauck/received_events",
"repos_url": "https://api.github.com/users/tshauck/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tshauck/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tshauck/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tshauck"
} | [
{
"color": "0052cc",
"default": false,
"description": "pandas-gbq compatability",
"id": 57351315,
"name": "IO Google",
"node_id": "MDU6TGFiZWw1NzM1MTMxNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google"
}
]
| closed | false | null | []
| null | 5 | 2014-11-29T21:17:54Z | 2015-05-09T15:58:22Z | 2015-05-09T15:58:22Z | CONTRIBUTOR | null | Hi,
This isn't ready for primetime yet, but I wanted to see if there was feedback, since it would be a new io module.
Basic usage:
```
import pandas.io.gcs as gcs
import pandas as pd
import numpy as np
df = pd.DataFrame({
'a': np.random.normal(size=1e4),
'b': np.random.normal(size=1e4)
})
gcs.to_gcs(df, "th-code", "pandas2.csv", "eighth-physics-623", to_gcs_kwargs={'resumable': True}, to_csv_kwargs={'index': False})
i = gcs.from_gcs("th-code", "pandas2.csv", "eighth-physics-623")
```
This borrows some of the connection patterns from `gbq`, though it can do service account auth in addition to OAuth2WebServer auth. Might be nice at some point to centralize google api connection stuff. If this is accepted the code to connect to google's APIs will be in 3 places.
I'm not sure everything this would need to be accepted, besides tests...
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8936/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8936/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8936.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8936",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8936.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8936"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8937 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8937/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8937/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8937/events | https://github.com/pandas-dev/pandas/pull/8937 | 50,438,267 | MDExOlB1bGxSZXF1ZXN0MjUyMjc1OTA= | 8,937 | Categorical: let unique only return used categories | {
"avatar_url": "https://avatars.githubusercontent.com/u/890156?v=4",
"events_url": "https://api.github.com/users/jankatins/events{/privacy}",
"followers_url": "https://api.github.com/users/jankatins/followers",
"following_url": "https://api.github.com/users/jankatins/following{/other_user}",
"gists_url": "https://api.github.com/users/jankatins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jankatins",
"id": 890156,
"login": "jankatins",
"node_id": "MDQ6VXNlcjg5MDE1Ng==",
"organizations_url": "https://api.github.com/users/jankatins/orgs",
"received_events_url": "https://api.github.com/users/jankatins/received_events",
"repos_url": "https://api.github.com/users/jankatins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jankatins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jankatins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jankatins"
} | [
{
"color": "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": "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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 5 | 2014-11-29T21:42:38Z | 2014-11-30T16:09:14Z | 2014-11-30T16:09:10Z | CONTRIBUTOR | null | Discussion see here: https://github.com/pydata/pandas/issues/8559#issuecomment-64189570
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8937/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8937/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8937.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8937",
"merged_at": "2014-11-30T16:09:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8937.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8937"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8938 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8938/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8938/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8938/events | https://github.com/pandas-dev/pandas/issues/8938 | 50,439,576 | MDU6SXNzdWU1MDQzOTU3Ng== | 8,938 | API: relax categorical equality when comparing against object | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"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": "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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 6 | 2014-11-29T22:35:11Z | 2014-12-04T11:06:12Z | 2014-12-04T11:06:12Z | CONTRIBUTOR | null | from [SO](http://stackoverflow.com/questions/27164380/merging-pandas-dataframes-on-categorical-series)
```
In [1]: a = pd.Series(['a','b','c'],dtype="category")
In [2]: b = pd.Series(['a','b','c'],dtype="object")
In [3]: c = pd.Series(['a','b','cc'],dtype="object")
In [5]: a==b
TypeError: Cannot compare a Categorical for op <built-in function eq> with type <type 'numpy.ndarray'>. If you want to
compare values, use 'series <op> np.asarray(cat)'.
```
```
In [6]: A = pd.DataFrame({'A':a,'B':[1,2,3]})
In [7]: B = pd.DataFrame({'A':b,'C':[4,5,6]})
In [9]: A.merge(B,on='A')
Out[9]:
A B C
0 a 1 4
1 b 2 5
2 c 3 6
In [10]: A.merge(B,on='A').dtypes
Out[10]:
A object
B int64
C int64
dtype: object
In [11]: A.dtypes
Out[11]:
A category
B int64
dtype: object
In [12]: B.dtypes
Out[12]:
A object
C int64
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/8938/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8938/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8939 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8939/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8939/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8939/events | https://github.com/pandas-dev/pandas/pull/8939 | 50,456,508 | MDExOlB1bGxSZXF1ZXN0MjUyMzQyMzA= | 8,939 | Adding encoding lines to files in tests/ | {
"avatar_url": "https://avatars.githubusercontent.com/u/3817978?v=4",
"events_url": "https://api.github.com/users/fvia/events{/privacy}",
"followers_url": "https://api.github.com/users/fvia/followers",
"following_url": "https://api.github.com/users/fvia/following{/other_user}",
"gists_url": "https://api.github.com/users/fvia/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fvia",
"id": 3817978,
"login": "fvia",
"node_id": "MDQ6VXNlcjM4MTc5Nzg=",
"organizations_url": "https://api.github.com/users/fvia/orgs",
"received_events_url": "https://api.github.com/users/fvia/received_events",
"repos_url": "https://api.github.com/users/fvia/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fvia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fvia/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fvia"
} | []
| closed | false | null | []
| null | 0 | 2014-11-30T12:35:49Z | 2014-12-03T22:31:15Z | 2014-12-03T22:31:15Z | 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/8939/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8939/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8939.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8939",
"merged_at": "2014-12-03T22:31:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8939.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8939"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/8940 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8940/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8940/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8940/events | https://github.com/pandas-dev/pandas/pull/8940 | 50,456,666 | MDExOlB1bGxSZXF1ZXN0MjUyMzQyOTY= | 8,940 | BUG: Fixed font size (set it on both x and y axis). #8765 | {
"avatar_url": "https://avatars.githubusercontent.com/u/4346513?v=4",
"events_url": "https://api.github.com/users/dxe4/events{/privacy}",
"followers_url": "https://api.github.com/users/dxe4/followers",
"following_url": "https://api.github.com/users/dxe4/following{/other_user}",
"gists_url": "https://api.github.com/users/dxe4/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dxe4",
"id": 4346513,
"login": "dxe4",
"node_id": "MDQ6VXNlcjQzNDY1MTM=",
"organizations_url": "https://api.github.com/users/dxe4/orgs",
"received_events_url": "https://api.github.com/users/dxe4/received_events",
"repos_url": "https://api.github.com/users/dxe4/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dxe4/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dxe4/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dxe4"
} | [
{
"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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 3 | 2014-11-30T12:41:40Z | 2014-12-01T00:08:43Z | 2014-12-01T00:08:43Z | CONTRIBUTOR | null | Fix for https://github.com/pydata/pandas/issues/8765
The font size was only set on x axis if vertical or the y axis if horizontal.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8940/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8940/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8940.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8940",
"merged_at": "2014-12-01T00:08:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8940.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8940"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8941 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8941/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8941/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8941/events | https://github.com/pandas-dev/pandas/pull/8941 | 50,457,958 | MDExOlB1bGxSZXF1ZXN0MjUyMzQ3OTc= | 8,941 | BUG: Resample across multiple days | {
"avatar_url": "https://avatars.githubusercontent.com/u/3100311?v=4",
"events_url": "https://api.github.com/users/hkleynhans/events{/privacy}",
"followers_url": "https://api.github.com/users/hkleynhans/followers",
"following_url": "https://api.github.com/users/hkleynhans/following{/other_user}",
"gists_url": "https://api.github.com/users/hkleynhans/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hkleynhans",
"id": 3100311,
"login": "hkleynhans",
"node_id": "MDQ6VXNlcjMxMDAzMTE=",
"organizations_url": "https://api.github.com/users/hkleynhans/orgs",
"received_events_url": "https://api.github.com/users/hkleynhans/received_events",
"repos_url": "https://api.github.com/users/hkleynhans/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hkleynhans/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hkleynhans/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hkleynhans"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 6 | 2014-11-30T13:33:57Z | 2014-11-30T23:21:01Z | 2014-11-30T23:21:01Z | CONTRIBUTOR | null | Fixes an issue where resampling over multiple days causes a ValueError
when a number of days between the normalized first and normalized last
days is not a multiple of the frequency.
Added test TestSeries.test_resample
Closes #8683
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8941/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8941/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8941.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8941",
"merged_at": "2014-11-30T23:21:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8941.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8941"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8942 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8942/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8942/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8942/events | https://github.com/pandas-dev/pandas/pull/8942 | 50,458,868 | MDExOlB1bGxSZXF1ZXN0MjUyMzUxMzc= | 8,942 | round function added to DatetimeIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/2520911?v=4",
"events_url": "https://api.github.com/users/bbartaia/events{/privacy}",
"followers_url": "https://api.github.com/users/bbartaia/followers",
"following_url": "https://api.github.com/users/bbartaia/following{/other_user}",
"gists_url": "https://api.github.com/users/bbartaia/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bbartaia",
"id": 2520911,
"login": "bbartaia",
"node_id": "MDQ6VXNlcjI1MjA5MTE=",
"organizations_url": "https://api.github.com/users/bbartaia/orgs",
"received_events_url": "https://api.github.com/users/bbartaia/received_events",
"repos_url": "https://api.github.com/users/bbartaia/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bbartaia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bbartaia/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bbartaia"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "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": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 2 | 2014-11-30T14:10:47Z | 2015-05-09T16:06:17Z | 2015-05-09T16:06:17Z | NONE | null | closes #4314
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8942/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8942/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8942.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8942",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8942.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8942"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8943 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8943/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8943/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8943/events | https://github.com/pandas-dev/pandas/issues/8943 | 50,459,106 | MDU6SXNzdWU1MDQ1OTEwNg== | 8,943 | COMPAT: periods needs coercion to np.int64 in _generate_regular_range | {
"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": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 5 | 2014-11-30T14:21:03Z | 2014-12-17T22:14:26Z | 2014-12-17T22:14:26Z | CONTRIBUTOR | null | https://github.com/pydata/pandas/blob/master/pandas/tseries/index.py#L1768
a simple `np.int64(periods)` will suffice
(and tests of course)
This needs to guaranteed to be int64 as a result (e.g. if this is in32 it will have an internal overflow which will make it have a valid but weird result)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8943/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8943/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8944 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8944/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8944/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8944/events | https://github.com/pandas-dev/pandas/issues/8944 | 50,460,711 | MDU6SXNzdWU1MDQ2MDcxMQ== | 8,944 | Cookbook groupby apply example is failing | {
"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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 1 | 2014-11-30T15:26:04Z | 2014-12-05T02:11:13Z | 2014-12-05T02:11:13Z | MEMBER | null | Third example here: http://pandas-docs.github.io/pandas-docs-travis/cookbook.html#grouping
Test code:
```
df = pd.DataFrame({'animal': 'cat dog cat fish dog cat cat'.split(),
'size': list('SSMMMLL'),
'weight': [8, 10, 11, 1, 20, 12, 12],
'adult' : [False] * 5 + [True] * 2})
gb = df.groupby(['animal'])
def GrowUp(x):
avg_weight = sum(x[x.size == 'S'].weight * 1.5)
avg_weight += sum(x[x.size == 'M'].weight * 1.25)
avg_weight += sum(x[x.size == 'L'].weight)
avg_weight = avg_weight / len(x)
return pd.Series(['L',avg_weight,True], index=['size', 'weight', 'adult'])
expected_df = gb.apply(GrowUp)
```
On master this gives:
```
In [1]: pd.__version__
Out[1]: '0.15.1-112-g2e59e42'
In [5]: expected_df = gb.apply(GrowUp)
...
KeyError: False
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8944/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8944/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8945 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8945/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8945/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8945/events | https://github.com/pandas-dev/pandas/pull/8945 | 50,461,266 | MDExOlB1bGxSZXF1ZXN0MjUyMzYwODI= | 8,945 | BUG: Fixed plot label shows as None. #8905 | {
"avatar_url": "https://avatars.githubusercontent.com/u/4346513?v=4",
"events_url": "https://api.github.com/users/dxe4/events{/privacy}",
"followers_url": "https://api.github.com/users/dxe4/followers",
"following_url": "https://api.github.com/users/dxe4/following{/other_user}",
"gists_url": "https://api.github.com/users/dxe4/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dxe4",
"id": 4346513,
"login": "dxe4",
"node_id": "MDQ6VXNlcjQzNDY1MTM=",
"organizations_url": "https://api.github.com/users/dxe4/orgs",
"received_events_url": "https://api.github.com/users/dxe4/received_events",
"repos_url": "https://api.github.com/users/dxe4/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dxe4/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dxe4/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dxe4"
} | [
{
"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": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 14 | 2014-11-30T15:45:34Z | 2015-05-01T16:09:31Z | 2015-05-01T16:08:58Z | CONTRIBUTOR | null | Fixes https://github.com/pydata/pandas/issues/8905
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8945/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8945/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8945.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8945",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8945.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8945"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8946 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8946/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8946/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8946/events | https://github.com/pandas-dev/pandas/pull/8946 | 50,461,695 | MDExOlB1bGxSZXF1ZXN0MjUyMzYyNDM= | 8,946 | API: Allow equality comparisons of Series with a categorical dtype and object type are allowed (GH8938) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 13 | 2014-11-30T16:00:05Z | 2014-12-05T15:46:03Z | 2014-12-04T11:06:12Z | CONTRIBUTOR | null | closes #8938
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8946/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8946/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8946.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8946",
"merged_at": "2014-12-04T11:06:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8946.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8946"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8947 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8947/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8947/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8947/events | https://github.com/pandas-dev/pandas/issues/8947 | 50,471,613 | MDU6SXNzdWU1MDQ3MTYxMw== | 8,947 | BLD/TST: matplotlib 1.2.1 issues | {
"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": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 0 | 2014-11-30T21:35:09Z | 2014-11-30T23:37:41Z | 2014-11-30T23:37:41Z | CONTRIBUTOR | null | https://travis-ci.org/jreback/pandas/jobs/42570209
tests that need skipping on matplotlib 1.2.1
```
=====================================================================
ERROR: test_hist_df_coord (pandas.tests.test_graphics.TestDataFramePlots)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/jreback/pandas/pandas/tests/test_graphics.py", line 2145, in test_hist_df_coord
ax = df.plot(kind='hist', bins=5, orientation='horizontal')
File "/home/travis/build/jreback/pandas/pandas/tools/plotting.py", line 2454, in plot_frame
**kwds)
File "/home/travis/build/jreback/pandas/pandas/tools/plotting.py", line 2294, in _plot
plot_obj.generate()
File "/home/travis/build/jreback/pandas/pandas/tools/plotting.py", line 920, in generate
self._make_plot()
File "/home/travis/build/jreback/pandas/pandas/tools/plotting.py", line 1949, in _make_plot
artists = plotf(ax, y, column_num=i, **kwds)
File "/home/travis/build/jreback/pandas/pandas/tools/plotting.py", line 1929, in plotf
bottom=bottom, **kwds)
File "/home/travis/miniconda/envs/pandas/lib/python2.7/site-packages/matplotlib/axes.py", line 8180, in hist
color=c, bottom=bottom)
TypeError: barh() got multiple values for keyword argument 'bottom'
======================================================================
ERROR: test_hist_kwargs (pandas.tests.test_graphics.TestSeriesPlots)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/jreback/pandas/pandas/tests/test_graphics.py", line 821, in test_hist_kwargs
ax = self.ts.plot(kind='hist', orientation='horizontal')
File "/home/travis/build/jreback/pandas/pandas/tools/plotting.py", line 2488, in plot_series
**kwds)
File "/home/travis/build/jreback/pandas/pandas/tools/plotting.py", line 2294, in _plot
plot_obj.generate()
File "/home/travis/build/jreback/pandas/pandas/tools/plotting.py", line 920, in generate
self._make_plot()
File "/home/travis/build/jreback/pandas/pandas/tools/plotting.py", line 1949, in _make_plot
artists = plotf(ax, y, column_num=i, **kwds)
File "/home/travis/build/jreback/pandas/pandas/tools/plotting.py", line 1929, in plotf
bottom=bottom, **kwds)
File "/home/travis/miniconda/envs/pandas/lib/python2.7/site-packages/matplotlib/axes.py", line 8180, in hist
color=c, bottom=bottom)
TypeError: barh() got multiple values for keyword argument 'bottom'
----------------------------------------------------------------------
Ran 194 tests in 1178.119s
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8947/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8947/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8948 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8948/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8948/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8948/events | https://github.com/pandas-dev/pandas/pull/8948 | 50,473,041 | MDExOlB1bGxSZXF1ZXN0MjUyNDA2Mzc= | 8,948 | BUG: preserve left frame order in left merge | {
"avatar_url": "https://avatars.githubusercontent.com/u/1288998?v=4",
"events_url": "https://api.github.com/users/behzadnouri/events{/privacy}",
"followers_url": "https://api.github.com/users/behzadnouri/followers",
"following_url": "https://api.github.com/users/behzadnouri/following{/other_user}",
"gists_url": "https://api.github.com/users/behzadnouri/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/behzadnouri",
"id": 1288998,
"login": "behzadnouri",
"node_id": "MDQ6VXNlcjEyODg5OTg=",
"organizations_url": "https://api.github.com/users/behzadnouri/orgs",
"received_events_url": "https://api.github.com/users/behzadnouri/received_events",
"repos_url": "https://api.github.com/users/behzadnouri/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/behzadnouri/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/behzadnouri/subscriptions",
"type": "User",
"url": "https://api.github.com/users/behzadnouri"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 1 | 2014-11-30T22:20:32Z | 2014-12-01T12:54:02Z | 2014-12-01T00:46:44Z | CONTRIBUTOR | null | closes https://github.com/pydata/pandas/issues/7331
on master:
```
>>> left
dates states
0 20140101 CA
1 20140102 NY
2 20140103 CA
>>> right
stateid states
0 1 CA
1 2 NY
>>> pd.merge(left, right, how='left', on='states', sort=False)
dates states stateid
0 20140101 CA 1
1 20140103 CA 1
2 20140102 NY 2
```
`DataFrame.join` already works fine:
```
>>> left.join(right.set_index('states'), on='states', how='left')
dates states stateid
0 20140101 CA 1
1 20140102 NY 2
2 20140103 CA 1
```
on branch:
```
>>> pd.merge(left, right, how='left', on='states', sort=False)
dates states stateid
0 20140101 CA 1
1 20140102 NY 2
2 20140103 CA 1
>>> pd.merge(left, right, how='left', on='states', sort=True)
dates states stateid
0 20140101 CA 1
1 20140103 CA 1
2 20140102 NY 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/8948/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8948/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8948.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8948",
"merged_at": "2014-12-01T00:46:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8948.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8948"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8949 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8949/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8949/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8949/events | https://github.com/pandas-dev/pandas/pull/8949 | 50,474,326 | MDExOlB1bGxSZXF1ZXN0MjUyNDExNzk= | 8,949 | BLD/TST: skip mpl 1.2.1 tests (GH8947) | {
"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": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 0 | 2014-11-30T23:00:05Z | 2014-11-30T23:37:41Z | 2014-11-30T23:37:41Z | CONTRIBUTOR | null | closes #8947
add SLOW build (optional)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8949/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8949/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8949.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8949",
"merged_at": "2014-11-30T23:37:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8949.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8949"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8950 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8950/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8950/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8950/events | https://github.com/pandas-dev/pandas/pull/8950 | 50,498,434 | MDExOlB1bGxSZXF1ZXN0MjUyNTMxNjI= | 8,950 | Updating generic.py error message #8618 - New branch | {
"avatar_url": "https://avatars.githubusercontent.com/u/983944?v=4",
"events_url": "https://api.github.com/users/springcoil/events{/privacy}",
"followers_url": "https://api.github.com/users/springcoil/followers",
"following_url": "https://api.github.com/users/springcoil/following{/other_user}",
"gists_url": "https://api.github.com/users/springcoil/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/springcoil",
"id": 983944,
"login": "springcoil",
"node_id": "MDQ6VXNlcjk4Mzk0NA==",
"organizations_url": "https://api.github.com/users/springcoil/orgs",
"received_events_url": "https://api.github.com/users/springcoil/received_events",
"repos_url": "https://api.github.com/users/springcoil/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/springcoil/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/springcoil/subscriptions",
"type": "User",
"url": "https://api.github.com/users/springcoil"
} | [
{
"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": "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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 7 | 2014-12-01T08:24:17Z | 2014-12-03T10:52:43Z | 2014-12-03T10:51:37Z | CONTRIBUTOR | null | closes #8015
I deleted the previous branch that was causing problems and submitted this.
This is my first attempt at a PR. I just made a little change to allow an error message. Would appreciate some feedback.
@jreback @jorisvandenbossche @hayd
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8950/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8950/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8950.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8950",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8950.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8950"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8951 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8951/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8951/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8951/events | https://github.com/pandas-dev/pandas/issues/8951 | 50,521,688 | MDU6SXNzdWU1MDUyMTY4OA== | 8,951 | `DataFrame.iterrows()` breaks timezone on index | {
"avatar_url": "https://avatars.githubusercontent.com/u/460756?v=4",
"events_url": "https://api.github.com/users/JackKelly/events{/privacy}",
"followers_url": "https://api.github.com/users/JackKelly/followers",
"following_url": "https://api.github.com/users/JackKelly/following{/other_user}",
"gists_url": "https://api.github.com/users/JackKelly/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/JackKelly",
"id": 460756,
"login": "JackKelly",
"node_id": "MDQ6VXNlcjQ2MDc1Ng==",
"organizations_url": "https://api.github.com/users/JackKelly/orgs",
"received_events_url": "https://api.github.com/users/JackKelly/received_events",
"repos_url": "https://api.github.com/users/JackKelly/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/JackKelly/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JackKelly/subscriptions",
"type": "User",
"url": "https://api.github.com/users/JackKelly"
} | [
{
"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": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
]
| closed | false | null | []
| null | 2 | 2014-12-01T13:06:23Z | 2014-12-01T13:46:52Z | 2014-12-01T13:45:39Z | CONTRIBUTOR | null | Duplicate of #8890.
As far as I can tell, the Timestamps for the index generated by `iterrows()` are 5 hours behind where they should be in this example:
``` python
In [33]: idx = pd.date_range("2010-01-01 00:00:00-0500", freq='D', periods=3)
In [34]: df = pd.DataFrame([1,2,3], index=[idx])
In [35]: df # this looks correct
Out[35]:
0
2010-01-01 00:00:00-05:00 1
2010-01-02 00:00:00-05:00 2
2010-01-03 00:00:00-05:00 3
In [36]: [index for index, row in df.iterrows()] # but this looks wrong:
Out[36]:
[Timestamp('2009-12-31 19:00:00-0500', tz='pytz.FixedOffset(-300)', offset='D'),
Timestamp('2010-01-01 19:00:00-0500', tz='pytz.FixedOffset(-300)', offset='D'),
Timestamp('2010-01-02 19:00:00-0500', tz='pytz.FixedOffset(-300)', offset='D')]
```
I would have expected `iterrows()` to produce the same indices as this code:
``` python
In [38]: [df.index[i] for i in range(len(df))]
Out[38]:
[Timestamp('2010-01-01 00:00:00-0500', tz='pytz.FixedOffset(-300)', offset='D'),
Timestamp('2010-01-02 00:00:00-0500', tz='pytz.FixedOffset(-300)', offset='D'),
Timestamp('2010-01-03 00:00:00-0500', tz='pytz.FixedOffset(-300)', offset='D')]
```
The `row.name` is also incorrect:
``` python
In [37]: [row.name for index, row in df.iterrows()]
Out[37]:
[Timestamp('2009-12-31 19:00:00-0500', tz='pytz.FixedOffset(-300)', offset='D'),
Timestamp('2010-01-01 19:00:00-0500', tz='pytz.FixedOffset(-300)', offset='D'),
Timestamp('2010-01-02 19:00:00-0500', tz='pytz.FixedOffset(-300)', offset='D')]
```
But all is fine if we use a geographical timezone instead of a `pytz.FixedOffset`:
``` python
In [47]: idx = pd.date_range("2010-01-01 00:00:00", freq='D', periods=3, tz="America/New_York")
In [48]: df = pd.DataFrame([1,2,3], index=[idx])
In [49]: [index for index, row in df.iterrows()]
Out[49]:
[Timestamp('2010-01-01 00:00:00-0456', tz='America/New_York', offset='D'),
Timestamp('2010-01-02 00:00:00-0456', tz='America/New_York', offset='D'),
Timestamp('2010-01-03 00:00:00-0456', tz='America/New_York', offset='D')]
In [50]: df
Out[50]:
0
2010-01-01 00:00:00-04:56 1
2010-01-02 00:00:00-04:56 2
2010-01-03 00:00:00-04:56 3
```
Forgive me if I am using Pandas incorrectly!
Versions:
```
In [51]: pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.8.final.0
python-bits: 64
OS: Linux
OS-release: 3.16.0-25-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_GB.UTF-8
pandas: 0.15.1
nose: 1.3.4
Cython: 0.21.1
numpy: 1.8.2
scipy: 0.14.0
statsmodels: None
IPython: 2.3.1
sphinx: 1.2.3
patsy: None
dateutil: 2.2
pytz: 2014.10
bottleneck: 0.6.0
tables: 3.1.1
numexpr: 2.4
matplotlib: 1.4.2
openpyxl: 1.8.6
xlrd: 0.9.2
xlwt: 0.7.5
xlsxwriter: None
lxml: 3.3.6
bs4: None
html5lib: 0.999
httplib2: 0.9
apiclient: None
rpy2: 2.3.8
sqlalchemy: None
pymysql: None
psycopg2: None
```
(it goes without saying that I'm a huge fan of Pandas!)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8951/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8951/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8952 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8952/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8952/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8952/events | https://github.com/pandas-dev/pandas/pull/8952 | 50,549,437 | MDExOlB1bGxSZXF1ZXN0MjUyODM2Nzc= | 8,952 | Doc for GH 8946 | {
"avatar_url": "https://avatars.githubusercontent.com/u/890156?v=4",
"events_url": "https://api.github.com/users/jankatins/events{/privacy}",
"followers_url": "https://api.github.com/users/jankatins/followers",
"following_url": "https://api.github.com/users/jankatins/following{/other_user}",
"gists_url": "https://api.github.com/users/jankatins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jankatins",
"id": 890156,
"login": "jankatins",
"node_id": "MDQ6VXNlcjg5MDE1Ng==",
"organizations_url": "https://api.github.com/users/jankatins/orgs",
"received_events_url": "https://api.github.com/users/jankatins/received_events",
"repos_url": "https://api.github.com/users/jankatins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jankatins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jankatins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jankatins"
} | []
| closed | false | null | []
| null | 1 | 2014-12-01T17:17:45Z | 2014-12-02T12:15:59Z | 2014-12-02T12:15:59Z | CONTRIBUTOR | null | For https://github.com/pydata/pandas/pull/8946
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8952/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8952/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8952.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8952",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8952.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8952"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8953 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8953/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8953/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8953/events | https://github.com/pandas-dev/pandas/issues/8953 | 50,557,426 | MDU6SXNzdWU1MDU1NzQyNg== | 8,953 | Use multi-row inserts for massive speedups on to_sql over high latency connections | {
"avatar_url": "https://avatars.githubusercontent.com/u/6059365?v=4",
"events_url": "https://api.github.com/users/maxgrenderjones/events{/privacy}",
"followers_url": "https://api.github.com/users/maxgrenderjones/followers",
"following_url": "https://api.github.com/users/maxgrenderjones/following{/other_user}",
"gists_url": "https://api.github.com/users/maxgrenderjones/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/maxgrenderjones",
"id": 6059365,
"login": "maxgrenderjones",
"node_id": "MDQ6VXNlcjYwNTkzNjU=",
"organizations_url": "https://api.github.com/users/maxgrenderjones/orgs",
"received_events_url": "https://api.github.com/users/maxgrenderjones/received_events",
"repos_url": "https://api.github.com/users/maxgrenderjones/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/maxgrenderjones/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/maxgrenderjones/subscriptions",
"type": "User",
"url": "https://api.github.com/users/maxgrenderjones"
} | [
{
"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": "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": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2019-01-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/55",
"id": 3228419,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55/labels",
"node_id": "MDk6TWlsZXN0b25lMzIyODQxOQ==",
"number": 55,
"open_issues": 0,
"state": "closed",
"title": "0.24.0",
"updated_at": "2019-01-29T07:42:40Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55"
} | 48 | 2014-12-01T18:29:49Z | 2019-11-28T22:14:34Z | 2018-12-28T21:03:13Z | CONTRIBUTOR | null | I have been trying to insert ~30k rows into a mysql database using pandas-0.15.1, oursql-0.9.3.1 and sqlalchemy-0.9.4. Because the machine is as across the atlantic from me, calling `data.to_sql` was taking >1 hr to insert the data. On inspecting with wireshark, the issue is that it is sending an insert for every row, then waiting for the ACK before sending the next, and, long story short, the ping times are killing me.
However, following the instructions from [SQLAlchemy](http://docs.sqlalchemy.org/en/latest/core/dml.html#sqlalchemy.sql.expression.Insert.values), I changed
``` python
def _execute_insert(self, conn, keys, data_iter):
data = [dict((k, v) for k, v in zip(keys, row)) for row in data_iter]
conn.execute(self.insert_statement(), data)
```
to
``` python
def _execute_insert(self, conn, keys, data_iter):
data = [dict((k, v) for k, v in zip(keys, row)) for row in data_iter]
conn.execute(self.insert_statement().values(data))
```
and the entire operation completes in less than a minute. (To save you a click, the difference is between multiple calls to `insert into foo (columns) values (rowX)` and one massive `insert into foo (columns) VALUES (row1), (row2), row3)`). Given how often people are likely to use pandas to insert large volumes of data, this feels like a huge win that would be great to be included more widely.
Some challenges:
- Not every database supports multirow inserts (SQLite and SQLServer didn't in the past, though they do now). I don't know how to check for this via SQLAlchemy
- The MySQL server I was using didn't allow me to insert the data all in one go, I had to set the chunksize (5k worked fine, but I guess the full 30k was too much). If we made this the default insert, most people would have to add a chunk size (which might be hard to calculate, as it might be determined by the maximum packet size of the server).
The easiest way to do this, would be to add a `multirow=` boolean parameter (default `False`) to the `to_sql` function, and then leave the user responsible for setting the chunksize, but perhaps there's a better way?
Thoughts?
| {
"+1": 37,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 7,
"laugh": 0,
"rocket": 0,
"total_count": 44,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8953/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8953/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8954 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8954/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8954/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8954/events | https://github.com/pandas-dev/pandas/pull/8954 | 50,574,841 | MDExOlB1bGxSZXF1ZXN0MjUyOTg3MTc= | 8,954 | Applying max_colwidth to the DataFrame index (#7856) | {
"avatar_url": "https://avatars.githubusercontent.com/u/34787?v=4",
"events_url": "https://api.github.com/users/tiagoantao/events{/privacy}",
"followers_url": "https://api.github.com/users/tiagoantao/followers",
"following_url": "https://api.github.com/users/tiagoantao/following{/other_user}",
"gists_url": "https://api.github.com/users/tiagoantao/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tiagoantao",
"id": 34787,
"login": "tiagoantao",
"node_id": "MDQ6VXNlcjM0Nzg3",
"organizations_url": "https://api.github.com/users/tiagoantao/orgs",
"received_events_url": "https://api.github.com/users/tiagoantao/received_events",
"repos_url": "https://api.github.com/users/tiagoantao/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tiagoantao/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tiagoantao/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tiagoantao"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
}
]
| closed | false | null | []
| {
"closed_at": "2015-05-11T15:46:03Z",
"closed_issues": 237,
"created_at": "2014-10-07T14:39:07Z",
"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.16.0 of course!",
"due_on": "2015-05-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/29",
"id": 816810,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODEw",
"number": 29,
"open_issues": 0,
"state": "closed",
"title": "0.16.1",
"updated_at": "2017-04-16T08:39:48Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29"
} | 11 | 2014-12-01T21:06:12Z | 2015-04-28T12:00:07Z | 2015-04-28T12:00:07Z | CONTRIBUTOR | null | closes #7856
reports a problem with the application of max_colwidth to groupby.
The real problem is that max_colwidth is not applied to the index. This patch solves that.
I am not applying self.justify to the formatting of the index (as that would break a test). But maybe it makes more sense to change the test?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8954/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8954/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8954.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8954",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8954.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8954"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8955 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8955/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8955/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8955/events | https://github.com/pandas-dev/pandas/issues/8955 | 50,583,086 | MDU6SXNzdWU1MDU4MzA4Ng== | 8,955 | BUG: Groupby transform with missing groups | {
"avatar_url": "https://avatars.githubusercontent.com/u/2701643?v=4",
"events_url": "https://api.github.com/users/miketkelly/events{/privacy}",
"followers_url": "https://api.github.com/users/miketkelly/followers",
"following_url": "https://api.github.com/users/miketkelly/following{/other_user}",
"gists_url": "https://api.github.com/users/miketkelly/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/miketkelly",
"id": 2701643,
"login": "miketkelly",
"node_id": "MDQ6VXNlcjI3MDE2NDM=",
"organizations_url": "https://api.github.com/users/miketkelly/orgs",
"received_events_url": "https://api.github.com/users/miketkelly/received_events",
"repos_url": "https://api.github.com/users/miketkelly/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/miketkelly/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/miketkelly/subscriptions",
"type": "User",
"url": "https://api.github.com/users/miketkelly"
} | [
{
"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": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 5 | 2014-12-01T22:06:13Z | 2021-01-10T14:53:04Z | null | CONTRIBUTOR | null | In a groupby/transform when some of the groups are missing, should the transformed values be set to missing (my preference), left unchanged, or should this be an error? Currently the behavior is inconsistent between Series and Frames, and between cythonized and non-cythonized transformations.
For a Series with a non-cythonized transformation, the values are left unchanged:
```
>>> import pandas as pd
>>> import numpy as np
>>> s = pd.Series([100, 200, 300, 400])
>>> s.groupby([1, 1, np.nan, np.nan]).transform(pd.Series.mean)
0 200
1 200
2 300
3 400
```
For a Series with cythonized functions, its an error (this changed between 0.14.1 and 0.15.0):
```
>>> s.groupby([1, 1, np.nan, np.nan]).transform(np.mean)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pandas/pandas/core/groupby.py", line 2425, in transform
return self._transform_fast(cyfunc)
File "pandas/pandas/core/groupby.py", line 2466, in _transform_fast
return self._set_result_index_ordered(Series(values))
File "pandas/pandas/core/groupby.py", line 494, in _set_result_index_ordered
result.index = self.obj.index
File "pandas/pandas/core/generic.py", line 1948, in __setattr__
object.__setattr__(self, name, value)
File "pandas/src/properties.pyx", line 65, in pandas.lib.AxisProperty.__set__ (pandas/lib.c:41020)
File "pandas/pandas/core/series.py", line 262, in _set_axis
self._data.set_axis(axis, labels)
File "pandas/pandas/core/internals.py", line 2217, in set_axis
'new values have %d elements' % (old_len, new_len))
ValueError: Length mismatch: Expected axis has 2 elements, new values have 4 elements
```
For DataFrames, the results are opposite:
```
>>> f = pd.DataFrame({'a': s, 'b': s * 2})
>>> f
a b
0 100 200
1 200 400
2 300 600
3 400 800
>>> f.groupby([1, 1, np.nan, np.nan]).transform(np.sum)
a b
0 300 600
1 300 600
2 300 600
3 400 800
>>> f.groupby([1, 1, np.nan, np.nan]).transform(pd.DataFrame.sum)
Traceback (most recent call last):
File "pandas/pandas/core/groupby.py", line 3002, in transform
return self._transform_general(func, *args, **kwargs)
File "pandas/pandas/core/groupby.py", line 2968, in _transform_general
return self._set_result_index_ordered(concatenated)
File "pandas/pandas/core/groupby.py", line 494, in _set_result_index_ordered
result.index = self.obj.index
File "pandas/pandas/core/generic.py", line 1948, in __setattr__
object.__setattr__(self, name, value)
File "pandas/src/properties.pyx", line 65, in pandas.lib.AxisProperty.__set__ (pandas/lib.c:41020)
File "pandas/pandas/core/generic.py", line 406, in _set_axis
self._data.set_axis(axis, labels)
File "pandas/pandas/core/internals.py", line 2217, in set_axis
'new values have %d elements' % (old_len, new_len))
ValueError: Length mismatch: Expected axis has 2 elements, new values have 4 elements
```
```
>>> print(pd.__version__)
0.15.1-125-ge463818
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8955/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8955/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8956 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8956/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8956/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8956/events | https://github.com/pandas-dev/pandas/issues/8956 | 50,587,138 | MDU6SXNzdWU1MDU4NzEzOA== | 8,956 | Documentation for .iloc is misleadingly incomplete | {
"avatar_url": "https://avatars.githubusercontent.com/u/295428?v=4",
"events_url": "https://api.github.com/users/cswarth/events{/privacy}",
"followers_url": "https://api.github.com/users/cswarth/followers",
"following_url": "https://api.github.com/users/cswarth/following{/other_user}",
"gists_url": "https://api.github.com/users/cswarth/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cswarth",
"id": 295428,
"login": "cswarth",
"node_id": "MDQ6VXNlcjI5NTQyOA==",
"organizations_url": "https://api.github.com/users/cswarth/orgs",
"received_events_url": "https://api.github.com/users/cswarth/received_events",
"repos_url": "https://api.github.com/users/cswarth/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cswarth/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cswarth/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cswarth"
} | [
{
"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": "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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 13 | 2014-12-01T22:33:01Z | 2014-12-04T00:08:20Z | 2014-12-04T00:08:20Z | CONTRIBUTOR | null | The documentation for `.loc` at http://pandas.pydata.org/pandas-docs/version/0.15.1/indexing.html#different-choices-for-indexing should mention that `.iloc` also takes a boolean array instead of insisting that it is "strictly integer position based".
```
.iloc is strictly integer position based (from 0 to length-1 of the axis), will raise IndexError if an indexer is requested and it is out-of-bounds, except slice indexers which allow out-of-bounds indexing. (this conforms with python/numpy slice semantics). Allowed inputs are:
An integer e.g. 5
A list or array of integers [4, 3, 0]
A slice object with ints 1:7
```
Unlike `.loc` immediately above, no mention is made of "A boolean array"
This is incorrect as [later in the same document](http://pandas.pydata.org/pandas-docs/version/0.15.1/indexing.html#indexing-with-isin) an example uses `.iloc` and `isin` to retrieve elements from a Series. isin returns a list of booleans (well, strictly it is a numpy.ndarray, but converting to a list works as well)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8956/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8956/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8957 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8957/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8957/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8957/events | https://github.com/pandas-dev/pandas/pull/8957 | 50,596,487 | MDExOlB1bGxSZXF1ZXN0MjUzMDk3NjM= | 8,957 | Cookbook text fix | {
"avatar_url": "https://avatars.githubusercontent.com/u/2830459?v=4",
"events_url": "https://api.github.com/users/stevesimmons/events{/privacy}",
"followers_url": "https://api.github.com/users/stevesimmons/followers",
"following_url": "https://api.github.com/users/stevesimmons/following{/other_user}",
"gists_url": "https://api.github.com/users/stevesimmons/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/stevesimmons",
"id": 2830459,
"login": "stevesimmons",
"node_id": "MDQ6VXNlcjI4MzA0NTk=",
"organizations_url": "https://api.github.com/users/stevesimmons/orgs",
"received_events_url": "https://api.github.com/users/stevesimmons/received_events",
"repos_url": "https://api.github.com/users/stevesimmons/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/stevesimmons/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stevesimmons/subscriptions",
"type": "User",
"url": "https://api.github.com/users/stevesimmons"
} | [
{
"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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 5 | 2014-12-02T00:11:05Z | 2014-12-04T00:08:00Z | 2014-12-03T00:20:09Z | CONTRIBUTOR | null | Closes #8944
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8957/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8957/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8957.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8957",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8957.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8957"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8958 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8958/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8958/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8958/events | https://github.com/pandas-dev/pandas/pull/8958 | 50,626,500 | MDExOlB1bGxSZXF1ZXN0MjUzMjY4NjA= | 8,958 | ENH: add contextmanager to HDFStore (#8791) | {
"avatar_url": "https://avatars.githubusercontent.com/u/15446?v=4",
"events_url": "https://api.github.com/users/vikram/events{/privacy}",
"followers_url": "https://api.github.com/users/vikram/followers",
"following_url": "https://api.github.com/users/vikram/following{/other_user}",
"gists_url": "https://api.github.com/users/vikram/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vikram",
"id": 15446,
"login": "vikram",
"node_id": "MDQ6VXNlcjE1NDQ2",
"organizations_url": "https://api.github.com/users/vikram/orgs",
"received_events_url": "https://api.github.com/users/vikram/received_events",
"repos_url": "https://api.github.com/users/vikram/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vikram/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vikram/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vikram"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "read_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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 10 | 2014-12-02T08:59:57Z | 2014-12-04T11:30:51Z | 2014-12-04T11:30:36Z | NONE | null | Added a context manager to HDFStore
closes #8791
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8958/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8958/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8958.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8958",
"merged_at": "2014-12-04T11:30:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8958.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8958"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8959 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8959/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8959/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8959/events | https://github.com/pandas-dev/pandas/pull/8959 | 50,626,559 | MDExOlB1bGxSZXF1ZXN0MjUzMjY4OTk= | 8,959 | Fixes #8933 simple renaming | {
"avatar_url": "https://avatars.githubusercontent.com/u/15446?v=4",
"events_url": "https://api.github.com/users/vikram/events{/privacy}",
"followers_url": "https://api.github.com/users/vikram/followers",
"following_url": "https://api.github.com/users/vikram/following{/other_user}",
"gists_url": "https://api.github.com/users/vikram/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vikram",
"id": 15446,
"login": "vikram",
"node_id": "MDQ6VXNlcjE1NDQ2",
"organizations_url": "https://api.github.com/users/vikram/orgs",
"received_events_url": "https://api.github.com/users/vikram/received_events",
"repos_url": "https://api.github.com/users/vikram/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vikram/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vikram/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vikram"
} | [
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 1 | 2014-12-02T09:00:48Z | 2014-12-02T10:52:26Z | 2014-12-02T10:52:26Z | NONE | null | closes #8933
Refactored _is_sequence to is_sequence
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8959/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8959/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8959.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8959",
"merged_at": "2014-12-02T10:52:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8959.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8959"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8960 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8960/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8960/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8960/events | https://github.com/pandas-dev/pandas/issues/8960 | 50,628,908 | MDU6SXNzdWU1MDYyODkwOA== | 8,960 | bug? with `delim_whitespace` and 'skiprows' in `read_csv` | {
"avatar_url": "https://avatars.githubusercontent.com/u/1939575?v=4",
"events_url": "https://api.github.com/users/kikocorreoso/events{/privacy}",
"followers_url": "https://api.github.com/users/kikocorreoso/followers",
"following_url": "https://api.github.com/users/kikocorreoso/following{/other_user}",
"gists_url": "https://api.github.com/users/kikocorreoso/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kikocorreoso",
"id": 1939575,
"login": "kikocorreoso",
"node_id": "MDQ6VXNlcjE5Mzk1NzU=",
"organizations_url": "https://api.github.com/users/kikocorreoso/orgs",
"received_events_url": "https://api.github.com/users/kikocorreoso/received_events",
"repos_url": "https://api.github.com/users/kikocorreoso/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kikocorreoso/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kikocorreoso/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kikocorreoso"
} | [
{
"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 | 4 | 2014-12-02T09:29:11Z | 2014-12-03T02:16:30Z | 2014-12-03T02:16:30Z | NONE | null | Hi all,
I've updated to version 0.15.1 from 0.14.x (Python3.4) and the following code fails in the latest version if the blank line (third line) in `data` has a tab or whitespace (I think it should be ignored when `skiprows` is used):
``` Python
import io
import pandas as pd
data = """Lat=0 Lon=0
Whatever - Not very important
YYYYMMDD HHMM M(m/s) D(deg) T(C) De(k/m3) PRE(hPa) RiNumber RH(%)
19840101 0000 21.7 237 9.1 1.23 996.3 0.09 87.4
19840101 0100 22.4 239 9.4 1.23 995.7 0.10 87.2
19840101 0200 22.5 240 9.5 1.23 995.2 0.11 87.5"""
pd.read_csv(io.StringIO(data), delim_whitespace = True, skiprows = 4)
```
The output with a whitespace or tab in the third line (blank line part of the header) is:
<table>
<thead>
<tr style="text-align: right;">
<th></th>
<th>YYYYMMDD</th>
<th>HHMM</th>
<th>M(m/s)</th>
<th>D(deg)</th>
<th>T(C)</th>
<th>De(k/m3)</th>
<th>PRE(hPa)</th>
<th>RiNumber</th>
<th>RH(%)</th>
</tr>
</thead>
<tbody>
<tr>
<th>0</th>
<td> 19840101</td>
<td> 0</td>
<td> 21.7</td>
<td> 237</td>
<td> 9.1</td>
<td> 1.23</td>
<td> 996.3</td>
<td> 0.09</td>
<td> 87.4</td>
</tr>
<tr>
<th>1</th>
<td> 19840101</td>
<td> 100</td>
<td> 22.4</td>
<td> 239</td>
<td> 9.4</td>
<td> 1.23</td>
<td> 995.7</td>
<td> 0.10</td>
<td> 87.2</td>
</tr>
<tr>
<th>2</th>
<td> 19840101</td>
<td> 200</td>
<td> 22.5</td>
<td> 240</td>
<td> 9.5</td>
<td> 1.23</td>
<td> 995.2</td>
<td> 0.11</td>
<td> 87.5</td>
</tr>
</tbody>
</table>
And the output without the whitespace and/or a tab is the expected:
<table>
<thead>
<tr style="text-align: right;">
<th></th>
<th>19840101</th>
<th>0000</th>
<th>21.7</th>
<th>237</th>
<th>9.1</th>
<th>1.23</th>
<th>996.3</th>
<th>0.09</th>
<th>87.4</th>
</tr>
</thead>
<tbody>
<tr>
<th>0</th>
<td> 19840101</td>
<td> 100</td>
<td> 22.4</td>
<td> 239</td>
<td> 9.4</td>
<td> 1.23</td>
<td> 995.7</td>
<td> 0.10</td>
<td> 87.2</td>
</tr>
<tr>
<th>1</th>
<td> 19840101</td>
<td> 200</td>
<td> 22.5</td>
<td> 240</td>
<td> 9.5</td>
<td> 1.23</td>
<td> 995.2</td>
<td> 0.11</td>
<td> 87.5</td>
</tr>
</tbody>
</table>
`pd.show_versions()` provides the following output:
```
INSTALLED VERSIONS
------------------
commit: None
python: 3.4.1.final.0
python-bits: 32
OS: Windows
OS-release: 7
machine: x86
processor: x86 Family 6 Model 37 Stepping 5, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.15.1
nose: 1.3.4
Cython: None
numpy: 1.9.1
scipy: 0.14.0
statsmodels: 0.6.0
IPython: 3.0.0-dev
sphinx: 1.2.3
patsy: 0.3.0
dateutil: 2.1
pytz: 2014.9
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.4.0
openpyxl: None
xlrd: 0.9.3
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
rpy2: 2.4.4
sqlalchemy: 0.9.8
pymysql: None
psycopg2: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8960/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8960/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8961 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8961/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8961/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8961/events | https://github.com/pandas-dev/pandas/issues/8961 | 50,633,217 | MDU6SXNzdWU1MDYzMzIxNw== | 8,961 | DISCUSS: move online data reader subpackages to separate project? | {
"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": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 48 | 2014-12-02T10:15:17Z | 2015-08-26T01:45:36Z | 2015-08-26T01:45:36Z | MEMBER | null | Opening an issue to discuss this: **should we think about moving the functionality to read online data sources to a separate package?**
This was mentioned recently here https://github.com/pydata/pandas/issues/8842#issuecomment-63456052 and https://github.com/pydata/pandas/pull/8631#issuecomment-61805926
Some reasons why we would want to move it:
- This often needs much more urgent releases than pandas to fix changes in the remote sources. So with separate release cycle, this can speed up propagation of bugfixes to users
- More general: to limit the scope of pandas as the core project, and to encourage that some people take ownership of this subproject (which is easier as a separate project?), publicize it separately, ..
Some questions that come to mind:
- What should we move? (everything in [remote_data.rst](http://pandas.pydata.org/pandas-docs/stable/remote_data.html)?)
- Everything in `io.data`? (the `DataReader` function for Yahoo and Google Finance, FRED and Fama/French, and the `Options` class
- Also `io.wb` (certain World Bank data) and `io.ga` (google analytics interface)?
- Should we move it all to one separate project, or to multiple?
- Are there outside of pandas already some packages like this? (possibilities to merge with that/collaborate/..)
- Who would be interested to take this up? To be a maintainer of such a package?
Pinging some of the people have worked on these subpackages (certainly add others if you know):
@dstephens99 @MichaelWS @kdiether @cpcloud @vincentarelbundock @jnmclarty
@jreback @immerrr @TomAugspurger @hayd @jtratner
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8961/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8961/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8962 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8962/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8962/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8962/events | https://github.com/pandas-dev/pandas/issues/8962 | 50,636,634 | MDU6SXNzdWU1MDYzNjYzNA== | 8,962 | Enhancement: 'Joiner'-Function for pd.merge/DataFrame.join | {
"avatar_url": "https://avatars.githubusercontent.com/u/3476592?v=4",
"events_url": "https://api.github.com/users/cstotzer/events{/privacy}",
"followers_url": "https://api.github.com/users/cstotzer/followers",
"following_url": "https://api.github.com/users/cstotzer/following{/other_user}",
"gists_url": "https://api.github.com/users/cstotzer/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cstotzer",
"id": 3476592,
"login": "cstotzer",
"node_id": "MDQ6VXNlcjM0NzY1OTI=",
"organizations_url": "https://api.github.com/users/cstotzer/orgs",
"received_events_url": "https://api.github.com/users/cstotzer/received_events",
"repos_url": "https://api.github.com/users/cstotzer/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cstotzer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cstotzer/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cstotzer"
} | [
{
"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"
}
]
| open | false | null | []
| null | 14 | 2014-12-02T10:50:54Z | 2021-08-27T17:14:32Z | null | NONE | null | Would it be possible to add a parameter to pd.merge/DataFrame.join which accepts a function that does the actual merging of the two joined rows.
```
def my_joiner(left,right):
left.a = right.a if left.a == NaN else left.a
left.b = right.b if left.cnt < 3 else left.b
...
return left
pd.merge(df1,df2,joiner=my_joiner)
```
As I often use merge/join to impute missing or statistically unreliable data I find myself writeing code like the following over and over again:
```
df3 = pd.merge(df1,df2)
df3['a'] = df3.a_x.fillna(df3.a_y)
df3['b'] = df3.apply(lambda x: x.b_x if x.cnt > 3 else x.b_y)
...
df3 = df3.drop([a_x, a_y, b_x, b_y])
```
Which is rather cumbersome and cluttered.
| {
"+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/8962/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8962/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8963 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8963/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8963/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8963/events | https://github.com/pandas-dev/pandas/issues/8963 | 50,639,680 | MDU6SXNzdWU1MDYzOTY4MA== | 8,963 | DOC: adopt label convention for issue annotation | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2015-05-11T15:46:03Z",
"closed_issues": 237,
"created_at": "2014-10-07T14:39:07Z",
"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.16.0 of course!",
"due_on": "2015-05-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/29",
"id": 816810,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODEw",
"number": 29,
"open_issues": 0,
"state": "closed",
"title": "0.16.1",
"updated_at": "2017-04-16T08:39:48Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29"
} | 2 | 2014-12-02T11:24:25Z | 2015-04-04T18:51:44Z | 2015-04-04T18:51:44Z | CONTRIBUTOR | null | this is the schema from astropy
https://github.com/astropy/astropy/wiki/Issue-labeling-convention
Numpy/scipy are considering this
might make issue navigation easier
making this issue for comments on these labels (I am for accepting them almost as is)
---
`package-novice` - accessible to someone who has no knowledge of astropy internals and can be done without this knowledge.
`package-intermediate` - accessible to someone who has at least good experience in using the package and understands the issue well.
`package-expert` - accessible only to people intimately familiar with the sub-package/functionality.
`effort-low` - a few hours at most
`effort-medium` - a few days at most
`effort-high` - longer term
The effort should be indicated for the package-... level specified (so the effort may be lower for a more experienced developer). We also use the following tags:
`domain-specialist` - indicates that knowledge of the specific domain (e.g. cosmology, coordinate transformation) is needed.
the we should doc these on the contributors page
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8963/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8963/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8964 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8964/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8964/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8964/events | https://github.com/pandas-dev/pandas/pull/8964 | 50,641,569 | MDExOlB1bGxSZXF1ZXN0MjUzMzU3MTc= | 8,964 | BUG: fixes pd.Grouper for non-datetimelike groupings #8866 | {
"avatar_url": "https://avatars.githubusercontent.com/u/5433868?v=4",
"events_url": "https://api.github.com/users/jamalsenouci/events{/privacy}",
"followers_url": "https://api.github.com/users/jamalsenouci/followers",
"following_url": "https://api.github.com/users/jamalsenouci/following{/other_user}",
"gists_url": "https://api.github.com/users/jamalsenouci/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jamalsenouci",
"id": 5433868,
"login": "jamalsenouci",
"node_id": "MDQ6VXNlcjU0MzM4Njg=",
"organizations_url": "https://api.github.com/users/jamalsenouci/orgs",
"received_events_url": "https://api.github.com/users/jamalsenouci/received_events",
"repos_url": "https://api.github.com/users/jamalsenouci/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jamalsenouci/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jamalsenouci/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jamalsenouci"
} | [
{
"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": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 9 | 2014-12-02T11:45:28Z | 2014-12-05T05:15:44Z | 2014-12-05T01:59:06Z | NONE | null | closes #8866
The bug was caused by a couple of things, firstly when specifying only a level, the axis default was None. This meant it failed to create the internal grouper breaking on line 254 of groupby.py:
``` python
ax = obj._get_axis(self.axis)
```
Secondly, the aggregate function is set up to take a basegrouper class whereas for datetime resampling we need to pass a datetime index. I split the `_set_grouper` method to return a datetime index when a resampling frequency is specified and a `BaseGrouper` class otherwise. I opted to split that out into two functions to reduce complexity with much of the `_set_basegrouper` function being borrowed from the `_get_grouper` function. Let me know if there's a better way to fix this.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8964/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8964/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8964.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8964",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8964.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8964"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8965 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8965/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8965/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8965/events | https://github.com/pandas-dev/pandas/issues/8965 | 50,647,016 | MDU6SXNzdWU1MDY0NzAxNg== | 8,965 | Series.cummin raises ValueError when datetime64 Series contains NaT | {
"avatar_url": "https://avatars.githubusercontent.com/u/443776?v=4",
"events_url": "https://api.github.com/users/unutbu/events{/privacy}",
"followers_url": "https://api.github.com/users/unutbu/followers",
"following_url": "https://api.github.com/users/unutbu/following{/other_user}",
"gists_url": "https://api.github.com/users/unutbu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/unutbu",
"id": 443776,
"login": "unutbu",
"node_id": "MDQ6VXNlcjQ0Mzc3Ng==",
"organizations_url": "https://api.github.com/users/unutbu/orgs",
"received_events_url": "https://api.github.com/users/unutbu/received_events",
"repos_url": "https://api.github.com/users/unutbu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/unutbu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/unutbu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/unutbu"
} | [
{
"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": "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": "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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 0 | 2014-12-02T12:50:12Z | 2014-12-03T14:27:36Z | 2014-12-03T14:27:36Z | CONTRIBUTOR | null | Ref: http://stackoverflow.com/q/27240365/190597
```
s = pd.Series(pd.date_range('2008-09-15', periods=10, freq='m'))
s.loc[10] = pd.NaT
s.cummin()
ValueError: Could not convert object to NumPy datetime
```
- validate for `cummax` & `timedelta64[ns]`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8965/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8965/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8966 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8966/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8966/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8966/events | https://github.com/pandas-dev/pandas/pull/8966 | 50,647,906 | MDExOlB1bGxSZXF1ZXN0MjUzMzk1NjQ= | 8,966 | BUG: ValueError raised by cummin/cummax when datetime64 Series contains NaT. | {
"avatar_url": "https://avatars.githubusercontent.com/u/443776?v=4",
"events_url": "https://api.github.com/users/unutbu/events{/privacy}",
"followers_url": "https://api.github.com/users/unutbu/followers",
"following_url": "https://api.github.com/users/unutbu/following{/other_user}",
"gists_url": "https://api.github.com/users/unutbu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/unutbu",
"id": 443776,
"login": "unutbu",
"node_id": "MDQ6VXNlcjQ0Mzc3Ng==",
"organizations_url": "https://api.github.com/users/unutbu/orgs",
"received_events_url": "https://api.github.com/users/unutbu/received_events",
"repos_url": "https://api.github.com/users/unutbu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/unutbu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/unutbu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/unutbu"
} | [
{
"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": "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": "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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 3 | 2014-12-02T13:00:45Z | 2014-12-03T14:27:45Z | 2014-12-03T14:27:36Z | CONTRIBUTOR | null | closes #8965
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8966/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8966/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8966.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8966",
"merged_at": "2014-12-03T14:27:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8966.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8966"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8967 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8967/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8967/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8967/events | https://github.com/pandas-dev/pandas/issues/8967 | 50,660,573 | MDU6SXNzdWU1MDY2MDU3Mw== | 8,967 | DataReader with google source returns DataFrame with incorrect index name | {
"avatar_url": "https://avatars.githubusercontent.com/u/5049737?v=4",
"events_url": "https://api.github.com/users/femtotrader/events{/privacy}",
"followers_url": "https://api.github.com/users/femtotrader/followers",
"following_url": "https://api.github.com/users/femtotrader/following{/other_user}",
"gists_url": "https://api.github.com/users/femtotrader/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/femtotrader",
"id": 5049737,
"login": "femtotrader",
"node_id": "MDQ6VXNlcjUwNDk3Mzc=",
"organizations_url": "https://api.github.com/users/femtotrader/orgs",
"received_events_url": "https://api.github.com/users/femtotrader/received_events",
"repos_url": "https://api.github.com/users/femtotrader/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/femtotrader/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/femtotrader/subscriptions",
"type": "User",
"url": "https://api.github.com/users/femtotrader"
} | [
{
"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": "444444",
"default": false,
"description": "Unicode strings",
"id": 36380025,
"name": "Unicode",
"node_id": "MDU6TGFiZWwzNjM4MDAyNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode"
}
]
| 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-12-02T14:53:07Z | 2015-03-07T23:17:36Z | 2015-03-07T23:17:36Z | NONE | null | Hello,
```
import pandas.io.data as web
import datetime
symbol = "AAPL"
end = datetime.datetime.now()
start = end - datetime.timedelta(days=10)
df = web.DataReader("AAPL", 'google', start, end)
df.index.name
```
is `'\xef\xbb\xbfDate'` it should be only `'Date'`
\xef\xbb\xbf characters are invisible !
A quick and dirty solution is to change
```
def _retry_read_url(url, retry_count, pause, name):
for _ in range(retry_count):
time.sleep(pause)
# kludge to close the socket ASAP
try:
with urlopen(url) as resp:
lines = resp.read()
except _network_error_classes:
pass
else:
rs = read_csv(StringIO(bytes_to_str(lines)), index_col=0,
parse_dates=True)[::-1]
# Yahoo! Finance sometimes does this awesome thing where they
# return 2 rows for the most recent business day
if len(rs) > 2 and rs.index[-1] == rs.index[-2]: # pragma: no cover
rs = rs[:-1]
return rs
raise IOError("after %d tries, %s did not "
"return a 200 for url %r" % (retry_count, name, url))
```
to
```
def _retry_read_url(url, retry_count, pause, name):
for _ in range(retry_count):
time.sleep(pause)
# kludge to close the socket ASAP
try:
with urlopen(url) as resp:
lines = resp.read()
except _network_error_classes:
pass
else:
rs = read_csv(StringIO(bytes_to_str(lines)), index_col=0,
parse_dates=True)[::-1]
rs.index.name = 'Date'
# Yahoo! Finance sometimes does this awesome thing where they
# return 2 rows for the most recent business day
if len(rs) > 2 and rs.index[-1] == rs.index[-2]: # pragma: no cover
rs = rs[:-1]
return rs
raise IOError("after %d tries, %s did not "
"return a 200 for url %r" % (retry_count, name, url))
```
so adding rs.index.name = 'Date'
fix the problem but it could have side effect for other datasource
Kind regards
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8967/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8967/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8968 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8968/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8968/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8968/events | https://github.com/pandas-dev/pandas/issues/8968 | 50,667,017 | MDU6SXNzdWU1MDY2NzAxNw== | 8,968 | test_missing_value_conversion on ubuntu 13.10 32bit KeyError: 2147483647 | {
"avatar_url": "https://avatars.githubusercontent.com/u/39889?v=4",
"events_url": "https://api.github.com/users/yarikoptic/events{/privacy}",
"followers_url": "https://api.github.com/users/yarikoptic/followers",
"following_url": "https://api.github.com/users/yarikoptic/following{/other_user}",
"gists_url": "https://api.github.com/users/yarikoptic/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yarikoptic",
"id": 39889,
"login": "yarikoptic",
"node_id": "MDQ6VXNlcjM5ODg5",
"organizations_url": "https://api.github.com/users/yarikoptic/orgs",
"received_events_url": "https://api.github.com/users/yarikoptic/received_events",
"repos_url": "https://api.github.com/users/yarikoptic/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yarikoptic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yarikoptic/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yarikoptic"
} | [
{
"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": "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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 6 | 2014-12-02T15:33:27Z | 2014-12-06T15:10:53Z | 2014-12-06T15:10:53Z | CONTRIBUTOR | null | ```
======================================================================
ERROR: test_missing_value_conversion (pandas.io.tests.test_stata.TestStata)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/buildd/pandas-0.15.1+git125-ge463818/debian/tmp/usr/lib/python3/dist-packages/pandas/io/tests/test_stata.py", line 651, in test_missing_value_conversion
parsed_113 = read_stata(self.dta17_113, convert_missing=True)
File "/tmp/buildd/pandas-0.15.1+git125-ge463818/debian/tmp/usr/lib/python3/dist-packages/pandas/io/stata.py", line 69, in read_stata
order_categoricals)
File "/tmp/buildd/pandas-0.15.1+git125-ge463818/debian/tmp/usr/lib/python3/dist-packages/pandas/io/stata.py", line 1278, in data
missing_value = StataMissingValue(um)
File "/tmp/buildd/pandas-0.15.1+git125-ge463818/debian/tmp/usr/lib/python3/dist-packages/pandas/io/stata.py", line 646, in __init__
self._str = self.MISSING_VALUES[value]
KeyError: 2147483647
```
doesn't happen on amd64
```
INSTALLED VERSIONS
------------------
commit: None
python: 3.3.2.final.0
python-bits: 32
OS: Linux
OS-release: 3.2.0-4-amd64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: C
LANG: C
pandas: 0.15.1.dev
nose: 1.3.0
Cython: 0.19
numpy: 1.7.1
scipy: 0.12.0
statsmodels: None
IPython: None
sphinx: 1.1.3
patsy: None
dateutil: 2.0
pytz: 2012c
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.2.1
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: 4.2.0
html5lib: None
httplib2: None
apiclient: None
rpy2: None
sqlalchemy: None
pymysql: None
psycopg2: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8968/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8968/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8969 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8969/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8969/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8969/events | https://github.com/pandas-dev/pandas/issues/8969 | 50,675,794 | MDU6SXNzdWU1MDY3NTc5NA== | 8,969 | to_stata always stores strings as str244 | {
"avatar_url": "https://avatars.githubusercontent.com/u/7398331?v=4",
"events_url": "https://api.github.com/users/dmsul/events{/privacy}",
"followers_url": "https://api.github.com/users/dmsul/followers",
"following_url": "https://api.github.com/users/dmsul/following{/other_user}",
"gists_url": "https://api.github.com/users/dmsul/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dmsul",
"id": 7398331,
"login": "dmsul",
"node_id": "MDQ6VXNlcjczOTgzMzE=",
"organizations_url": "https://api.github.com/users/dmsul/orgs",
"received_events_url": "https://api.github.com/users/dmsul/received_events",
"repos_url": "https://api.github.com/users/dmsul/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dmsul/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dmsul/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dmsul"
} | [
{
"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": "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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 2 | 2014-12-02T16:26:14Z | 2014-12-03T14:28:48Z | 2014-12-03T14:24:58Z | NONE | null | Copied from #7858:
I am still getting this bug (pandas 0.15.1, numpy 1.9.1, Stata 13.1 on Windows 7). The written DTA file still stores the strings as str244 even though the strings themselves have length 1. This also means that when they're read back into pandas the DataFrame looks the same. I think the only way to detect it from within Pandas is to look at the size of the DTA file itself.
``` python
df = pd.DataFrame(['a', 'b', 'c'], columns=['alpha'])
df.to_stata('test.dta')
df2 = pd.read_stata('test.dta')
assert (df['alpha'] == df2['alpha']).min()
```
But when loading in Stata:
``` stata
. use test
. describe
Contains data from D:\data\Pollution\test.dta
obs: 3
vars: 2 02 Dec 2014 10:30
size: 744
--------------------------------------------------------------------------------------------
storage display value
variable name type format label variable label
--------------------------------------------------------------------------------------------
index long %12.0g
alpha str244 %1s
--------------------------------------------------------------------------------------------
Sorted by:
. compress
index was long now byte
alpha was str244 now str1
(738 bytes saved)
. describe
Contains data from D:\data\Pollution\test.dta
obs: 3
vars: 2 02 Dec 2014 10:30
size: 6
--------------------------------------------------------------------------------------------
storage display value
variable name type format label variable label
--------------------------------------------------------------------------------------------
index byte %12.0g
alpha str1 %9s
--------------------------------------------------------------------------------------------
Sorted by:
```
I don't know how critical this is since there are workarounds. You can either use `compress; save, replace` in Stata after every use of pandas or, if the 244 problem makes the DTA exceed your memory limit (which causes quite the system error lightshow as I just experienced), you could pass it through a CSV first.
It's just a matter of convenience.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8969/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8969/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8970 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8970/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8970/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8970/events | https://github.com/pandas-dev/pandas/pull/8970 | 50,703,239 | MDExOlB1bGxSZXF1ZXN0MjUzNjY2Njg= | 8,970 | docfix: add boolean array as option for indexing with .iloc | {
"avatar_url": "https://avatars.githubusercontent.com/u/295428?v=4",
"events_url": "https://api.github.com/users/cswarth/events{/privacy}",
"followers_url": "https://api.github.com/users/cswarth/followers",
"following_url": "https://api.github.com/users/cswarth/following{/other_user}",
"gists_url": "https://api.github.com/users/cswarth/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cswarth",
"id": 295428,
"login": "cswarth",
"node_id": "MDQ6VXNlcjI5NTQyOA==",
"organizations_url": "https://api.github.com/users/cswarth/orgs",
"received_events_url": "https://api.github.com/users/cswarth/received_events",
"repos_url": "https://api.github.com/users/cswarth/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cswarth/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cswarth/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cswarth"
} | [
{
"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": "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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 4 | 2014-12-02T19:18:18Z | 2014-12-04T00:54:23Z | 2014-12-04T00:08:00Z | CONTRIBUTOR | null | resolves #8956 Trivial documentation addition of boolean array as option for .iloc
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8970/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8970/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8970.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8970",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8970.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8970"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8971 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8971/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8971/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8971/events | https://github.com/pandas-dev/pandas/pull/8971 | 50,716,415 | MDExOlB1bGxSZXF1ZXN0MjUzNzI1NTk= | 8,971 | PERF: astype(str) on object dtypes GH8732 | {
"avatar_url": "https://avatars.githubusercontent.com/u/15446?v=4",
"events_url": "https://api.github.com/users/vikram/events{/privacy}",
"followers_url": "https://api.github.com/users/vikram/followers",
"following_url": "https://api.github.com/users/vikram/following{/other_user}",
"gists_url": "https://api.github.com/users/vikram/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vikram",
"id": 15446,
"login": "vikram",
"node_id": "MDQ6VXNlcjE1NDQ2",
"organizations_url": "https://api.github.com/users/vikram/orgs",
"received_events_url": "https://api.github.com/users/vikram/received_events",
"repos_url": "https://api.github.com/users/vikram/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vikram/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vikram/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vikram"
} | [
{
"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 | 5 | 2014-12-02T20:41:29Z | 2015-05-14T15:49:37Z | 2015-05-09T16:17:22Z | NONE | null | Closes #8732
In most cases it looks like, we need to iterate over array
and coerce each element. This is so that the appropriate
exception can be raised, or we can deal with nulls.
So the original case of casting ints to strings, has to
work the way it does, unless we change the underlying behaviour.
So when astype(str) is called on ints. Then each element
is first cast as a string then made into a numpy object.
If we relied on numpy it wouldn't cast it to string, just
return it as an object. This breaks existing behaviour.
It is possible to bypass iterating over the array, when we are
coercing to int. Assuming that there are no NaNs and the type
of the array is a numeric.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8971/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8971/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8971.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8971",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8971.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8971"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8972 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8972/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8972/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8972/events | https://github.com/pandas-dev/pandas/pull/8972 | 50,749,193 | MDExOlB1bGxSZXF1ZXN0MjUzODU2MjM= | 8,972 | Implement Categorical.searchsorted(v, side, sorter) #8420 | {
"avatar_url": "https://avatars.githubusercontent.com/u/2830459?v=4",
"events_url": "https://api.github.com/users/stevesimmons/events{/privacy}",
"followers_url": "https://api.github.com/users/stevesimmons/followers",
"following_url": "https://api.github.com/users/stevesimmons/following{/other_user}",
"gists_url": "https://api.github.com/users/stevesimmons/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/stevesimmons",
"id": 2830459,
"login": "stevesimmons",
"node_id": "MDQ6VXNlcjI4MzA0NTk=",
"organizations_url": "https://api.github.com/users/stevesimmons/orgs",
"received_events_url": "https://api.github.com/users/stevesimmons/received_events",
"repos_url": "https://api.github.com/users/stevesimmons/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/stevesimmons/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stevesimmons/subscriptions",
"type": "User",
"url": "https://api.github.com/users/stevesimmons"
} | [
{
"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": "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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 4 | 2014-12-02T23:59:50Z | 2014-12-05T13:36:25Z | 2014-12-05T13:36:25Z | CONTRIBUTOR | null | closes #8420
Continuation of #8928
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8972/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8972/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8972.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8972",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8972.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8972"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8973 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8973/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8973/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8973/events | https://github.com/pandas-dev/pandas/pull/8973 | 50,759,457 | MDExOlB1bGxSZXF1ZXN0MjUzODkzNjY= | 8,973 | ENH: Infer dtype from non-nulls when pushing to SQL | {
"avatar_url": "https://avatars.githubusercontent.com/u/833768?v=4",
"events_url": "https://api.github.com/users/artemyk/events{/privacy}",
"followers_url": "https://api.github.com/users/artemyk/followers",
"following_url": "https://api.github.com/users/artemyk/following{/other_user}",
"gists_url": "https://api.github.com/users/artemyk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/artemyk",
"id": 833768,
"login": "artemyk",
"node_id": "MDQ6VXNlcjgzMzc2OA==",
"organizations_url": "https://api.github.com/users/artemyk/orgs",
"received_events_url": "https://api.github.com/users/artemyk/received_events",
"repos_url": "https://api.github.com/users/artemyk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/artemyk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/artemyk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/artemyk"
} | [
{
"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": "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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 16 | 2014-12-03T01:21:26Z | 2014-12-08T07:42:42Z | 2014-12-08T07:42:33Z | CONTRIBUTOR | null | Closes #8778
This infers dtype from non-null values for insertion into SQL database. See #8778 . I had to alter @tiagoantao test a bit.
Like @tiagoantao, I skipped writing tests for legacy MySQL. Support for this will be removed soon, right?
As a side note, `lib.infer_dtype` throws an exception for categorical data -- probably shouldn't happen, right?
@jorisvandenbossche
@jahfet
@tiagoantao
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8973/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8973/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8973.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8973",
"merged_at": "2014-12-08T07:42:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8973.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8973"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8974 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8974/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8974/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8974/events | https://github.com/pandas-dev/pandas/issues/8974 | 50,763,004 | MDU6SXNzdWU1MDc2MzAwNA== | 8,974 | BUG: lib.infer_dtype croaking on Categoricals | {
"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": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 0 | 2014-12-03T01:50:27Z | 2014-12-03T02:53:18Z | 2014-12-03T02:53:18Z | CONTRIBUTOR | null | ```
In [13]: df = pd.DataFrame({'a':pd.Series(['A','B'], dtype='category')})
In [15]: lib.infer_dtype(df['a'])
TypeError: Cannot convert Categorical to numpy.ndarray
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8974/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8974/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8975 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8975/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8975/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8975/events | https://github.com/pandas-dev/pandas/pull/8975 | 50,765,616 | MDExOlB1bGxSZXF1ZXN0MjUzOTEzNjM= | 8,975 | COMPAT: infer_dtype not handling categoricals (GH8974) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
},
{
"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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 0 | 2014-12-03T02:14:19Z | 2014-12-03T02:53:18Z | 2014-12-03T02:53:18Z | CONTRIBUTOR | null | closes #8974
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8975/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8975/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8975.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8975",
"merged_at": "2014-12-03T02:53:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8975.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8975"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8976 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8976/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8976/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8976/events | https://github.com/pandas-dev/pandas/issues/8976 | 50,768,609 | MDU6SXNzdWU1MDc2ODYwOQ== | 8,976 | ERR: validate boolean indexing with iloc | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 5 | 2014-12-03T02:45:20Z | 2020-02-11T19:00:35Z | 2020-02-11T19:00:34Z | CONTRIBUTOR | null | xref #8956
This should raise a `ValueError`.
```
In [18]: s = Series(np.arange(5,1,-1))
In [19]: s
Out[19]:
0 5
1 4
2 3
3 2
dtype: int64
In [20]: s.iloc[[True,False,True]]
Out[20]:
0 5
2 3
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/8976/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8976/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8977 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8977/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8977/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8977/events | https://github.com/pandas-dev/pandas/pull/8977 | 50,770,719 | MDExOlB1bGxSZXF1ZXN0MjUzOTMyMTU= | 8,977 | BUG: StataWriter uses incorrect string length | {
"avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4",
"events_url": "https://api.github.com/users/bashtage/events{/privacy}",
"followers_url": "https://api.github.com/users/bashtage/followers",
"following_url": "https://api.github.com/users/bashtage/following{/other_user}",
"gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bashtage",
"id": 5585221,
"login": "bashtage",
"node_id": "MDQ6VXNlcjU1ODUyMjE=",
"organizations_url": "https://api.github.com/users/bashtage/orgs",
"received_events_url": "https://api.github.com/users/bashtage/received_events",
"repos_url": "https://api.github.com/users/bashtage/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bashtage/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bashtage"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "5319e7",
"default": false,
"description": "read_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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 8 | 2014-12-03T03:07:24Z | 2015-01-18T22:42:19Z | 2014-12-03T14:24:58Z | CONTRIBUTOR | null | Fixes bug where StataWriter always writes strings with
a size of 244.
closes #8969
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8977/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8977/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8977.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8977",
"merged_at": "2014-12-03T14:24:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8977.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8977"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8978 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8978/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8978/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8978/events | https://github.com/pandas-dev/pandas/pull/8978 | 50,772,406 | MDExOlB1bGxSZXF1ZXN0MjUzOTM3OTc= | 8,978 | TST/COMPAT: tests and compat for unicode for lib.max_len_string_array | {
"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": "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": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 0 | 2014-12-03T03:26:28Z | 2014-12-03T07:04:47Z | 2014-12-03T07:04:47Z | 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/8978/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8978/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8978.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8978",
"merged_at": "2014-12-03T07:04:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8978.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8978"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/8979 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8979/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8979/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8979/events | https://github.com/pandas-dev/pandas/issues/8979 | 50,792,910 | MDU6SXNzdWU1MDc5MjkxMA== | 8,979 | groupby().nth() missing docs, throws errors when multiple columns in group | {
"avatar_url": "https://avatars.githubusercontent.com/u/9683693?v=4",
"events_url": "https://api.github.com/users/nickeubank/events{/privacy}",
"followers_url": "https://api.github.com/users/nickeubank/followers",
"following_url": "https://api.github.com/users/nickeubank/following{/other_user}",
"gists_url": "https://api.github.com/users/nickeubank/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nickeubank",
"id": 9683693,
"login": "nickeubank",
"node_id": "MDQ6VXNlcjk2ODM2OTM=",
"organizations_url": "https://api.github.com/users/nickeubank/orgs",
"received_events_url": "https://api.github.com/users/nickeubank/received_events",
"repos_url": "https://api.github.com/users/nickeubank/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nickeubank/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nickeubank/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nickeubank"
} | [
{
"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": "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"
} | 4 | 2014-12-03T07:11:34Z | 2015-01-02T16:29:45Z | 2015-01-02T16:29:45Z | CONTRIBUTOR | null | Hi All!
I've been using .nth(), and found a couple issues (though it's extremely useful in general!). In particular, I couldn't find any help documentation (in python) for the function.
Also, I ran into issues with I had a two-column groupby. for example:
```
df = pd.DataFrame([[1,2,3],[1,5,6], [7,8,6]], columns = ['col1','col2','col3'])
df.groupby('col1').nth([0,1])
```
Is ok
```
In [23]: df.groupby(['col1', 'col2'], as_index = False).nth([0,1])
Out[23]:
col1 col2 col3
0 1 2 3
1 1 5 6
2 7 8 6
In [24]: df.groupby(['col1', 'col2']).nth([0,1])
ValueError: Length of new names must be 1, got 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/8979/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8979/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8980 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8980/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8980/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8980/events | https://github.com/pandas-dev/pandas/issues/8980 | 50,805,837 | MDU6SXNzdWU1MDgwNTgzNw== | 8,980 | Google Finance DataReader returns columns with object type instead of float64 | {
"avatar_url": "https://avatars.githubusercontent.com/u/5049737?v=4",
"events_url": "https://api.github.com/users/femtotrader/events{/privacy}",
"followers_url": "https://api.github.com/users/femtotrader/followers",
"following_url": "https://api.github.com/users/femtotrader/following{/other_user}",
"gists_url": "https://api.github.com/users/femtotrader/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/femtotrader",
"id": 5049737,
"login": "femtotrader",
"node_id": "MDQ6VXNlcjUwNDk3Mzc=",
"organizations_url": "https://api.github.com/users/femtotrader/orgs",
"received_events_url": "https://api.github.com/users/femtotrader/received_events",
"repos_url": "https://api.github.com/users/femtotrader/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/femtotrader/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/femtotrader/subscriptions",
"type": "User",
"url": "https://api.github.com/users/femtotrader"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "pandas-gbq compatability",
"id": 57351315,
"name": "IO Google",
"node_id": "MDU6TGFiZWw1NzM1MTMxNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 7 | 2014-12-03T09:07:13Z | 2014-12-07T00:07:23Z | 2014-12-07T00:07:23Z | NONE | null | Hello,
Google Finance DataReader returns columns with object type instead of float64
```
In [112]: import pandas.io.data as web
In [113]: import datetime
In [114]: start = datetime.datetime(2010, 1, 1)
In [115]: end = datetime.datetime(2013, 1, 27)
In [116]: f=web.DataReader("F", 'google', start, end)
In [117]: f.dtypes
Out[117]:
Open object
High object
Low object
Close float64
Volume int64
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/8980/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8980/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8981 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8981/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8981/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8981/events | https://github.com/pandas-dev/pandas/pull/8981 | 50,832,251 | MDExOlB1bGxSZXF1ZXN0MjU0MTU3NDI= | 8,981 | BUG: Bug in Timestamp-Timestamp not returning a Timedelta type (GH8865) | {
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 3 | 2014-12-03T12:40:22Z | 2014-12-04T02:48:20Z | 2014-12-04T02:48:19Z | CONTRIBUTOR | null | closes #8865
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8981/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8981/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8981.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8981",
"merged_at": "2014-12-04T02:48:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8981.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8981"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8982 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8982/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8982/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8982/events | https://github.com/pandas-dev/pandas/pull/8982 | 50,832,252 | MDExOlB1bGxSZXF1ZXN0MjU0MTU3NDM= | 8,982 | FIX: Workaround for integer hashing | {
"avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4",
"events_url": "https://api.github.com/users/bashtage/events{/privacy}",
"followers_url": "https://api.github.com/users/bashtage/followers",
"following_url": "https://api.github.com/users/bashtage/following{/other_user}",
"gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bashtage",
"id": 5585221,
"login": "bashtage",
"node_id": "MDQ6VXNlcjU1ODUyMjE=",
"organizations_url": "https://api.github.com/users/bashtage/orgs",
"received_events_url": "https://api.github.com/users/bashtage/received_events",
"repos_url": "https://api.github.com/users/bashtage/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bashtage/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bashtage"
} | [
{
"color": "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": "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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 7 | 2014-12-03T12:40:22Z | 2015-01-18T22:42:16Z | 2014-12-06T15:10:53Z | CONTRIBUTOR | null | Force conversion to integer for missing values when
they must be integer to avoid hash errors on 32 bit
platforms.
closes #8968
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8982/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8982/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8982.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8982",
"merged_at": "2014-12-06T15:10:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8982.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8982"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8983 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8983/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8983/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8983/events | https://github.com/pandas-dev/pandas/issues/8983 | 50,869,068 | MDU6SXNzdWU1MDg2OTA2OA== | 8,983 | BUG in read_csv skipping a row after a row with trailing spaces | {
"avatar_url": "https://avatars.githubusercontent.com/u/831833?v=4",
"events_url": "https://api.github.com/users/selasley/events{/privacy}",
"followers_url": "https://api.github.com/users/selasley/followers",
"following_url": "https://api.github.com/users/selasley/following{/other_user}",
"gists_url": "https://api.github.com/users/selasley/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/selasley",
"id": 831833,
"login": "selasley",
"node_id": "MDQ6VXNlcjgzMTgzMw==",
"organizations_url": "https://api.github.com/users/selasley/orgs",
"received_events_url": "https://api.github.com/users/selasley/received_events",
"repos_url": "https://api.github.com/users/selasley/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/selasley/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/selasley/subscriptions",
"type": "User",
"url": "https://api.github.com/users/selasley"
} | [
{
"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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 0 | 2014-12-03T17:47:39Z | 2014-12-03T21:56:45Z | 2014-12-03T21:56:45Z | CONTRIBUTOR | null | as reported by @xdliao in #8752, skipping a row after a row with trailing spaces fails to create the expected dataframe
data = """A B C \nD E F \nH I J \n1 2 3 \n4 5 6 \n"""
pd.read_csv(StringIO(data), skiprows=2, delim_whitespace=True) and
pd.read_csv(StringIO(data), skiprows=[0,1], delim_whitespace=True) work as expected, but the dataframes returned by
pd.read_csv(StringIO(data), skiprows=[0,2], delim_whitespace=True) and
pd.read_csv(StringIO(data), skiprows=[1,2], delim_whitespace=True) are incorrect
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8983/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8983/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8984 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8984/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8984/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8984/events | https://github.com/pandas-dev/pandas/pull/8984 | 50,872,544 | MDExOlB1bGxSZXF1ZXN0MjU0Mzk3MjY= | 8,984 | BUG in read_csv skipping rows after a row with trailing spaces, #8983 | {
"avatar_url": "https://avatars.githubusercontent.com/u/831833?v=4",
"events_url": "https://api.github.com/users/selasley/events{/privacy}",
"followers_url": "https://api.github.com/users/selasley/followers",
"following_url": "https://api.github.com/users/selasley/following{/other_user}",
"gists_url": "https://api.github.com/users/selasley/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/selasley",
"id": 831833,
"login": "selasley",
"node_id": "MDQ6VXNlcjgzMTgzMw==",
"organizations_url": "https://api.github.com/users/selasley/orgs",
"received_events_url": "https://api.github.com/users/selasley/received_events",
"repos_url": "https://api.github.com/users/selasley/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/selasley/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/selasley/subscriptions",
"type": "User",
"url": "https://api.github.com/users/selasley"
} | [
{
"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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 6 | 2014-12-03T18:18:24Z | 2014-12-03T23:55:42Z | 2014-12-03T21:56:45Z | CONTRIBUTOR | null | Update tokenizer.c to fix a BUG in read_csv skipping rows after tokenizing a row with trailing spaces, Closes #8983
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8984/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8984/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8984.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8984",
"merged_at": "2014-12-03T21:56:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8984.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8984"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8985 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8985/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8985/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8985/events | https://github.com/pandas-dev/pandas/issues/8985 | 50,880,970 | MDU6SXNzdWU1MDg4MDk3MA== | 8,985 | csv_reader with limited number of columns should should completely disregard the unused fields | {
"avatar_url": "https://avatars.githubusercontent.com/u/88283?v=4",
"events_url": "https://api.github.com/users/cordeiro/events{/privacy}",
"followers_url": "https://api.github.com/users/cordeiro/followers",
"following_url": "https://api.github.com/users/cordeiro/following{/other_user}",
"gists_url": "https://api.github.com/users/cordeiro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cordeiro",
"id": 88283,
"login": "cordeiro",
"node_id": "MDQ6VXNlcjg4Mjgz",
"organizations_url": "https://api.github.com/users/cordeiro/orgs",
"received_events_url": "https://api.github.com/users/cordeiro/received_events",
"repos_url": "https://api.github.com/users/cordeiro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cordeiro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cordeiro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cordeiro"
} | [
{
"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": "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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
} | 6 | 2014-12-03T19:28:50Z | 2017-01-11T07:57:21Z | 2017-01-11T07:57:21Z | NONE | null | xref #6710
I have a CSV whose lines may have 11 or 18 fields. I only need to read the first 6 fields, so I use "usecols=range(6)". Even with the limited number of columns, I get the exception:
ValueError: Expected 11 fields in line 776483, saw 18
The csv_reader should completely disregard the unused fields.
Small test case:
```
csv = '19,29,39\n'*2 + '10,20,30,40\n'
df = pd.read_csv(io.StringIO(csv), engine='python', header=None, usecols=list(range(3)))
```
It also affects the C engine.
Discussed at the users mailing list at https://groups.google.com/d/topic/pydata/vjhFpHtgnvw/discussion
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8985/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8985/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8986 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8986/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8986/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8986/events | https://github.com/pandas-dev/pandas/pull/8986 | 50,883,285 | MDExOlB1bGxSZXF1ZXN0MjU0NDYwMDg= | 8,986 | BUG: Dynamically created table names allow SQL injection | {
"avatar_url": "https://avatars.githubusercontent.com/u/833768?v=4",
"events_url": "https://api.github.com/users/artemyk/events{/privacy}",
"followers_url": "https://api.github.com/users/artemyk/followers",
"following_url": "https://api.github.com/users/artemyk/following{/other_user}",
"gists_url": "https://api.github.com/users/artemyk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/artemyk",
"id": 833768,
"login": "artemyk",
"node_id": "MDQ6VXNlcjgzMzc2OA==",
"organizations_url": "https://api.github.com/users/artemyk/orgs",
"received_events_url": "https://api.github.com/users/artemyk/received_events",
"repos_url": "https://api.github.com/users/artemyk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/artemyk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/artemyk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/artemyk"
} | [
{
"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": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 7 | 2014-12-03T19:47:26Z | 2015-01-26T00:04:38Z | 2015-01-26T00:04:28Z | CONTRIBUTOR | null | Working with the SQL code, I realized that the legacy code does not properly validate / escape passed in table and column names.
E.g.:
```
n [116]:
import pandas as pd
import pandas.io.sql as sql
import sqlite3
df = pd.DataFrame({'a':[1,2],'b':[2,3]})
con = sqlite3.connect(':memory:')
db = sql.SQLiteDatabase(con, 'sqlite')
t=sql.SQLiteTable('a; DELETE FROM contacts; INSERT INTO b', db, frame=df)
print t.insert_statement()
```
results in:
```
INSERT INTO a; DELETE FROM contacts; INSERT INTO b ([index],[a],[b]) VALUES (?,?,?)
```
This fixes the issues.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8986/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8986/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8986.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8986",
"merged_at": "2015-01-26T00:04:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8986.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8986"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8987 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8987/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8987/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8987/events | https://github.com/pandas-dev/pandas/pull/8987 | 50,887,365 | MDExOlB1bGxSZXF1ZXN0MjU0NDgzNjE= | 8,987 | User facing AssertionError in empty groupby GH5289 | {
"avatar_url": "https://avatars.githubusercontent.com/u/983944?v=4",
"events_url": "https://api.github.com/users/springcoil/events{/privacy}",
"followers_url": "https://api.github.com/users/springcoil/followers",
"following_url": "https://api.github.com/users/springcoil/following{/other_user}",
"gists_url": "https://api.github.com/users/springcoil/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/springcoil",
"id": 983944,
"login": "springcoil",
"node_id": "MDQ6VXNlcjk4Mzk0NA==",
"organizations_url": "https://api.github.com/users/springcoil/orgs",
"received_events_url": "https://api.github.com/users/springcoil/received_events",
"repos_url": "https://api.github.com/users/springcoil/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/springcoil/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/springcoil/subscriptions",
"type": "User",
"url": "https://api.github.com/users/springcoil"
} | [
{
"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": "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 | []
| null | 5 | 2014-12-03T20:19:12Z | 2015-05-09T15:59:39Z | 2015-05-09T15:59:39Z | CONTRIBUTOR | null | closes https://github.com/pydata/pandas/issues/5289
Is this all we need to do?
Or am I missing something?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8987/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8987/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8987.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8987",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8987.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8987"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8988 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8988/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8988/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8988/events | https://github.com/pandas-dev/pandas/pull/8988 | 50,904,575 | MDExOlB1bGxSZXF1ZXN0MjU0NTkwMzY= | 8,988 | FIX: use decorator to append read_frame/frame_query docstring (GH8315) | {
"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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 3 | 2014-12-03T22:51:12Z | 2014-12-04T10:43:27Z | 2014-12-04T08:27:53Z | MEMBER | null | Closes #8315
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8988/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8988/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8988.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8988",
"merged_at": "2014-12-04T08:27:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8988.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8988"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8989 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8989/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8989/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8989/events | https://github.com/pandas-dev/pandas/issues/8989 | 50,909,358 | MDU6SXNzdWU1MDkwOTM1OA== | 8,989 | to_datetime with format string cannot read nanoseconds | {
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 2 | 2014-12-03T23:41:15Z | 2014-12-05T14:34:26Z | 2014-12-05T14:34:26Z | MEMBER | null | xref #8904
In the format string, `%f` means microseconds (https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior), but this means the nanoseconds cannot be read in using a `format` string:
```
In [11]: pd.to_datetime("2012-01-01 09:00:00.000000001", format="%Y-%m-%d %H:%M:%S.%f")
->
ValueError: unconverted data remains: 001
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8989/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8989/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8990 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8990/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8990/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8990/events | https://github.com/pandas-dev/pandas/pull/8990 | 50,918,028 | MDExOlB1bGxSZXF1ZXN0MjU0NjcyNjA= | 8,990 | REGR: Regression in DatetimeIndex iteration with a Fixed/Local offset timezone (GH8890) | {
"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": "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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 0 | 2014-12-04T01:36:00Z | 2014-12-04T02:47:31Z | 2014-12-04T02:47:31Z | CONTRIBUTOR | null | closes #8890
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8990/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8990/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8990.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8990",
"merged_at": "2014-12-04T02:47:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8990.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8990"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8991 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8991/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8991/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8991/events | https://github.com/pandas-dev/pandas/issues/8991 | 50,919,965 | MDU6SXNzdWU1MDkxOTk2NQ== | 8,991 | CSV parse_dates not working if multiline header is specified. | {
"avatar_url": "https://avatars.githubusercontent.com/u/749698?v=4",
"events_url": "https://api.github.com/users/roldugin/events{/privacy}",
"followers_url": "https://api.github.com/users/roldugin/followers",
"following_url": "https://api.github.com/users/roldugin/following{/other_user}",
"gists_url": "https://api.github.com/users/roldugin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/roldugin",
"id": 749698,
"login": "roldugin",
"node_id": "MDQ6VXNlcjc0OTY5OA==",
"organizations_url": "https://api.github.com/users/roldugin/orgs",
"received_events_url": "https://api.github.com/users/roldugin/received_events",
"repos_url": "https://api.github.com/users/roldugin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/roldugin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/roldugin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/roldugin"
} | [
{
"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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 3 | 2014-12-04T02:06:36Z | 2021-11-14T02:17:44Z | 2021-11-14T02:17:44Z | NONE | null | I can't seem to be able to parse dates of multiheader files... Here's an example illustrating the problem I'm facing:
``` python
import pandas as pd
from io import StringIO
csv = """date,time,value
YYYY/MM/DD,HH:MM,Smp
2014/12/01,00:00,1
2014/12/01,01:00,2"""
pd.read_csv(StringIO(csv), header=[0,1], parse_dates=[['date','time']])
# ValueError: 'date' is not in list
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8991/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8991/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8992 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8992/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8992/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8992/events | https://github.com/pandas-dev/pandas/issues/8992 | 50,942,883 | MDU6SXNzdWU1MDk0Mjg4Mw== | 8,992 | append & data_columns=True | {
"avatar_url": "https://avatars.githubusercontent.com/u/995919?v=4",
"events_url": "https://api.github.com/users/luluprat/events{/privacy}",
"followers_url": "https://api.github.com/users/luluprat/followers",
"following_url": "https://api.github.com/users/luluprat/following{/other_user}",
"gists_url": "https://api.github.com/users/luluprat/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/luluprat",
"id": 995919,
"login": "luluprat",
"node_id": "MDQ6VXNlcjk5NTkxOQ==",
"organizations_url": "https://api.github.com/users/luluprat/orgs",
"received_events_url": "https://api.github.com/users/luluprat/received_events",
"repos_url": "https://api.github.com/users/luluprat/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/luluprat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/luluprat/subscriptions",
"type": "User",
"url": "https://api.github.com/users/luluprat"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "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 | []
| null | 4 | 2014-12-04T09:09:00Z | 2014-12-07T15:36:32Z | 2014-12-07T15:36:32Z | NONE | null | Hello
i create a new store and i am trying to append it.
all is right when i did :
store.append("table", dataframe)
but when i did the whole thing with data_columns=dataframe.columns or data_columns=True
i can write the first append and then nothing ....
no more data input
tore.append("table", dataframe,data_columns=dataframe.columns )
any help ?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8992/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8992/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8993 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8993/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8993/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8993/events | https://github.com/pandas-dev/pandas/issues/8993 | 50,954,346 | MDU6SXNzdWU1MDk1NDM0Ng== | 8,993 | DOC: add Categorical sorting example | {
"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": "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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 1 | 2014-12-04T10:02:45Z | 2014-12-04T11:02:41Z | 2014-12-04T11:02:32Z | CONTRIBUTOR | null | http://stackoverflow.com/questions/27284460/how-to-sort-categorical-data-in-a-pandas-dataframe?noredirect=1#comment43038362_27284460
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8993/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8993/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8994 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8994/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8994/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8994/events | https://github.com/pandas-dev/pandas/issues/8994 | 50,968,195 | MDU6SXNzdWU1MDk2ODE5NQ== | 8,994 | Asymmetry in corner case for DataFrame ``__getattr__`` and ``__setattr__`` | {
"avatar_url": "https://avatars.githubusercontent.com/u/781659?v=4",
"events_url": "https://api.github.com/users/jakevdp/events{/privacy}",
"followers_url": "https://api.github.com/users/jakevdp/followers",
"following_url": "https://api.github.com/users/jakevdp/following{/other_user}",
"gists_url": "https://api.github.com/users/jakevdp/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jakevdp",
"id": 781659,
"login": "jakevdp",
"node_id": "MDQ6VXNlcjc4MTY1OQ==",
"organizations_url": "https://api.github.com/users/jakevdp/orgs",
"received_events_url": "https://api.github.com/users/jakevdp/received_events",
"repos_url": "https://api.github.com/users/jakevdp/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jakevdp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jakevdp/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jakevdp"
} | [
{
"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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 2 | 2014-12-04T12:13:52Z | 2014-12-07T15:15:23Z | 2014-12-07T15:15:23Z | CONTRIBUTOR | null | A student of mine ran into a confusing problem which ended up being due to an asymmetry in `DataFrame.__setattr__` and `DataFrame.__getattr__` when an attribute and a column have the same name. Here is a short example session:
``` python
import pandas as pd
print(pd.__version__) # '0.14.1'
data = pd.DataFrame({'x':[1, 2, 3]})
# try to create a new column, making a common mistake
data.y = 2 * data.x
# oops! That didn't create a column.
# we need to do it this way instead
data['y'] = 2 * data.x
# update the attribute, and it updates the column, not the attribute
data.y = 0
print(data['y']) # [0, 0, 0]
# print the attribute, and it prints the attribute, not the column
print(data.y) # [2, 4, 6]
print(data['y']) # [0, 0, 0]
```
The confusion derived from the fact that in this situation, `data.__getattr__('y')` refers to the _attribute_, while `data.__setattr__('y', val)` refers to the _column_.
I understand that using attributes to access columns is not recommended, but the asymmetry in this corner case led to a lot of confusion! It would be better if `__getattr__` and `__setattr__` would always refer to the same 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/8994/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8994/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8995 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8995/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8995/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8995/events | https://github.com/pandas-dev/pandas/issues/8995 | 50,975,321 | MDU6SXNzdWU1MDk3NTMyMQ== | 8,995 | API: comparisons of categorical data and (scalar or list-like) | {
"avatar_url": "https://avatars.githubusercontent.com/u/890156?v=4",
"events_url": "https://api.github.com/users/jankatins/events{/privacy}",
"followers_url": "https://api.github.com/users/jankatins/followers",
"following_url": "https://api.github.com/users/jankatins/following{/other_user}",
"gists_url": "https://api.github.com/users/jankatins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jankatins",
"id": 890156,
"login": "jankatins",
"node_id": "MDQ6VXNlcjg5MDE1Ng==",
"organizations_url": "https://api.github.com/users/jankatins/orgs",
"received_events_url": "https://api.github.com/users/jankatins/received_events",
"repos_url": "https://api.github.com/users/jankatins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jankatins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jankatins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jankatins"
} | [
{
"color": "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": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
},
{
"color": "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"
},
{
"color": "be21f2",
"default": false,
"description": "May be closeable, needs more eyeballs",
"id": 2365504893,
"name": "Closing Candidate",
"node_id": "MDU6TGFiZWwyMzY1NTA0ODkz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 3 | 2014-12-04T13:31:48Z | 2020-09-27T11:52:29Z | 2020-09-27T11:52:29Z | CONTRIBUTOR | null | From #8946:
If `cat > scalar` is allowed and `cat == list` also because it basically is doing a comparison of each line as if it was the scalar case, then by that logic, `cat > list` should also be allowed: each row in that comparison would treat the element from the list as a scalar.
On the other hand a scalar comparison with the categorical makes only sense if the scalar can be treated as a category (for any other value, it's basically a "not of the same type" comparison, which would raise on python3), so the scalar must be in `categories` and this should not work:
```
In[4]: df = pd.DataFrame({"a":[1,3,3,3,np.nan]})
In[6]: df["b"] = df.a.astype("category")
In[7]: df.b
Out[7]:
0 1
1 3
2 3
3 3
4 NaN
Name: b, dtype: category
Categories (2, float64): [1 < 3]
In[8]: df.b > 2
Out[8]:
0 False
1 True
2 True
3 True
4 False
Name: b, dtype: bool
```
Oh, one more thing: according to that thought, `df.b == 2` (-> The "equality" case) should also NOT work, because `2` is not in `categories` and therefore a "different type".
Current code results in this:
```
In [5]: df.b==2
Out[5]:
0 False
1 False
2 False
3 False
4 False
Name: b, dtype: bool
```
this is actually consistent (e.g. it returns False). On a comparison it shouldn't raise so this is a reasonable result. I think this is de-facto like the following and is useful.
```
In [7]: Series(['a','b','c'])==2
Out[7]:
0 False
1 False
2 False
dtype: bool
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8995/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8995/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8996 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8996/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8996/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8996/events | https://github.com/pandas-dev/pandas/issues/8996 | 50,994,040 | MDU6SXNzdWU1MDk5NDA0MA== | 8,996 | test_to_records fails on BE boxes: (0L, 'a') != (0L, 'a') | {
"avatar_url": "https://avatars.githubusercontent.com/u/39889?v=4",
"events_url": "https://api.github.com/users/yarikoptic/events{/privacy}",
"followers_url": "https://api.github.com/users/yarikoptic/followers",
"following_url": "https://api.github.com/users/yarikoptic/following{/other_user}",
"gists_url": "https://api.github.com/users/yarikoptic/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yarikoptic",
"id": 39889,
"login": "yarikoptic",
"node_id": "MDQ6VXNlcjM5ODg5",
"organizations_url": "https://api.github.com/users/yarikoptic/orgs",
"received_events_url": "https://api.github.com/users/yarikoptic/received_events",
"repos_url": "https://api.github.com/users/yarikoptic/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yarikoptic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yarikoptic/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yarikoptic"
} | [
{
"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": "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"
} | 8 | 2014-12-04T16:11:53Z | 2015-06-27T01:51:57Z | 2015-06-25T13:45:32Z | CONTRIBUTOR | null | see e.g. https://buildd.debian.org/status/fetch.php?pkg=pandas&arch=sparc&ver=0.15.1%2Bgit125-ge463818-1&stamp=1417703234&file=log
```
======================================================================
FAIL: test_to_records (pandas.tests.test_categorical.TestCategoricalAsBlock)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/«BUILDDIR»/pandas-0.15.1+git125-ge463818/debian/tmp/usr/lib/python2.7/dist-packages/pandas/tests/test_categorical.py", line 2393, in test_to_records
tm.assert_almost_equal(result,expected)
File "das/src/testing.pyx", line 58, in pandas._testing.assert_almost_equal (pandas/src/testing.c:2745)
File "das/src/testing.pyx", line 93, in pandas._testing.assert_almost_equal (pandas/src/testing.c:1830)
File "das/src/testing.pyx", line 143, in pandas._testing.assert_almost_equal (pandas/src/testing.c:2618)
AssertionError: (0L, 'a') != (0L, 'a')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8996/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8996/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8997 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8997/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8997/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8997/events | https://github.com/pandas-dev/pandas/issues/8997 | 50,994,382 | MDU6SXNzdWU1MDk5NDM4Mg== | 8,997 | TestExpressions.test_where fails on sparc | {
"avatar_url": "https://avatars.githubusercontent.com/u/39889?v=4",
"events_url": "https://api.github.com/users/yarikoptic/events{/privacy}",
"followers_url": "https://api.github.com/users/yarikoptic/followers",
"following_url": "https://api.github.com/users/yarikoptic/following{/other_user}",
"gists_url": "https://api.github.com/users/yarikoptic/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yarikoptic",
"id": 39889,
"login": "yarikoptic",
"node_id": "MDQ6VXNlcjM5ODg5",
"organizations_url": "https://api.github.com/users/yarikoptic/orgs",
"received_events_url": "https://api.github.com/users/yarikoptic/received_events",
"repos_url": "https://api.github.com/users/yarikoptic/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yarikoptic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yarikoptic/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yarikoptic"
} | [
{
"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 | []
| null | 7 | 2014-12-04T16:14:32Z | 2014-12-05T20:40:23Z | 2014-12-04T23:31:19Z | CONTRIBUTOR | null | ```
======================================================================
FAIL: test_where (pandas.tests.test_expressions.TestExpressions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/«BUILDDIR»/pandas-0.15.1+git125-ge463818/debian/tmp/usr/lib/python2.7/dist-packages/pandas/tests/test_expressions.py", line 341, in test_where
testit()
File "/«BUILDDIR»/pandas-0.15.1+git125-ge463818/debian/tmp/usr/lib/python2.7/dist-packages/pandas/tests/test_expressions.py", line 333, in testit
assert_array_equal(result,expected)
File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 718, in assert_array_equal
verbose=verbose, header='Arrays are not equal')
File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 644, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not equal
(mismatch 5.235%)
x: array([[-0.46795435, -1.35639322, 0. , 0. ],
[-0.03855877, -1.09147549, 0. , -2. ],
[ 1.10923046, -0.46480593, 1. , 0. ],...
y: array([[-0.46795435, -1.35639322, 0. , 0. ],
[-0.03855877, -1.09147549, 0. , -2. ],
[ 1.10923046, -0.46480593, 1. , 0. ],...
```
interestingly doesn't fail on s390x or powerpc so not strictly a BE problem
see https://buildd.debian.org/status/fetch.php?pkg=pandas&arch=sparc&ver=0.15.1%2Bgit125-ge463818-1&stamp=1417703234 for more info
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8997/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8997/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8998 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8998/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8998/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8998/events | https://github.com/pandas-dev/pandas/issues/8998 | 50,995,363 | MDU6SXNzdWU1MDk5NTM2Mw== | 8,998 | Column mismatch in DataFrame of Series silently produces empty DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/306380?v=4",
"events_url": "https://api.github.com/users/mrocklin/events{/privacy}",
"followers_url": "https://api.github.com/users/mrocklin/followers",
"following_url": "https://api.github.com/users/mrocklin/following{/other_user}",
"gists_url": "https://api.github.com/users/mrocklin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mrocklin",
"id": 306380,
"login": "mrocklin",
"node_id": "MDQ6VXNlcjMwNjM4MA==",
"organizations_url": "https://api.github.com/users/mrocklin/orgs",
"received_events_url": "https://api.github.com/users/mrocklin/received_events",
"repos_url": "https://api.github.com/users/mrocklin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mrocklin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mrocklin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mrocklin"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "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 | []
| null | 2 | 2014-12-04T16:21:50Z | 2014-12-04T23:32:34Z | 2014-12-04T23:32:23Z | CONTRIBUTOR | null | The following behavior surprised me. Of course there might be a good reason for it. Thought I'd report, feel free to close if it's not appropriate.
``` Python
In [1]: from pandas import DataFrame, Series
In [2]: s = Series([1, 2, 3], name='foo')
In [3]: DataFrame(s, columns=['bar'])
Out[3]:
Empty DataFrame
Columns: [bar]
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/8998/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8998/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8999 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8999/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8999/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8999/events | https://github.com/pandas-dev/pandas/issues/8999 | 51,003,465 | MDU6SXNzdWU1MTAwMzQ2NQ== | 8,999 | DOC: Surprising behavior on DataFrame.squeeze() with 0 or 1 col/row | {
"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": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": "2015-11-21T13:47:07Z",
"closed_issues": 216,
"created_at": "2015-09-10T14:30:44Z",
"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.17.0 of course!",
"due_on": "2015-11-21T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/37",
"id": 1299459,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37/labels",
"node_id": "MDk6TWlsZXN0b25lMTI5OTQ1OQ==",
"number": 37,
"open_issues": 0,
"state": "closed",
"title": "0.17.1",
"updated_at": "2016-07-21T16:02:53Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37"
} | 6 | 2014-12-04T17:27:03Z | 2015-10-09T13:15:29Z | 2015-10-09T13:15:29Z | CONTRIBUTOR | null | ``` python
pd.DataFrame({"A": [1]}).squeeze() # -> 1
pd.DataFrame({"A": []}).squeeze() # Noop
```
The second one is genuinely surprising; I would have expected it to return an empty Series with the name set to `A`. But it is consisent with numpy (`np.array([[], []]).squeeze()`) so I've marked is as a doc 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/8999/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8999/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9000 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9000/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9000/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9000/events | https://github.com/pandas-dev/pandas/issues/9000 | 51,007,934 | MDU6SXNzdWU1MTAwNzkzNA== | 9,000 | Timestamp('now', tz=xxx) result wrong | {
"avatar_url": "https://avatars.githubusercontent.com/u/5100315?v=4",
"events_url": "https://api.github.com/users/zhopan77/events{/privacy}",
"followers_url": "https://api.github.com/users/zhopan77/followers",
"following_url": "https://api.github.com/users/zhopan77/following{/other_user}",
"gists_url": "https://api.github.com/users/zhopan77/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zhopan77",
"id": 5100315,
"login": "zhopan77",
"node_id": "MDQ6VXNlcjUxMDAzMTU=",
"organizations_url": "https://api.github.com/users/zhopan77/orgs",
"received_events_url": "https://api.github.com/users/zhopan77/received_events",
"repos_url": "https://api.github.com/users/zhopan77/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zhopan77/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zhopan77/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zhopan77"
} | [
{
"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": "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-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 6 | 2014-12-04T18:07:54Z | 2014-12-07T21:01:06Z | 2014-12-07T21:01:06Z | NONE | null | In earlier version (0.14 and earlier), Timestamp('now', tz=xxx) will return time now in xxx time zone.
In 0.15.1, it returns the time in UTC but tagged with xxx time zone.
Example:
In version 0.12.0:
> > > import pandas
> > > pandas.version.version
> > > '0.12.0'
> > > pandas.Timestamp('now', tz='US/Central')
> > > Timestamp('2014-12-04 12:06:03-0600', tz='US/Central')
> > > pandas.Timestamp('now')
> > > Timestamp('2014-12-04 18:06:11', tz=None)
In version 0.15.1:
> > > import pandas
> > > pandas.version.version
> > > '0.15.1'
> > > pandas.Timestamp('now', tz='US/Central')
> > > Timestamp('2014-12-04 18:07:29-0600', tz='US/Central')
> > > pandas.Timestamp('now')
> > > Timestamp('2014-12-04 18:07:37')
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9000/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9000/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9001 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9001/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9001/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9001/events | https://github.com/pandas-dev/pandas/issues/9001 | 51,028,074 | MDU6SXNzdWU1MTAyODA3NA== | 9,001 | concat sorts columns without preserving order | {
"avatar_url": "https://avatars.githubusercontent.com/u/4074785?v=4",
"events_url": "https://api.github.com/users/EVaisman/events{/privacy}",
"followers_url": "https://api.github.com/users/EVaisman/followers",
"following_url": "https://api.github.com/users/EVaisman/following{/other_user}",
"gists_url": "https://api.github.com/users/EVaisman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/EVaisman",
"id": 4074785,
"login": "EVaisman",
"node_id": "MDQ6VXNlcjQwNzQ3ODU=",
"organizations_url": "https://api.github.com/users/EVaisman/orgs",
"received_events_url": "https://api.github.com/users/EVaisman/received_events",
"repos_url": "https://api.github.com/users/EVaisman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/EVaisman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/EVaisman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/EVaisman"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "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": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
]
| closed | false | null | []
| {
"closed_at": "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-12-04T20:57:24Z | 2014-12-04T23:22:45Z | 2014-12-04T23:22:29Z | NONE | null | Although it's _my_ desired behavior, I realize perhaps this is not _the_ desired behavior, but I think it's reasonable to bring up.
If I want to concat two data frames and their column names are the same, the order is preserved:
```
>>> df1 = pd.DataFrame(columns=["A","1"])
>>> pd.concat([df1,df1])
Empty DataFrame
Columns: [A, 1]
Index: []
```
However, if they are not, it seems they are sorted:
```
>>> df2 = pd.DataFrame(columns=["A","2"])
>>> pd.concat([df1,df2])
Empty DataFrame
Columns: [1, 2, A]
Index: []
```
Would it be reasonable to try to preserve the order? So the output would be:
```
>>> pd.concat([df1,df2])
Empty DataFrame
Columns: [A, 1, 2]
Index: []
```
I realize that, in an ordered list, `"A"` doesn't come before `"1"` or `"2"`, but in both `df1` and `df2`, `"A"` _does_ come before `"1"` and `"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/9001/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9001/timeline | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.