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/9602 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9602/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9602/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9602/events | https://github.com/pandas-dev/pandas/issues/9602 | 60,100,538 | MDU6SXNzdWU2MDEwMDUzOA== | 9,602 | DEPR/DOC: rpy deprecation | {
"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": "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": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 27 | 2015-03-06T13:18:12Z | 2017-01-22T12:15:28Z | 2017-01-22T12:15:10Z | CONTRIBUTOR | null | so we should put up a deprecation notice on `rpy`imports that in the future the user should use `rpy2` directly rather than the less-supported `pandas.rpy` converters that we can take action say in 0.17.0
discussed extensivley in #7385
xref #7385, #9187 #7309, #8255
- [x] Update the docs with some example of how to port your pandas examples to the `rpy2` API -> done with #10075
- [ ] Go over the functionality in pandas and check if some things should be ported to `rpy2` (what still works better in pandas?)
- [ ] Handling of NaN values (comment below: https://github.com/pydata/pandas/issues/9602#issuecomment-94716332)
- [ ] index is not preserved in `ri2py` -> this should be handled in https://bitbucket.org/rpy2/rpy2/issues/285
- [ ] The closed PRs -> push them to `rpy2`?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9602/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9602/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9603 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9603/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9603/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9603/events | https://github.com/pandas-dev/pandas/issues/9603 | 60,126,706 | MDU6SXNzdWU2MDEyNjcwNg== | 9,603 | unexpected result with groupby apply on categorical data | {
"avatar_url": "https://avatars.githubusercontent.com/u/11352449?v=4",
"events_url": "https://api.github.com/users/tmoroz/events{/privacy}",
"followers_url": "https://api.github.com/users/tmoroz/followers",
"following_url": "https://api.github.com/users/tmoroz/following{/other_user}",
"gists_url": "https://api.github.com/users/tmoroz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tmoroz",
"id": 11352449,
"login": "tmoroz",
"node_id": "MDQ6VXNlcjExMzUyNDQ5",
"organizations_url": "https://api.github.com/users/tmoroz/orgs",
"received_events_url": "https://api.github.com/users/tmoroz/received_events",
"repos_url": "https://api.github.com/users/tmoroz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tmoroz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tmoroz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tmoroz"
} | [
{
"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": "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": "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 | 2015-03-06T16:45:01Z | 2015-04-29T23:48:14Z | 2015-04-29T23:48:14Z | NONE | null | ``` python
df = pandas.DataFrame({'a': [1, 0, 0, 0]})
df.groupby(pandas.cut(df.a, [0, 1, 2, 3, 4])).apply(lambda x: len(x))
Out[3]:
a
(0, 1] 1
(1, 2] 0
(2, 3] 0
(3, 4] 3
dtype: int64
```
final group length should be 0 not 3
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9603/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9603/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9604 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9604/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9604/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9604/events | https://github.com/pandas-dev/pandas/issues/9604 | 60,143,242 | MDU6SXNzdWU2MDE0MzI0Mg== | 9,604 | BUG: Index not respecting nan_rep in HDF5 serialiazation | {
"avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4",
"events_url": "https://api.github.com/users/toobaz/events{/privacy}",
"followers_url": "https://api.github.com/users/toobaz/followers",
"following_url": "https://api.github.com/users/toobaz/following{/other_user}",
"gists_url": "https://api.github.com/users/toobaz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/toobaz",
"id": 1224492,
"login": "toobaz",
"node_id": "MDQ6VXNlcjEyMjQ0OTI=",
"organizations_url": "https://api.github.com/users/toobaz/orgs",
"received_events_url": "https://api.github.com/users/toobaz/received_events",
"repos_url": "https://api.github.com/users/toobaz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/toobaz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/toobaz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/toobaz"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "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"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 7 | 2015-03-06T18:58:45Z | 2015-10-08T22:34:27Z | null | MEMBER | null | ```
In [1]: import pandas
In [2]: institute = 'Nan-Kai Institute of Technology'
In [3]: words = institute.replace("-", ' ').lower().split()
In [4]: words_idces = pandas.Series(range(len(words)), index=words)
In [5]: len([words_idces.loc[w] for w in words])
Out[5]: 5
In [6]: words_idces.to_hdf('/tmp/test.hdf', 'precious_idces')
In [7]: words_idces = pandas.read_hdf('/tmp/test.hdf', 'precious_idces')
In [8]: len([words_idces.loc[w] for w in words])
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-8-d54a661c6a50> in <module>()
----> 1 len([words_idces.loc[w] for w in words])
<ipython-input-8-d54a661c6a50> in <listcomp>(.0)
----> 1 len([words_idces.loc[w] for w in words])
/home/pietro/nobackup/repo/pandas/pandas/core/indexing.py in __getitem__(self, key)
1197 return self._getitem_tuple(key)
1198 else:
-> 1199 return self._getitem_axis(key, axis=0)
1200
1201 def _getitem_axis(self, key, axis=0):
/home/pietro/nobackup/repo/pandas/pandas/core/indexing.py in _getitem_axis(self, key, axis)
1339
1340 # fall thru to straight lookup
-> 1341 self._has_valid_type(key, axis)
1342 return self._get_label(key, axis=axis)
1343
/home/pietro/nobackup/repo/pandas/pandas/core/indexing.py in _has_valid_type(self, key, axis)
1301 raise
1302 except:
-> 1303 error()
1304
1305 return True
/home/pietro/nobackup/repo/pandas/pandas/core/indexing.py in error()
1288 "cannot use label indexing with a null key")
1289 raise KeyError("the label [%s] is not in the [%s]" %
-> 1290 (key, self.obj._get_axis_name(axis)))
1291
1292 try:
KeyError: 'the label [nan] is not in the [index]'
```
I didn't have time to investigate whether the problem is in pandas or pytables.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9604/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9604/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9605 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9605/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9605/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9605/events | https://github.com/pandas-dev/pandas/pull/9605 | 60,151,032 | MDExOlB1bGxSZXF1ZXN0MzA2NzQ3OTM= | 9,605 | ENH: Add days_in_month property to Timestamp/DatetimeIndex/... (GH9572) | {
"avatar_url": "https://avatars.githubusercontent.com/u/3686522?v=4",
"events_url": "https://api.github.com/users/josham/events{/privacy}",
"followers_url": "https://api.github.com/users/josham/followers",
"following_url": "https://api.github.com/users/josham/following{/other_user}",
"gists_url": "https://api.github.com/users/josham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/josham",
"id": 3686522,
"login": "josham",
"node_id": "MDQ6VXNlcjM2ODY1MjI=",
"organizations_url": "https://api.github.com/users/josham/orgs",
"received_events_url": "https://api.github.com/users/josham/received_events",
"repos_url": "https://api.github.com/users/josham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/josham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/josham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/josham"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
]
| closed | false | null | []
| {
"closed_at": "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 | 2015-03-06T20:01:46Z | 2015-03-07T15:09:41Z | 2015-03-06T23:09:16Z | CONTRIBUTOR | null | closes #9572
Added days_in_month property (compatibility alias daysinmonth) to Timestamp, DatetimeIndex, Period, PeriodIndex,
Series.dt.
Although not mentioned in the GH issue, I added the property to Period and PeriodIndex to be consistent with the others: dayofweek, dayofyear, etc.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9605/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9605/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9605.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9605",
"merged_at": "2015-03-06T23:09:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9605.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9605"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9606 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9606/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9606/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9606/events | https://github.com/pandas-dev/pandas/issues/9606 | 60,151,799 | MDU6SXNzdWU2MDE1MTc5OQ== | 9,606 | API: timeseries accessors naming convention | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "b60205",
"default": false,
"description": "Internal Consistency of API/Behavior",
"id": 1741841389,
"name": "API - Consistency",
"node_id": "MDU6TGFiZWwxNzQxODQxMzg5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency"
}
]
| closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/15077162?v=4",
"events_url": "https://api.github.com/users/abhishekmangla/events{/privacy}",
"followers_url": "https://api.github.com/users/abhishekmangla/followers",
"following_url": "https://api.github.com/users/abhishekmangla/following{/other_user}",
"gists_url": "https://api.github.com/users/abhishekmangla/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/abhishekmangla",
"id": 15077162,
"login": "abhishekmangla",
"node_id": "MDQ6VXNlcjE1MDc3MTYy",
"organizations_url": "https://api.github.com/users/abhishekmangla/orgs",
"received_events_url": "https://api.github.com/users/abhishekmangla/received_events",
"repos_url": "https://api.github.com/users/abhishekmangla/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/abhishekmangla/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/abhishekmangla/subscriptions",
"type": "User",
"url": "https://api.github.com/users/abhishekmangla"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/15077162?v=4",
"events_url": "https://api.github.com/users/abhishekmangla/events{/privacy}",
"followers_url": "https://api.github.com/users/abhishekmangla/followers",
"following_url": "https://api.github.com/users/abhishekmangla/following{/other_user}",
"gists_url": "https://api.github.com/users/abhishekmangla/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/abhishekmangla",
"id": 15077162,
"login": "abhishekmangla",
"node_id": "MDQ6VXNlcjE1MDc3MTYy",
"organizations_url": "https://api.github.com/users/abhishekmangla/orgs",
"received_events_url": "https://api.github.com/users/abhishekmangla/received_events",
"repos_url": "https://api.github.com/users/abhishekmangla/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/abhishekmangla/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/abhishekmangla/subscriptions",
"type": "User",
"url": "https://api.github.com/users/abhishekmangla"
}
]
| {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"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 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2015-03-06T20:08:11Z | 2020-10-29T01:18:57Z | 2020-10-29T01:18:57Z | CONTRIBUTOR | null | we have a slightly odd naming convention for several index (and .dt) accessors
`dayofweek`
`dayofyear`
(and adding `daysinmonth` in #9605)
so these should prob be `day_of_week`
we should be able to maintain compat on these and just add the new ones.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9606/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9606/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9607 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9607/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9607/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9607/events | https://github.com/pandas-dev/pandas/issues/9607 | 60,166,627 | MDU6SXNzdWU2MDE2NjYyNw== | 9,607 | API/ENH: allow as_blocks to take a copy argument | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 1 | 2015-03-06T22:14:18Z | 2015-06-26T23:29:51Z | 2015-06-26T23:29:51Z | CONTRIBUTOR | null | so that instead of always copying the returned blocks we can have the option
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9607/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9607/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9608 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9608/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9608/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9608/events | https://github.com/pandas-dev/pandas/issues/9608 | 60,180,784 | MDU6SXNzdWU2MDE4MDc4NA== | 9,608 | BLD: pymysql 0.6.6 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
},
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"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": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 5 | 2015-03-07T00:51:48Z | 2018-07-06T22:21:31Z | 2018-07-06T22:21:24Z | CONTRIBUTOR | null | looks like `pymsyql` just got updated from 0.6.3 to 0.6.6, see here: https://travis-ci.org/pydata/pandas/jobs/53409636
[changelog](https://github.com/PyMySQL/PyMySQL/blob/master/CHANGELOG)
and started breaking our builds (only 3.4 oddly)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9608/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9608/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9609 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9609/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9609/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9609/events | https://github.com/pandas-dev/pandas/issues/9609 | 60,188,886 | MDU6SXNzdWU2MDE4ODg4Ng== | 9,609 | API: Plotting kwargs consistency | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "b60205",
"default": false,
"description": "Internal Consistency of API/Behavior",
"id": 1741841389,
"name": "API - Consistency",
"node_id": "MDU6TGFiZWwxNzQxODQxMzg5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency"
}
]
| open | false | null | []
| null | 0 | 2015-03-07T03:48:07Z | 2020-05-07T03:37:21Z | null | CONTRIBUTOR | null | Starting this master issue for things I see while going through the plotting kwargs for the `.plot` accessor.
### hist_frame
- [ ] `xlabelsize`, `ylabelsize`: nothing specific to hist. Could be for all (non-pie) plot types
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9609/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9609/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9610 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9610/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9610/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9610/events | https://github.com/pandas-dev/pandas/issues/9610 | 60,207,259 | MDU6SXNzdWU2MDIwNzI1OQ== | 9,610 | BUG: hist plot secondary-y doesn't work | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| 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 | 2015-03-07T14:00:11Z | 2015-04-05T13:52:22Z | 2015-04-05T13:52:22Z | CONTRIBUTOR | null | The labels overlap
``` python
In [1]: df = pd.DataFrame(np.random.randn(30, 4), columns=list('abcd'))
In [2]: ax = df.a.plot(legend=True)
In [3]: df.b.plot(ax=ax, legend=True)
Out[3]: <matplotlib.axes._subplots.AxesSubplot at 0x10938f6a0>
```

| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9610/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9610/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9611 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9611/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9611/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9611/events | https://github.com/pandas-dev/pandas/pull/9611 | 60,214,415 | MDExOlB1bGxSZXF1ZXN0MzA3MDU1OTg= | 9,611 | API: deprecate setting of .ordered directly (GH9347, GH9190) | {
"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": "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"
} | 24 | 2015-03-07T16:57:19Z | 2015-03-10T01:23:04Z | 2015-03-10T01:23:04Z | CONTRIBUTOR | null | closes #9347
closes #9190
closes #9148
so this is option 4).
Default is now `ordered=False` (independently of whether you specify categories or not)
The ordering is still what factorize does (seen order, if no categories are specified).
Add `set_ordered` to change the `ordered` flag, which by default returns a new object.
```
In [1]: cat = pd.Categorical([0,1,2])
In [2]: cat
Out[2]:
[0, 1, 2]
Categories (3, int64): [0, 1, 2]
In [3]: cat.ordered
Out[3]: False
In [4]: cat.ordered=True
pandas/core/categorical.py:452: FutureWarning: Setting 'ordered' directly is deprecated, use 'set_ordered'
In [5]: cat = cat.set_ordered(True)
In [6]: cat
Out[6]:
[0, 1, 2]
Categories (3, int64): [0 < 1 < 2]
In [7]: cat.ordered
Out[7]: True
In [8]: cat = pd.Categorical([0,1,2],ordered=True)
In [9]: cat
Out[9]:
[0, 1, 2]
Categories (3, int64): [0 < 1 < 2]
In [12]: cat.ordered
Out[12]: True
```
Further added the ability for astype to pass on keywords to the constructor
```
In [1]: Series(["a","b","c","a"]).astype('category',ordered=True)
Out[1]:
0 a
1 b
2 c
3 a
dtype: category
Categories (3, object): [a < b < c]
In [2]: Series(["a","b","c","a"]).astype('category',categories=list('abcdef'),ordered=False)
Out[2]:
0 a
1 b
2 c
3 a
dtype: category
Categories (6, object): [a, b, c, d, e, f]
```
Furthermore I put a warning as seemingly simple operations will fail because the user had an _implicity_ ordered Categorical.
```
In [1]: df = DataFrame({ 'A' : Series(list('aabc')).astype('category'), 'B' : np.arange(4) })
In [2]: df['A'].order()
TypeError: Categorical not ordered
you can use .set_ordered(True) to change the Categorical to an ordered one
In [3]: df.groupby('A').sum()
ValueError: cannot sort by an unordered Categorical in the grouper
you can set sort=False in the groupby expression or
make the categorical ordered by using .set_ordered(True)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9611/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9611/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9611.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9611",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/9611.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9611"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9612 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9612/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9612/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9612/events | https://github.com/pandas-dev/pandas/pull/9612 | 60,230,578 | MDExOlB1bGxSZXF1ZXN0MzA3MTE0Nzk= | 9,612 | DEPR: deprecate pandas.rpy (GH9602) | {
"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"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
]
| closed | false | null | []
| {
"closed_at": "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 | 2015-03-07T23:37:38Z | 2015-03-08T16:52:18Z | 2015-03-08T16:29:06Z | CONTRIBUTOR | null | closes #9602
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9612/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9612/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9612.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9612",
"merged_at": "2015-03-08T16:29:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9612.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9612"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9613 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9613/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9613/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9613/events | https://github.com/pandas-dev/pandas/issues/9613 | 60,250,616 | MDU6SXNzdWU2MDI1MDYxNg== | 9,613 | Please add YAML front matter block support for pandas.io.parsers.read_csv | {
"avatar_url": "https://avatars.githubusercontent.com/u/349866?v=4",
"events_url": "https://api.github.com/users/jrovegno/events{/privacy}",
"followers_url": "https://api.github.com/users/jrovegno/followers",
"following_url": "https://api.github.com/users/jrovegno/following{/other_user}",
"gists_url": "https://api.github.com/users/jrovegno/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jrovegno",
"id": 349866,
"login": "jrovegno",
"node_id": "MDQ6VXNlcjM0OTg2Ng==",
"organizations_url": "https://api.github.com/users/jrovegno/orgs",
"received_events_url": "https://api.github.com/users/jrovegno/received_events",
"repos_url": "https://api.github.com/users/jrovegno/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jrovegno/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jrovegno/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jrovegno"
} | [
{
"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"
}
]
| closed | false | null | []
| null | 5 | 2015-03-08T10:24:16Z | 2021-08-08T19:08:08Z | 2021-08-08T19:08:08Z | NONE | null | Github show me how cool can be use YAML front matter blocks, and now I want to use them to put metadata in my datasets, this must be the new standard. It's easy, human readable and simple.
File example of the format
https://raw.githubusercontent.com/jrovegno/csvy/master/data.csvy
Regards
Javier
| {
"+1": 4,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 4,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9613/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9613/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9614 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9614/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9614/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9614/events | https://github.com/pandas-dev/pandas/issues/9614 | 60,251,619 | MDU6SXNzdWU2MDI1MTYxOQ== | 9,614 | Type issue in empty groupby from DataFrame with categorical | {
"avatar_url": "https://avatars.githubusercontent.com/u/6342379?v=4",
"events_url": "https://api.github.com/users/xflr6/events{/privacy}",
"followers_url": "https://api.github.com/users/xflr6/followers",
"following_url": "https://api.github.com/users/xflr6/following{/other_user}",
"gists_url": "https://api.github.com/users/xflr6/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/xflr6",
"id": 6342379,
"login": "xflr6",
"node_id": "MDQ6VXNlcjYzNDIzNzk=",
"organizations_url": "https://api.github.com/users/xflr6/orgs",
"received_events_url": "https://api.github.com/users/xflr6/received_events",
"repos_url": "https://api.github.com/users/xflr6/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/xflr6/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xflr6/subscriptions",
"type": "User",
"url": "https://api.github.com/users/xflr6"
} | [
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
]
| closed | false | null | []
| {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 3 | 2015-03-08T10:54:34Z | 2019-11-13T01:57:19Z | 2019-11-13T01:57:19Z | CONTRIBUTOR | null | In a `DataFrame` without a categorical, the following comparisons work as expected:
``` python
df = pd.DataFrame({'id': [None] * 3, 'spam': [None] * 3})
df['spam'] == 'spam'
df.groupby('id').first()['spam'] == 'spam'
```
However, when a column is `Categorical`, a `groupby` on the all-null column behaves unexpected:
``` python
df['spam'] = df['spam'].astype('category')
df['spam'] == 'spam' # works as expected
df.groupby('id').first()['spam'] == 'spam' # raises TypeError: invalid type comparison
```
Looks like the groupby converts all types in the group to `float64`:
``` python
>>> df.groupby('id').first().info()
<class 'pandas.core.frame.DataFrame'>
Int64Index: 0 entries
Data columns (total 1 columns):
spam 0 non-null float64
dtypes: float64(1)
memory usage: 0.0 bytes
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9614/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9614/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9615 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9615/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9615/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9615/events | https://github.com/pandas-dev/pandas/pull/9615 | 60,263,535 | MDExOlB1bGxSZXF1ZXN0MzA3MjE5NDc= | 9,615 | DEPR: deprecate pandas.sandbox.qtpandas | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 0 | 2015-03-08T16:18:08Z | 2015-03-08T16:27:28Z | 2015-03-08T16:27:28Z | CONTRIBUTOR | null | not supported module/interface.
xref #1986, #8788
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9615/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9615/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9615.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9615",
"merged_at": "2015-03-08T16:27:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9615.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9615"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9616 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9616/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9616/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9616/events | https://github.com/pandas-dev/pandas/issues/9616 | 60,288,635 | MDU6SXNzdWU2MDI4ODYzNQ== | 9,616 | getting IOError when creating DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/6764126?v=4",
"events_url": "https://api.github.com/users/gauravp2003/events{/privacy}",
"followers_url": "https://api.github.com/users/gauravp2003/followers",
"following_url": "https://api.github.com/users/gauravp2003/following{/other_user}",
"gists_url": "https://api.github.com/users/gauravp2003/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gauravp2003",
"id": 6764126,
"login": "gauravp2003",
"node_id": "MDQ6VXNlcjY3NjQxMjY=",
"organizations_url": "https://api.github.com/users/gauravp2003/orgs",
"received_events_url": "https://api.github.com/users/gauravp2003/received_events",
"repos_url": "https://api.github.com/users/gauravp2003/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gauravp2003/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gauravp2003/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gauravp2003"
} | []
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 1 | 2015-03-09T01:44:19Z | 2015-04-07T09:09:46Z | 2015-04-07T09:09:40Z | NONE | null | Hi
I am getting error when creating DataFrame and I have no idea on how to fix it
In [6]: import pandas.io.data as web
In [7]: import datetime
In [8]: start = datetime.datetime(2010, 1, 1)
In [9]: end = datetime.datetime(2013, 1, 27)
In [10]: f=web.DataReader("F", 'yahoo', start, end)
In [11]: f
Out[11]: <repr(<pandas.core.frame.DataFrame at 0x7f0b9c856290>) failed: IOError: [Errno 10] No child processes>
In [12]: f.ix['2010-01-04']
Out[12]: <repr(<pandas.core.series.Series at 0x7f0b9c856150>) failed: IOError: [
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9616/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9616/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9617 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9617/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9617/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9617/events | https://github.com/pandas-dev/pandas/pull/9617 | 60,310,600 | MDExOlB1bGxSZXF1ZXN0MzA3NDIxNTY= | 9,617 | BUG/API: Accessors like .cat raise AttributeError when invalid | {
"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": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
]
| closed | false | null | []
| {
"closed_at": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 10 | 2015-03-09T08:12:31Z | 2015-03-11T02:33:15Z | 2015-03-10T22:49:06Z | MEMBER | null | `AttributeError` is really the appropriate error to raise for an invalid
attribute. In particular, it is necessary to ensure that tests like
`hasattr(s, 'cat')` work consistently on Python 2 and 3: on Python 2,
`hasattr(s, 'cat')` will return `False` even if a `TypeError` was raised, but
Python 3 more strictly requires `AttributeError`.
This is an unfortunate trap that we should avoid. See this discussion in
Seaborn for a full report:
https://github.com/mwaskom/seaborn/issues/361#issuecomment-77770773
Note that technically, this is an API change, since these accessors (all but
`.str`, I think) raised TypeError in the last release.
This also suggests another possibility for testing for Series with a
Categorical dtype (#8814): just use `hasattr(s, 'cat')` (at least for Python
2 or pandas >=0.16).
CC @mwaskom @jorisvandenbossche @JanSchulz
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9617/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9617/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9617.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9617",
"merged_at": "2015-03-10T22:49:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9617.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9617"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9618 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9618/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9618/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9618/events | https://github.com/pandas-dev/pandas/issues/9618 | 60,326,756 | MDU6SXNzdWU2MDMyNjc1Ng== | 9,618 | msgpack unpack dataframe error: InvalidIndexError | {
"avatar_url": "https://avatars.githubusercontent.com/u/10814549?v=4",
"events_url": "https://api.github.com/users/jmavila/events{/privacy}",
"followers_url": "https://api.github.com/users/jmavila/followers",
"following_url": "https://api.github.com/users/jmavila/following{/other_user}",
"gists_url": "https://api.github.com/users/jmavila/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jmavila",
"id": 10814549,
"login": "jmavila",
"node_id": "MDQ6VXNlcjEwODE0NTQ5",
"organizations_url": "https://api.github.com/users/jmavila/orgs",
"received_events_url": "https://api.github.com/users/jmavila/received_events",
"repos_url": "https://api.github.com/users/jmavila/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jmavila/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jmavila/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jmavila"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 4 | 2015-03-09T10:55:31Z | 2015-07-18T13:30:43Z | 2015-07-18T13:30:43Z | NONE | null | This happen with some Pandas dataframes with indexes.
``` python
from pandas import read_msgpack
msg = df.to_msgpack()
read_msgpack(msg) #==> exception!
```
Full Traceback (most recent call last):
File "/srv/python/venv/local/lib/python2.7/site-packages/pandas/io/packers.py", line 163, in read_msgpack
return read(fh)
File "/srv/python/venv/local/lib/python2.7/site-packages/pandas/io/packers.py", line 141, in read
l = list(unpack(fh))
File "pandas/msgpack.pyx", line 662, in pandas.msgpack.Unpacker.**next** (pandas/msgpack.cpp:8303)
File "pandas/msgpack.pyx", line 591, in pandas.msgpack.Unpacker._unpack (pandas/msgpack.cpp:7328)
File "/srv/python/venv/local/lib/python2.7/site-packages/pandas/io/packers.py", line 490, in decode
blocks = [create_block(b) for b in obj['blocks']]
File "/srv/python/venv/local/lib/python2.7/site-packages/pandas/io/packers.py", line 488, in create_block
placement=axes[0].get_indexer(b['items']))
File "/srv/python/venv/local/lib/python2.7/site-packages/pandas/core/index.py", line 1488, in get_indexer
raise InvalidIndexError('Reindexing only valid with uniquely'
InvalidIndexError: Reindexing only valid with uniquely valued Index objects
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9618/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9618/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9619 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9619/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9619/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9619/events | https://github.com/pandas-dev/pandas/pull/9619 | 60,358,877 | MDExOlB1bGxSZXF1ZXN0MzA3Njk1MTE= | 9,619 | DOC: Shrink image asset for assign | {
"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"
}
]
| closed | false | null | []
| {
"closed_at": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 3 | 2015-03-09T15:20:03Z | 2015-08-18T12:45:06Z | 2015-03-09T18:42:16Z | CONTRIBUTOR | null | Let's try this again. The sphinx directive didn't seem to work. I just shrunk the static asset.
I'm not at my regular computer and I haven't been able to get the docs to build on this one, so I'm exactly sure how it will look in the 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/9619/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9619/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9619.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9619",
"merged_at": "2015-03-09T18:42:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9619.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9619"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9620 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9620/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9620/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9620/events | https://github.com/pandas-dev/pandas/issues/9620 | 60,378,910 | MDU6SXNzdWU2MDM3ODkxMA== | 9,620 | secondary_y not always working | {
"avatar_url": "https://avatars.githubusercontent.com/u/4803336?v=4",
"events_url": "https://api.github.com/users/jrkerns/events{/privacy}",
"followers_url": "https://api.github.com/users/jrkerns/followers",
"following_url": "https://api.github.com/users/jrkerns/following{/other_user}",
"gists_url": "https://api.github.com/users/jrkerns/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jrkerns",
"id": 4803336,
"login": "jrkerns",
"node_id": "MDQ6VXNlcjQ4MDMzMzY=",
"organizations_url": "https://api.github.com/users/jrkerns/orgs",
"received_events_url": "https://api.github.com/users/jrkerns/received_events",
"repos_url": "https://api.github.com/users/jrkerns/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jrkerns/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jrkerns/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jrkerns"
} | []
| closed | false | null | []
| null | 3 | 2015-03-09T17:25:05Z | 2015-03-09T18:27:33Z | 2015-03-09T18:27:33Z | NONE | null | See a SO question I asked that has the relevant information: http://stackoverflow.com/questions/28840036/pandas-secondary-y-axis-for-boxplots
Essentially, the `secondary_y` argument of `plot()` doesn't do anything for boxplots and several other plot types. It will work for line plots however.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9620/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9620/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9621 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9621/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9621/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9621/events | https://github.com/pandas-dev/pandas/pull/9621 | 60,408,311 | MDExOlB1bGxSZXF1ZXN0MzA3OTg5NTU= | 9,621 | fix pymysql at 0.6.3 (GH9608) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
},
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 0 | 2015-03-09T20:55:16Z | 2015-03-09T21:39:59Z | 2015-03-09T21:39:59Z | CONTRIBUTOR | null | xref #9608
fix version to bypass failures for now
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9621/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9621/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9621.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9621",
"merged_at": "2015-03-09T21:39:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9621.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9621"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9622 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9622/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9622/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9622/events | https://github.com/pandas-dev/pandas/pull/9622 | 60,424,371 | MDExOlB1bGxSZXF1ZXN0MzA4MDgzMDE= | 9,622 | API: deprecate setting of .ordered directly (GH9347, GH9190) | {
"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": "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"
} | 12 | 2015-03-09T22:56:46Z | 2015-03-11T12:12:05Z | 2015-03-11T12:11:49Z | CONTRIBUTOR | null | alternate to #9611
closes #9347
closes #9190
closes #9148
This implementes the alternate, and IMHO a nice compromise.
Groupby's will succeed whether ordered or not
ordering ops (sort/argsort/min/max) will still raise.
one though is that we could detect a non-reduction where the ordering matters (maybe we do this in another PR), and show a warning, e.g. imagine `df.groupby('A').head(2)` is technically 'wrong', while `df.groupby('A').sum()` would have no warning.
```
In [1]: df = DataFrame({ 'A' : Series(list('aabc')).astype('category'), 'B' : np.arange(4) })
In [2]: df.groupby('A').sum()
Out[2]:
B
A
a 1
b 2
c 3
In [3]: df['A'].order()
TypeError: Categorical is not ordered for operation argsort
you can use .as_ordered() to change the Categorical to an ordered one
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9622/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9622/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9622.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9622",
"merged_at": "2015-03-11T12:11:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9622.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9622"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9623 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9623/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9623/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9623/events | https://github.com/pandas-dev/pandas/pull/9623 | 60,437,112 | MDExOlB1bGxSZXF1ZXN0MzA4MTU2MTg= | 9,623 | Fixes to resample over DST boundaries | {
"avatar_url": "https://avatars.githubusercontent.com/u/3195015?v=4",
"events_url": "https://api.github.com/users/rockg/events{/privacy}",
"followers_url": "https://api.github.com/users/rockg/followers",
"following_url": "https://api.github.com/users/rockg/following{/other_user}",
"gists_url": "https://api.github.com/users/rockg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rockg",
"id": 3195015,
"login": "rockg",
"node_id": "MDQ6VXNlcjMxOTUwMTU=",
"organizations_url": "https://api.github.com/users/rockg/orgs",
"received_events_url": "https://api.github.com/users/rockg/received_events",
"repos_url": "https://api.github.com/users/rockg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rockg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rockg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rockg"
} | [
{
"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"
},
{
"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": "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"
} | 17 | 2015-03-10T01:24:57Z | 2015-03-11T14:17:14Z | 2015-03-11T12:10:07Z | CONTRIBUTOR | null | closes #5172
closes #8744
closes #8653
closes #9173
closes #9468
closes #8794
fixes all issues but one attached to #5172. There were several issues as mentioned by my comments in the master list. They are:
1. Offset classes were not working properly over DST boundaries. I added flags on the class to handle specially.
2. `normalize_date` does not work with DST change dates as the tz offset is not adjusted. `normalize` is added to Timestamp as discussed in #8794 (I don't like how this was done, but it seemed the easiest rather than duplicating lots of code in `tslib.date_normalize`.
3. `_adjust_dates_anchored` was not localizing properly once times were adjusted.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9623/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9623/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9623.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9623",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/9623.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9623"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9624 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9624/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9624/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9624/events | https://github.com/pandas-dev/pandas/issues/9624 | 60,521,189 | MDU6SXNzdWU2MDUyMTE4OQ== | 9,624 | BUG: adding DatetimeIndex with series of timedeltas results in strange series | {
"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": "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": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 2 | 2015-03-10T15:48:56Z | 2015-03-11T01:47:12Z | 2015-03-11T01:47:12Z | MEMBER | null | ```
In [21]: dtidx = pd.date_range('2012-01-01', periods=2)
In [22]: dtidx
Out[22]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2012-01-01, 2012-01-02]
Length: 2, Freq: D, Timezone: None
In [23]: dtidx + pd.Series([pd.Timedelta('10 days'), pd.Timedelta('20 days')])
Out[23]:
2012-01-01 00:00:00 NaT
2012-01-02 00:00:00 NaT
0 NaT
1 NaT
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/9624/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9624/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9625 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9625/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9625/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9625/events | https://github.com/pandas-dev/pandas/issues/9625 | 60,544,193 | MDU6SXNzdWU2MDU0NDE5Mw== | 9,625 | Add an option to to_html so that index names do not take a row itself. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1499555?v=4",
"events_url": "https://api.github.com/users/colinfang/events{/privacy}",
"followers_url": "https://api.github.com/users/colinfang/followers",
"following_url": "https://api.github.com/users/colinfang/following{/other_user}",
"gists_url": "https://api.github.com/users/colinfang/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/colinfang",
"id": 1499555,
"login": "colinfang",
"node_id": "MDQ6VXNlcjE0OTk1NTU=",
"organizations_url": "https://api.github.com/users/colinfang/orgs",
"received_events_url": "https://api.github.com/users/colinfang/received_events",
"repos_url": "https://api.github.com/users/colinfang/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/colinfang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/colinfang/subscriptions",
"type": "User",
"url": "https://api.github.com/users/colinfang"
} | [
{
"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": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
},
{
"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 | []
| null | 1 | 2015-03-10T18:15:44Z | 2021-09-09T14:18:47Z | 2021-09-09T14:18:47Z | NONE | null | ``` python
a = pd.DataFrame({'x': [1,2,3], 'y': [2,3,4]})
a.index.names = ['a']
a.to_html()
```
it looks like
```
x y
a
0 1 2
1 2 3
2 3 4
```
Can we add an option in `to_html` so that we can achieve the following easily?
For the moment I have to drop the index, and bold the first column via formatter which is not simple.
```
a x y
0 1 2
1 2 3
2 3 4
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9625/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9625/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9626 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9626/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9626/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9626/events | https://github.com/pandas-dev/pandas/pull/9626 | 60,549,163 | MDExOlB1bGxSZXF1ZXN0MzA4ODA0NzI= | 9,626 | improve error message when importing pandas from source directory | {
"avatar_url": "https://avatars.githubusercontent.com/u/1642081?v=4",
"events_url": "https://api.github.com/users/mortada/events{/privacy}",
"followers_url": "https://api.github.com/users/mortada/followers",
"following_url": "https://api.github.com/users/mortada/following{/other_user}",
"gists_url": "https://api.github.com/users/mortada/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mortada",
"id": 1642081,
"login": "mortada",
"node_id": "MDQ6VXNlcjE2NDIwODE=",
"organizations_url": "https://api.github.com/users/mortada/orgs",
"received_events_url": "https://api.github.com/users/mortada/received_events",
"repos_url": "https://api.github.com/users/mortada/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mortada/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mortada/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mortada"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
]
| closed | false | null | []
| {
"closed_at": "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 | 2015-03-10T18:46:43Z | 2015-05-05T00:09:03Z | 2015-05-04T22:41:49Z | CONTRIBUTOR | null | Currently if one imports from the source directory without building the C extension the error message is not very helpful:
`ImportError: cannot import name 'hashtable'`
I see a few previous PRs (https://github.com/pydata/pandas/pull/3827, https://github.com/pydata/pandas/pull/3821) that tried to address this but somehow this is still the behavior on `master`.
With this PR the error message would be a lot more informative:
```
ImportError: C extension: 'hashtable' not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace' to build the C extensions first.
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9626/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9626/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9626.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9626",
"merged_at": "2015-05-04T22:41:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9626.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9626"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9627 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9627/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9627/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9627/events | https://github.com/pandas-dev/pandas/issues/9627 | 60,582,840 | MDU6SXNzdWU2MDU4Mjg0MA== | 9,627 | API: remove .str/.cat/.dt tab-completion from types that don't support | {
"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"
}
]
| 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"
} | 1 | 2015-03-10T22:51:50Z | 2015-04-22T00:04:45Z | 2015-04-22T00:04:45Z | CONTRIBUTOR | null | xref #9617
btw, if someone wants to do a followup at some point to remove the .str/.cat/.dt from the **dir** on types they don't apply would be gr8. (not that hard, but requires a bit of changing), prob have to make _local_dir a bit more flexible (to add and delete)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9627/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9627/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9628 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9628/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9628/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9628/events | https://github.com/pandas-dev/pandas/pull/9628 | 60,585,360 | MDExOlB1bGxSZXF1ZXN0MzA5MDIyNzM= | 9,628 | Fix table name on comparison with SQL | {
"avatar_url": "https://avatars.githubusercontent.com/u/292712?v=4",
"events_url": "https://api.github.com/users/jbochi/events{/privacy}",
"followers_url": "https://api.github.com/users/jbochi/followers",
"following_url": "https://api.github.com/users/jbochi/following{/other_user}",
"gists_url": "https://api.github.com/users/jbochi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbochi",
"id": 292712,
"login": "jbochi",
"node_id": "MDQ6VXNlcjI5MjcxMg==",
"organizations_url": "https://api.github.com/users/jbochi/orgs",
"received_events_url": "https://api.github.com/users/jbochi/received_events",
"repos_url": "https://api.github.com/users/jbochi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbochi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbochi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbochi"
} | [
{
"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-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 | 2015-03-10T23:15:28Z | 2015-03-11T00:18:33Z | 2015-03-11T00:18:33Z | CONTRIBUTOR | null | All the other examples use the table name "tips"
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9628/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9628/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9628.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9628",
"merged_at": "2015-03-11T00:18:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9628.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9628"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9629 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9629/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9629/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9629/events | https://github.com/pandas-dev/pandas/pull/9629 | 60,591,276 | MDExOlB1bGxSZXF1ZXN0MzA5MDU4MzY= | 9,629 | TST/DOC: Fix tests and docs for .cat raising AttributeError if invalid | {
"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": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"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": "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"
} | 2 | 2015-03-11T00:21:03Z | 2015-03-11T01:35:35Z | 2015-03-11T01:35:33Z | MEMBER | null | Follow-up on #9617
Fixes #8814 -- is it fair to say that `hasattr(s, 'cat')` is probably
the best solution we're going to come up with for checking for categorical
data?
CC @jreback @jorisvandenbossche @JanSchulz
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9629/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9629/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9629.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9629",
"merged_at": "2015-03-11T01:35:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9629.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9629"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9630 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9630/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9630/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9630/events | https://github.com/pandas-dev/pandas/pull/9630 | 60,598,508 | MDExOlB1bGxSZXF1ZXN0MzA5MDk3NTI= | 9,630 | DEPR: DatetimeIndex/PeriodsIndex +/- ops (GH9094) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
]
| closed | false | null | []
| {
"closed_at": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 8 | 2015-03-11T01:53:16Z | 2015-03-11T10:21:42Z | 2015-03-11T10:21:42Z | CONTRIBUTOR | null | closes #9094
closes #9095
deprecate `DatetimeIndex/PeriodIndex` `+/-` ops which are set ops. In a future version `-` will produce a `TimeDeltaIndex` and `+` a `TypeError`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9630/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9630/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9630.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9630",
"merged_at": "2015-03-11T10:21:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9630.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9630"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9631 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9631/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9631/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9631/events | https://github.com/pandas-dev/pandas/issues/9631 | 60,599,438 | MDU6SXNzdWU2MDU5OTQzOA== | 9,631 | ERR: clarify exceptions for invalid datetimelike ops | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
]
| closed | false | null | []
| {
"closed_at": "2017-10-28T18:54:27Z",
"closed_issues": 764,
"created_at": "2017-03-23T13:26:25Z",
"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": "2017-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/46",
"id": 2406656,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46/labels",
"node_id": "MDk6TWlsZXN0b25lMjQwNjY1Ng==",
"number": 46,
"open_issues": 0,
"state": "closed",
"title": "0.21.0",
"updated_at": "2018-07-08T21:53:21Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46"
} | 5 | 2015-03-11T02:07:42Z | 2017-10-08T16:15:52Z | 2017-10-08T16:15:52Z | CONTRIBUTOR | null | xref #9630
IIRC most of these are `TypeErrors` (see `tseries/tests_base.py`, section on addition/subtraction ops)
but I guess *some* are`NotImplementedError``
```
In [3]: pd.date_range('20130101',periods=5)+Timestamp('20140101')
NotImplementedError:
```
```
In [4]: pd.date_range('20130101',periods=5)+Timestamp('20140101').to_datetime64()
TypeError: ufunc add cannot use operands with types dtype('<M8[ns]') and dtype('<M8[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/9631/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9631/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9632 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9632/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9632/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9632/events | https://github.com/pandas-dev/pandas/pull/9632 | 60,640,200 | MDExOlB1bGxSZXF1ZXN0MzA5MzE5MjQ= | 9,632 | Return the right class, when subclassing a DataFrame with multi-level index | {
"avatar_url": "https://avatars.githubusercontent.com/u/3916435?v=4",
"events_url": "https://api.github.com/users/m3nu/events{/privacy}",
"followers_url": "https://api.github.com/users/m3nu/followers",
"following_url": "https://api.github.com/users/m3nu/following{/other_user}",
"gists_url": "https://api.github.com/users/m3nu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/m3nu",
"id": 3916435,
"login": "m3nu",
"node_id": "MDQ6VXNlcjM5MTY0MzU=",
"organizations_url": "https://api.github.com/users/m3nu/orgs",
"received_events_url": "https://api.github.com/users/m3nu/received_events",
"repos_url": "https://api.github.com/users/m3nu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/m3nu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/m3nu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/m3nu"
} | [
{
"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": "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"
} | 20 | 2015-03-11T10:48:17Z | 2015-05-04T18:58:56Z | 2015-05-04T18:58:49Z | CONTRIBUTOR | null | Subclassing pandas.DataFrame had some issues, when a multi-level index was used. This PR should fix that.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9632/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9632/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9632.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9632",
"merged_at": "2015-05-04T18:58:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9632.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9632"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9633 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9633/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9633/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9633/events | https://github.com/pandas-dev/pandas/issues/9633 | 60,717,495 | MDU6SXNzdWU2MDcxNzQ5NQ== | 9,633 | fillna not accepting a None value | {
"avatar_url": "https://avatars.githubusercontent.com/u/847215?v=4",
"events_url": "https://api.github.com/users/cynddl/events{/privacy}",
"followers_url": "https://api.github.com/users/cynddl/followers",
"following_url": "https://api.github.com/users/cynddl/following{/other_user}",
"gists_url": "https://api.github.com/users/cynddl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cynddl",
"id": 847215,
"login": "cynddl",
"node_id": "MDQ6VXNlcjg0NzIxNQ==",
"organizations_url": "https://api.github.com/users/cynddl/orgs",
"received_events_url": "https://api.github.com/users/cynddl/received_events",
"repos_url": "https://api.github.com/users/cynddl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cynddl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cynddl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cynddl"
} | [
{
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
]
| closed | false | null | []
| null | 1 | 2015-03-11T19:43:16Z | 2015-03-11T20:40:11Z | 2015-03-11T20:40:11Z | NONE | null | In a DataFrame, it's not possible to use `fillna` to replace NaN values by `None`:
``` python
df = pandas.DataFrame([np.nan, 42])
df.fillna(value=None)
```
returns a `ValueError` exception (_ValueError: must specify a fill method or value_). Any other value is of course accepted.
I'm not sure if it's a good idea to call `fillna` for that, but it should at least be explained in the documentation that `None` cannot be used.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9633/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9633/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9634 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9634/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9634/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9634/events | https://github.com/pandas-dev/pandas/pull/9634 | 60,726,842 | MDExOlB1bGxSZXF1ZXN0MzA5ODM0NTE= | 9,634 | BLD: add conda recipe (GH8934) | {
"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-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"
} | 2 | 2015-03-11T20:46:10Z | 2015-03-20T14:48:59Z | 2015-03-11T20:46:30Z | CONTRIBUTOR | null | closes #8934
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9634/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9634/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9634.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9634",
"merged_at": "2015-03-11T20:46:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9634.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9634"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9635 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9635/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9635/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9635/events | https://github.com/pandas-dev/pandas/issues/9635 | 60,799,613 | MDU6SXNzdWU2MDc5OTYxMw== | 9,635 | Hdf5/PyTables support for TimedeltaIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/5037636?v=4",
"events_url": "https://api.github.com/users/JonasAbernot/events{/privacy}",
"followers_url": "https://api.github.com/users/JonasAbernot/followers",
"following_url": "https://api.github.com/users/JonasAbernot/following{/other_user}",
"gists_url": "https://api.github.com/users/JonasAbernot/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/JonasAbernot",
"id": 5037636,
"login": "JonasAbernot",
"node_id": "MDQ6VXNlcjUwMzc2MzY=",
"organizations_url": "https://api.github.com/users/JonasAbernot/orgs",
"received_events_url": "https://api.github.com/users/JonasAbernot/received_events",
"repos_url": "https://api.github.com/users/JonasAbernot/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/JonasAbernot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JonasAbernot/subscriptions",
"type": "User",
"url": "https://api.github.com/users/JonasAbernot"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "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"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
]
| closed | false | null | []
| {
"closed_at": "2015-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 | 2015-03-12T10:40:11Z | 2015-04-04T18:40:47Z | 2015-04-04T18:40:47Z | CONTRIBUTOR | null | When stored in HDFStore, TimedeltaIndex are converted into Int64Index.
``` python
df = pd.DataFrame(np.random.normal(size=(10,5)))
df.index = pd.timedelta_range(start='0s',periods=10,freq='1s')
store = pd.HDFStore('test.h5')
store['df'] = df
df = store['df']
print df.index
```
```
Int64Index([0, 1000000000, 2000000000, 3000000000, 4000000000, 5000000000, 6000000000, 7000000000, 8000000000, 9000000000], dtype='int64')
```
Although the backward conversion is easy (pd.TimedeltaIndex(df.index)) , it's surprising.
``` python
pd.show_versions()
```
```
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.6.final.0
python-bits: 64
OS: Linux
OS-release: 3.13.0-46-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: fr_FR.UTF-8
pandas: 0.15.2-269-ge3d1b0e
nose: 1.3.1
Cython: 0.20.1post0
numpy: 1.8.2
scipy: 0.13.3
statsmodels: None
IPython: 1.2.1
sphinx: 1.2.2
patsy: None
dateutil: 2.4.1
pytz: 2013b
bottleneck: None
tables: 3.1.1
numexpr: 2.2.2
matplotlib: 1.3.1
openpyxl: None
xlrd: None
xlwt: 0.7.5
xlsxwriter: None
lxml: None
bs4: None
html5lib: 0.999
httplib2: 0.8
apiclient: None
rpy2: None
sqlalchemy: 0.9.8
pymysql: None
psycopg2: None
```
I would have been happy to help and add this myself, but I really have no idea were is this hiding. I don't even know if I should have looked toward PyTables instead of here.
Thanks !
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9635/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9635/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9636 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9636/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9636/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9636/events | https://github.com/pandas-dev/pandas/issues/9636 | 60,840,759 | MDU6SXNzdWU2MDg0MDc1OQ== | 9,636 | DOC: example of DataFrame export to HDF5 and import into R | {
"avatar_url": "https://avatars.githubusercontent.com/u/1842005?v=4",
"events_url": "https://api.github.com/users/joschkazj/events{/privacy}",
"followers_url": "https://api.github.com/users/joschkazj/followers",
"following_url": "https://api.github.com/users/joschkazj/following{/other_user}",
"gists_url": "https://api.github.com/users/joschkazj/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/joschkazj",
"id": 1842005,
"login": "joschkazj",
"node_id": "MDQ6VXNlcjE4NDIwMDU=",
"organizations_url": "https://api.github.com/users/joschkazj/orgs",
"received_events_url": "https://api.github.com/users/joschkazj/received_events",
"repos_url": "https://api.github.com/users/joschkazj/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/joschkazj/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joschkazj/subscriptions",
"type": "User",
"url": "https://api.github.com/users/joschkazj"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
]
| closed | false | null | []
| {
"closed_at": "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 | 2015-03-12T15:50:32Z | 2018-12-23T20:17:51Z | 2015-03-17T10:19:10Z | NONE | null | When searching the web I didn't find any examples of a working pandas to R data transfer using HDF5 files, even though pandas's documentation mentions the used HDF5 format "can easily be imported into R using the rhdf5 library". The pandas export works as expected and I inspected the file format using the HDF group's viewer (HDFView).
After some experimentation I have a working sample for dataframe export from Python/pandas and import into R, which could be added to the documentation to help future users:
``` python
# Example of HDF5 export for R
import numpy as np
import pandas as pd
np.random.seed(1)
df = pd.DataFrame({"first": np.random.rand(100),
"second": np.random.rand(100),
"class": np.random.randint(0, 2, (100,))},
index=range(100))
print(df.head())
store = pd.HDFStore("transfer.hdf5", "w", complib=str("zlib"), complevel=5)
store.put("dataframe", df, data_columns=df.columns)
store.close()
```
Output:
```
class first second
0 0 0.417022 0.326645
1 0 0.720324 0.527058
2 1 0.000114 0.885942
3 1 0.302333 0.357270
4 1 0.146756 0.908535
```
``` R
# Load values and column names for all datasets from corresponding nodes and
# insert them into one data.frame object.
library(rhdf5)
loadhdf5data <- function(h5File) {
listing <- h5ls(h5File)
# Find all data nodes, values are stored in *_values and corresponding column
# titles in *_items
data_nodes <- grep("_values", listing$name)
name_nodes <- grep("_items", listing$name)
data_paths = paste(listing$group[data_nodes], listing$name[data_nodes], sep = "/")
name_paths = paste(listing$group[name_nodes], listing$name[name_nodes], sep = "/")
columns = list()
for (idx in seq(data_paths)) {
data <- data.frame(t(h5read(h5File, data_paths[idx])))
names <- t(h5read(h5File, name_paths[idx]))
entry <- data.frame(data)
colnames(entry) <- names
columns <- append(columns, entry)
}
data <- data.frame(columns)
return(data)
}
```
Now you can import the DataFrame:
``` R
> data = loadhdf5data("transfer.hdf5")
> head(data)
first second class
1 0.4170220047 0.3266449 0
2 0.7203244934 0.5270581 0
3 0.0001143748 0.8859421 1
4 0.3023325726 0.3572698 1
5 0.1467558908 0.9085352 1
6 0.0923385948 0.6233601 1
```
I hope this helps someone. :-)
| {
"+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/9636/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9636/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9637 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9637/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9637/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9637/events | https://github.com/pandas-dev/pandas/pull/9637 | 60,842,648 | MDExOlB1bGxSZXF1ZXN0MzEwNTAxODY= | 9,637 | fixed header=list (to create a MultiIndex) for read_excel | {
"avatar_url": "https://avatars.githubusercontent.com/u/832092?v=4",
"events_url": "https://api.github.com/users/gdementen/events{/privacy}",
"followers_url": "https://api.github.com/users/gdementen/followers",
"following_url": "https://api.github.com/users/gdementen/following{/other_user}",
"gists_url": "https://api.github.com/users/gdementen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gdementen",
"id": 832092,
"login": "gdementen",
"node_id": "MDQ6VXNlcjgzMjA5Mg==",
"organizations_url": "https://api.github.com/users/gdementen/orgs",
"received_events_url": "https://api.github.com/users/gdementen/received_events",
"repos_url": "https://api.github.com/users/gdementen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gdementen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gdementen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gdementen"
} | [
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
},
{
"color": "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": 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 | 2015-03-12T16:01:26Z | 2015-05-12T12:19:49Z | 2015-05-12T12:19:49Z | CONTRIBUTOR | null | closes #4679
This is a very simple fix to allow passing a list go the header argument of read_excel so that it creates a MultiIndex for columns. Given what is said in issue #4679, I am not really sure it is supposed to work, but with this fix, it works for my files. One thing discussed in issue #4679, which I did not do anything about (and thus probably still does not work) is if the header cells are merged, but my opinion is that this should be a separate issue, as it is already useful to be able to read files with the header duplicated (the files I receive are usually like this). If this PR is accepted (at least in spirit), the docstring for read_excel should probably be updated to reflect the "new" capability and the changelog updated, but I wanted to check first what you think.
As a side note, I am not entirely sure that _trim_excel_header is a good thing to do anyway, but that is another debate entirely.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9637/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9637/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9637.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9637",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/9637.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9637"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9638 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9638/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9638/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9638/events | https://github.com/pandas-dev/pandas/pull/9638 | 60,922,284 | MDExOlB1bGxSZXF1ZXN0MzEwODQ1MTM= | 9,638 | Patch 4 | {
"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"
} | []
| closed | false | null | []
| null | 3 | 2015-03-12T22:31:55Z | 2015-03-13T15:49:12Z | 2015-03-12T22:32:38Z | 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/9638/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9638/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9638.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9638",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/9638.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9638"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/9639 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9639/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9639/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9639/events | https://github.com/pandas-dev/pandas/pull/9639 | 60,950,931 | MDExOlB1bGxSZXF1ZXN0MzEwOTI1Mzg= | 9,639 | Rearrange into logical sections and add relevant links | {
"avatar_url": "https://avatars.githubusercontent.com/u/3195015?v=4",
"events_url": "https://api.github.com/users/rockg/events{/privacy}",
"followers_url": "https://api.github.com/users/rockg/followers",
"following_url": "https://api.github.com/users/rockg/following{/other_user}",
"gists_url": "https://api.github.com/users/rockg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rockg",
"id": 3195015,
"login": "rockg",
"node_id": "MDQ6VXNlcjMxOTUwMTU=",
"organizations_url": "https://api.github.com/users/rockg/orgs",
"received_events_url": "https://api.github.com/users/rockg/received_events",
"repos_url": "https://api.github.com/users/rockg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rockg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rockg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rockg"
} | []
| closed | false | null | []
| null | 4 | 2015-03-13T01:03:45Z | 2015-03-13T16:54:25Z | 2015-03-13T07:48:21Z | CONTRIBUTOR | null | This rearranges the Contributing page into more logical sections and provides some more useful links to wiki pages. I think this should be the place where all relevant documentation on pandas development can be found. For example, both this page and the pandas homepage mention `vbench` but the information on running tests was lacking and it turns out that the wiki has this information but it was difficult to find. Hopefully this is a step in the right direction.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9639/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9639/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9639.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9639",
"merged_at": "2015-03-13T07:48:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9639.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9639"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9640 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9640/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9640/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9640/events | https://github.com/pandas-dev/pandas/pull/9640 | 60,962,526 | MDExOlB1bGxSZXF1ZXN0MzEwOTUzNjg= | 9,640 | support constructing Panel or Panel4D with scalar data, fixes #8285 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1642081?v=4",
"events_url": "https://api.github.com/users/mortada/events{/privacy}",
"followers_url": "https://api.github.com/users/mortada/followers",
"following_url": "https://api.github.com/users/mortada/following{/other_user}",
"gists_url": "https://api.github.com/users/mortada/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mortada",
"id": 1642081,
"login": "mortada",
"node_id": "MDQ6VXNlcjE2NDIwODE=",
"organizations_url": "https://api.github.com/users/mortada/orgs",
"received_events_url": "https://api.github.com/users/mortada/received_events",
"repos_url": "https://api.github.com/users/mortada/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mortada/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mortada/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mortada"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 3 | 2015-03-13T02:22:36Z | 2015-04-29T15:32:32Z | 2015-03-14T01:31:43Z | CONTRIBUTOR | null | this should fix https://github.com/pydata/pandas/issues/8285
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9640/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9640/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9640.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9640",
"merged_at": "2015-03-14T01:31:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9640.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9640"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9641 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9641/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9641/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9641/events | https://github.com/pandas-dev/pandas/issues/9641 | 61,029,763 | MDU6SXNzdWU2MTAyOTc2Mw== | 9,641 | Safe HDF5 parallel access | {
"avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4",
"events_url": "https://api.github.com/users/toobaz/events{/privacy}",
"followers_url": "https://api.github.com/users/toobaz/followers",
"following_url": "https://api.github.com/users/toobaz/following{/other_user}",
"gists_url": "https://api.github.com/users/toobaz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/toobaz",
"id": 1224492,
"login": "toobaz",
"node_id": "MDQ6VXNlcjEyMjQ0OTI=",
"organizations_url": "https://api.github.com/users/toobaz/orgs",
"received_events_url": "https://api.github.com/users/toobaz/received_events",
"repos_url": "https://api.github.com/users/toobaz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/toobaz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/toobaz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/toobaz"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
]
| closed | false | null | []
| null | 4 | 2015-03-13T10:17:34Z | 2015-03-13T13:44:09Z | 2015-03-13T13:21:07Z | MEMBER | null | Is something like [this](http://stackoverflow.com/a/29014295/2858145) is worth including in pandas (although it will not work i.e. in Windows)?
If yes, I will put together a PR (also supporting Python2).
(I could also implement a platform independent alternative... but locking would not be atomic, so race conditions would be possible - although improbable)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9641/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9641/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9642 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9642/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9642/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9642/events | https://github.com/pandas-dev/pandas/pull/9642 | 61,059,573 | MDExOlB1bGxSZXF1ZXN0MzExMjM3MzM= | 9,642 | COMPAT: dtype fix for windows tests; ensure passing i8 to tslib/normalize | {
"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": "Windows OS",
"id": 57186974,
"name": "Windows",
"node_id": "MDU6TGFiZWw1NzE4Njk3NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows"
},
{
"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"
} | 0 | 2015-03-13T13:04:12Z | 2015-03-13T13:04:26Z | 2015-03-13T13:04: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/9642/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9642/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9642.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9642",
"merged_at": "2015-03-13T13:04:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9642.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9642"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/9643 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9643/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9643/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9643/events | https://github.com/pandas-dev/pandas/pull/9643 | 61,071,524 | MDExOlB1bGxSZXF1ZXN0MzExMjgyNzM= | 9,643 | DOC: fix some doc errors/warnings | {
"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": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 3 | 2015-03-13T14:07:44Z | 2015-03-14T20:57:02Z | 2015-03-14T20:57:01Z | MEMBER | null | - `pd.read_csv('tmp2.sv', sep=None)` was given the warning "_ParserWarning: Falling back to the 'python' engine because the 'c' engine does not support sep=None with delim_whitespace=False; you can avoid this warning by specifying engine='python'_"
Is this correct? (assuming so I just added what the warning message was saying)
- with the ordered -> unordered change in the Categoricals, the example on comparing them was failing (see http://pandas-docs.github.io/pandas-docs-travis/categorical.html#comparisons)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9643/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9643/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9643.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9643",
"merged_at": "2015-03-14T20:57:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9643.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9643"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9644 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9644/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9644/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9644/events | https://github.com/pandas-dev/pandas/pull/9644 | 61,082,317 | MDExOlB1bGxSZXF1ZXN0MzExMzIwMDE= | 9,644 | DOC: reorg whatsnew file v0.16.0 | {
"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": "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"
} | 2 | 2015-03-13T14:50:42Z | 2015-03-14T12:05:10Z | 2015-03-14T12:05:10Z | MEMBER | null | No real edits, just some rearranging.
I added an automatic 'contents' in the beginning, so this gives all headers automatically, and in this way restricted the list in the beginning to just the highlights (then it can be copied exactly like this to the release notes in release.rst
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9644/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9644/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9644.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9644",
"merged_at": "2015-03-14T12:05:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9644.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9644"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9645 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9645/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9645/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9645/events | https://github.com/pandas-dev/pandas/issues/9645 | 61,088,788 | MDU6SXNzdWU2MTA4ODc4OA== | 9,645 | ENH: add read_csv sniffing (sep=None) for C engine | {
"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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 6 | 2015-03-13T15:05:22Z | 2016-05-25T14:23:36Z | null | MEMBER | null | If you now do `pd.read_csv(myfile.csv, sep=None)`, you get the warning:
> ParserWarning: Falling back to the 'python' engine because the 'c' engine does not support sep=None with delim_whitespace=False; you can avoid this warning by specifying engine='python'
Is this warning correct that it is not implemented for the c engine?
If so, it could maybe be added.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9645/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9645/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9646 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9646/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9646/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9646/events | https://github.com/pandas-dev/pandas/issues/9646 | 61,112,123 | MDU6SXNzdWU2MTExMjEyMw== | 9,646 | DOC: Assign section should be lowered one level | {
"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"
}
]
| 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"
} | 0 | 2015-03-13T15:58:25Z | 2015-03-13T23:46:29Z | 2015-03-13T23:46:29Z | CONTRIBUTOR | null | http://pandas-docs.github.io/pandas-docs-travis/dsintro.html#assigning-new-columns-in-method-chains
Right now it's on the same level as Series, DataFrame, and Panel. Should be indented one more.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9646/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9646/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9647 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9647/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9647/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9647/events | https://github.com/pandas-dev/pandas/pull/9647 | 61,135,368 | MDExOlB1bGxSZXF1ZXN0MzExNDM2MjI= | 9,647 | Allow clip{,_lower,_upper} to use array-like thresholds (GH 6966) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1621449?v=4",
"events_url": "https://api.github.com/users/evanpw/events{/privacy}",
"followers_url": "https://api.github.com/users/evanpw/followers",
"following_url": "https://api.github.com/users/evanpw/following{/other_user}",
"gists_url": "https://api.github.com/users/evanpw/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/evanpw",
"id": 1621449,
"login": "evanpw",
"node_id": "MDQ6VXNlcjE2MjE0NDk=",
"organizations_url": "https://api.github.com/users/evanpw/orgs",
"received_events_url": "https://api.github.com/users/evanpw/received_events",
"repos_url": "https://api.github.com/users/evanpw/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/evanpw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/evanpw/subscriptions",
"type": "User",
"url": "https://api.github.com/users/evanpw"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 7 | 2015-03-13T16:55:41Z | 2015-09-19T00:38:04Z | 2015-04-28T11:56:04Z | CONTRIBUTOR | null | closes #6966
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9647/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9647/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9647.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9647",
"merged_at": "2015-04-28T11:56:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9647.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9647"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9648 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9648/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9648/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9648/events | https://github.com/pandas-dev/pandas/pull/9648 | 61,173,749 | MDExOlB1bGxSZXF1ZXN0MzExNTE1ODM= | 9,648 | PERF: optimize memory usage for to_hdf | {
"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": "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": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
]
| closed | false | null | []
| {
"closed_at": "2015-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 | 2015-03-13T18:27:16Z | 2019-04-22T07:41:24Z | 2015-03-16T00:07:22Z | CONTRIBUTOR | null | from [here](http://stackoverflow.com/questions/29016093/pandas-pytable-memory-overhead-when-writing-to-hdf/29035532#29035532)
reduce memeory usage necessary for using `to_hdf`
- was copying always in astyping
- was ravelling then reshaping
- was constantly allocating a new chunked buffer, now re-uses the same buffer
```
In [1]: df = pd.DataFrame(np.random.rand(1000000,500))
df.info()
In [2]: df.info()
<class 'pandas.core.frame.DataFrame'>
Int64Index: 1000000 entries, 0 to 999999
Columns: 500 entries, 0 to 499
dtypes: float64(500)
memory usage: 3.7 GB
```
Previously
```
In [3]: %memit -r 1 df.to_hdf('test.h5','df',format='table',mode='w')
peak memory: 11029.49 MiB, increment: 7130.57 MiB
```
With PR
```
In [2]: memit -r 1 df.to_hdf('test.h5','df',format='table',mode='w')
peak memory: 4669.21 MiB, increment: 794.57 MiB
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9648/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9648/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9648.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9648",
"merged_at": "2015-03-16T00:07:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9648.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9648"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9649 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9649/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9649/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9649/events | https://github.com/pandas-dev/pandas/pull/9649 | 61,205,663 | MDExOlB1bGxSZXF1ZXN0MzExNTc5NDg= | 9,649 | DOC: Fix heading level for assign | {
"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"
}
]
| 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"
} | 0 | 2015-03-13T19:48:05Z | 2015-03-13T23:46:32Z | 2015-03-13T23:46:29Z | CONTRIBUTOR | null | Closes https://github.com/pydata/pandas/issues/9646
I did this through the GH online editor. Let's see if it works.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9649/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9649/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9649.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9649",
"merged_at": "2015-03-13T23:46:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9649.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9649"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9650 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9650/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9650/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9650/events | https://github.com/pandas-dev/pandas/pull/9650 | 61,224,988 | MDExOlB1bGxSZXF1ZXN0MzExNjExODE= | 9,650 | fix crash on unicode level names | {
"avatar_url": "https://avatars.githubusercontent.com/u/241658?v=4",
"events_url": "https://api.github.com/users/alavrik/events{/privacy}",
"followers_url": "https://api.github.com/users/alavrik/followers",
"following_url": "https://api.github.com/users/alavrik/following{/other_user}",
"gists_url": "https://api.github.com/users/alavrik/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alavrik",
"id": 241658,
"login": "alavrik",
"node_id": "MDQ6VXNlcjI0MTY1OA==",
"organizations_url": "https://api.github.com/users/alavrik/orgs",
"received_events_url": "https://api.github.com/users/alavrik/received_events",
"repos_url": "https://api.github.com/users/alavrik/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alavrik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alavrik/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alavrik"
} | [
{
"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": "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": "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-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"
} | 5 | 2015-03-13T20:31:02Z | 2015-04-11T18:29:26Z | 2015-04-11T18:29:26Z | NONE | null | This fixed my problem when calling DataFrame.stack(<integer level number>). Not really familiar with pandas internals, but couldn't find any reason why unicode strings won't be accepted here.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9650/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9650/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9650.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9650",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/9650.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9650"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9651 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9651/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9651/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9651/events | https://github.com/pandas-dev/pandas/issues/9651 | 61,243,615 | MDU6SXNzdWU2MTI0MzYxNQ== | 9,651 | DOC: Is sort preserved inside groupby? | {
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"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-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"
} | 2 | 2015-03-13T21:11:41Z | 2015-09-04T12:01:54Z | 2015-03-13T21:31:32Z | CONTRIBUTOR | null | Empirically, it seems to be the case that if one sorts a dataframe then takes a groupby, that sort is preserved within each groupby group. For example, it seems to be the case that `my_func` below always gets a df sorted by age. But I can't find any documentation on whether this is guaranteed, so I'm currently re-sorting data in `my_func` to be safe.
```
df.sort(columns = ['users', 'age'], inplace = True)
df.groupby('users').apply(my_func)
```
Does anyone know if this is a guaranteed behavior, and if so, might it be worth adding to docs?
This is particularly relevant for the `groupby().nth()` command, since if sort isn't preserved, it's not clear what it grabs!
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9651/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9651/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9652 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9652/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9652/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9652/events | https://github.com/pandas-dev/pandas/pull/9652 | 61,247,816 | MDExOlB1bGxSZXF1ZXN0MzExNjQ5MDk= | 9,652 | COMPAT: odd arrays can be correctly ordered in newer versions of numpy | {
"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"
} | 1 | 2015-03-13T21:20:32Z | 2015-03-13T22:37:33Z | 2015-03-13T22:37:33Z | 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/9652/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9652/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9652.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9652",
"merged_at": "2015-03-13T22:37:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9652.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9652"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/9653 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9653/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9653/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9653/events | https://github.com/pandas-dev/pandas/issues/9653 | 61,297,235 | MDU6SXNzdWU2MTI5NzIzNQ== | 9,653 | Inconsistencies in DataFrame construction with MultiIndex.from_tuples | {
"avatar_url": "https://avatars.githubusercontent.com/u/296082?v=4",
"events_url": "https://api.github.com/users/brianthelion/events{/privacy}",
"followers_url": "https://api.github.com/users/brianthelion/followers",
"following_url": "https://api.github.com/users/brianthelion/following{/other_user}",
"gists_url": "https://api.github.com/users/brianthelion/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/brianthelion",
"id": 296082,
"login": "brianthelion",
"node_id": "MDQ6VXNlcjI5NjA4Mg==",
"organizations_url": "https://api.github.com/users/brianthelion/orgs",
"received_events_url": "https://api.github.com/users/brianthelion/received_events",
"repos_url": "https://api.github.com/users/brianthelion/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/brianthelion/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/brianthelion/subscriptions",
"type": "User",
"url": "https://api.github.com/users/brianthelion"
} | [
{
"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": "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": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 5 | 2015-03-13T23:34:55Z | 2015-03-18T01:55:38Z | 2015-03-14T15:20:37Z | NONE | null | It's not clear to me that this is a "bug" per se, but it's certainly not intuitive behavior. My thought was that these two methods would result in identical DataFrames.
``` python
import numpy as np
import pandas as pd
def multiindex_version_1(data):
n, m = data.shape
tuples = [('a', _m) for _m in xrange(m-1)] + [('b', )]
columns = pd.MultiIndex.from_tuples(tuples)
df = pd.DataFrame(data, columns=columns)
return df
def multiindex_version_2(data):
n, m = data.shape
tuples = [('a', _m) for _m in xrange(m-1)]
columns = pd.MultiIndex.from_tuples(tuples)
df = pd.DataFrame(data[:, :(m-1)], columns=columns)
df['b'] = data[:, m-1]
return df
def test_goofy_multiindexing():
shape = (10, 4)
data = np.random.rand(*shape)
df1 = multiindex_version_1(data)
print "============= version_1 ============="
print df1
df2 = multiindex_version_2(data)
print "============= version_2 ============="
print df2
assert (df1==df2).all()
```
Note the NaN immediately below.
```
============= version_1 =============
a b
0 1 2 NaN
0 0.742381 0.981698 0.976639 0.212344
1 0.278328 0.188071 0.320450 0.236994
2 0.543064 0.786865 0.065103 0.233676
3 0.084130 0.081981 0.295404 0.113241
4 0.025517 0.522754 0.238385 0.284278
5 0.263382 0.176789 0.289079 0.472668
6 0.933632 0.328850 0.006974 0.191654
7 0.557348 0.313619 0.582076 0.897741
8 0.271253 0.815123 0.113981 0.787208
9 0.595073 0.887483 0.350284 0.815767
============= version_2 =============
a b
0 1 2
0 0.742381 0.981698 0.976639 0.212344
1 0.278328 0.188071 0.320450 0.236994
2 0.543064 0.786865 0.065103 0.233676
3 0.084130 0.081981 0.295404 0.113241
4 0.025517 0.522754 0.238385 0.284278
5 0.263382 0.176789 0.289079 0.472668
6 0.933632 0.328850 0.006974 0.191654
7 0.557348 0.313619 0.582076 0.897741
8 0.271253 0.815123 0.113981 0.787208
9 0.595073 0.887483 0.350284 0.815767
E
======================================================================
ERROR: test_scatter.test_goofy_multiindexing
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/br/test/test_scatter.py", line 99, in test_goofy_multiindexing
assert (df1==df2).all()
File "/home/br/.virtualenvs/cloudlab/local/lib/python2.7/site-packages/pandas/core/ops.py", line 912, in f
return self._compare_frame(other, func, str_rep)
File "/home/br/.virtualenvs/cloudlab/local/lib/python2.7/site-packages/pandas/core/frame.py", line 3136, in _compare_frame
raise ValueError('Can only compare identically-labeled '
ValueError: Can only compare identically-labeled DataFrame objects
-------------------- >> begin captured logging << --------------------
rospy.topics: INFO: topicmanager initialized
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 1 test in 0.010s
FAILED (errors=1)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9653/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9653/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9654 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9654/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9654/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9654/events | https://github.com/pandas-dev/pandas/pull/9654 | 61,346,310 | MDExOlB1bGxSZXF1ZXN0MzExNzYyMDk= | 9,654 | DOC: organize stringmethods in what's new | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "5319e7",
"default": false,
"description": "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": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 3 | 2015-03-14T01:47:54Z | 2015-03-16T11:56:04Z | 2015-03-16T08:49:53Z | MEMBER | null | Added summarized section to the release note based on the discussion in #9386
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9654/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9654/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9654.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9654",
"merged_at": "2015-03-16T08:49:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9654.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9654"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9655 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9655/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9655/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9655/events | https://github.com/pandas-dev/pandas/pull/9655 | 61,348,109 | MDExOlB1bGxSZXF1ZXN0MzExNzYyODA= | 9,655 | DOC: Remove duplicated Indexing Changes section | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | []
| closed | false | null | []
| null | 1 | 2015-03-14T01:52:50Z | 2015-03-16T11:56:11Z | 2015-03-14T01:54:08Z | MEMBER | null | "Indexing Changes" section is duplicated in what's new.
- http://pandas-docs.github.io/pandas-docs-travis/whatsnew.html
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9655/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9655/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9655.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9655",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/9655.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9655"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9656 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9656/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9656/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9656/events | https://github.com/pandas-dev/pandas/issues/9656 | 61,379,349 | MDU6SXNzdWU2MTM3OTM0OQ== | 9,656 | Assignment from/to MultiIndexed columns should probably be symmetric | {
"avatar_url": "https://avatars.githubusercontent.com/u/296082?v=4",
"events_url": "https://api.github.com/users/brianthelion/events{/privacy}",
"followers_url": "https://api.github.com/users/brianthelion/followers",
"following_url": "https://api.github.com/users/brianthelion/following{/other_user}",
"gists_url": "https://api.github.com/users/brianthelion/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/brianthelion",
"id": 296082,
"login": "brianthelion",
"node_id": "MDQ6VXNlcjI5NjA4Mg==",
"organizations_url": "https://api.github.com/users/brianthelion/orgs",
"received_events_url": "https://api.github.com/users/brianthelion/received_events",
"repos_url": "https://api.github.com/users/brianthelion/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/brianthelion/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/brianthelion/subscriptions",
"type": "User",
"url": "https://api.github.com/users/brianthelion"
} | [
{
"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": "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 | []
| null | 9 | 2015-03-14T03:18:21Z | 2015-03-23T06:15:19Z | 2015-03-14T15:18:11Z | NONE | null | This was counter-intuitive for me.
``` python
N = 5
columns = pd.MultiIndex.from_tuples([('a', 0), ('a', 1), ('b', 0), ('b', 1)])
df1 = pd.DataFrame(np.random.rand(N, 4), columns=columns)
df2 = pd.DataFrame(np.random.rand(N), columns=['c'])
df1_copy = df1.copy()
df2_copy = df2.copy()
df1_copy[df2.columns] = df2
df2_copy[df1.columns] = df1
print "===== A ====="
print df1_copy
print
print "===== B ====="
print df2_copy
```
gives
```
===== A =====
a b c
0 1 0 1
0 0.540405 0.814476 0.923961 0.935421 0.909791
1 0.679014 0.220417 0.511039 0.117898 0.282063
2 0.428563 0.915760 0.518118 0.780704 0.766191
3 0.928167 0.616540 0.151223 0.664102 0.037299
4 0.717449 0.453904 0.384850 0.953102 0.757288
===== B =====
c (a, 0) (a, 1) (b, 0) (b, 1)
0 0.909791 0.540405 0.814476 0.923961 0.935421
1 0.282063 0.679014 0.220417 0.511039 0.117898
2 0.766191 0.428563 0.915760 0.518118 0.780704
3 0.037299 0.928167 0.616540 0.151223 0.664102
4 0.757288 0.717449 0.453904 0.384850 0.953102
```
I don't care about the ordering of the columns here; most of the time we are completely agnostic to that with pandas. What I _do_ care about is that the MultiIndex gets "flattened" in B.
Seems like a more desirable behavior would be to "promote" the target's column structure so that you always get A. That presents a tricky question about how to deal with complicated MultiIndex schemes on either side of the assignment, but at least for this basic case the current behavior feels wonky.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9656/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9656/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9657 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9657/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9657/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9657/events | https://github.com/pandas-dev/pandas/pull/9657 | 61,625,808 | MDExOlB1bGxSZXF1ZXN0MzExODQ3NTc= | 9,657 | CI: don't remove python-dateutil at end of install | {
"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-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 | 2015-03-14T15:13:00Z | 2015-03-14T15:33:52Z | 2015-03-14T15:33:52Z | CONTRIBUTOR | null | puzzled why the travis ci error started happening. This seems to fix it (and I don't even remember why this was necessary in the first place).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9657/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9657/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9657.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9657",
"merged_at": "2015-03-14T15:33:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9657.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9657"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9658 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9658/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9658/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9658/events | https://github.com/pandas-dev/pandas/issues/9658 | 61,683,491 | MDU6SXNzdWU2MTY4MzQ5MQ== | 9,658 | axis='index' or axis='columns' not widely known as alternative to axis=1 or 0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/3989299?v=4",
"events_url": "https://api.github.com/users/pybokeh/events{/privacy}",
"followers_url": "https://api.github.com/users/pybokeh/followers",
"following_url": "https://api.github.com/users/pybokeh/following{/other_user}",
"gists_url": "https://api.github.com/users/pybokeh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pybokeh",
"id": 3989299,
"login": "pybokeh",
"node_id": "MDQ6VXNlcjM5ODkyOTk=",
"organizations_url": "https://api.github.com/users/pybokeh/orgs",
"received_events_url": "https://api.github.com/users/pybokeh/received_events",
"repos_url": "https://api.github.com/users/pybokeh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pybokeh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pybokeh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pybokeh"
} | [
{
"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-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 9 | 2015-03-14T19:30:29Z | 2015-06-02T19:25:19Z | 2015-05-25T14:17:18Z | NONE | null | Hello, just wanted to create this issue to hopefully inspire someone to include the use of axis='index' or axis='columns' as an alternative to using axis=0 or 1 in the documentation/docstrings, since the latter form is less intuittive.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9658/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9658/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9659 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9659/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9659/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9659/events | https://github.com/pandas-dev/pandas/pull/9659 | 61,847,612 | MDExOlB1bGxSZXF1ZXN0MzEyMDIxMTY= | 9,659 | API: spurious setting_with_copy warning (GH8730) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 0 | 2015-03-15T15:46:51Z | 2015-03-15T19:52:37Z | 2015-03-15T19:52:37Z | CONTRIBUTOR | null | closes #8730
was tricky to distinguish this case from others, but I think this is a reasonably robust soln.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9659/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9659/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9659.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9659",
"merged_at": "2015-03-15T19:52:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9659.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9659"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9660 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9660/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9660/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9660/events | https://github.com/pandas-dev/pandas/issues/9660 | 61,892,998 | MDU6SXNzdWU2MTg5Mjk5OA== | 9,660 | PERF: make vbench runnable in python 3 | {
"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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
]
| closed | false | null | []
| {
"closed_at": 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"
} | 9 | 2015-03-15T20:18:16Z | 2015-08-20T21:35:06Z | 2015-08-20T21:35:02Z | CONTRIBUTOR | null | I believe this is possible ATM.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9660/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9660/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9661 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9661/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9661/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9661/events | https://github.com/pandas-dev/pandas/pull/9661 | 62,041,962 | MDExOlB1bGxSZXF1ZXN0MzEyMzI1NDE= | 9,661 | DOC: example of pandas to R transfer of DataFrame using HDF5 file | {
"avatar_url": "https://avatars.githubusercontent.com/u/1842005?v=4",
"events_url": "https://api.github.com/users/joschkazj/events{/privacy}",
"followers_url": "https://api.github.com/users/joschkazj/followers",
"following_url": "https://api.github.com/users/joschkazj/following{/other_user}",
"gists_url": "https://api.github.com/users/joschkazj/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/joschkazj",
"id": 1842005,
"login": "joschkazj",
"node_id": "MDQ6VXNlcjE4NDIwMDU=",
"organizations_url": "https://api.github.com/users/joschkazj/orgs",
"received_events_url": "https://api.github.com/users/joschkazj/received_events",
"repos_url": "https://api.github.com/users/joschkazj/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/joschkazj/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joschkazj/subscriptions",
"type": "User",
"url": "https://api.github.com/users/joschkazj"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 17 | 2015-03-16T10:47:12Z | 2017-09-07T06:24:32Z | 2015-03-17T13:09:55Z | NONE | null | closes #9636
I had some trouble getting the HDF5 import of DataFrame objects to work on the R side (pandas is fine). I've added an example to the documentation with a simple load function in R which assembles an R data.frame from the corresponding *_items and *_values nodes in the HDF5 file.
NOTE: Any improvements to the R code are welcome, I'm just starting to work with R. :-)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9661/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9661/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9661.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9661",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/9661.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9661"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9662 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9662/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9662/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9662/events | https://github.com/pandas-dev/pandas/pull/9662 | 62,055,115 | MDExOlB1bGxSZXF1ZXN0MzEyMzYzOTA= | 9,662 | BUG: support TimedeltaIndex serialization in fixed stores (GH9635) | {
"avatar_url": "https://avatars.githubusercontent.com/u/5037636?v=4",
"events_url": "https://api.github.com/users/JonasAbernot/events{/privacy}",
"followers_url": "https://api.github.com/users/JonasAbernot/followers",
"following_url": "https://api.github.com/users/JonasAbernot/following{/other_user}",
"gists_url": "https://api.github.com/users/JonasAbernot/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/JonasAbernot",
"id": 5037636,
"login": "JonasAbernot",
"node_id": "MDQ6VXNlcjUwMzc2MzY=",
"organizations_url": "https://api.github.com/users/JonasAbernot/orgs",
"received_events_url": "https://api.github.com/users/JonasAbernot/received_events",
"repos_url": "https://api.github.com/users/JonasAbernot/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/JonasAbernot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JonasAbernot/subscriptions",
"type": "User",
"url": "https://api.github.com/users/JonasAbernot"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "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"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
]
| closed | false | null | []
| {
"closed_at": "2015-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"
} | 5 | 2015-03-16T11:49:28Z | 2015-03-17T12:41:39Z | 2015-03-17T12:41:39Z | CONTRIBUTOR | null | closes https://github.com/pydata/pandas/issues/9635
Small change to fix issue 9635. I'm a beginner contributor, feel free to crush it out.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9662/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9662/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9662.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9662",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/9662.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9662"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9663 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9663/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9663/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9663/events | https://github.com/pandas-dev/pandas/issues/9663 | 62,135,520 | MDU6SXNzdWU2MjEzNTUyMA== | 9,663 | BUG: Time zone information lost for some dateutil time zones | {
"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": "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"
},
{
"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"
} | 3 | 2015-03-16T16:34:38Z | 2015-08-20T14:26:03Z | 2015-08-20T14:26:03Z | CONTRIBUTOR | null | The dateutil package allows you to create time zone (`tzfile`) objects two ways, either by using `dateutil.tz.gettz` to read time zone data on the file system (/usr/share/zoneinfo), or by using `dateutil.zoneinfo.gettz` to read time zone data from a tar file distributed in the dateutil package.
The `tslib.maybe_get_tz` function doesn't handle the `dateutil.tz.gettz` variant.
```
from datetime import datetime
import pandas as pd
import pandas.tslib as tslib
import dateutil.tz
import dateutil.zoneinfo
tz1 = dateutil.tz.gettz('America/New_York')
tz2 = dateutil.zoneinfo.gettz('America/New_York')
d1 = datetime(2015, 1, 1, tzinfo=tz1)
d2 = datetime(2015, 1, 1, tzinfo=tz2)
```
`maybe_get_tz` returns None for tz1, but works correctly for tz2:
```
>>> tslib.maybe_get_tz('dateutil/' + tz1._filename)
>>> tslib.maybe_get_tz('dateutil/' + tz2._filename)
tzfile('America/New_York')
```
And so DatetimeIndexes are missing time zone information for those cases.
```
>>> pd.to_datetime([d1])
<class 'pandas.tseries.index.DatetimeIndex'>
[2015-01-01 05:00:00]
Length: 1, Freq: None, Timezone: None
>>> pd.to_datetime([d2])
<class 'pandas.tseries.index.DatetimeIndex'>
[2015-01-01 00:00:00-05:00]
Length: 1, Freq: None, Timezone: tzfile('America/New_York')
```
I think if `maybe_get_tz` where to first try dateutil.zoneinfo.gettz, and then fall back on dateutil.tz.gettz, then the problem is solved.
This was a regression between 0.14 and 0.15.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9663/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9663/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9664 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9664/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9664/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9664/events | https://github.com/pandas-dev/pandas/issues/9664 | 62,178,185 | MDU6SXNzdWU2MjE3ODE4NQ== | 9,664 | BUG: groupby datetime object and transform gives KeyError | {
"avatar_url": "https://avatars.githubusercontent.com/u/5995126?v=4",
"events_url": "https://api.github.com/users/brianmannmath/events{/privacy}",
"followers_url": "https://api.github.com/users/brianmannmath/followers",
"following_url": "https://api.github.com/users/brianmannmath/following{/other_user}",
"gists_url": "https://api.github.com/users/brianmannmath/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/brianmannmath",
"id": 5995126,
"login": "brianmannmath",
"node_id": "MDQ6VXNlcjU5OTUxMjY=",
"organizations_url": "https://api.github.com/users/brianmannmath/orgs",
"received_events_url": "https://api.github.com/users/brianmannmath/received_events",
"repos_url": "https://api.github.com/users/brianmannmath/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/brianmannmath/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/brianmannmath/subscriptions",
"type": "User",
"url": "https://api.github.com/users/brianmannmath"
} | []
| closed | false | null | []
| null | 2 | 2015-03-16T18:59:17Z | 2015-03-16T19:15:19Z | 2015-03-16T19:15:19Z | NONE | null | When grouping a data frame by multiple columns, one of which contains datetime64 objects, and applying a transform to a single column, a KeyError is thrown. For example:
```
x = pd.DataFrame() #Start with an empty data frame
x['name'] = ['Bob','Alice','Bob']
x['date'] = ['2015-02-01','2015-02-02','2015-02-03']
x['value1'] = [2,3,4]
x['value2'] = [5,6,7]
x.groupby(['name','date']).value1.transform(lambda x: x) #This works fine when x.date is a string
x.date = pd.to_datetime(x.date) #Make the date column a datetime64 object
x.groupby(['name','date']).value1.transform(lambda x: x) #Now it fails with KeyError: ('Alice', Timestamp('2015-02-02 00:00:00', tz=None))
#But the following work fine
x.groupby('date').value1.transform(lambda x: x)
x.groupby(['name','date']).transform(lambda x: x)
```
Here's the version information
```
INSTALLED VERSIONS
------------------
Python: 2.7.6.final.0
OS: Linux
Release: 2.6.18-164.el5
Processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.13.0
Cython: Not installed
Numpy: 1.9.0.dev-Unknown
Scipy: 0.9.0
statsmodels: Not installed
patsy: Not installed
scikits.timeseries: Not installed
dateutil: 2.1
pytz: 2011h
bottleneck: Not installed
PyTables: Not Installed
numexpr: Not Installed
matplotlib: 1.3.0
openpyxl: Not installed
xlrd: Not installed
xlwt: Not installed
xlsxwriter: Not installed
sqlalchemy: Not installed
lxml: Not installed
bs4: Not installed
html5lib: Not installed
bigquery: Not installed
apiclient: Not installed
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9664/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9664/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9665 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9665/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9665/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9665/events | https://github.com/pandas-dev/pandas/pull/9665 | 62,190,139 | MDExOlB1bGxSZXF1ZXN0MzEyNzc2Njg= | 9,665 | DOC: grammar fixes, add conda install to README | {
"avatar_url": "https://avatars.githubusercontent.com/u/1642081?v=4",
"events_url": "https://api.github.com/users/mortada/events{/privacy}",
"followers_url": "https://api.github.com/users/mortada/followers",
"following_url": "https://api.github.com/users/mortada/following{/other_user}",
"gists_url": "https://api.github.com/users/mortada/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mortada",
"id": 1642081,
"login": "mortada",
"node_id": "MDQ6VXNlcjE2NDIwODE=",
"organizations_url": "https://api.github.com/users/mortada/orgs",
"received_events_url": "https://api.github.com/users/mortada/received_events",
"repos_url": "https://api.github.com/users/mortada/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mortada/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mortada/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mortada"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"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-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 | 2015-03-16T19:48:28Z | 2015-04-29T15:31:49Z | 2015-03-17T00:26:59Z | 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/9665/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9665/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9665.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9665",
"merged_at": "2015-03-17T00:26:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9665.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9665"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/9666 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9666/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9666/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9666/events | https://github.com/pandas-dev/pandas/pull/9666 | 62,209,739 | MDExOlB1bGxSZXF1ZXN0MzEyODQ1MTg= | 9,666 | New function to sample from frames (Issue #2419 ) | {
"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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 34 | 2015-03-16T21:05:39Z | 2015-05-01T17:39:18Z | 2015-05-01T12:50:43Z | CONTRIBUTOR | null | closes #2419
Creates a function `.sample()` in generic.py to sample from pandas objects. Returns either a fixed number of rows or a share. Also includes a number of tests in `test_sample()` -- I am open to added suggestions.
Input from users with panel experience appreciated!
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9666/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9666/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9666.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9666",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/9666.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9666"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9667 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9667/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9667/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9667/events | https://github.com/pandas-dev/pandas/pull/9667 | 62,270,052 | MDExOlB1bGxSZXF1ZXN0MzEzMDM5NjU= | 9,667 | ENH: add StringMethods (.str accessor) to Index, fixes #9068 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1642081?v=4",
"events_url": "https://api.github.com/users/mortada/events{/privacy}",
"followers_url": "https://api.github.com/users/mortada/followers",
"following_url": "https://api.github.com/users/mortada/following{/other_user}",
"gists_url": "https://api.github.com/users/mortada/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mortada",
"id": 1642081,
"login": "mortada",
"node_id": "MDQ6VXNlcjE2NDIwODE=",
"organizations_url": "https://api.github.com/users/mortada/orgs",
"received_events_url": "https://api.github.com/users/mortada/received_events",
"repos_url": "https://api.github.com/users/mortada/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mortada/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mortada/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mortada"
} | [
{
"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": "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": "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"
} | 31 | 2015-03-17T03:06:25Z | 2015-04-29T16:56:12Z | 2015-04-10T13:50:14Z | CONTRIBUTOR | null | fixes #9068
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9667/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9667/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9667.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9667",
"merged_at": "2015-04-10T13:50:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9667.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9667"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9668 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9668/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9668/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9668/events | https://github.com/pandas-dev/pandas/issues/9668 | 62,278,130 | MDU6SXNzdWU2MjI3ODEzMA== | 9,668 | Index with Categorical dtype | {
"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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "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 | 1 | 2015-03-17T03:54:16Z | 2015-03-17T10:28:26Z | 2015-03-17T10:27:45Z | CONTRIBUTOR | null | Currently categorical data is converted to full form when made an index.
``` python
In [1]: import pandas as pd
In [2]: df = pd.DataFrame({'a': pd.Categorical(['a', 'b', 'a'])},
... index=pd.Categorical(['a', 'b', 'a']))
In [3]: df.dtypes
Out[3]:
a category
dtype: object
In [4]: df.index.dtype
Out[4]: dtype('O')
In [5]: df.index
Out[5]: Index([u'a', u'b', u'a'], dtype='object')
```
Is there a way around this? I'm trying to keep my DataFrames free of object dtypes to reduce serialization costs. I would like to index off of a text column using categoricals.
This is with `0.15.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/9668/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9668/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9669 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9669/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9669/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9669/events | https://github.com/pandas-dev/pandas/issues/9669 | 62,286,022 | MDU6SXNzdWU2MjI4NjAyMg== | 9,669 | Type inference problem with read_csv | {
"avatar_url": "https://avatars.githubusercontent.com/u/349843?v=4",
"events_url": "https://api.github.com/users/diehl/events{/privacy}",
"followers_url": "https://api.github.com/users/diehl/followers",
"following_url": "https://api.github.com/users/diehl/following{/other_user}",
"gists_url": "https://api.github.com/users/diehl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/diehl",
"id": 349843,
"login": "diehl",
"node_id": "MDQ6VXNlcjM0OTg0Mw==",
"organizations_url": "https://api.github.com/users/diehl/orgs",
"received_events_url": "https://api.github.com/users/diehl/received_events",
"repos_url": "https://api.github.com/users/diehl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/diehl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/diehl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/diehl"
} | [
{
"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 | []
| null | 5 | 2015-03-17T04:46:50Z | 2015-03-17T23:55:36Z | 2015-03-17T23:19:49Z | NONE | null | I have a large CSV file that contains a single column of integers. When loading the CSV file with read_csv, nearly 2/3rds of the approximately 1.5 million values are loaded as ints while the remaining values are loaded as strings. I see no obvious problem with the file that would lead to this behavior.
The file I used is available here: https://drive.google.com/file/d/0ByZvgdTf0yfAT2dPdHRvc2hLVkU/view?usp=sharing
```
test_df = pd.read_csv('test.csv',header=0)
from collections import Counter
c = Counter()
els = []
for el in test_df['SERIALNO'].values:
c[type(el)] += 1
print c
Counter({<type 'int'>: 952026, <type 'str'>: 524288})
```
It appears that a continguous block of rows were read as strings - a block in the middle of the file. Very curious.
pd.show_versions()
## INSTALLED VERSIONS
commit: None
python: 2.7.9.final.0
python-bits: 64
OS: Darwin
OS-release: 13.4.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.15.2
nose: 1.3.4
Cython: 0.21
numpy: 1.9.2
scipy: 0.15.1
statsmodels: 0.5.0
IPython: 3.0.0
sphinx: 1.2.3
patsy: 0.3.0
dateutil: 2.4.1
pytz: 2014.9
bottleneck: None
tables: 3.1.1
numexpr: 2.3.1
matplotlib: 1.4.0
openpyxl: 2.1.0
xlrd: 0.9.3
xlwt: 0.7.5
xlsxwriter: 0.5.7
lxml: 3.4.0
bs4: 4.3.2
html5lib: None
httplib2: None
apiclient: None
rpy2: None
sqlalchemy: 0.9.7
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/9669/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9669/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9670 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9670/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9670/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9670/events | https://github.com/pandas-dev/pandas/issues/9670 | 62,345,524 | MDU6SXNzdWU2MjM0NTUyNA== | 9,670 | Numerically unstable mean calculation for Timedeltas. | {
"avatar_url": "https://avatars.githubusercontent.com/u/502876?v=4",
"events_url": "https://api.github.com/users/musically-ut/events{/privacy}",
"followers_url": "https://api.github.com/users/musically-ut/followers",
"following_url": "https://api.github.com/users/musically-ut/following{/other_user}",
"gists_url": "https://api.github.com/users/musically-ut/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/musically-ut",
"id": 502876,
"login": "musically-ut",
"node_id": "MDQ6VXNlcjUwMjg3Ng==",
"organizations_url": "https://api.github.com/users/musically-ut/orgs",
"received_events_url": "https://api.github.com/users/musically-ut/received_events",
"repos_url": "https://api.github.com/users/musically-ut/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/musically-ut/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/musically-ut/subscriptions",
"type": "User",
"url": "https://api.github.com/users/musically-ut"
} | [
{
"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"
},
{
"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 | 1 | 2015-03-17T09:35:21Z | 2015-03-17T10:25:44Z | 2015-03-17T10:25:24Z | CONTRIBUTOR | null | I am not sure whether I should report this here or on `numpy`. But this is what lead me to the problem:
```
In [11]: dAllTags.describe()
Out [11]:
finalPeriod
count 74501
mean -1 days +02:40:08.792662
std 500 days 06:32:37.640848
min 2 days 00:51:49.730000
25% 498 days 19:11:28.576000
50% 846 days 00:46:56.656000
75% 1245 days 17:11:58.493000
max 2224 days 07:03:26.593000
```
All the values are positive (the minimum is `2 days`) but the `mean` calculated is negative. This happens because the underlying type of `np.timedelta64` is `int64` which overflows while calculating the mean.
Now the issue of numerical stability in `numpy` has had a long history:
- https://github.com/numpy/numpy/issues/4694
- https://github.com/numpy/numpy/issues/1033
- https://github.com/numpy/numpy/issues/1063
- https://github.com/numpy/numpy/issues/2448
And though some steps have been taken to introduce precision accuracy (e.g. by providing `fsum` and using pairwise summation), there doesn't seem to be a consensus for using a numerically stable method for `mean`.
I was wondering if something could be done on the Pandas level to resolve this issue.
---
Currently, I am working around the issue by using the rather elaborate scheme:
```
df.finalPeriod.view(int).astype(float).mean()
```
since `timedelta64` cannot be directly converted to `float64`. Is there a better/more intuitive 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/9670/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9670/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9671 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9671/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9671/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9671/events | https://github.com/pandas-dev/pandas/issues/9671 | 62,391,896 | MDU6SXNzdWU2MjM5MTg5Ng== | 9,671 | DataFrame.plot error when both 'color' and 'style' arguments are passed | {
"avatar_url": "https://avatars.githubusercontent.com/u/4711805?v=4",
"events_url": "https://api.github.com/users/davidbrochart/events{/privacy}",
"followers_url": "https://api.github.com/users/davidbrochart/followers",
"following_url": "https://api.github.com/users/davidbrochart/following{/other_user}",
"gists_url": "https://api.github.com/users/davidbrochart/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidbrochart",
"id": 4711805,
"login": "davidbrochart",
"node_id": "MDQ6VXNlcjQ3MTE4MDU=",
"organizations_url": "https://api.github.com/users/davidbrochart/orgs",
"received_events_url": "https://api.github.com/users/davidbrochart/received_events",
"repos_url": "https://api.github.com/users/davidbrochart/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidbrochart/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidbrochart/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidbrochart"
} | [
{
"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"
} | 6 | 2015-03-17T13:11:45Z | 2015-04-06T12:24:11Z | 2015-04-06T12:24:11Z | NONE | null | In pandas 0.15.2, when passing both arguments 'color' and 'style' to the plot method, there is an error which I think should be raised only when there is a color symbol in the style string. But in the example below, the error is raised even though there is no color symbol in the line string:
```
from pandas import DataFrame
import numpy as np
df = DataFrame({'a': np.random.rand(10), 'b': np.random.rand(10), 'c': np.random.rand(10)})
df.plot(color = ['red', 'black', 'blue'], style = ['-', '--', '-'])
```
The error is not clear (TypeError: expected string or buffer). This should be fixed, although it is easy to work around:
```
df.plot(style = ['r-', 'k--', 'b-'])
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9671/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9671/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9672 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9672/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9672/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9672/events | https://github.com/pandas-dev/pandas/pull/9672 | 62,400,731 | MDExOlB1bGxSZXF1ZXN0MzEzMzUzNjc= | 9,672 | BUG: support TimedeltaIndex serialization in fixed stores (GH9635) | {
"avatar_url": "https://avatars.githubusercontent.com/u/5037636?v=4",
"events_url": "https://api.github.com/users/JonasAbernot/events{/privacy}",
"followers_url": "https://api.github.com/users/JonasAbernot/followers",
"following_url": "https://api.github.com/users/JonasAbernot/following{/other_user}",
"gists_url": "https://api.github.com/users/JonasAbernot/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/JonasAbernot",
"id": 5037636,
"login": "JonasAbernot",
"node_id": "MDQ6VXNlcjUwMzc2MzY=",
"organizations_url": "https://api.github.com/users/JonasAbernot/orgs",
"received_events_url": "https://api.github.com/users/JonasAbernot/received_events",
"repos_url": "https://api.github.com/users/JonasAbernot/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/JonasAbernot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JonasAbernot/subscriptions",
"type": "User",
"url": "https://api.github.com/users/JonasAbernot"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
]
| closed | false | null | []
| {
"closed_at": "2015-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 | 2015-03-17T13:41:37Z | 2015-04-04T18:40:35Z | 2015-04-04T18:40:35Z | CONTRIBUTOR | null | closes #9635
Hop, revival of PR9662, after some bad git moves.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9672/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9672/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9672.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9672",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/9672.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9672"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9673 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9673/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9673/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9673/events | https://github.com/pandas-dev/pandas/pull/9673 | 62,433,170 | MDExOlB1bGxSZXF1ZXN0MzEzNDcwMjQ= | 9,673 | Fix for issue #9671 | {
"avatar_url": "https://avatars.githubusercontent.com/u/4711805?v=4",
"events_url": "https://api.github.com/users/davidbrochart/events{/privacy}",
"followers_url": "https://api.github.com/users/davidbrochart/followers",
"following_url": "https://api.github.com/users/davidbrochart/following{/other_user}",
"gists_url": "https://api.github.com/users/davidbrochart/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidbrochart",
"id": 4711805,
"login": "davidbrochart",
"node_id": "MDQ6VXNlcjQ3MTE4MDU=",
"organizations_url": "https://api.github.com/users/davidbrochart/orgs",
"received_events_url": "https://api.github.com/users/davidbrochart/received_events",
"repos_url": "https://api.github.com/users/davidbrochart/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidbrochart/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidbrochart/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidbrochart"
} | [
{
"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"
} | 1 | 2015-03-17T15:40:07Z | 2015-03-18T16:14:24Z | 2015-03-18T16:14:24Z | NONE | null | closes https://github.com/pydata/pandas/issues/9671
`self.style` can be a list of strings or a string. If it is a string, we make a list containing that string, so that we only have to deal with a list of strings. We check every element in that list and raise an error if it has a color symbol.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9673/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9673/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9673.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9673",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/9673.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9673"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9674 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9674/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9674/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9674/events | https://github.com/pandas-dev/pandas/pull/9674 | 62,731,660 | MDExOlB1bGxSZXF1ZXN0MzE0NDQ1Mjk= | 9,674 | DataFrame.plot error when both 'color' and 'style' arguments are passed (GH9671) | {
"avatar_url": "https://avatars.githubusercontent.com/u/4711805?v=4",
"events_url": "https://api.github.com/users/davidbrochart/events{/privacy}",
"followers_url": "https://api.github.com/users/davidbrochart/followers",
"following_url": "https://api.github.com/users/davidbrochart/following{/other_user}",
"gists_url": "https://api.github.com/users/davidbrochart/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidbrochart",
"id": 4711805,
"login": "davidbrochart",
"node_id": "MDQ6VXNlcjQ3MTE4MDU=",
"organizations_url": "https://api.github.com/users/davidbrochart/orgs",
"received_events_url": "https://api.github.com/users/davidbrochart/received_events",
"repos_url": "https://api.github.com/users/davidbrochart/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidbrochart/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidbrochart/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidbrochart"
} | [
{
"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"
} | 5 | 2015-03-18T16:12:59Z | 2015-04-06T12:23:51Z | 2015-04-06T12:23:51Z | NONE | null | closes #9671
`self.style` can be a list of strings or a string. If it is a string, we make a list containing that string, so that we only have to deal with a list of strings. We check every element in that list and raise an error if it has a color symbol.
The test makes sure that calling `plot()` and passing both `color` and `style` arguments is allowed if there is no color symbol in the style string(s), and that passing both `color` and `style` arguments is not allowed if there is a color symbol in the style string(s). This test is done for a dataframe and for a series.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 1,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9674/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9674/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9674.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9674",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/9674.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9674"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9675 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9675/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9675/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9675/events | https://github.com/pandas-dev/pandas/issues/9675 | 62,745,414 | MDU6SXNzdWU2Mjc0NTQxNA== | 9,675 | global name 'iNaT' is not defined | {
"avatar_url": "https://avatars.githubusercontent.com/u/2800289?v=4",
"events_url": "https://api.github.com/users/samzhang111/events{/privacy}",
"followers_url": "https://api.github.com/users/samzhang111/followers",
"following_url": "https://api.github.com/users/samzhang111/following{/other_user}",
"gists_url": "https://api.github.com/users/samzhang111/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/samzhang111",
"id": 2800289,
"login": "samzhang111",
"node_id": "MDQ6VXNlcjI4MDAyODk=",
"organizations_url": "https://api.github.com/users/samzhang111/orgs",
"received_events_url": "https://api.github.com/users/samzhang111/received_events",
"repos_url": "https://api.github.com/users/samzhang111/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/samzhang111/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/samzhang111/subscriptions",
"type": "User",
"url": "https://api.github.com/users/samzhang111"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 3 | 2015-03-18T17:16:56Z | 2015-03-25T23:03:52Z | 2015-03-25T23:03:52Z | NONE | null | Trying to perform this operation on a groupby object called clusters:
`clusters.agg({'diffs': lambda x: x.quantile(.5)})`
where diffs is a column of Timedelta objects.
Getting the error:
```
/usr/local/lib/python2.7/dist-packages/pandas/core/groupby.pyc in aggregate(self, func_or_funcs, *args, **kwargs)
2305 return self._python_agg_general(func_or_funcs, *args, **kwargs)
2306 except Exception:
-> 2307 result = self._aggregate_named(func_or_funcs, *args, **kwargs)
2308
2309 index = Index(sorted(result), name=self.grouper.names[0])
/usr/local/lib/python2.7/dist-packages/pandas/core/groupby.pyc in _aggregate_named(self, func, *args, **kwargs)
2392 for name, group in self:
2393 group.name = name
-> 2394 output = func(group, *args, **kwargs)
2395 if isinstance(output, (Series, Index, np.ndarray)):
2396 raise Exception('Must produce aggregated value')
<ipython-input-174-5be8bb847fd6> in <lambda>(x)
----> 1 clusters.agg({'diffs': lambda x: x.quantile(.5)})
/usr/local/lib/python2.7/dist-packages/pandas/core/series.pyc in quantile(self, q)
1264 return _quantile(values, qs*100)
1265
-> 1266 return self._maybe_box(lambda values: multi(values, q), dropna=True)
1267
1268 def ptp(self, axis=None, out=None):
/usr/local/lib/python2.7/dist-packages/pandas/core/series.pyc in _maybe_box(self, func, dropna)
2105
2106 if len(values) == 0:
-> 2107 return boxer(iNaT)
2108
2109 values = values.view('i8')
NameError: global name 'iNaT' is not defined
```
Looks like other references to iNaT are all tslib.iNaT.
https://github.com/pydata/pandas/blob/master/pandas/core/series.py#L2098
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9675/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9675/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9676 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9676/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9676/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9676/events | https://github.com/pandas-dev/pandas/issues/9676 | 62,774,931 | MDU6SXNzdWU2Mjc3NDkzMQ== | 9,676 | BUG: entries missing when reading from pytables hdf store using "where" statement | {
"avatar_url": "https://avatars.githubusercontent.com/u/5758587?v=4",
"events_url": "https://api.github.com/users/alexfields/events{/privacy}",
"followers_url": "https://api.github.com/users/alexfields/followers",
"following_url": "https://api.github.com/users/alexfields/following{/other_user}",
"gists_url": "https://api.github.com/users/alexfields/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alexfields",
"id": 5758587,
"login": "alexfields",
"node_id": "MDQ6VXNlcjU3NTg1ODc=",
"organizations_url": "https://api.github.com/users/alexfields/orgs",
"received_events_url": "https://api.github.com/users/alexfields/received_events",
"repos_url": "https://api.github.com/users/alexfields/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alexfields/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alexfields/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alexfields"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
]
| closed | false | null | []
| {
"closed_at": "2015-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"
} | 21 | 2015-03-18T19:09:37Z | 2015-05-07T00:20:21Z | 2015-05-07T00:20:21Z | NONE | null | When I select from a HDF store using a "where" string (locating entries in which one field matches a particular string value), the function returns fewer rows than when I load the entire dataframe into memory and then match on that field. Below is some code that reproduces the problem; unfortunately, I can't easily provide the code that generates the source HDF store, but I'm happy to provide the kept_tids_20150310.h5 file if it would help. There are no nan values in the dataframe.
Running ptrepack on the dataframe solves the problem, but I don't believe this should happen in the first place.
I am using pandas 0.15.2 but have not tried 0.16.0.
``` python
>>> import pandas as pd
>>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.3.final.0
python-bits: 64
OS: Linux
OS-release: 3.13.0-46-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.15.2
nose: 1.3.4
Cython: 0.19.2
numpy: 1.9.2
scipy: 0.15.1
statsmodels: 0.5.0
IPython: 2.4.0
sphinx: 1.2.3
patsy: 0.2.1
dateutil: 2.4.1
pytz: 2014.10
bottleneck: 0.8.0
tables: 3.1.0
numexpr: 2.3
matplotlib: 1.4.2
openpyxl: None
xlrd: None
xlwt: 0.7.2
xlsxwriter: None
lxml: 2.3.2
bs4: 4.3.2
html5lib: 0.999
httplib2: 0.7.2
apiclient: None
rpy2: 2.4.2
sqlalchemy: None
pymysql: None
psycopg2: None
>>> kept_tids = pd.read_hdf('kept_tids_20150310.h5', 'kept_tids', mode='r')
>>> kept_tids.to_hdf('kept_tids_20150310_resave.h5', 'kept_tids', mode='w', format='t', data_columns=True)
>>> chroms = kept_tids['chrom'].drop_duplicates().order().tolist()
>>> print chroms
['chr1', 'chr10', 'chr11', 'chr12', 'chr13', 'chr14', 'chr15', 'chr16', 'chr17', 'chr18', 'chr19', 'chr2', 'chr20', 'chr21', 'chr22', 'chr3', 'chr4', 'chr5', 'chr6', 'chr7', 'chr8', 'chr9', 'chrM', 'chrX', 'chrY']
>>> len(kept_tids)
202836
>>> sum(len(pd.read_hdf('kept_tids_20150310_resave.h5', 'kept_tids', mode='r', where="chrom == '%s'"%x)) for x in chroms)
193757
>>> (kept_tids['chrom']=='chr16').sum()
10157
>>> len(pd.read_hdf('kept_tids_20150310_resave.h5', 'kept_tids', mode='r', where="chrom == 'chr16'"))
6278
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9676/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9676/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9677 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9677/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9677/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9677/events | https://github.com/pandas-dev/pandas/issues/9677 | 62,815,148 | MDU6SXNzdWU2MjgxNTE0OA== | 9,677 | need for 'save_dataframe' | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [
{
"color": "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 | 15 | 2015-03-18T22:07:56Z | 2015-03-19T02:52:20Z | 2015-03-18T23:11:25Z | NONE | null | Saving and Retrieving are basic to data operations. The defacto save / retrieve in
pandas, at least from Wes's book, seems to be to_csv and .read_csv These are great,
but what is saved is not what is returned:
In [49] frame
Out[49]:
fun people state
0 pinball Joe OH
1 food Mary NJ
In[50] frame.to_csv('experiment.csv')
In[51] new_frame=pd.read_csv('experiment.csv')
In[52] new_frame
Out[52]:
```
Unnamed: 0 fun people state
```
0 0 pinball Joe OH
1 1 food Mary NJ
As you can see, a new index column is added. I think it would probably be very easy to
write a 'save_DataFrame' and a 'read_DataFrame' that would save the index and the columns
and restore them as they were saved.
I realize this is no big deal once you know the program and the suggstion is, admittedly, mostly philosophical and to make things easier for newbies. But I think this is the correct structure for
a data manipulation program.
This is just my opinion and I will only write this once. I don't want to argue about it.
Please do not write to me and tell me how stupid I am. Feel free just to trash this or
close it out without informing me.
Thanks. -- Greg
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9677/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9677/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9678 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9678/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9678/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9678/events | https://github.com/pandas-dev/pandas/issues/9678 | 62,817,456 | MDU6SXNzdWU2MjgxNzQ1Ng== | 9,678 | BUG/SQL: to_sql sqlalchemy.exc.DataError for datetime64[ns] column in Redshift | {
"avatar_url": "https://avatars.githubusercontent.com/u/3670355?v=4",
"events_url": "https://api.github.com/users/manugarri/events{/privacy}",
"followers_url": "https://api.github.com/users/manugarri/followers",
"following_url": "https://api.github.com/users/manugarri/following{/other_user}",
"gists_url": "https://api.github.com/users/manugarri/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/manugarri",
"id": 3670355,
"login": "manugarri",
"node_id": "MDQ6VXNlcjM2NzAzNTU=",
"organizations_url": "https://api.github.com/users/manugarri/orgs",
"received_events_url": "https://api.github.com/users/manugarri/received_events",
"repos_url": "https://api.github.com/users/manugarri/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/manugarri/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/manugarri/subscriptions",
"type": "User",
"url": "https://api.github.com/users/manugarri"
} | [
{
"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": "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": 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"
} | 6 | 2015-03-18T22:23:40Z | 2015-03-19T14:06:48Z | 2015-03-19T13:31:16Z | NONE | null | I found that when using `to_sql` on a dataframe with a datetime64 column with most of the values being `NaT`, sqlalchemy fails. The column `closed_at` is of type `TIMESTAMP` on redshift (Timestamp without timezone).
```
df.info()
[output]
<class 'pandas.core.frame.DataFrame'>
Int64Index: 11 entries, 0 to 1684
Data columns (total 11 columns):
created_at 11 non-null datetime64[ns]
updated_at 11 non-null datetime64[ns]
closed_at 2 non-null datetime64[ns]
state 11 non-null object
title 11 non-null object
body 11 non-null object
issue_submitter 11 non-null object
assignee 6 non-null object
labels 11 non-null object
html_url 11 non-null object
id 11 non-null int64
dtypes: datetime64[ns](3), int64(1), object(7)None
```
The column `closed_at` has only 2 non empty values. if I delete the column prior to writing everything goes fine. However, when i call `to_sql` with the column on the dataframe i get the following error:
```
Traceback (most recent call last):
df.to_sql(table, self.engine,if_exists='append',index=False)
File "/home/manugarri/anaconda/lib/python2.7/site-packages/pandas/core/generic.py", line 950, in to_sql
index_label=index_label)
File "/home/manugarri/anaconda/lib/python2.7/site-packages/pandas/io/sql.py", line 475, in to_sql
index_label=index_label)
File "/home/manugarri/anaconda/lib/python2.7/site-packages/pandas/io/sql.py", line 842, in to_sql
table.insert()
File "/home/manugarri/anaconda/lib/python2.7/site-packages/pandas/io/sql.py", line 611, in insert
self.pd_sql.execute(ins, data_list)
File "/home/manugarri/anaconda/lib/python2.7/site-packages/pandas/io/sql.py", line 810, in execute
return self.engine.execute(*args, **kwargs)
File "/home/manugarri/anaconda/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1682, in execute
return connection.execute(statement, *multiparams, **params)
File "/home/manugarri/anaconda/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 720, in execute
return meth(self, multiparams, params)
File "/home/manugarri/anaconda/lib/python2.7/site-packages/sqlalchemy/sql/elements.py", line 317, in _execute_on_connection
return connection._execute_clauseelement(self, multiparams, params)
File "/home/manugarri/anaconda/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 817, in _execute_clauseelement
compiled_sql, distilled_params
File "/home/manugarri/anaconda/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 947, in _execute_context
context)
File "/home/manugarri/anaconda/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1108, in _handle_dbapi_exception
exc_info
File "/home/manugarri/anaconda/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 185, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb)
File "/home/manugarri/anaconda/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 917, in _execute_context
context)
File "/home/manugarri/anaconda/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 432, in do_executemany
cursor.executemany(statement, parameters)
sqlalchemy.exc.DataError: (DataError) invalid input syntax for type timestamp: "0001-255-255T00:00:00"
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9678/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9678/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9679 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9679/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9679/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9679/events | https://github.com/pandas-dev/pandas/issues/9679 | 62,817,608 | MDU6SXNzdWU2MjgxNzYwOA== | 9,679 | new column based on a condition of the others columns (like ifelse in R) | {
"avatar_url": "https://avatars.githubusercontent.com/u/5865600?v=4",
"events_url": "https://api.github.com/users/mayouf/events{/privacy}",
"followers_url": "https://api.github.com/users/mayouf/followers",
"following_url": "https://api.github.com/users/mayouf/following{/other_user}",
"gists_url": "https://api.github.com/users/mayouf/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mayouf",
"id": 5865600,
"login": "mayouf",
"node_id": "MDQ6VXNlcjU4NjU2MDA=",
"organizations_url": "https://api.github.com/users/mayouf/orgs",
"received_events_url": "https://api.github.com/users/mayouf/received_events",
"repos_url": "https://api.github.com/users/mayouf/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mayouf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mayouf/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mayouf"
} | [
{
"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 | 1 | 2015-03-18T22:24:40Z | 2015-03-18T23:07:21Z | 2015-03-18T23:05:56Z | NONE | null | Hi everyone,
How can I do a ifelse statement R-like in a pandas dataframe.
I want to compute a new column via a calculation from the others columns.
It's been a while, so I ask to the community. I used to do a simple ifelse(cond, true, false) with R
on a dataframe.I look for the same result.
here is my code:
import pandas.io.data as web
import datetime
start = datetime.datetime(2010, 1, 1)
end = datetime.datetime(2013, 1, 27)
f=web.DataReader("F", 'yahoo', start, end)
here is a print of the first 5 lines:
Open High Low Close Volume Adj Close
Date
2010-01-04 10.17 10.28 10.05 10.28 60855800 9.43
2010-01-05 10.45 11.24 10.40 10.96 215620200 10.05
2010-01-06 11.21 11.46 11.13 11.37 200070600 10.43
2010-01-07 11.46 11.69 11.32 11.66 130201700 10.69
2010-01-08 11.67 11.74 11.46 11.69 130463000 10.72
I try to calculate a new columns based on the others:
f["new column"] = if open > close then (high - open)
if close >= open then (high - close)
else nan
I just started to test the applymap function by doing this:
f.applymap(lambda x: x["open"]*2)
it gave me that error:
IndexError: ('invalid index to scalar variable.', u'occurred at index Open')
Anyone has a solution ?
regards,
mayouf
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9679/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9679/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9680 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9680/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9680/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9680/events | https://github.com/pandas-dev/pandas/issues/9680 | 62,944,418 | MDU6SXNzdWU2Mjk0NDQxOA== | 9,680 | TimedeltaIndexed Series raises ValueError instead of AttributeError | {
"avatar_url": "https://avatars.githubusercontent.com/u/5037636?v=4",
"events_url": "https://api.github.com/users/JonasAbernot/events{/privacy}",
"followers_url": "https://api.github.com/users/JonasAbernot/followers",
"following_url": "https://api.github.com/users/JonasAbernot/following{/other_user}",
"gists_url": "https://api.github.com/users/JonasAbernot/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/JonasAbernot",
"id": 5037636,
"login": "JonasAbernot",
"node_id": "MDQ6VXNlcjUwMzc2MzY=",
"organizations_url": "https://api.github.com/users/JonasAbernot/orgs",
"received_events_url": "https://api.github.com/users/JonasAbernot/received_events",
"repos_url": "https://api.github.com/users/JonasAbernot/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/JonasAbernot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JonasAbernot/subscriptions",
"type": "User",
"url": "https://api.github.com/users/JonasAbernot"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
]
| closed | false | null | []
| {
"closed_at": "2015-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 | 2015-03-19T10:17:38Z | 2015-04-28T00:54:11Z | 2015-04-28T00:54:11Z | CONTRIBUTOR | null | ``` python
ts = pd.Series(np.random.normal(size=10),index=pd.timedelta_range(start=0,periods=10,freq='1s'))
ts.foo
```
raises
```
ValueError: cannot create timedelta string converter for [foo]
```
Shouldn't it raise
```
AttributeError: 'Series' object has no attribute 'foo'
```
?
```
pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.6.final.0
python-bits: 64
OS: Linux
OS-release: 3.13.0-46-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: fr_FR.UTF-8
pandas: 0.16.0rc1-28-gd7d868f
nose: 1.3.1
Cython: 0.20.1post0
numpy: 1.8.2
scipy: 0.13.3
statsmodels: None
IPython: 1.2.1
sphinx: 1.2.2
patsy: None
dateutil: 2.4.1
pytz: 2013b
bottleneck: None
tables: 3.1.1
numexpr: 2.2.2
matplotlib: 1.3.1
openpyxl: None
xlrd: None
xlwt: 0.7.5
xlsxwriter: None
lxml: None
bs4: None
html5lib: 0.999
httplib2: 0.8
apiclient: None
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/9680/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9680/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9681 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9681/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9681/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9681/events | https://github.com/pandas-dev/pandas/pull/9681 | 62,964,608 | MDExOlB1bGxSZXF1ZXN0MzE1MTYyMjk= | 9,681 | BUG: workaround PyTables 319, but not setting expected rows (GH8265, GH9676) | {
"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": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
]
| closed | false | null | []
| {
"closed_at": "2015-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 | 2015-03-19T11:53:16Z | 2015-03-19T20:39:15Z | 2015-03-19T20:39:15Z | CONTRIBUTOR | null | closes #8265
closes #9676
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9681/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9681/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9681.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9681",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/9681.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9681"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9682 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9682/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9682/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9682/events | https://github.com/pandas-dev/pandas/pull/9682 | 62,970,113 | MDExOlB1bGxSZXF1ZXN0MzE1MTc5NDQ= | 9,682 | Added itertools.groupby equivalent example. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1311161?v=4",
"events_url": "https://api.github.com/users/ashwch/events{/privacy}",
"followers_url": "https://api.github.com/users/ashwch/followers",
"following_url": "https://api.github.com/users/ashwch/following{/other_user}",
"gists_url": "https://api.github.com/users/ashwch/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ashwch",
"id": 1311161,
"login": "ashwch",
"node_id": "MDQ6VXNlcjEzMTExNjE=",
"organizations_url": "https://api.github.com/users/ashwch/orgs",
"received_events_url": "https://api.github.com/users/ashwch/received_events",
"repos_url": "https://api.github.com/users/ashwch/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ashwch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ashwch/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ashwch"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
]
| closed | false | null | []
| {
"closed_at": "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 | 2015-03-19T12:20:00Z | 2015-03-19T20:39:49Z | 2015-03-19T20:39:49Z | 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/9682/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9682/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9682.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9682",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/9682.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9682"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/9683 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9683/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9683/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9683/events | https://github.com/pandas-dev/pandas/pull/9683 | 63,011,434 | MDExOlB1bGxSZXF1ZXN0MzE1MzIyODc= | 9,683 | Bug: Access unknown attribute of timedeltaindexed series used to raise ValueError | {
"avatar_url": "https://avatars.githubusercontent.com/u/5037636?v=4",
"events_url": "https://api.github.com/users/JonasAbernot/events{/privacy}",
"followers_url": "https://api.github.com/users/JonasAbernot/followers",
"following_url": "https://api.github.com/users/JonasAbernot/following{/other_user}",
"gists_url": "https://api.github.com/users/JonasAbernot/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/JonasAbernot",
"id": 5037636,
"login": "JonasAbernot",
"node_id": "MDQ6VXNlcjUwMzc2MzY=",
"organizations_url": "https://api.github.com/users/JonasAbernot/orgs",
"received_events_url": "https://api.github.com/users/JonasAbernot/received_events",
"repos_url": "https://api.github.com/users/JonasAbernot/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/JonasAbernot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JonasAbernot/subscriptions",
"type": "User",
"url": "https://api.github.com/users/JonasAbernot"
} | [
{
"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": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
]
| closed | false | null | []
| {
"closed_at": "2015-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"
} | 3 | 2015-03-19T15:10:08Z | 2015-04-28T00:53:57Z | 2015-04-28T00:53:52Z | CONTRIBUTOR | null | closes #9680
And now it raises AttributeError.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9683/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9683/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9683.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9683",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/9683.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9683"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9684 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9684/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9684/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9684/events | https://github.com/pandas-dev/pandas/issues/9684 | 63,088,750 | MDU6SXNzdWU2MzA4ODc1MA== | 9,684 | BUG: groupby apply throws error if custom func doesn't return non-None value. | {
"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": "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": "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"
} | 6 | 2015-03-19T20:52:09Z | 2015-04-28T01:14:14Z | 2015-04-28T01:14:14Z | CONTRIBUTOR | null | This case may be unusual, but I was writing a test to make sure results are sorted within groupby calls, and found that if the `func` in a `df.groupby().apply(func)` call doesn't return a value, it causes an error.
Minimal code to replicate:
```
test_df = pd.DataFrame({'groups': [0,0,1,1], 'random_vars': [8,7,4,5]})
def test_func(x):
pass
test_df.groupby('groups').apply(test_func)
```
Error:
Traceback (most recent call last):
```
File "<ipython-input-18-d520af3d5d86>", line 11, in <module>
z.groupby('d').apply(sort_test)
File "/Users/Nick/GitHub/pandas/pandas/core/groupby.py", line 663, in apply
return self._python_apply_general(f)
File "/Users/Nick/GitHub/pandas/pandas/core/groupby.py", line 670, in _python_apply_general
not_indexed_same=mutated)
File "/Users/Nick/GitHub/pandas/pandas/core/groupby.py", line 2811, in _wrap_applied_output
v = next(v for v in values if v is not None)
StopIteration
```
The problem seems to be due to the function `test_func()` not returning a value, though the error persists even if I `return None` in `test_func()`.
My use, as example of actual situation it might come up:
```
test = pd.DataFrame({'groups': np.random.randint(0,10, size = 100), 'random_vars': np.random.rand(1,100)[0]})
test.sort('random_vars', inplace = True)
def sort_test(x):
assert_frame_equal(x, x.sort('random_vars'))
from pandas.util.testing import assert_frame_equal
test.groupby('groups').apply(sort_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/9684/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9684/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9685 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9685/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9685/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9685/events | https://github.com/pandas-dev/pandas/pull/9685 | 63,103,977 | MDExOlB1bGxSZXF1ZXN0MzE1NzE3ODY= | 9,685 | Fixes groupby.apply() error when no returns #9684 | {
"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": "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": "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"
} | 6 | 2015-03-19T22:15:41Z | 2015-04-28T01:13:59Z | 2015-04-28T01:13:59Z | CONTRIBUTOR | null | Closes issue: #9684
Returns empty object even if all entries are missing.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9685/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9685/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9685.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9685",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/9685.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9685"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9686 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9686/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9686/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9686/events | https://github.com/pandas-dev/pandas/pull/9686 | 63,138,690 | MDExOlB1bGxSZXF1ZXN0MzE1ODMyNjQ= | 9,686 | Start python3 compatibility | {
"avatar_url": "https://avatars.githubusercontent.com/u/3195015?v=4",
"events_url": "https://api.github.com/users/rockg/events{/privacy}",
"followers_url": "https://api.github.com/users/rockg/followers",
"following_url": "https://api.github.com/users/rockg/following{/other_user}",
"gists_url": "https://api.github.com/users/rockg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rockg",
"id": 3195015,
"login": "rockg",
"node_id": "MDQ6VXNlcjMxOTUwMTU=",
"organizations_url": "https://api.github.com/users/rockg/orgs",
"received_events_url": "https://api.github.com/users/rockg/received_events",
"repos_url": "https://api.github.com/users/rockg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rockg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rockg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rockg"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 3 | 2015-03-20T02:13:43Z | 2015-07-28T21:51:47Z | 2015-07-28T21:51:47Z | CONTRIBUTOR | null | Start for #9660
These are changes to get vbench running under python3. There are quite a few tests that need modification, but with these changes the code will parse and the suite can run (along with [vbench#36](https://github.com/pydata/vbench/pull/36)).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9686/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9686/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9686.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9686",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/9686.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9686"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9687 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9687/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9687/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9687/events | https://github.com/pandas-dev/pandas/issues/9687 | 63,205,161 | MDU6SXNzdWU2MzIwNTE2MQ== | 9,687 | DataFrame.interpolate(axis=1, method="time", inplace=True) | {
"avatar_url": "https://avatars.githubusercontent.com/u/5681211?v=4",
"events_url": "https://api.github.com/users/markrichardson/events{/privacy}",
"followers_url": "https://api.github.com/users/markrichardson/followers",
"following_url": "https://api.github.com/users/markrichardson/following{/other_user}",
"gists_url": "https://api.github.com/users/markrichardson/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/markrichardson",
"id": 5681211,
"login": "markrichardson",
"node_id": "MDQ6VXNlcjU2ODEyMTE=",
"organizations_url": "https://api.github.com/users/markrichardson/orgs",
"received_events_url": "https://api.github.com/users/markrichardson/received_events",
"repos_url": "https://api.github.com/users/markrichardson/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/markrichardson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/markrichardson/subscriptions",
"type": "User",
"url": "https://api.github.com/users/markrichardson"
} | [
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
]
| closed | false | null | []
| {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 5 | 2015-03-20T10:26:23Z | 2020-01-03T23:23:43Z | 2020-01-03T23:23:43Z | NONE | null | In pandas 0.15.2, DataFrame.interpolate( ... ) doesn't work with the keyword combination axis=1, method="time", inplace=True. It just returns the original DataFrame.
```
import pandas as pd
import numpy as np
periods=5
idx = pd.date_range(start="2014-01-01", periods=periods)
data = np.random.rand(periods, periods)
data[data < 0.5] = np.nan
df0 = pd.DataFrame(index=idx, columns=idx, data=data)
df1 = df0.copy()
print "(1) Original df"
print df0
print "\n(2a) axis=0, inplace=False"
print df0.interpolate(axis=0, method="time")
print "\n(2b) axis=0, inplace=True"
df0.interpolate(axis=0, method="time", inplace=True)
print df0
print "\n(3a) axis=1, inplace=False"
print df1.interpolate(axis=1, method="time")
print "\n(3b) axis=1, inplace=True"
df1.interpolate(axis=1, method="time", inplace=True)
print df1
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9687/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9687/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9688 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9688/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9688/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9688/events | https://github.com/pandas-dev/pandas/issues/9688 | 63,222,848 | MDU6SXNzdWU2MzIyMjg0OA== | 9,688 | ENH: make period_range parse strings like '2012-Q1', not just '2012Q1' | {
"avatar_url": "https://avatars.githubusercontent.com/u/3160562?v=4",
"events_url": "https://api.github.com/users/dr-leo/events{/privacy}",
"followers_url": "https://api.github.com/users/dr-leo/followers",
"following_url": "https://api.github.com/users/dr-leo/following{/other_user}",
"gists_url": "https://api.github.com/users/dr-leo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dr-leo",
"id": 3160562,
"login": "dr-leo",
"node_id": "MDQ6VXNlcjMxNjA1NjI=",
"organizations_url": "https://api.github.com/users/dr-leo/orgs",
"received_events_url": "https://api.github.com/users/dr-leo/received_events",
"repos_url": "https://api.github.com/users/dr-leo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dr-leo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dr-leo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dr-leo"
} | [
{
"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": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
]
| closed | false | null | []
| {
"closed_at": "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 | 2015-03-20T12:53:05Z | 2015-04-10T10:54:14Z | 2015-03-26T09:49:50Z | CONTRIBUTOR | null | This format is used, e.g., in datasets from the ECB.
Code example:
In [25]: PD.period_range(start = '2012Q1', periods = 4, freq = 'Q')
Out[25]:
<class 'pandas.tseries.period.PeriodIndex'>
[2012Q1, ..., 2012Q4]
Length: 4, Freq: Q-DEC
## In [26]: PD.period_range(start = '2012-Q1', periods = 4, freq = 'Q')
ValueError Traceback (most recent call last)
C:\Users\stefan\Anaconda\envs\py343\lib\site-packages\pandas\tseries\tools.py in
parse_time_string(arg, freq, dayfirst, yearfirst)
463 parsed, reso = dateutil_parse(arg, default, dayfirst=dayfirst,
--> 464 yearfirst=yearfirst)
465 except Exception as e:
C:\Users\stefan\Anaconda\envs\py343\lib\site-packages\pandas\tseries\tools.py in
dateutil_parse(timestr, default, ignoretz, tzinfos, **kwargs)
489 if res is None:
--> 490 raise ValueError("unknown string format")
491
ValueError: unknown string format
During handling of the above exception, another exception occurred:
DateParseError Traceback (most recent call last)
<ipython-input-26-a960a544a087> in <module>()
----> 1 PD.period_range(start = '2012-Q1', periods = 4, freq = 'Q')
C:\Users\stefan\Anaconda\envs\py343\lib\site-packages\pandas\tseries\period.py i
n period_range(start, end, periods, freq, name)
1433 """
1434 return PeriodIndex(start=start, end=end, periods=periods,
-> 1435 freq=freq, name=name)
C:\Users\stefan\Anaconda\envs\py343\lib\site-packages\pandas\tseries\period.py i
n **new**(cls, data, ordinal, freq, start, end, periods, copy, name, tz, **kwarg
s)
637 else:
638 data, freq = cls._generate_range(start, end, periods,
--> 639 freq, kwargs)
640 else:
641 ordinal, freq = cls._from_arraylike(data, freq, tz)
C:\Users\stefan\Anaconda\envs\py343\lib\site-packages\pandas\tseries\period.py i
n _generate_range(cls, start, end, periods, freq, fields)
651 raise ValueError('Can either instantiate from fields '
652 'or endpoints, but not both')
--> 653 subarr, freq = _get_ordinal_range(start, end, periods, freq)
```
654 elif field_count > 0:
655 subarr, freq = _range_from_fields(freq=freq, **fields)
```
C:\Users\stefan\Anaconda\envs\py343\lib\site-packages\pandas\tseries\period.py i
n _get_ordinal_range(start, end, periods, freq)
1281
1282 if start is not None:
-> 1283 start = Period(start, freq)
1284 if end is not None:
1285 end = Period(end, freq)
C:\Users\stefan\Anaconda\envs\py343\lib\site-packages\pandas\tseries\period.py i
n **init**(self, value, freq, ordinal, year, month, quarter, day, hour, minute,
second)
124 value = value.upper()
125
--> 126 dt, _, reso = parse_time_string(value, freq)
127 if freq is None:
128 try:
C:\Users\stefan\Anaconda\envs\py343\lib\site-packages\pandas\tseries\tools.py in
parse_time_string(arg, freq, dayfirst, yearfirst)
465 except Exception as e:
466 # TODO: allow raise of errors within instead
--> 467 raise DateParseError(e)
468
469 if parsed is None:
DateParseError: unknown string format
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9688/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9688/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9689 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9689/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9689/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9689/events | https://github.com/pandas-dev/pandas/pull/9689 | 63,238,392 | MDExOlB1bGxSZXF1ZXN0MzE2MTc4MzY= | 9,689 | DOC: further clean-up whatsnew file | {
"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": "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 | 2015-03-20T14:26:00Z | 2015-03-20T15:27:34Z | 2015-03-20T15:27:34Z | MEMBER | null | Some missing spaced in the string-methods section, and added a highlight about the deprecations.
@jreback you suggested to remove the highlights alltogether now we have the automatic table of contents, but I think it is not fully equivalent (eg the deprecations I added now are not directly visible in the table of contents)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9689/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9689/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9689.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9689",
"merged_at": "2015-03-20T15:27:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9689.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9689"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9690 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9690/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9690/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9690/events | https://github.com/pandas-dev/pandas/issues/9690 | 63,244,645 | MDU6SXNzdWU2MzI0NDY0NQ== | 9,690 | Ignore display.max_rows in DataFrame.to_html(escape=False) | {
"avatar_url": "https://avatars.githubusercontent.com/u/291575?v=4",
"events_url": "https://api.github.com/users/flying-sheep/events{/privacy}",
"followers_url": "https://api.github.com/users/flying-sheep/followers",
"following_url": "https://api.github.com/users/flying-sheep/following{/other_user}",
"gists_url": "https://api.github.com/users/flying-sheep/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/flying-sheep",
"id": 291575,
"login": "flying-sheep",
"node_id": "MDQ6VXNlcjI5MTU3NQ==",
"organizations_url": "https://api.github.com/users/flying-sheep/orgs",
"received_events_url": "https://api.github.com/users/flying-sheep/received_events",
"repos_url": "https://api.github.com/users/flying-sheep/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/flying-sheep/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/flying-sheep/subscriptions",
"type": "User",
"url": "https://api.github.com/users/flying-sheep"
} | [
{
"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": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
}
]
| open | false | null | []
| null | 0 | 2015-03-20T15:07:44Z | 2019-01-13T00:48:23Z | null | CONTRIBUTOR | null | If `escape=False` is specified, this dataframe fill fail horribly…
``` python
df = DataFrame(data={
'test': ['<a href="http://reallylongurlthateasilyislongerthan50characters.htm">short linkname</a>'],
})
```
…as the `<td><a href="http://reallylongurlthateasilyislongertha...</td>` will be broken HTML, and the `a` tag is closed by the closing `td` tag.
i propose that `display.max_rows` is ignored for cells that contain unescaped HTML tags (i.e. at least one `<` character)
Related to #8273
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9690/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9690/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9691 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9691/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9691/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9691/events | https://github.com/pandas-dev/pandas/issues/9691 | 63,246,404 | MDU6SXNzdWU2MzI0NjQwNA== | 9,691 | getting sqlalchemy datetime type ignores None timezones | {
"avatar_url": "https://avatars.githubusercontent.com/u/743508?v=4",
"events_url": "https://api.github.com/users/mangecoeur/events{/privacy}",
"followers_url": "https://api.github.com/users/mangecoeur/followers",
"following_url": "https://api.github.com/users/mangecoeur/following{/other_user}",
"gists_url": "https://api.github.com/users/mangecoeur/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mangecoeur",
"id": 743508,
"login": "mangecoeur",
"node_id": "MDQ6VXNlcjc0MzUwOA==",
"organizations_url": "https://api.github.com/users/mangecoeur/orgs",
"received_events_url": "https://api.github.com/users/mangecoeur/received_events",
"repos_url": "https://api.github.com/users/mangecoeur/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mangecoeur/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mangecoeur/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mangecoeur"
} | [
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "5319e7",
"default": false,
"description": "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": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 3 | 2015-03-20T15:16:08Z | 2015-03-25T10:55:44Z | 2015-03-25T10:55:23Z | CONTRIBUTOR | null | When converting to datetime64, pandas does:
``` python
if col_type == 'datetime64':
try:
tz = col.tzinfo
return DateTime(timezone=True)
except:
return DateTime
if col_type == 'timedelta64':
```
2 problems
1. The exception catch is way to broad. I think this was probably supposed to catch an AttributeException (For col with no tzinfo attribute at all)
2. columns can have a tzinfo =None, in which case a Datetime(timezone=False) should be created instead.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9691/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9691/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9692 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9692/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9692/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9692/events | https://github.com/pandas-dev/pandas/issues/9692 | 63,303,986 | MDU6SXNzdWU2MzMwMzk4Ng== | 9,692 | read_csv skiplines breaks in 0.15.2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8620425?v=4",
"events_url": "https://api.github.com/users/lennart7/events{/privacy}",
"followers_url": "https://api.github.com/users/lennart7/followers",
"following_url": "https://api.github.com/users/lennart7/following{/other_user}",
"gists_url": "https://api.github.com/users/lennart7/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lennart7",
"id": 8620425,
"login": "lennart7",
"node_id": "MDQ6VXNlcjg2MjA0MjU=",
"organizations_url": "https://api.github.com/users/lennart7/orgs",
"received_events_url": "https://api.github.com/users/lennart7/received_events",
"repos_url": "https://api.github.com/users/lennart7/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lennart7/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lennart7/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lennart7"
} | [
{
"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_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 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 | 2015-03-20T20:46:38Z | 2016-11-26T11:26:53Z | 2016-11-26T11:26:53Z | NONE | null | I have been successfully parsing a csv file in 0.14.1, just upgraded yesterday and now the following code breaks:
```
df = pd.io.parsers.read_csv(fname,
skiprows=range(1, 9))
```
here is the file:
https://www.dropbox.com/s/grhi6e9vihjf92t/testtown2.csv?dl=0
Versions:
```
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.8.final.0
python-bits: 64
OS: Linux
OS-release: 3.14-1-amd64
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.15.2
nose: None
Cython: 0.20.1
numpy: 1.9.2
scipy: None
statsmodels: None
IPython: 2.1.0
sphinx: None
patsy: None
dateutil: 2.4.1
pytz: 2014.10
bottleneck: None
tables: 3.1.1
numexpr: 2.4
matplotlib: None
openpyxl: None
xlrd: 0.9.3
xlwt: None
xlsxwriter: 0.6.8
lxml: None
bs4: 4.3.2
html5lib: None
httplib2: 0.9
apiclient: None
rpy2: None
sqlalchemy: 0.9.9
pymysql: None
psycopg2: 2.6 (dt dec pq3 ext lo64)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9692/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9692/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9693 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9693/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9693/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9693/events | https://github.com/pandas-dev/pandas/pull/9693 | 63,304,764 | MDExOlB1bGxSZXF1ZXN0MzE2NTA4NTE= | 9,693 | Update vendored pyperclip to 1.5.8 | {
"avatar_url": "https://avatars.githubusercontent.com/u/4466763?v=4",
"events_url": "https://api.github.com/users/jcjf/events{/privacy}",
"followers_url": "https://api.github.com/users/jcjf/followers",
"following_url": "https://api.github.com/users/jcjf/following{/other_user}",
"gists_url": "https://api.github.com/users/jcjf/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jcjf",
"id": 4466763,
"login": "jcjf",
"node_id": "MDQ6VXNlcjQ0NjY3NjM=",
"organizations_url": "https://api.github.com/users/jcjf/orgs",
"received_events_url": "https://api.github.com/users/jcjf/received_events",
"repos_url": "https://api.github.com/users/jcjf/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jcjf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jcjf/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jcjf"
} | [
{
"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": "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": "fbca04",
"default": false,
"description": "Windows OS",
"id": 57186974,
"name": "Windows",
"node_id": "MDU6TGFiZWw1NzE4Njk3NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows"
}
]
| closed | false | null | []
| {
"closed_at": "2016-03-12T16:19:08Z",
"closed_issues": 469,
"created_at": "2015-07-19T20:18:45Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2016-03-13T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/36",
"id": 1214851,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36/labels",
"node_id": "MDk6TWlsZXN0b25lMTIxNDg1MQ==",
"number": 36,
"open_issues": 0,
"state": "closed",
"title": "0.18.0",
"updated_at": "2016-12-06T21:34:41Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36"
} | 23 | 2015-03-20T20:52:05Z | 2015-12-05T15:33:44Z | 2015-12-05T15:33:44Z | CONTRIBUTOR | null | Resolves #9263
Tested:
- [x] windows
- [x] macosx
- [x] linux
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9693/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9693/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9693.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9693",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/9693.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9693"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9694 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9694/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9694/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9694/events | https://github.com/pandas-dev/pandas/pull/9694 | 63,343,481 | MDExOlB1bGxSZXF1ZXN0MzE2NjM5NTA= | 9,694 | BUG: datetime/timedelta Series quantile() call | {
"avatar_url": "https://avatars.githubusercontent.com/u/2800289?v=4",
"events_url": "https://api.github.com/users/samzhang111/events{/privacy}",
"followers_url": "https://api.github.com/users/samzhang111/followers",
"following_url": "https://api.github.com/users/samzhang111/following{/other_user}",
"gists_url": "https://api.github.com/users/samzhang111/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/samzhang111",
"id": 2800289,
"login": "samzhang111",
"node_id": "MDQ6VXNlcjI4MDAyODk=",
"organizations_url": "https://api.github.com/users/samzhang111/orgs",
"received_events_url": "https://api.github.com/users/samzhang111/received_events",
"repos_url": "https://api.github.com/users/samzhang111/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/samzhang111/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/samzhang111/subscriptions",
"type": "User",
"url": "https://api.github.com/users/samzhang111"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 3 | 2015-03-21T01:39:57Z | 2015-03-25T23:03:40Z | 2015-03-25T23:03:40Z | NONE | null | Changes to be committed:
modified: pandas/core/series.py
modified: pandas/tests/test_series.py
Fixes global reference to iNaT (should be tslib.iNaT) in series._maybe_box.
Adds test `test_datetime_timedelta_quantiles` to check for proper return value
in test_series.py.
Issue #9675
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9694/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9694/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9694.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9694",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/9694.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9694"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9695 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9695/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9695/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9695/events | https://github.com/pandas-dev/pandas/pull/9695 | 63,404,143 | MDExOlB1bGxSZXF1ZXN0MzE2NzEzNjY= | 9,695 | BUG: fix for interp with axis=1 and inplace | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
]
| closed | false | null | []
| null | 1 | 2015-03-21T13:40:01Z | 2015-08-18T12:45:09Z | 2015-05-09T16:16:26Z | CONTRIBUTOR | null | Closes https://github.com/pydata/pandas/issues/9687
There's still some weird issues with dtypes. In my test case there's a DataFrame with dtypes [int, float, int]. After the interpolation they should be downcasts to [int, int, int] when the missing value is filled. But along the way a transpose changes things to `[float, float, float]` before filling. And then (I think) `self._update_inplace` doesn't change dtypes, so the actual result is `[float, float, float]`.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9695/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9695/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9695.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9695",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/9695.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9695"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9696 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9696/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9696/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9696/events | https://github.com/pandas-dev/pandas/issues/9696 | 63,461,220 | MDU6SXNzdWU2MzQ2MTIyMA== | 9,696 | BUG 0.15.2 causing problems with pandas.io.data.Options | {
"avatar_url": "https://avatars.githubusercontent.com/u/1923000?v=4",
"events_url": "https://api.github.com/users/aisthesis/events{/privacy}",
"followers_url": "https://api.github.com/users/aisthesis/followers",
"following_url": "https://api.github.com/users/aisthesis/following{/other_user}",
"gists_url": "https://api.github.com/users/aisthesis/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aisthesis",
"id": 1923000,
"login": "aisthesis",
"node_id": "MDQ6VXNlcjE5MjMwMDA=",
"organizations_url": "https://api.github.com/users/aisthesis/orgs",
"received_events_url": "https://api.github.com/users/aisthesis/received_events",
"repos_url": "https://api.github.com/users/aisthesis/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aisthesis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aisthesis/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aisthesis"
} | []
| closed | false | null | []
| null | 1 | 2015-03-21T22:32:17Z | 2015-03-22T14:44:45Z | 2015-03-22T14:44:38Z | NONE | null | I finally traced a problem I was having with options downloads to changes made between version 0.15.1 and version 0.15.2. Probably easiest is just to link the question I posed on Stack Overflow, because it shows the behavior: http://stackoverflow.com/questions/29182526/trouble-with-http-request-from-google-compute-engine
Weirdly, in 0.15.2, I was consistently able to get the options data for large cap companies ('aapl', 'ge' were my typical test cases) but not for small cap companies such as 'spwr' or 'ddd'. Not sure what was changed, but it looks to me like it might have to do with the list of expiration dates or with the handling of empty tables given an expiration date. Right now, in any case, if you hit the link shown in my stack trace (http://finance.yahoo.com/q/op?s=SPWR&date=1430438400), there's an empty table for puts and only 1 call. That would be something that's more common for smaller companies, too. The other possibility is that the initial `Options` object isn't getting good links in the newer version.
That's about all I know about it, but reverting to 0.15.1 seems to have solved the problems I was having.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9696/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9696/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9697 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9697/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9697/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9697/events | https://github.com/pandas-dev/pandas/issues/9697 | 63,471,029 | MDU6SXNzdWU2MzQ3MTAyOQ== | 9,697 | BUG: groupby.transform length mismatch under certain specifications | {
"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-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"
} | 10 | 2015-03-22T00:31:06Z | 2015-05-18T15:20:38Z | 2015-03-23T10:55:36Z | CONTRIBUTOR | null | Replicating Example (pandas 15.2 and 0.16.0rc1-32-g5a417ec):
```
import numpy as np
df = pd.DataFrame({'col1':[1,1,2,2], 'col2':[1,2,3,np.nan]})
# Works fine
df.groupby('col1').transform(sum)['col2']
# Throws error
df.groupby('col1')['col2'].transform(sum)
```
Error:
Traceback (most recent call last):
```
File "<ipython-input-7-f969e26273d4>", line 8, in <module>
df.groupby('col1')['col2'].transform(sum)
File "/Users/Nick/GitHub/pandas/pandas/core/groupby.py", line 2418, in transform
return self._transform_fast(cyfunc)
File "/Users/Nick/GitHub/pandas/pandas/core/groupby.py", line 2459, in _transform_fast
return self._set_result_index_ordered(Series(values))
File "/Users/Nick/GitHub/pandas/pandas/core/groupby.py", line 497, in _set_result_index_ordered
result.index = self.obj.index
File "/Users/Nick/GitHub/pandas/pandas/core/generic.py", line 2061, in __setattr__
return object.__setattr__(self, name, value)
File "pandas/src/properties.pyx", line 65, in pandas.lib.AxisProperty.__set__ (pandas/lib.c:41404)
obj._set_axis(self.axis, value)
File "/Users/Nick/GitHub/pandas/pandas/core/series.py", line 268, in _set_axis
self._data.set_axis(axis, labels)
File "/Users/Nick/GitHub/pandas/pandas/core/internals.py", line 2211, in set_axis
'new values have %d elements' % (old_len, new_len))
ValueError: Length mismatch: Expected axis has 3 elements, new values have 4 elements
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9697/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9697/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9698 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9698/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9698/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9698/events | https://github.com/pandas-dev/pandas/issues/9698 | 63,545,956 | MDU6SXNzdWU2MzU0NTk1Ng== | 9,698 | support for SAS xport format files | {
"avatar_url": "https://avatars.githubusercontent.com/u/2666691?v=4",
"events_url": "https://api.github.com/users/kshedden/events{/privacy}",
"followers_url": "https://api.github.com/users/kshedden/followers",
"following_url": "https://api.github.com/users/kshedden/following{/other_user}",
"gists_url": "https://api.github.com/users/kshedden/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kshedden",
"id": 2666691,
"login": "kshedden",
"node_id": "MDQ6VXNlcjI2NjY2OTE=",
"organizations_url": "https://api.github.com/users/kshedden/orgs",
"received_events_url": "https://api.github.com/users/kshedden/received_events",
"repos_url": "https://api.github.com/users/kshedden/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kshedden/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kshedden/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kshedden"
} | [
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "5319e7",
"default": false,
"description": "SAS: read_sas",
"id": 258745163,
"name": "IO SAS",
"node_id": "MDU6TGFiZWwyNTg3NDUxNjM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SAS"
}
]
| closed | false | null | []
| null | 1 | 2015-03-22T15:46:59Z | 2015-09-10T14:36:02Z | 2015-03-23T01:27:08Z | CONTRIBUTOR | null | There is a xport file reader on Github here:
https://github.com/jcushman/xport
Would it be reasonable (with the author's permission) to port this into 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/9698/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9698/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9699 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9699/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9699/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9699/events | https://github.com/pandas-dev/pandas/pull/9699 | 63,553,600 | MDExOlB1bGxSZXF1ZXN0MzE2OTA5NDU= | 9,699 | BUG: ensure we use group sizes, not group counts, in transform (GH9697) | {
"avatar_url": "https://avatars.githubusercontent.com/u/980054?v=4",
"events_url": "https://api.github.com/users/dsm054/events{/privacy}",
"followers_url": "https://api.github.com/users/dsm054/followers",
"following_url": "https://api.github.com/users/dsm054/following{/other_user}",
"gists_url": "https://api.github.com/users/dsm054/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsm054",
"id": 980054,
"login": "dsm054",
"node_id": "MDQ6VXNlcjk4MDA1NA==",
"organizations_url": "https://api.github.com/users/dsm054/orgs",
"received_events_url": "https://api.github.com/users/dsm054/received_events",
"repos_url": "https://api.github.com/users/dsm054/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsm054/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsm054/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsm054"
} | [
{
"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-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 | 2015-03-22T17:05:19Z | 2015-03-23T10:55:42Z | 2015-03-23T10:55:36Z | CONTRIBUTOR | null | Switch count() to size(), so that when we build the expanded values we're using the size of the groups and not simply the number of non-null values they have. Fixes #9697.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9699/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9699/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9699.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9699",
"merged_at": "2015-03-23T10:55:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9699.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9699"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/9700 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9700/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9700/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9700/events | https://github.com/pandas-dev/pandas/issues/9700 | 63,554,841 | MDU6SXNzdWU2MzU1NDg0MQ== | 9,700 | BUG: groupby.transform confused about index | {
"avatar_url": "https://avatars.githubusercontent.com/u/980054?v=4",
"events_url": "https://api.github.com/users/dsm054/events{/privacy}",
"followers_url": "https://api.github.com/users/dsm054/followers",
"following_url": "https://api.github.com/users/dsm054/following{/other_user}",
"gists_url": "https://api.github.com/users/dsm054/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsm054",
"id": 980054,
"login": "dsm054",
"node_id": "MDQ6VXNlcjk4MDA1NA==",
"organizations_url": "https://api.github.com/users/dsm054/orgs",
"received_events_url": "https://api.github.com/users/dsm054/received_events",
"repos_url": "https://api.github.com/users/dsm054/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsm054/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsm054/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsm054"
} | [
{
"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-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"
} | 0 | 2015-03-22T17:17:25Z | 2015-04-29T10:31:53Z | 2015-04-29T10:31:53Z | CONTRIBUTOR | null | Under some circumstances, `transform` is getting confused about what the output index should be:
```
>>> df = pd.DataFrame({"c1": [1], "c2": [2]})
>>> df
c1 c2
0 1 2
>>> df.groupby('c1').transform(sum)
c2
0 NaN
1 2
```
I haven't chased down why, but since we have
```
>>> df.groupby('c1').transform(lambda x: sum(x))
c2
0 2
```
it must be another fast-path problem, like #9697.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9700/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9700/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9701 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9701/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9701/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9701/events | https://github.com/pandas-dev/pandas/pull/9701 | 63,575,410 | MDExOlB1bGxSZXF1ZXN0MzE2OTQ2NzY= | 9,701 | ENH Make year and quarter dash-separatable | {
"avatar_url": "https://avatars.githubusercontent.com/u/143746?v=4",
"events_url": "https://api.github.com/users/williamhogman/events{/privacy}",
"followers_url": "https://api.github.com/users/williamhogman/followers",
"following_url": "https://api.github.com/users/williamhogman/following{/other_user}",
"gists_url": "https://api.github.com/users/williamhogman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/williamhogman",
"id": 143746,
"login": "williamhogman",
"node_id": "MDQ6VXNlcjE0Mzc0Ng==",
"organizations_url": "https://api.github.com/users/williamhogman/orgs",
"received_events_url": "https://api.github.com/users/williamhogman/received_events",
"repos_url": "https://api.github.com/users/williamhogman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/williamhogman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/williamhogman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/williamhogman"
} | [
{
"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": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 5 | 2015-03-22T20:52:39Z | 2015-03-26T10:43:40Z | 2015-03-26T09:49:51Z | CONTRIBUTOR | null | This closes #9688 by making years and quarters separable by dashes.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9701/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9701/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/9701.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/9701",
"merged_at": "2015-03-26T09:49:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/9701.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9701"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.