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/8702 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8702/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8702/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8702/events | https://github.com/pandas-dev/pandas/pull/8702 | 47,513,259 | MDExOlB1bGxSZXF1ZXN0MjM3MjI0Nzc= | 8,702 | BUG: setitem fails on mixed-type Panel4D | {
"avatar_url": "https://avatars.githubusercontent.com/u/7545449?v=4",
"events_url": "https://api.github.com/users/stahlous/events{/privacy}",
"followers_url": "https://api.github.com/users/stahlous/followers",
"following_url": "https://api.github.com/users/stahlous/following{/other_user}",
"gists_url": "https://api.github.com/users/stahlous/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/stahlous",
"id": 7545449,
"login": "stahlous",
"node_id": "MDQ6VXNlcjc1NDU0NDk=",
"organizations_url": "https://api.github.com/users/stahlous/orgs",
"received_events_url": "https://api.github.com/users/stahlous/received_events",
"repos_url": "https://api.github.com/users/stahlous/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/stahlous/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stahlous/subscriptions",
"type": "User",
"url": "https://api.github.com/users/stahlous"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
]
| closed | false | null | []
| {
"closed_at": "2014-11-09T12:33:59Z",
"closed_issues": 86,
"created_at": "2014-10-30T11:12:13Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.0 of course",
"due_on": "2014-11-09T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/31",
"id": 846460,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels",
"node_id": "MDk6TWlsZXN0b25lODQ2NDYw",
"number": 31,
"open_issues": 0,
"state": "closed",
"title": "0.15.1",
"updated_at": "2014-11-09T12:33:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31"
} | 6 | 2014-11-01T18:38:12Z | 2014-11-02T15:37:28Z | 2014-11-02T14:09:38Z | CONTRIBUTOR | null | Trying to set a value on a mixed-type Panel4D currently fails:
```
In [1]: from pandas.util import testing as tmd
In [2]: p4d = tmd.makePanel4D()
In [3]: p4d['foo'] = 'bar'
In [4]: p4d.iloc[0,0,0,0] = 0
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-4-bb74b95f7244> in <module>()
----> 1 p4d.iloc[0,0,0,0] = 0
/home/stahlous/pd_dev/pandas/pandas/core/indexing.py in __setitem__(self, key, value)
119 indexer = self._convert_to_indexer(key, is_setter=True)
120
--> 121 self._setitem_with_indexer(indexer, value)
122
123 def _has_valid_type(self, k, axis):
/home/stahlous/pd_dev/pandas/pandas/core/indexing.py in _setitem_with_indexer(self, indexer, value)
356 # indexer here
357 if (len(labels) == 1 and
--> 358 isinstance(self.obj[labels[0]].index, MultiIndex)):
359 item = labels[0]
360 obj = self.obj[item]
/home/stahlous/pd_dev/pandas/pandas/core/generic.py in __getattr__(self, name)
1927 """
1928 if name in self._internal_names_set:
-> 1929 return object.__getattribute__(self, name)
1930 elif name in self._metadata:
1931 return object.__getattribute__(self, name)
AttributeError: 'Panel' object has no attribute 'index'
```
Fortunately, it looks like a simple fix. If this looks OK. I'll add a note to `v0.15.1.txt` (doesn't have a GH issue number yet).
This fix is needed for my latest attempt at the fillna bug #8395.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8702/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8702/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8702.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8702",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8702.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8702"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8703 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8703/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8703/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8703/events | https://github.com/pandas-dev/pandas/issues/8703 | 47,514,338 | MDU6SXNzdWU0NzUxNDMzOA== | 8,703 | DOC/ENH: read_csv dialect parameters should accept string | {
"avatar_url": "https://avatars.githubusercontent.com/u/494248?v=4",
"events_url": "https://api.github.com/users/thrasibule/events{/privacy}",
"followers_url": "https://api.github.com/users/thrasibule/followers",
"following_url": "https://api.github.com/users/thrasibule/following{/other_user}",
"gists_url": "https://api.github.com/users/thrasibule/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/thrasibule",
"id": 494248,
"login": "thrasibule",
"node_id": "MDQ6VXNlcjQ5NDI0OA==",
"organizations_url": "https://api.github.com/users/thrasibule/orgs",
"received_events_url": "https://api.github.com/users/thrasibule/received_events",
"repos_url": "https://api.github.com/users/thrasibule/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/thrasibule/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thrasibule/subscriptions",
"type": "User",
"url": "https://api.github.com/users/thrasibule"
} | [
{
"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": "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": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2014-11-09T12:33:59Z",
"closed_issues": 86,
"created_at": "2014-10-30T11:12:13Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.0 of course",
"due_on": "2014-11-09T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/31",
"id": 846460,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels",
"node_id": "MDk6TWlsZXN0b25lODQ2NDYw",
"number": 31,
"open_issues": 0,
"state": "closed",
"title": "0.15.1",
"updated_at": "2014-11-09T12:33:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31"
} | 2 | 2014-11-01T19:20:29Z | 2014-11-05T21:18:58Z | 2014-11-05T21:18:58Z | CONTRIBUTOR | null | According to the doc of read_sql, dialect can be string or a csv.Dialect instance.
However this is not the case. If you look at the code, it can only really take a csv.Dialect instance. i.e. this doesn't work:
``` python
fh = io.StringIO(u"pomme\tpoire\n1\t\2")
pd.read_csv(fh, dialect='excel-tab')
```
but, this works:
``` python
fh = io.StringIO(u"pomme\tpoire\n1\t\2")
pd.read_csv(fh, dialect=csv.get_dialect('excel-tab'))
```
I would expect it to be able to take any string returned by the csv.list_dialects() function, similar to the way csv.reader works. So we can either remove the mention of string from the doc, or make it work as intended by checking if the dialect string is part of csv.list_dialects(). Let me know if this makes sense and I'll submit a PR.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8703/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8703/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8704 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8704/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8704/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8704/events | https://github.com/pandas-dev/pandas/issues/8704 | 47,516,952 | MDU6SXNzdWU0NzUxNjk1Mg== | 8,704 | BUG: reshape of categorical via unstack/to_panel | {
"avatar_url": "https://avatars.githubusercontent.com/u/2219562?v=4",
"events_url": "https://api.github.com/users/davidrpugh/events{/privacy}",
"followers_url": "https://api.github.com/users/davidrpugh/followers",
"following_url": "https://api.github.com/users/davidrpugh/following{/other_user}",
"gists_url": "https://api.github.com/users/davidrpugh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidrpugh",
"id": 2219562,
"login": "davidrpugh",
"node_id": "MDQ6VXNlcjIyMTk1NjI=",
"organizations_url": "https://api.github.com/users/davidrpugh/orgs",
"received_events_url": "https://api.github.com/users/davidrpugh/received_events",
"repos_url": "https://api.github.com/users/davidrpugh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidrpugh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidrpugh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidrpugh"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": "2014-11-09T12:33:59Z",
"closed_issues": 86,
"created_at": "2014-10-30T11:12:13Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.0 of course",
"due_on": "2014-11-09T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/31",
"id": 846460,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels",
"node_id": "MDk6TWlsZXN0b25lODQ2NDYw",
"number": 31,
"open_issues": 0,
"state": "closed",
"title": "0.15.1",
"updated_at": "2014-11-09T12:33:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31"
} | 7 | 2014-11-01T21:01:31Z | 2014-11-02T21:51:43Z | 2014-11-02T21:51:43Z | NONE | null | I have a hierarchical `pandas.DataFrame` that looks as follows...
```
In [12]: data.tail()
Out[12]:
country currency_unit rgdpe \
countrycode year
ZWE 2007-01-01 Zimbabwe Zimbabwe Dollar 45666.082031
2008-01-01 Zimbabwe Zimbabwe Dollar 35789.878906
2009-01-01 Zimbabwe Zimbabwe Dollar 49294.878906
2010-01-01 Zimbabwe Zimbabwe Dollar 51259.152344
2011-01-01 Zimbabwe Zimbabwe Dollar 55453.312500
```
I would like to turn `data` into a `pandas.Panel` object. Previously I would do this using the `to_panel` method without issue. However, after upgrading to Pandas 0.15, this approach no longer works...
```
In [13]: data.to_panel()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-13-dfa9fb7a4e83> in <module>()
----> 1 data.to_panel()
/Users/drpugh/anaconda/lib/python2.7/site-packages/pandas/core/frame.pyc in to_panel(self)
1061 placement=block.mgr_locs, shape=shape,
1062 labels=[major_labels, minor_labels],
-> 1063 ref_items=selfsorted.columns)
1064 new_blocks.append(newb)
1065
/Users/drpugh/anaconda/lib/python2.7/site-packages/pandas/core/reshape.pyc in block2d_to_blocknd(values, placement, shape, labels, ref_items)
1206
1207 if mask.all():
-> 1208 pvalues = np.empty(panel_shape, dtype=values.dtype)
1209 else:
1210 dtype, fill_value = _maybe_promote(values.dtype)
TypeError: data type not understood
```
Has there been an API change? I could not find anything in the release notes to suggest that the above would no longer work.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8704/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8704/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8705 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8705/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8705/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8705/events | https://github.com/pandas-dev/pandas/pull/8705 | 47,524,531 | MDExOlB1bGxSZXF1ZXN0MjM3MjY5OTY= | 8,705 | ENH/BUG: support Categorical in to_panel reshaping (GH8704) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": "2014-11-09T12:33:59Z",
"closed_issues": 86,
"created_at": "2014-10-30T11:12:13Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.0 of course",
"due_on": "2014-11-09T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/31",
"id": 846460,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels",
"node_id": "MDk6TWlsZXN0b25lODQ2NDYw",
"number": 31,
"open_issues": 0,
"state": "closed",
"title": "0.15.1",
"updated_at": "2014-11-09T12:33:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31"
} | 9 | 2014-11-02T02:13:15Z | 2014-11-02T21:51:43Z | 2014-11-02T21:51:43Z | CONTRIBUTOR | null | CLN: move block2d_to_blocknd support code to core/internal.py
TST/BUG: support Categorical reshaping via .unstack
closes #8704
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8705/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8705/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8705.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8705",
"merged_at": "2014-11-02T21:51:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8705.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8705"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8706 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8706/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8706/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8706/events | https://github.com/pandas-dev/pandas/pull/8706 | 47,530,170 | MDExOlB1bGxSZXF1ZXN0MjM3MjkxOTM= | 8,706 | BUG: fix reverse comparison operations for Categorical | {
"avatar_url": "https://avatars.githubusercontent.com/u/579798?v=4",
"events_url": "https://api.github.com/users/immerrr/events{/privacy}",
"followers_url": "https://api.github.com/users/immerrr/followers",
"following_url": "https://api.github.com/users/immerrr/following{/other_user}",
"gists_url": "https://api.github.com/users/immerrr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/immerrr",
"id": 579798,
"login": "immerrr",
"node_id": "MDQ6VXNlcjU3OTc5OA==",
"organizations_url": "https://api.github.com/users/immerrr/orgs",
"received_events_url": "https://api.github.com/users/immerrr/received_events",
"repos_url": "https://api.github.com/users/immerrr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/immerrr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/immerrr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/immerrr"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": "2014-11-09T12:33:59Z",
"closed_issues": 86,
"created_at": "2014-10-30T11:12:13Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.0 of course",
"due_on": "2014-11-09T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/31",
"id": 846460,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels",
"node_id": "MDk6TWlsZXN0b25lODQ2NDYw",
"number": 31,
"open_issues": 0,
"state": "closed",
"title": "0.15.1",
"updated_at": "2014-11-09T12:33:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31"
} | 9 | 2014-11-02T07:59:54Z | 2014-11-02T21:37:50Z | 2014-11-02T19:15:27Z | CONTRIBUTOR | null | This PR fixes #8658 and also adds `pd.lib.unbox_if_zerodim` that extracts values from zerodim arrays and adds detection of `pd.Period`, `datetime.date` and `datetime.time` in pd.lib.isscalar.
I tried making `unbox_if_zerodim` usage more implicit but there's just too much to test when this is introduced (think every method that accepts a scalar must have another test to check it also accepts zerodim array). Definitely too much to add for a single PR, but overall zerodim support could be added later on class-by-class basis.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8706/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8706/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8706.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8706",
"merged_at": "2014-11-02T19:15:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8706.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8706"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8707 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8707/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8707/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8707/events | https://github.com/pandas-dev/pandas/pull/8707 | 47,530,291 | MDExOlB1bGxSZXF1ZXN0MjM3MjkyMzU= | 8,707 | WIP/API/ENH: IntervalIndex | {
"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": "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": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "009800",
"default": false,
"description": "Interval data type",
"id": 150096370,
"name": "Interval",
"node_id": "MDU6TGFiZWwxNTAwOTYzNzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval"
}
]
| closed | false | null | []
| null | 79 | 2014-11-02T09:08:13Z | 2017-02-05T00:50:03Z | 2016-09-09T22:48:05Z | MEMBER | null | closes #7640
closes #8625
This is a work in progress, but it's far enough along that I'd love to get
some feedback.
TODOs (more called out in the code):
- [ ] documentation
- [x] docstrings
- [x] implement an IntervalTree under the hood to handle index methods
- [x] index methods handle point queries properly:
- [x] `get_loc`
- [x] `get_indexer`
- [x] `slice_locs`
- [x] index methods handle interval queries properly
- [x] `get_loc`
- [x] `get_indexer` (for non-overlapping monotonic indexes)
- [x] comparison operations (should be lexicographic)
- [x] ensure `is_monotonic` always works (also lexicographic)
- [x] ensure `order` works
- [x] cast arrays of intervals when input to `pd.Index`
- [x] cythonize the bottlenecks:
- [x] `values`
- [x] `from_intervals`?
- [x] `Interval`?
- [ ] `from_tuples`?
- [ ] `Categorical`/`cut`
- [ ] nice to haves (not essential for MVP)
- [ ] `get_indexer` in full generality (for randomly ordered indexes)
- [ ] support for arithmetic operations
- [ ] `MultiIndex` -- should at least give a sane error messages
- [ ] serialization (HDF5) -- should at least raise `NotImplementedError`
- [ ] consider creating `interval_range` -- like `period_range`
- [ ] add `to_interval` for casting strings (e.g., `to_interval('(0, 1]')`)
- [ ] release the GIL in IntervalTree queries
- [ ] loads more tests:
- [x] `Series.loc.__getitem__`
- [ ] `Series.loc.__setitem__`
- [ ] indexing a dataframe
- [ ] groupby
- [x] reset_index
- [x] add tests in test_index for the subcommon API
CC @jreback @cpcloud @immerrr
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8707/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8707/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8707.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8707",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8707.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8707"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8708 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8708/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8708/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8708/events | https://github.com/pandas-dev/pandas/issues/8708 | 47,531,696 | MDU6SXNzdWU0NzUzMTY5Ng== | 8,708 | ENH: replace uses of np.isscalar with pd.lib.isscalar | {
"avatar_url": "https://avatars.githubusercontent.com/u/579798?v=4",
"events_url": "https://api.github.com/users/immerrr/events{/privacy}",
"followers_url": "https://api.github.com/users/immerrr/followers",
"following_url": "https://api.github.com/users/immerrr/following{/other_user}",
"gists_url": "https://api.github.com/users/immerrr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/immerrr",
"id": 579798,
"login": "immerrr",
"node_id": "MDQ6VXNlcjU3OTc5OA==",
"organizations_url": "https://api.github.com/users/immerrr/orgs",
"received_events_url": "https://api.github.com/users/immerrr/received_events",
"repos_url": "https://api.github.com/users/immerrr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/immerrr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/immerrr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/immerrr"
} | [
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 2 | 2014-11-02T09:42:50Z | 2016-02-27T14:41:27Z | 2016-02-27T14:41:27Z | CONTRIBUTOR | null | `np.isscalar` doesn't detect a lot of types that are scalar from pandas point of view, such as dates, times, `None`, `pd.Period`, so `pd.lib.isscalar` should be preferred instead.
Adding the issue as requested in #8706.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8708/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8708/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8709 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8709/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8709/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8709/events | https://github.com/pandas-dev/pandas/issues/8709 | 47,536,333 | MDU6SXNzdWU0NzUzNjMzMw== | 8,709 | API/COMPAT: support CategoricalBlock consolidation / 2-d Categorical | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "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": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 2 | 2014-11-02T13:19:53Z | 2018-07-08T14:33:47Z | 2018-07-06T22:02:35Z | CONTRIBUTOR | null | mentioned in #8705
need to be able to combine like categorical (e.g. ordered,categories are ==)
into a 2-d structure so can store in a single CategoricalBlock
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8709/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8709/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8710 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8710/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8710/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8710/events | https://github.com/pandas-dev/pandas/issues/8710 | 47,536,470 | MDU6SXNzdWU0NzUzNjQ3MA== | 8,710 | Pandas Panel doesn't support getting DataFrame or (sub) Panel using a list of index | {
"avatar_url": "https://avatars.githubusercontent.com/u/5049737?v=4",
"events_url": "https://api.github.com/users/femtotrader/events{/privacy}",
"followers_url": "https://api.github.com/users/femtotrader/followers",
"following_url": "https://api.github.com/users/femtotrader/following{/other_user}",
"gists_url": "https://api.github.com/users/femtotrader/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/femtotrader",
"id": 5049737,
"login": "femtotrader",
"node_id": "MDQ6VXNlcjUwNDk3Mzc=",
"organizations_url": "https://api.github.com/users/femtotrader/orgs",
"received_events_url": "https://api.github.com/users/femtotrader/received_events",
"repos_url": "https://api.github.com/users/femtotrader/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/femtotrader/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/femtotrader/subscriptions",
"type": "User",
"url": "https://api.github.com/users/femtotrader"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
]
| closed | false | null | []
| {
"closed_at": "2014-11-09T12:33:59Z",
"closed_issues": 86,
"created_at": "2014-10-30T11:12:13Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.0 of course",
"due_on": "2014-11-09T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/31",
"id": 846460,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels",
"node_id": "MDk6TWlsZXN0b25lODQ2NDYw",
"number": 31,
"open_issues": 0,
"state": "closed",
"title": "0.15.1",
"updated_at": "2014-11-09T12:33:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31"
} | 3 | 2014-11-02T13:27:10Z | 2014-11-02T21:28:33Z | 2014-11-02T21:28:33Z | NONE | null | Hello,
when I try to get a DataFrame (or sub Panel) from a Panel using index as list it raises the following error:
```
TypeError: unhashable type: 'list'
```
See the code
```
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import pandas as pd
import pandas.io.data as web
start = "2010-01-01"
end = "2010-01-30"
df = web.DataReader("AAPL", 'yahoo', start, end)
print("DF 1")
data = df[['Open', 'Close']] # returns pandas.core.frame.DataFrame
print(data)
print(type(data))
print("DF 2")
data = df['Open'] # returns pandas.core.series.Series
print(data)
print(type(data))
print("DF 3")
data = df[['Open']] # returns pandas.core.frame.DataFrame
print(data)
print(type(data))
panel = web.DataReader(["AAPL", "GOOGL"], 'yahoo', start, end)
#Items axis: Open to Adj Close
#Major_axis axis: 2010-01-04 00:00:00 to 2010-01-29 00:00:00
#Minor_axis axis: AAPL to GOOGL
panel = panel.transpose(2, 1, 0) # symbol is panel index
#Items axis: AAPL to GOOGL
#Major_axis axis: 2010-01-04 00:00:00 to 2010-01-29 00:00:00
#Minor_axis axis: Open to Adj Close
print(panel)
print("P 1")
data = panel["AAPL"] # returns pandas.core.frame.DataFrame
print(data)
print(type(data))
print("P 2")
#data = panel[["AAPL"]] # Error: Should return a DataFrame but raises TypeError: unhashable type: 'list'
#print(data)
#print(type(data))
print("P 3")
#data = panel[["AAPL", "GOOGL"]] # Error: Should return a "sub" Panel but raises TypeError: unhashable type: 'list'
#print(data)
#print(type(data))
```
But that can be a misunderstanding on my side.
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/8710/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8710/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8711 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8711/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8711/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8711/events | https://github.com/pandas-dev/pandas/issues/8711 | 47,538,944 | MDU6SXNzdWU0NzUzODk0NA== | 8,711 | ENH/BUG: support TimedeltaIndex plotting | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"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": "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"
} | 31 | 2014-11-02T15:03:00Z | 2017-02-22T18:38:09Z | 2017-02-22T16:06:33Z | CONTRIBUTOR | null | This raises
```
s = Series(range(5),pd.timedelta_range('1day',periods=5))
s.plot()
```
This will show the timedeltas with a formatted (albeit string index)
```
s.index = s.index.format()
s.plot()
```
wonder if we can just register a converter somehow? like #8614
| {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8711/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8711/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8712 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8712/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8712/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8712/events | https://github.com/pandas-dev/pandas/issues/8712 | 47,539,026 | MDU6SXNzdWU0NzUzOTAyNg== | 8,712 | ENH: support Categorical hist plotting | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 3 | 2014-11-02T15:06:20Z | 2021-04-11T05:23:25Z | null | CONTRIBUTOR | null | ```
s = Series(list('abbc')).astype('category')
```
This raises
```
s.hist()
```
This works
```
s.value_counts().plot()
```
I think this should work, beyond this, anyone have ideas on what/how to plot categorical data?
cc @JanSchulz
cc @TomAugspurger
cc @jorisvandenbossche
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8712/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8712/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8713 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8713/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8713/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8713/events | https://github.com/pandas-dev/pandas/issues/8713 | 47,542,583 | MDU6SXNzdWU0NzU0MjU4Mw== | 8,713 | DataReader should cache queries. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5049737?v=4",
"events_url": "https://api.github.com/users/femtotrader/events{/privacy}",
"followers_url": "https://api.github.com/users/femtotrader/followers",
"following_url": "https://api.github.com/users/femtotrader/following{/other_user}",
"gists_url": "https://api.github.com/users/femtotrader/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/femtotrader",
"id": 5049737,
"login": "femtotrader",
"node_id": "MDQ6VXNlcjUwNDk3Mzc=",
"organizations_url": "https://api.github.com/users/femtotrader/orgs",
"received_events_url": "https://api.github.com/users/femtotrader/received_events",
"repos_url": "https://api.github.com/users/femtotrader/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/femtotrader/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/femtotrader/subscriptions",
"type": "User",
"url": "https://api.github.com/users/femtotrader"
} | []
| 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"
} | 8 | 2014-11-02T17:29:02Z | 2016-07-21T15:41:53Z | 2015-11-28T21:12:40Z | NONE | null | Hello,
each request using `pandas.io.data.DataReader` ends by a server request.
That's not reasonable.
Maybe a cache for DataReader should be considered.
Kind regards
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8713/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8713/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8714 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8714/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8714/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8714/events | https://github.com/pandas-dev/pandas/pull/8714 | 47,544,573 | MDExOlB1bGxSZXF1ZXN0MjM3MzQ3MjA= | 8,714 | BUG: concat of series of dtype category converting to object dtype (GH8641) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 22 | 2014-11-02T18:43:39Z | 2014-11-09T22:10:39Z | 2014-11-09T22:10:39Z | CONTRIBUTOR | null | closes #8641
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8714/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8714/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8714.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8714",
"merged_at": "2014-11-09T22:10:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8714.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8714"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8715 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8715/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8715/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8715/events | https://github.com/pandas-dev/pandas/pull/8715 | 47,545,946 | MDExOlB1bGxSZXF1ZXN0MjM3MzUyMzc= | 8,715 | BUG: Bug in Panel indexing with a list-like (GH8710) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
]
| closed | false | null | []
| {
"closed_at": "2014-11-09T12:33:59Z",
"closed_issues": 86,
"created_at": "2014-10-30T11:12:13Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.0 of course",
"due_on": "2014-11-09T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/31",
"id": 846460,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels",
"node_id": "MDk6TWlsZXN0b25lODQ2NDYw",
"number": 31,
"open_issues": 0,
"state": "closed",
"title": "0.15.1",
"updated_at": "2014-11-09T12:33:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31"
} | 0 | 2014-11-02T19:30:43Z | 2014-11-02T21:28:33Z | 2014-11-02T21:28:33Z | CONTRIBUTOR | null | closes #8710
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8715/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8715/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8715.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8715",
"merged_at": "2014-11-02T21:28:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8715.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8715"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8716 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8716/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8716/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8716/events | https://github.com/pandas-dev/pandas/issues/8716 | 47,549,910 | MDU6SXNzdWU0NzU0OTkxMA== | 8,716 | BUG: label-based slices don't support negative step | {
"avatar_url": "https://avatars.githubusercontent.com/u/579798?v=4",
"events_url": "https://api.github.com/users/immerrr/events{/privacy}",
"followers_url": "https://api.github.com/users/immerrr/followers",
"following_url": "https://api.github.com/users/immerrr/following{/other_user}",
"gists_url": "https://api.github.com/users/immerrr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/immerrr",
"id": 579798,
"login": "immerrr",
"node_id": "MDQ6VXNlcjU3OTc5OA==",
"organizations_url": "https://api.github.com/users/immerrr/orgs",
"received_events_url": "https://api.github.com/users/immerrr/received_events",
"repos_url": "https://api.github.com/users/immerrr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/immerrr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/immerrr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/immerrr"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 0 | 2014-11-02T21:43:14Z | 2014-11-19T22:05:10Z | 2014-11-19T22:05:10Z | CONTRIBUTOR | null | Something feels wrong about this:
``` python
In [35]: s = pd.Series(np.arange(6), index=list('abcdef'))
In [36]: s
Out[36]:
a 0
b 1
c 2
d 3
e 4
f 5
dtype: int64
In [37]: s.loc['e'::-1]
Out[37]: Series([], dtype: int64)
In [38]: s.iloc[4::-1]
Out[38]:
e 4
d 3
c 2
b 1
a 0
dtype: int64
In [39]: s['e'::-1]
Out[39]: Series([], dtype: int64)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8716/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8716/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8717 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8717/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8717/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8717/events | https://github.com/pandas-dev/pandas/issues/8717 | 47,550,069 | MDU6SXNzdWU0NzU1MDA2OQ== | 8,717 | API/ENH: idxmax groupby API | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
]
| 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"
} | 4 | 2014-11-02T21:48:09Z | 2021-04-11T05:23:45Z | null | CONTRIBUTOR | null | from [SO](http://stackoverflow.com/questions/26701849/pandas-groupby-and-finding-maximum-in-groups-returning-value-and-count)
Thinking that this is a nice general idiom that might deserve a function:
`df.loc[df.groupby(level='host').idxmax()['no']]`
maybe:
a) `df.groupby(level='host').idxmax(loc='no')` ? (e.g. have the idxmin/idxmin) functions take a 'loc' argument. or is this bending the api a big much?
b) `df.groupby(level='host').loc('no').idxmax()`
c) `df.groupby(level='hist').loc[lambda x: x.idxmax()['no']]`
d) `df.groupby(level='hist').loc('no','idxmax')`
```
df_logfile = pd.DataFrame({
'host' : ['this.com', 'this.com', 'this.com', 'that.com', 'other.net',
'other.net', 'other.net'],
'service' : ['mail', 'mail', 'web', 'mail', 'mail', 'web', 'web' ] })
df = df_logfile.groupby(['host','service'])['service'].agg({'no':'count'})
mask = df.groupby(level=0).agg('idxmax')
df_count = df.loc[mask['no']]
df_count = df_count.reset_index()
# yields
host service no
0 other.net web 2
1 that.com mail 1
2 this.com mail 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/8717/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8717/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8718 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8718/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8718/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8718/events | https://github.com/pandas-dev/pandas/pull/8718 | 47,554,471 | MDExOlB1bGxSZXF1ZXN0MjM3Mzg4MTc= | 8,718 | ENH: read_csv dialect parameter can take a string (GH8703) | {
"avatar_url": "https://avatars.githubusercontent.com/u/494248?v=4",
"events_url": "https://api.github.com/users/thrasibule/events{/privacy}",
"followers_url": "https://api.github.com/users/thrasibule/followers",
"following_url": "https://api.github.com/users/thrasibule/following{/other_user}",
"gists_url": "https://api.github.com/users/thrasibule/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/thrasibule",
"id": 494248,
"login": "thrasibule",
"node_id": "MDQ6VXNlcjQ5NDI0OA==",
"organizations_url": "https://api.github.com/users/thrasibule/orgs",
"received_events_url": "https://api.github.com/users/thrasibule/received_events",
"repos_url": "https://api.github.com/users/thrasibule/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/thrasibule/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thrasibule/subscriptions",
"type": "User",
"url": "https://api.github.com/users/thrasibule"
} | []
| closed | false | null | []
| null | 2 | 2014-11-03T00:11:19Z | 2014-11-03T08:21:13Z | 2014-11-03T00:14:55Z | CONTRIBUTOR | null | closes #8703
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8718/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8718/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8718.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8718",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8718.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8718"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8719 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8719/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8719/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8719/events | https://github.com/pandas-dev/pandas/pull/8719 | 47,560,420 | MDExOlB1bGxSZXF1ZXN0MjM3NDE2NzE= | 8,719 | ENH: read_csv dialect parameter can take a string (GH8703) | {
"avatar_url": "https://avatars.githubusercontent.com/u/494248?v=4",
"events_url": "https://api.github.com/users/thrasibule/events{/privacy}",
"followers_url": "https://api.github.com/users/thrasibule/followers",
"following_url": "https://api.github.com/users/thrasibule/following{/other_user}",
"gists_url": "https://api.github.com/users/thrasibule/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/thrasibule",
"id": 494248,
"login": "thrasibule",
"node_id": "MDQ6VXNlcjQ5NDI0OA==",
"organizations_url": "https://api.github.com/users/thrasibule/orgs",
"received_events_url": "https://api.github.com/users/thrasibule/received_events",
"repos_url": "https://api.github.com/users/thrasibule/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/thrasibule/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thrasibule/subscriptions",
"type": "User",
"url": "https://api.github.com/users/thrasibule"
} | [
{
"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": "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": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2014-11-09T12:33:59Z",
"closed_issues": 86,
"created_at": "2014-10-30T11:12:13Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.0 of course",
"due_on": "2014-11-09T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/31",
"id": 846460,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels",
"node_id": "MDk6TWlsZXN0b25lODQ2NDYw",
"number": 31,
"open_issues": 0,
"state": "closed",
"title": "0.15.1",
"updated_at": "2014-11-09T12:33:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31"
} | 3 | 2014-11-03T03:26:28Z | 2014-11-05T21:18:37Z | 2014-11-05T21:18:37Z | CONTRIBUTOR | null | Closes #8703
I wasn't sure where to put the test, hopefully this is right.
Follow-up of #8718
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8719/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8719/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8719.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8719",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8719.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8719"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8720 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8720/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8720/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8720/events | https://github.com/pandas-dev/pandas/issues/8720 | 47,589,218 | MDU6SXNzdWU0NzU4OTIxOA== | 8,720 | BUG/ERR: adding column with float label to Int64Index gives ValueError | {
"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": "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 | 2014-11-03T12:36:48Z | 2019-12-31T15:04:45Z | 2019-12-31T15:04:45Z | MEMBER | null | When adding a column with a float label to a DataFame with integer column index, you get a `ValueError: cannot insert 0.5, already exists` error with an incorrect message:
```
In [15]: df = pd.DataFrame(np.random.randn(8,4))
In [16]: df
Out[16]:
0 1 2 3
0 -0.482266 -1.239583 -1.177658 1.676881
1 0.314620 -0.373801 -1.535093 0.829534
2 0.887573 -0.054425 0.313028 0.590081
3 -0.665164 -0.887124 0.720014 -0.361315
4 -0.082880 -0.435376 -0.124390 -0.883354
5 2.122313 0.155019 0.762171 -0.401316
6 1.368269 0.469080 -0.274609 -1.799257
7 -0.631479 0.302715 0.008982 -0.356644
In [17]: df[0.5] = np.NaN
...
ValueError: cannot insert 0.5, already exists
In [18]: df.loc[:,0.5] = np.NaN
...
TypeError: the label [0.5] is not a proper indexer for this index type (Int64Index)
```
Of course, when the column labels are converted to floats (`df.columns = pd.Float64Index(df.columns)`), this does work.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8720/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8720/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8721 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8721/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8721/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8721/events | https://github.com/pandas-dev/pandas/pull/8721 | 47,604,681 | MDExOlB1bGxSZXF1ZXN0MjM3NjYzNzE= | 8,721 | ERR: leftover from renaming outtype to orient in to_dict | {
"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": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
]
| closed | false | null | []
| {
"closed_at": "2014-11-09T12:33:59Z",
"closed_issues": 86,
"created_at": "2014-10-30T11:12:13Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.0 of course",
"due_on": "2014-11-09T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/31",
"id": 846460,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels",
"node_id": "MDk6TWlsZXN0b25lODQ2NDYw",
"number": 31,
"open_issues": 0,
"state": "closed",
"title": "0.15.1",
"updated_at": "2014-11-09T12:33:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31"
} | 0 | 2014-11-03T15:19:36Z | 2014-11-04T09:35:42Z | 2014-11-04T09:35:27Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8721/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8721/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8721.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8721",
"merged_at": "2014-11-04T09:35:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8721.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8721"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/8722 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8722/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8722/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8722/events | https://github.com/pandas-dev/pandas/issues/8722 | 47,606,031 | MDU6SXNzdWU0NzYwNjAzMQ== | 8,722 | Warning/Exception when querying dtype with use_inf_as_null | {
"avatar_url": "https://avatars.githubusercontent.com/u/379413?v=4",
"events_url": "https://api.github.com/users/wcbeard/events{/privacy}",
"followers_url": "https://api.github.com/users/wcbeard/followers",
"following_url": "https://api.github.com/users/wcbeard/following{/other_user}",
"gists_url": "https://api.github.com/users/wcbeard/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wcbeard",
"id": 379413,
"login": "wcbeard",
"node_id": "MDQ6VXNlcjM3OTQxMw==",
"organizations_url": "https://api.github.com/users/wcbeard/orgs",
"received_events_url": "https://api.github.com/users/wcbeard/received_events",
"repos_url": "https://api.github.com/users/wcbeard/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wcbeard/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wcbeard/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wcbeard"
} | [
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2014-11-09T12:33:59Z",
"closed_issues": 86,
"created_at": "2014-10-30T11:12:13Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.0 of course",
"due_on": "2014-11-09T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/31",
"id": 846460,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels",
"node_id": "MDk6TWlsZXN0b25lODQ2NDYw",
"number": 31,
"open_issues": 0,
"state": "closed",
"title": "0.15.1",
"updated_at": "2014-11-09T12:33:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31"
} | 1 | 2014-11-03T15:31:11Z | 2014-11-04T01:04:30Z | 2014-11-04T01:04:30Z | CONTRIBUTOR | null | I see `Exception TypeError: 'data type not understood' in 'util._checknull_old' ignored` in the ipython notebook warning color after turning on `use_inf_as_null`.

The code to reproduce it is
```
import pandas as pd
pd.options.mode.use_inf_as_null = True
pd.DataFrame([[1]]).dtypes
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8722/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8722/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8723 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8723/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8723/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8723/events | https://github.com/pandas-dev/pandas/issues/8723 | 47,616,484 | MDU6SXNzdWU0NzYxNjQ4NA== | 8,723 | Formatting dates & timestamps | {
"avatar_url": "https://avatars.githubusercontent.com/u/1993919?v=4",
"events_url": "https://api.github.com/users/amelio-vazquez-reina/events{/privacy}",
"followers_url": "https://api.github.com/users/amelio-vazquez-reina/followers",
"following_url": "https://api.github.com/users/amelio-vazquez-reina/following{/other_user}",
"gists_url": "https://api.github.com/users/amelio-vazquez-reina/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/amelio-vazquez-reina",
"id": 1993919,
"login": "amelio-vazquez-reina",
"node_id": "MDQ6VXNlcjE5OTM5MTk=",
"organizations_url": "https://api.github.com/users/amelio-vazquez-reina/orgs",
"received_events_url": "https://api.github.com/users/amelio-vazquez-reina/received_events",
"repos_url": "https://api.github.com/users/amelio-vazquez-reina/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/amelio-vazquez-reina/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amelio-vazquez-reina/subscriptions",
"type": "User",
"url": "https://api.github.com/users/amelio-vazquez-reina"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| open | false | null | []
| null | 11 | 2014-11-03T16:54:06Z | 2021-04-11T05:24:21Z | null | CONTRIBUTOR | null | The following:
``` python
import pandas.io.data as web
df = web.DataReader(["AAPL", "MSFT", "EBAY", "AMZN", "CSCO", "GOOG", "YHOO", "AOL", "IBM"], "yahoo", start='2014-10-1').to_frame()['Close']
df.index = df.index.droplevel('minor')
df = df.reset_index()
# > df.head()
# Date Close
#0 2014-10-01 99.18
#1 2014-10-01 317.46
#2 2014-10-01 43.47
#3 2014-10-01 25.03
#4 2014-10-01 55.46
f, ax = plt.subplots(figsize=(10,4))
df.boxplot(by='Date', ax=ax)
ax.xaxis.set_major_locator(matplotlib.dates.WeekdayLocator(byweekday=(0,1,2,3,4,5,6),interval=7))
ax.xaxis.set_major_formatter(matplotlib.dates.DateFormatter('%b\n%d'))
```
results in:

As you can see, the `set_major_locator` and `set_major_formatter` commands failed. This is with 0.15 and the latest `Python 3.4.1 :: Anaconda 2.1.0 (x86_64)`.
Is this a bug? How can I specify a **tick frequency** and **formatting** for timestamps for boxplots **created by Pandas**? Does Pandas have any equivalent commands? Is there any way to massage the indices so that I can still apply `set_major_locator` and `set_major_formatter`?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8723/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8723/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8724 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8724/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8724/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8724/events | https://github.com/pandas-dev/pandas/pull/8724 | 47,632,146 | MDExOlB1bGxSZXF1ZXN0MjM3ODMyNjk= | 8,724 | DOC: Select row with maximum value from each group | {
"avatar_url": "https://avatars.githubusercontent.com/u/443776?v=4",
"events_url": "https://api.github.com/users/unutbu/events{/privacy}",
"followers_url": "https://api.github.com/users/unutbu/followers",
"following_url": "https://api.github.com/users/unutbu/following{/other_user}",
"gists_url": "https://api.github.com/users/unutbu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/unutbu",
"id": 443776,
"login": "unutbu",
"node_id": "MDQ6VXNlcjQ0Mzc3Ng==",
"organizations_url": "https://api.github.com/users/unutbu/orgs",
"received_events_url": "https://api.github.com/users/unutbu/received_events",
"repos_url": "https://api.github.com/users/unutbu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/unutbu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/unutbu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/unutbu"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2014-11-09T12:33:59Z",
"closed_issues": 86,
"created_at": "2014-10-30T11:12:13Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.0 of course",
"due_on": "2014-11-09T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/31",
"id": 846460,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels",
"node_id": "MDk6TWlsZXN0b25lODQ2NDYw",
"number": 31,
"open_issues": 0,
"state": "closed",
"title": "0.15.1",
"updated_at": "2014-11-09T12:33:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31"
} | 2 | 2014-11-03T19:16:17Z | 2014-11-04T01:15:48Z | 2014-11-03T23:20:50Z | CONTRIBUTOR | null | Re: http://stackoverflow.com/q/26701849/190597
Included is a cookbook recipe for finding maximal rows per group.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8724/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8724/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8724.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8724",
"merged_at": "2014-11-03T23:20:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8724.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8724"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8725 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8725/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8725/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8725/events | https://github.com/pandas-dev/pandas/issues/8725 | 47,658,379 | MDU6SXNzdWU0NzY1ODM3OQ== | 8,725 | BUG: dtype compat with get_dummies | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": "2016-10-03T08:52:13Z",
"closed_issues": 733,
"created_at": "2016-03-11T21:24:45Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2016-09-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/40",
"id": 1639795,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels",
"node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==",
"number": 40,
"open_issues": 0,
"state": "closed",
"title": "0.19.0",
"updated_at": "2017-11-06T02:01:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40"
} | 2 | 2014-11-03T23:20:15Z | 2016-09-02T11:31:08Z | 2016-09-02T11:30:54Z | CONTRIBUTOR | null | from [SO](http://stackoverflow.com/questions/26724872/pandas-map-values-of-categorical-variable-to-a-predefined-list-of-dummy-columns)
I think should not coerce to floats but be an int (or a categorical)
```
In [14]: df = pd.DataFrame({'hour': [0, 1, 3, 8, 13, 14], 'val': np.random.randn(6)})
In [15]: df['hour_cat'] = pd.Categorical(df['hour'], categories=range(24))
In [16]: df
Out[16]:
hour val hour_cat
0 0 0.326395 0
1 1 1.179421 1
2 3 -1.043560 3
3 8 0.430482 8
4 13 0.558709 13
5 14 -0.385931 14
In [17]: df.dtypes
Out[17]:
hour int64
val float64
hour_cat category
dtype: object
In [6]: pd.get_dummies(df['hour_cat'])
Out[6]:
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
2 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
3 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
4 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0
5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
In [7]: pd.get_dummies(df['hour_cat']).dtypes
Out[7]:
0 float64
1 float64
2 float64
3 float64
4 float64
5 float64
6 float64
7 float64
8 float64
9 float64
10 float64
11 float64
12 float64
13 float64
14 float64
15 float64
16 float64
17 float64
18 float64
19 float64
20 float64
21 float64
22 float64
23 float64
dtype: object
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8725/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8725/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8726 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8726/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8726/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8726/events | https://github.com/pandas-dev/pandas/pull/8726 | 47,658,521 | MDExOlB1bGxSZXF1ZXN0MjM3OTk5NjY= | 8,726 | COMPAT: Compat issue is DataFrame.dtypes when options.mode.use_inf_as_null is True (GH8722) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "2014-11-09T12:33:59Z",
"closed_issues": 86,
"created_at": "2014-10-30T11:12:13Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.0 of course",
"due_on": "2014-11-09T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/31",
"id": 846460,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels",
"node_id": "MDk6TWlsZXN0b25lODQ2NDYw",
"number": 31,
"open_issues": 0,
"state": "closed",
"title": "0.15.1",
"updated_at": "2014-11-09T12:33:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31"
} | 0 | 2014-11-03T23:21:37Z | 2014-11-04T01:04:30Z | 2014-11-04T01:04:30Z | CONTRIBUTOR | null | closes #8722
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8726/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8726/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8726.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8726",
"merged_at": "2014-11-04T01:04:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8726.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8726"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8727 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8727/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8727/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8727/events | https://github.com/pandas-dev/pandas/issues/8727 | 47,731,634 | MDU6SXNzdWU0NzczMTYzNA== | 8,727 | ENH: Support for multiple comment characters with readers | {
"avatar_url": "https://avatars.githubusercontent.com/u/6731899?v=4",
"events_url": "https://api.github.com/users/ebran/events{/privacy}",
"followers_url": "https://api.github.com/users/ebran/followers",
"following_url": "https://api.github.com/users/ebran/following{/other_user}",
"gists_url": "https://api.github.com/users/ebran/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ebran",
"id": 6731899,
"login": "ebran",
"node_id": "MDQ6VXNlcjY3MzE4OTk=",
"organizations_url": "https://api.github.com/users/ebran/orgs",
"received_events_url": "https://api.github.com/users/ebran/received_events",
"repos_url": "https://api.github.com/users/ebran/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ebran/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ebran/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ebran"
} | [
{
"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 | []
| {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 3 | 2014-11-04T16:19:30Z | 2018-07-06T21:53:45Z | 2018-07-06T21:53:45Z | NONE | null | I would be very pleased if Pandas supported multiple comment characters when reading data from files. According to:
```
import pandas as pd
df = pd.read_table("data.dat", comment=("#","@"), delim_whitespace=True)
```
I don't know if this is requires a minor or major implementation effort?
Best,
Erik
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8727/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8727/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8728 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8728/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8728/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8728/events | https://github.com/pandas-dev/pandas/pull/8728 | 47,733,781 | MDExOlB1bGxSZXF1ZXN0MjM4NDQyODU= | 8,728 | BUG: The 'jobComplete' key may be present but False in the BigQuery query results | {
"avatar_url": "https://avatars.githubusercontent.com/u/50092?v=4",
"events_url": "https://api.github.com/users/aaront/events{/privacy}",
"followers_url": "https://api.github.com/users/aaront/followers",
"following_url": "https://api.github.com/users/aaront/following{/other_user}",
"gists_url": "https://api.github.com/users/aaront/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aaront",
"id": 50092,
"login": "aaront",
"node_id": "MDQ6VXNlcjUwMDky",
"organizations_url": "https://api.github.com/users/aaront/orgs",
"received_events_url": "https://api.github.com/users/aaront/received_events",
"repos_url": "https://api.github.com/users/aaront/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aaront/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aaront/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aaront"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "pandas-gbq compatability",
"id": 57351315,
"name": "IO Google",
"node_id": "MDU6TGFiZWw1NzM1MTMxNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 21 | 2014-11-04T16:35:56Z | 2015-03-06T22:59:19Z | 2015-03-06T22:59:19Z | CONTRIBUTOR | null | xref #9141
Fixes an issue when looking for 'totalRows' on a large dataset that is not finished in between two subsequent checks.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8728/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8728/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8728.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8728",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8728.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8728"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8729 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8729/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8729/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8729/events | https://github.com/pandas-dev/pandas/issues/8729 | 47,759,319 | MDU6SXNzdWU0Nzc1OTMxOQ== | 8,729 | Chunksize not working in pandas.DataFrame.to_sql | {
"avatar_url": "https://avatars.githubusercontent.com/u/9558666?v=4",
"events_url": "https://api.github.com/users/gayathri89/events{/privacy}",
"followers_url": "https://api.github.com/users/gayathri89/followers",
"following_url": "https://api.github.com/users/gayathri89/following{/other_user}",
"gists_url": "https://api.github.com/users/gayathri89/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gayathri89",
"id": 9558666,
"login": "gayathri89",
"node_id": "MDQ6VXNlcjk1NTg2NjY=",
"organizations_url": "https://api.github.com/users/gayathri89/orgs",
"received_events_url": "https://api.github.com/users/gayathri89/received_events",
"repos_url": "https://api.github.com/users/gayathri89/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gayathri89/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gayathri89/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gayathri89"
} | [
{
"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 | []
| null | 23 | 2014-11-04T20:12:39Z | 2015-12-18T21:35:46Z | 2014-11-28T13:17:06Z | NONE | null | I recently updated the panda version to 0.15 from 0.14 . I use the below code, but the chunksize parameter is not working,It doesn't write the records in batches to the Database. I totally have 50,000 records in my DataFrame and it takes long time to execute. Thanks in advance
from sqlalchemy import create_engine
import iopro.pyodbc
engine = create_engine('mssql+pyodbc://147.117.20.144/HRMS_Test')
df.to_sql('test',engine, if_exists='append',index= False, index_label=None, chunksize=100)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8729/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8729/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8730 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8730/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8730/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8730/events | https://github.com/pandas-dev/pandas/issues/8730 | 47,763,967 | MDU6SXNzdWU0Nzc2Mzk2Nw== | 8,730 | Improve clarity around when SettingWithCopyWarning can be ignored (if ever?) | {
"avatar_url": "https://avatars.githubusercontent.com/u/6059365?v=4",
"events_url": "https://api.github.com/users/maxgrenderjones/events{/privacy}",
"followers_url": "https://api.github.com/users/maxgrenderjones/followers",
"following_url": "https://api.github.com/users/maxgrenderjones/following{/other_user}",
"gists_url": "https://api.github.com/users/maxgrenderjones/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/maxgrenderjones",
"id": 6059365,
"login": "maxgrenderjones",
"node_id": "MDQ6VXNlcjYwNTkzNjU=",
"organizations_url": "https://api.github.com/users/maxgrenderjones/orgs",
"received_events_url": "https://api.github.com/users/maxgrenderjones/received_events",
"repos_url": "https://api.github.com/users/maxgrenderjones/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/maxgrenderjones/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/maxgrenderjones/subscriptions",
"type": "User",
"url": "https://api.github.com/users/maxgrenderjones"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "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": "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"
} | 14 | 2014-11-04T20:55:20Z | 2015-03-31T22:39:59Z | 2015-03-15T19:52:37Z | CONTRIBUTOR | null | I [Edit: thought I got] a `SettingWarningCopyWarning` when running the following code:
``` python
frame[columnone][frame[columntwo]>x]=y
```
The docs seem to imply that I can safely ignore this error.
``` python
# passed via reference (will stay)
In [273]: dfb['c'][dfb.a.str.startswith('o')] = 42
```
Is it therefore generally true that I can always ignore errors when the command I'm running is of the form:
``` python
frame[columnames][booleanconditiononframe]=x
```
I use this all the time, and I _think_ it always works. If that's true, it would be great if it was specifically called out in a 'you can ignore this warning when...' section. If that's not true (e.g. it works for scalar x / numeric x but not for series x), it would be great if that were called out too.
Sorry if this seems trivial, but I'm trying to explain this to a colleague who's new to pandas and he's confused, and it looks like even old hands can be confused when confronted with this warning (see #6757).
[Edit: looking at his code again, I suspect the SettingWithCopy warning was from a different line of code - (I wish warnings made it clear where they were from). All the same, it would still be great if the docs could be clear if there are circumstances where you always get a reference rather than a copy]
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8730/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8730/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8731 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8731/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8731/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8731/events | https://github.com/pandas-dev/pandas/issues/8731 | 47,771,172 | MDU6SXNzdWU0Nzc3MTE3Mg== | 8,731 | BUG: incorrectly output index ordering with an ordered Categorical and pivot | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "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": "2016-10-03T08:52:13Z",
"closed_issues": 733,
"created_at": "2016-03-11T21:24:45Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2016-09-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/40",
"id": 1639795,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels",
"node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==",
"number": 40,
"open_issues": 0,
"state": "closed",
"title": "0.19.0",
"updated_at": "2017-11-06T02:01:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40"
} | 0 | 2014-11-04T21:54:40Z | 2016-12-06T21:34:25Z | 2016-12-06T19:10:40Z | CONTRIBUTOR | null | xref #8860, soln might be the same
from [SO](http://stackoverflow.com/questions/26741204/pandas-pivot-table-alphabetically-sorts-categorical-data-incorrectly-when-addi)
```
In [32]: df = DataFrame({'Sales' : [100,120,220], 'Month' : ['January','January','January'], 'Year' : [2013,2014,2013]})
In [33]: df
Out[33]:
Month Sales Year
0 January 100 2013
1 January 120 2014
2 January 220 2013
In [34]: df['Month'] = df['Month'].astype('category').cat.set_categories(['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'])
In [35]: df.dtypes
Out[35]:
Month category
Sales int64
Year int64
dtype: object
In [36]: df['Month']
Out[36]:
0 January
1 January
2 January
Name: Month, dtype: category
Categories (12, object): [January < February < March < April ... September < October < November < December]
In [37]: df.pivot_table(values="Sales", index="Month")
Out[37]:
Month
January 146.666667
February NaN
March NaN
April NaN
May NaN
June NaN
July NaN
August NaN
September NaN
October NaN
November NaN
December NaN
Name: Sales, dtype: float64
In [38]: df.pivot_table(values="Sales", index="Month").index
Out[38]: Index([u'January', u'February', u'March', u'April', u'May', u'June', u'July', u'August', u'September', u'October', u'November', u'December'], dtype='object')
In [39]: result = df.pivot_table(values='Sales', index="Month", columns="Year", aggfunc="sum")
In [40]: result
Out[40]:
Year 2013 2014
Month
April NaN NaN
August NaN NaN
December NaN NaN
February NaN NaN
January 320 120
July NaN NaN
June NaN NaN
March NaN NaN
May NaN NaN
November NaN NaN
October NaN NaN
September NaN NaN
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8731/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8731/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8732 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8732/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8732/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8732/events | https://github.com/pandas-dev/pandas/issues/8732 | 47,772,616 | MDU6SXNzdWU0Nzc3MjYxNg== | 8,732 | PERF: directly astype with numpy if series is already nansafe | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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"
}
]
| 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"
} | 1 | 2014-11-04T22:07:56Z | 2020-04-25T14:07:14Z | null | CONTRIBUTOR | null | from [SO](http://stackoverflow.com/questions/26744370/most-efficient-way-to-convert-pandas-series-of-integers-to-strings)
so the null check is pretty cheap. if no nulls, then can just bypass nansafe an use the underlying numpy routine. should be a nice speedup.
``
In [13]: arr = np.random.randint(1,10,size=1000000)
In [14]: s = Series(arr)
In [15]: s.notnull().all()
Out[15]: True
In [16]: %timeit s.notnull().all()
1000 loops, best of 3: 1.35 ms per loop
In [17]: %timeit s.astype(str)
1 loops, best of 3: 2.52 s per loop
In [18]: %timeit s.values.astype(str)
10 loops, best of 3: 37.7 ms per loop
```
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8732/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8732/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8733 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8733/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8733/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8733/events | https://github.com/pandas-dev/pandas/issues/8733 | 47,783,796 | MDU6SXNzdWU0Nzc4Mzc5Ng== | 8,733 | pandas.core.groupby.SeriesGroupBy.hist doesn't take kwargs | {
"avatar_url": "https://avatars.githubusercontent.com/u/691536?v=4",
"events_url": "https://api.github.com/users/vladfi1/events{/privacy}",
"followers_url": "https://api.github.com/users/vladfi1/followers",
"following_url": "https://api.github.com/users/vladfi1/following{/other_user}",
"gists_url": "https://api.github.com/users/vladfi1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vladfi1",
"id": 691536,
"login": "vladfi1",
"node_id": "MDQ6VXNlcjY5MTUzNg==",
"organizations_url": "https://api.github.com/users/vladfi1/orgs",
"received_events_url": "https://api.github.com/users/vladfi1/received_events",
"repos_url": "https://api.github.com/users/vladfi1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vladfi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vladfi1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vladfi1"
} | [
{
"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": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 21 | 2014-11-05T00:07:56Z | 2014-11-08T23:18:50Z | 2014-11-08T23:18:50Z | NONE | null | I'd like to pass certain kwargs to the hist function of a SeriesGroupBy object (alpha, legend, etc). The plot function provides more kwargs (e.g. legend, but not alpha) but no **kwargs to forward to matplotlib. The documentation (viewed with ? in ipython) suggests that there should be a kwds argument, but in reality this is not the case.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8733/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8733/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8734 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8734/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8734/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8734/events | https://github.com/pandas-dev/pandas/issues/8734 | 47,798,278 | MDU6SXNzdWU0Nzc5ODI3OA== | 8,734 | Inconsistent mean over booleans | {
"avatar_url": "https://avatars.githubusercontent.com/u/691536?v=4",
"events_url": "https://api.github.com/users/vladfi1/events{/privacy}",
"followers_url": "https://api.github.com/users/vladfi1/followers",
"following_url": "https://api.github.com/users/vladfi1/following{/other_user}",
"gists_url": "https://api.github.com/users/vladfi1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vladfi1",
"id": 691536,
"login": "vladfi1",
"node_id": "MDQ6VXNlcjY5MTUzNg==",
"organizations_url": "https://api.github.com/users/vladfi1/orgs",
"received_events_url": "https://api.github.com/users/vladfi1/received_events",
"repos_url": "https://api.github.com/users/vladfi1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vladfi1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vladfi1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vladfi1"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
]
| closed | false | null | []
| null | 1 | 2014-11-05T04:22:40Z | 2014-11-05T06:33:22Z | 2014-11-05T06:32:55Z | NONE | null | It appears that the mean aggregate function is inconsistent when operating on boolean values.
```
from pandas import DataFrame
df1 = DataFrame({'a': [1, 1], 'bools': [True, True]})
df2 = DataFrame({'a': [1, 1], 'bools': [True, False]})
print df1.mean().bools # 1.0
print df2.mean().bools # 0.5
print df1.groupby('a').mean() # DataFrame with 1: True
print df2.groupby('a').mean() # DataFrame with 1: 0.5
```
For some reason the mean of a set of True values is True instead of 1.0, but only for GroupBy objects and not for DataFrame 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/8734/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8734/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8735 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8735/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8735/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8735/events | https://github.com/pandas-dev/pandas/issues/8735 | 47,798,365 | MDU6SXNzdWU0Nzc5ODM2NQ== | 8,735 | Strange output from `DataFrame.apply` when applied func creates a dict | {
"avatar_url": "https://avatars.githubusercontent.com/u/1460294?v=4",
"events_url": "https://api.github.com/users/onesandzeroes/events{/privacy}",
"followers_url": "https://api.github.com/users/onesandzeroes/followers",
"following_url": "https://api.github.com/users/onesandzeroes/following{/other_user}",
"gists_url": "https://api.github.com/users/onesandzeroes/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/onesandzeroes",
"id": 1460294,
"login": "onesandzeroes",
"node_id": "MDQ6VXNlcjE0NjAyOTQ=",
"organizations_url": "https://api.github.com/users/onesandzeroes/orgs",
"received_events_url": "https://api.github.com/users/onesandzeroes/received_events",
"repos_url": "https://api.github.com/users/onesandzeroes/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/onesandzeroes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/onesandzeroes/subscriptions",
"type": "User",
"url": "https://api.github.com/users/onesandzeroes"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": "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 | 2014-11-05T04:24:31Z | 2015-12-13T18:33:06Z | 2015-08-28T18:16:56Z | CONTRIBUTOR | null | Just had something odd come up while trying to come up with something for [this SO question](http://stackoverflow.com/questions/26747689/mapping-pandas-dataframe-rows-to-a-pandas-series).
If we use `DataFrame.apply()` to try and create dictionaries from the rows of a dataframe, it seems to return the `dict.values()` method rather than returning the dict itself.
``` python
df = pd.DataFrame({'k': ['a', 'b', 'c'], 'v': [1, 2, 3]})
df.apply(lambda row: {row['k']: row['v']}, axis=1)
Out[52]:
0 <built-in method values of dict object at 0x07...
1 <built-in method values of dict object at 0x03...
2 <built-in method values of dict object at 0x07...
dtype: object
```
Looks like it's probably something to do with trying to grab the `values` attribute when the output of the applied function is a Series or something similar.
Library versions:
```
pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.6.final.0
python-bits: 32
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 30 Stepping 5, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.15.0
nose: 1.3.4
Cython: 0.21
numpy: 1.9.0
scipy: 0.14.0
statsmodels: 0.5.0
IPython: 2.3.0
sphinx: 1.2.3
patsy: 0.3.0
dateutil: 1.5
pytz: 2014.7
bottleneck: None
tables: 3.1.1
numexpr: 2.3.1
matplotlib: 1.4.2
openpyxl: 1.8.5
xlrd: 0.9.3
xlwt: 0.7.5
xlsxwriter: 0.5.7
lxml: 3.4.0
bs4: 4.3.2
html5lib: 0.999
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/8735/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8735/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8736 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8736/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8736/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8736/events | https://github.com/pandas-dev/pandas/issues/8736 | 47,833,804 | MDU6SXNzdWU0NzgzMzgwNA== | 8,736 | INT: clean/consolidate dtype upcasting and selection | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
]
| closed | false | null | []
| {
"closed_at": 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"
} | 1 | 2014-11-05T13:08:33Z | 2018-07-06T21:51:24Z | 2018-07-06T21:51:23Z | CONTRIBUTOR | null | discussion #8714
consolidate array dtype upcasting selection in `common/_concat_compat` and
`internals/get_empty_dtype_and_na`
cc @immerrr
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8736/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8736/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8737 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8737/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8737/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8737/events | https://github.com/pandas-dev/pandas/issues/8737 | 47,856,693 | MDU6SXNzdWU0Nzg1NjY5Mw== | 8,737 | Support for empty slice in multi indices | {
"avatar_url": "https://avatars.githubusercontent.com/u/2397974?v=4",
"events_url": "https://api.github.com/users/SylvainCorlay/events{/privacy}",
"followers_url": "https://api.github.com/users/SylvainCorlay/followers",
"following_url": "https://api.github.com/users/SylvainCorlay/following{/other_user}",
"gists_url": "https://api.github.com/users/SylvainCorlay/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SylvainCorlay",
"id": 2397974,
"login": "SylvainCorlay",
"node_id": "MDQ6VXNlcjIzOTc5NzQ=",
"organizations_url": "https://api.github.com/users/SylvainCorlay/orgs",
"received_events_url": "https://api.github.com/users/SylvainCorlay/received_events",
"repos_url": "https://api.github.com/users/SylvainCorlay/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SylvainCorlay/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SylvainCorlay/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SylvainCorlay"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
]
| closed | false | null | []
| {
"closed_at": "2014-11-09T12:33:59Z",
"closed_issues": 86,
"created_at": "2014-10-30T11:12:13Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.0 of course",
"due_on": "2014-11-09T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/31",
"id": 846460,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels",
"node_id": "MDk6TWlsZXN0b25lODQ2NDYw",
"number": 31,
"open_issues": 0,
"state": "closed",
"title": "0.15.1",
"updated_at": "2014-11-09T12:33:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31"
} | 8 | 2014-11-05T16:34:18Z | 2014-11-05T21:21:26Z | 2014-11-05T21:21:26Z | CONTRIBUTOR | null | It is currently possible to pass a list of labels for a given dataframe to `DataFrame.loc` in the case of a multi index, but the list cannot be empty unlike in the case of a non-hierarchical index.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8737/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8737/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8738 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8738/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8738/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8738/events | https://github.com/pandas-dev/pandas/issues/8738 | 47,876,222 | MDU6SXNzdWU0Nzg3NjIyMg== | 8,738 | ERR: parser.pyx raises lots of nonspecific IOErrors | {
"avatar_url": "https://avatars.githubusercontent.com/u/4306187?v=4",
"events_url": "https://api.github.com/users/ischwabacher/events{/privacy}",
"followers_url": "https://api.github.com/users/ischwabacher/followers",
"following_url": "https://api.github.com/users/ischwabacher/following{/other_user}",
"gists_url": "https://api.github.com/users/ischwabacher/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ischwabacher",
"id": 4306187,
"login": "ischwabacher",
"node_id": "MDQ6VXNlcjQzMDYxODc=",
"organizations_url": "https://api.github.com/users/ischwabacher/orgs",
"received_events_url": "https://api.github.com/users/ischwabacher/received_events",
"repos_url": "https://api.github.com/users/ischwabacher/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ischwabacher/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ischwabacher/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ischwabacher"
} | [
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 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"
} | 4 | 2014-11-05T19:20:27Z | 2016-08-01T20:38:04Z | 2016-08-01T20:38:04Z | CONTRIBUTOR | null | For example:
``` python
In [1]: import pandas as pd
In [2]: pd.read_csv('/root')
---------------------------------------------------------------------------
IOError Traceback (most recent call last)
...
IOError: Initializing from file failed
```
The ones I've noticed so far can be fixed by calling the appropriate `PyErr_*` function at the site of the error in `io.c` and fixing the `cdef extern from "parsers/io.h"` section to `except NULL` from the modified functions.
There's even one instance of `raise IOError` that only happens on ENOMEM. :/
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8738/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8738/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8739 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8739/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8739/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8739/events | https://github.com/pandas-dev/pandas/pull/8739 | 47,885,077 | MDExOlB1bGxSZXF1ZXN0MjM5MzYwOTE= | 8,739 | BUG: Bug in slicing a multi-index level with an empty-list (GH8737) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
]
| closed | false | null | []
| {
"closed_at": "2014-11-09T12:33:59Z",
"closed_issues": 86,
"created_at": "2014-10-30T11:12:13Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.0 of course",
"due_on": "2014-11-09T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/31",
"id": 846460,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels",
"node_id": "MDk6TWlsZXN0b25lODQ2NDYw",
"number": 31,
"open_issues": 0,
"state": "closed",
"title": "0.15.1",
"updated_at": "2014-11-09T12:33:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31"
} | 1 | 2014-11-05T20:39:06Z | 2014-11-05T21:21:15Z | 2014-11-05T21:21:15Z | CONTRIBUTOR | null | closes #8737
```
In [5]: multi_index = pd.MultiIndex.from_product((['foo', 'bar', 'baz'], ['alpha', 'beta']))
In [6]: df = DataFrame(np.random.randn(5, 6), index=range(5), columns=multi_index).sortlevel(0,axis=1)
In [7]: df
Out[7]:
bar baz foo
alpha beta alpha beta alpha beta
0 -0.725086 -0.715498 1.141087 -0.586018 0.906581 -0.260218
1 -1.111794 -0.393149 2.101567 0.648850 0.366892 0.554206
2 1.258239 1.472659 -0.174970 -0.355639 -0.843127 1.101716
3 -0.775790 0.419361 -0.521444 1.245519 0.759791 0.183877
4 -0.001001 -1.526741 -1.721501 0.527531 0.407099 -0.415245
In [8]: df.loc[:, ([], slice(None))]
Out[8]:
Empty DataFrame
Columns: []
Index: [0, 1, 2, 3, 4]
In [9]: df.loc[:, ([], slice(None))].columns
Out[9]:
MultiIndex(levels=[[u'bar', u'baz', u'foo'], [u'alpha', u'beta']],
labels=[[], []])
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8739/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8739/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8739.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8739",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8739.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8739"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8740 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8740/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8740/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8740/events | https://github.com/pandas-dev/pandas/issues/8740 | 47,908,798 | MDU6SXNzdWU0NzkwODc5OA== | 8,740 | .loc should accept out-of-bounds indexers for slices | {
"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"
} | []
| closed | false | null | []
| null | 7 | 2014-11-06T00:30:13Z | 2014-11-06T01:57:12Z | 2014-11-06T01:57:12Z | MEMBER | null | pandas 0.14 [changed `.iloc`](http://pandas.pydata.org/pandas-docs/version/0.15.0/whatsnew.html#whatsnew-0140-api) to accept out-of-bounds indexers for slices. I think we should do the same for `.loc`, for similar reasons of consistency and efficiency.
Note that this is already currently inconsistent for int and float indexes (not entirely sure why):
```
>>> pd.Series(range(5), np.arange(5)).loc[-1:]
KeyError
>>> pd.Series(range(5), np.arange(5.0)).loc[-1:]
0 0
1 1
2 2
3 3
4 4
dtype: int64
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8740/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8740/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8741 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8741/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8741/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8741/events | https://github.com/pandas-dev/pandas/pull/8741 | 47,921,770 | MDExOlB1bGxSZXF1ZXN0MjM5NTgwMDY= | 8,741 | BUG: Fix io.data.Options quote time for DST. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5957850?v=4",
"events_url": "https://api.github.com/users/davidastephens/events{/privacy}",
"followers_url": "https://api.github.com/users/davidastephens/followers",
"following_url": "https://api.github.com/users/davidastephens/following{/other_user}",
"gists_url": "https://api.github.com/users/davidastephens/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidastephens",
"id": 5957850,
"login": "davidastephens",
"node_id": "MDQ6VXNlcjU5NTc4NTA=",
"organizations_url": "https://api.github.com/users/davidastephens/orgs",
"received_events_url": "https://api.github.com/users/davidastephens/received_events",
"repos_url": "https://api.github.com/users/davidastephens/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidastephens/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidastephens/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidastephens"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2014-11-09T12:33:59Z",
"closed_issues": 86,
"created_at": "2014-10-30T11:12:13Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.0 of course",
"due_on": "2014-11-09T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/31",
"id": 846460,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels",
"node_id": "MDk6TWlsZXN0b25lODQ2NDYw",
"number": 31,
"open_issues": 0,
"state": "closed",
"title": "0.15.1",
"updated_at": "2014-11-09T12:33:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31"
} | 6 | 2014-11-06T04:11:36Z | 2014-11-10T01:18:27Z | 2014-11-07T00:43:15Z | CONTRIBUTOR | null | Updated the second test html so that it uses a DST sample.
Changed failure to get quote time from raising RemoteDataError to setting to np.nan
@jorisvandenbossche This fixes the doc error you noted on #8631
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8741/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8741/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8741.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8741",
"merged_at": "2014-11-07T00:43:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8741.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8741"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8742 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8742/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8742/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8742/events | https://github.com/pandas-dev/pandas/pull/8742 | 47,922,929 | MDExOlB1bGxSZXF1ZXN0MjM5NTg2Njk= | 8,742 | BUG: Allow non-float values in get_yahoo_quotes. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5957850?v=4",
"events_url": "https://api.github.com/users/davidastephens/events{/privacy}",
"followers_url": "https://api.github.com/users/davidastephens/followers",
"following_url": "https://api.github.com/users/davidastephens/following{/other_user}",
"gists_url": "https://api.github.com/users/davidastephens/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidastephens",
"id": 5957850,
"login": "davidastephens",
"node_id": "MDQ6VXNlcjU5NTc4NTA=",
"organizations_url": "https://api.github.com/users/davidastephens/orgs",
"received_events_url": "https://api.github.com/users/davidastephens/received_events",
"repos_url": "https://api.github.com/users/davidastephens/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidastephens/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidastephens/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidastephens"
} | [
{
"color": "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": "2014-11-09T12:33:59Z",
"closed_issues": 86,
"created_at": "2014-10-30T11:12:13Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.0 of course",
"due_on": "2014-11-09T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/31",
"id": 846460,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels",
"node_id": "MDk6TWlsZXN0b25lODQ2NDYw",
"number": 31,
"open_issues": 0,
"state": "closed",
"title": "0.15.1",
"updated_at": "2014-11-09T12:33:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31"
} | 3 | 2014-11-06T04:41:02Z | 2014-11-10T01:18:28Z | 2014-11-07T11:47:17Z | CONTRIBUTOR | null | Fixes issue #5229
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8742/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8742/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8742.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8742",
"merged_at": "2014-11-07T11:47:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8742.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8742"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8743 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8743/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8743/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8743/events | https://github.com/pandas-dev/pandas/pull/8743 | 47,927,209 | MDExOlB1bGxSZXF1ZXN0MjM5NjExNTc= | 8,743 | BUG: DataReaders return missing data as NaN rather than warn. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5957850?v=4",
"events_url": "https://api.github.com/users/davidastephens/events{/privacy}",
"followers_url": "https://api.github.com/users/davidastephens/followers",
"following_url": "https://api.github.com/users/davidastephens/following{/other_user}",
"gists_url": "https://api.github.com/users/davidastephens/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidastephens",
"id": 5957850,
"login": "davidastephens",
"node_id": "MDQ6VXNlcjU5NTc4NTA=",
"organizations_url": "https://api.github.com/users/davidastephens/orgs",
"received_events_url": "https://api.github.com/users/davidastephens/received_events",
"repos_url": "https://api.github.com/users/davidastephens/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidastephens/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidastephens/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidastephens"
} | [
{
"color": "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": "2014-11-09T12:33:59Z",
"closed_issues": 86,
"created_at": "2014-10-30T11:12:13Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.0 of course",
"due_on": "2014-11-09T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/31",
"id": 846460,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels",
"node_id": "MDk6TWlsZXN0b25lODQ2NDYw",
"number": 31,
"open_issues": 0,
"state": "closed",
"title": "0.15.1",
"updated_at": "2014-11-09T12:33:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31"
} | 1 | 2014-11-06T06:15:51Z | 2014-11-10T01:18:27Z | 2014-11-06T11:26:17Z | CONTRIBUTOR | null | Fixes #8433
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8743/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8743/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8743.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8743",
"merged_at": "2014-11-06T11:26:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8743.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8743"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8744 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8744/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8744/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8744/events | https://github.com/pandas-dev/pandas/issues/8744 | 47,932,953 | MDU6SXNzdWU0NzkzMjk1Mw== | 8,744 | AmbiguousTimeError exception when resampling near DST change date | {
"avatar_url": "https://avatars.githubusercontent.com/u/180812?v=4",
"events_url": "https://api.github.com/users/akhilman/events{/privacy}",
"followers_url": "https://api.github.com/users/akhilman/followers",
"following_url": "https://api.github.com/users/akhilman/following{/other_user}",
"gists_url": "https://api.github.com/users/akhilman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/akhilman",
"id": 180812,
"login": "akhilman",
"node_id": "MDQ6VXNlcjE4MDgxMg==",
"organizations_url": "https://api.github.com/users/akhilman/orgs",
"received_events_url": "https://api.github.com/users/akhilman/received_events",
"repos_url": "https://api.github.com/users/akhilman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/akhilman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/akhilman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/akhilman"
} | [
{
"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": "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"
} | 5 | 2014-11-06T07:58:37Z | 2015-03-10T01:43:38Z | 2014-11-06T12:42:30Z | NONE | null | ``` python
index = pd.to_datetime(pd.Series([
'2014-10-26 07:35:49',
'2014-10-26 07:45:08',
'2014-10-26 08:04:58'
]))
df = pd.DataFrame(np.arange(len(index)), index=index)
df = df.tz_localize('Asia/Krasnoyarsk', ambiguous='NaT')
df.resample('D')
AmbiguousTimeError: Cannot infer dst time from Timestamp('2014-10-26 01:00:00'), try using the 'ambiguous' argument
```
UTC offset changed from +8 to +7 at 2:00 local time.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8744/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8744/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8745 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8745/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8745/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8745/events | https://github.com/pandas-dev/pandas/issues/8745 | 47,950,209 | MDU6SXNzdWU0Nzk1MDIwOQ== | 8,745 | API/ENH: from_dummies | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "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"
}
]
| open | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/8995328?v=4",
"events_url": "https://api.github.com/users/clbarnes/events{/privacy}",
"followers_url": "https://api.github.com/users/clbarnes/followers",
"following_url": "https://api.github.com/users/clbarnes/following{/other_user}",
"gists_url": "https://api.github.com/users/clbarnes/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/clbarnes",
"id": 8995328,
"login": "clbarnes",
"node_id": "MDQ6VXNlcjg5OTUzMjg=",
"organizations_url": "https://api.github.com/users/clbarnes/orgs",
"received_events_url": "https://api.github.com/users/clbarnes/received_events",
"repos_url": "https://api.github.com/users/clbarnes/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/clbarnes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/clbarnes/subscriptions",
"type": "User",
"url": "https://api.github.com/users/clbarnes"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8995328?v=4",
"events_url": "https://api.github.com/users/clbarnes/events{/privacy}",
"followers_url": "https://api.github.com/users/clbarnes/followers",
"following_url": "https://api.github.com/users/clbarnes/following{/other_user}",
"gists_url": "https://api.github.com/users/clbarnes/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/clbarnes",
"id": 8995328,
"login": "clbarnes",
"node_id": "MDQ6VXNlcjg5OTUzMjg=",
"organizations_url": "https://api.github.com/users/clbarnes/orgs",
"received_events_url": "https://api.github.com/users/clbarnes/received_events",
"repos_url": "https://api.github.com/users/clbarnes/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/clbarnes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/clbarnes/subscriptions",
"type": "User",
"url": "https://api.github.com/users/clbarnes"
}
]
| {
"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"
} | 32 | 2014-11-06T11:08:01Z | 2021-04-11T05:28:41Z | null | CONTRIBUTOR | null | Motivating from [SO](http://stackoverflow.com/questions/26762100/reconstruct-a-categorical-variable-from-dummies-in-pandas)
This is the inverse of `pd.get_dummies`. So maybe `invert_dummies` is better?
I think this name makes more sense though.
This seems a reasonable way to do it. Am I missing anything?
```
In [46]: s = Series(list('aaabbbccddefgh')).astype('category')
In [47]: s
Out[47]:
0 a
1 a
2 a
3 b
4 b
5 b
6 c
7 c
8 d
9 d
10 e
11 f
12 g
13 h
dtype: category
Categories (8, object): [a < b < c < d < e < f < g < h]
In [48]: df = pd.get_dummies(s)
In [49]: df
Out[49]:
a b c d e f g h
0 1 0 0 0 0 0 0 0
1 1 0 0 0 0 0 0 0
2 1 0 0 0 0 0 0 0
3 0 1 0 0 0 0 0 0
4 0 1 0 0 0 0 0 0
5 0 1 0 0 0 0 0 0
6 0 0 1 0 0 0 0 0
7 0 0 1 0 0 0 0 0
8 0 0 0 1 0 0 0 0
9 0 0 0 1 0 0 0 0
10 0 0 0 0 1 0 0 0
11 0 0 0 0 0 1 0 0
12 0 0 0 0 0 0 1 0
13 0 0 0 0 0 0 0 1
In [50]: x = df.stack()
# I don't think you actually need to specify ALL of the categories here, as by definition
# they are in the dummy matrix to start (and hence the column index)
In [51]: Series(pd.Categorical(x[x!=0].index.get_level_values(1)))
Out[51]:
0 a
1 a
2 a
3 b
4 b
5 b
6 c
7 c
8 d
9 d
10 e
11 f
12 g
13 h
Name: level_1, dtype: category
Categories (8, object): [a < b < c < d < e < f < g < h]
```
NB. this is buggy ATM.
```
In [51]: Series(pd.Categorical(x[x!=0].index.get_level_values(1)),categories=df.categories)
```
| {
"+1": 8,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 8,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8745/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8745/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8746 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8746/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8746/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8746/events | https://github.com/pandas-dev/pandas/pull/8746 | 47,953,981 | MDExOlB1bGxSZXF1ZXN0MjM5NzU0NjQ= | 8,746 | pd.show_versions() | {
"avatar_url": "https://avatars.githubusercontent.com/u/4179106?v=4",
"events_url": "https://api.github.com/users/gepcel/events{/privacy}",
"followers_url": "https://api.github.com/users/gepcel/followers",
"following_url": "https://api.github.com/users/gepcel/following{/other_user}",
"gists_url": "https://api.github.com/users/gepcel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gepcel",
"id": 4179106,
"login": "gepcel",
"node_id": "MDQ6VXNlcjQxNzkxMDY=",
"organizations_url": "https://api.github.com/users/gepcel/orgs",
"received_events_url": "https://api.github.com/users/gepcel/received_events",
"repos_url": "https://api.github.com/users/gepcel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gepcel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gepcel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gepcel"
} | []
| closed | false | null | []
| null | 1 | 2014-11-06T11:54:04Z | 2014-11-06T12:09:38Z | 2014-11-06T12:09:38Z | CONTRIBUTOR | null | Shouldn't this be `pd.show_versions()`? Maybe it's a typo.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8746/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8746/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8746.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8746",
"merged_at": "2014-11-06T12:09:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8746.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8746"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8747 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8747/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8747/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8747/events | https://github.com/pandas-dev/pandas/issues/8747 | 47,987,263 | MDU6SXNzdWU0Nzk4NzI2Mw== | 8,747 | get start and end of regex match in dataframe | {
"avatar_url": "https://avatars.githubusercontent.com/u/8667542?v=4",
"events_url": "https://api.github.com/users/teese/events{/privacy}",
"followers_url": "https://api.github.com/users/teese/followers",
"following_url": "https://api.github.com/users/teese/following{/other_user}",
"gists_url": "https://api.github.com/users/teese/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/teese",
"id": 8667542,
"login": "teese",
"node_id": "MDQ6VXNlcjg2Njc1NDI=",
"organizations_url": "https://api.github.com/users/teese/orgs",
"received_events_url": "https://api.github.com/users/teese/received_events",
"repos_url": "https://api.github.com/users/teese/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/teese/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/teese/subscriptions",
"type": "User",
"url": "https://api.github.com/users/teese"
} | [
{
"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": "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"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 5 | 2014-11-06T17:05:22Z | 2021-04-11T05:29:09Z | null | NONE | null | What about including a method to get the start and stop after a regex search of items in a DataFrame . Perhaps using .str.extract?
Returning the start as a new column would perhaps be as follows:
```
df['start'] = df['string'].str.extract(pattern, output = 'start')
```
an alternative suggestion from jkitchen on StackOverflow was to use start_index = True, or end_index = True
```
df['start'] = df['string'].str.extract(pattern, start_index = True)
```
For multiple parameters (e.g. start and end) as outputs, there needs to be a way to avoid running the search twice. One solution would be to give the output as a tuple:
```
df['regex_output_tuple'] = df['string'].str.extract(pattern, output = ('start','end'))
```
I don't use regex very often, so I don't know if there are other parameters that people want after a regex search. If there really is just the text in the groups, the start and the end, perhaps there's a way to put the output directly into new columns?
```
df['groups'], df['start'], df['end'] = df['string'].str.extract(pattern, output = ('groups','start','end'))
```
I think it makes sense that non-matches return a NaN, just as in the regular extract function. This would mix integer and float datatypes in the df['start'] column, but I guess we all know about that situation :)
I'm not an experienced programmer, so sorry if I misunderstood some basic concepts.
Please see the question in StackOverflow for example code and comments:
http://stackoverflow.com/questions/26658213/how-can-i-find-the-start-and-end-of-a-regex-match-using-a-python-pandas-datafram
A block of example data and code is below, as requested by jreback.
```
import pandas as pd
import re
#some example query sequences, markup strings, hit sequences.
q1,q2,q3 = 'MPIMGSSVYITVELAIAVLAILG','MPIMGSSVYITVELAIAVLAILG','MPI-MGSSVYITVELAIAVLAIL'
m1,m2,m3 = '|| || ||||||||||||||||','|| | ||| :|| || |:: |','||: ::|: :||||| |:: '
h1,h2,h3 = 'MPTMGFWVYITVELAIAVLAILG','MP-NSSLVYIGLELVIACLSVAG','MPLETQDALYVALELAIAALSVA'
#create a pandas dataframe to hold the aligned sequences
df = pd.DataFrame({'query':[q1,q2,q3],'markup':[m1,m2,m3],'hit':[h1,h2,h3]})
#create a regex search string to find the appropriate subset in the query sequence,
desired_region_from_query = 'PIMGSS'
regex_desired_region_from_query = '(P-*I-*M-*G-*S-*S-*)'
#Pandas has a nice extract function to slice out the matched sequence from the query:
df['extracted'] = df['query'].str.extract(regex_desired_region_from_query)
#However I need the start and end of the match in order to extract the equivalent regions
#from the markup and hit columns. For a single string, this is done as follows:
match = re.search(regex_desired_region_from_query, df.loc[2,'query'])
sliced_hit = df.loc[2,'hit'][match.start():match.end()]
print('sliced_hit, non-vectorized example: ', sliced_hit)
#HERE the new syntax is necessary
#e.g. df['start'], df['end'] = df['string'].str.extract(pattern, output = ('start','end'))
#My current workaround in pandas is as follows.
#define function to obtain regex output (start, stop, etc) as a tuple
def get_regex_output(x):
m = re.search(regex_desired_region_from_query, x)
return (m.start(), m.end())
#apply function
df['regex_output_tuple'] = df['query'].apply(get_regex_output)
#convert the tuple into two separate columns
columns_from_regex_output = ['start','end']
for n, col in enumerate(columns_from_regex_output):
df[col] = df['regex_output_tuple'].apply(lambda x: x[n])
#delete the unnecessary column
df = df.drop('regex_output_tuple', axis=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/8747/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8747/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8748 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8748/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8748/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8748/events | https://github.com/pandas-dev/pandas/issues/8748 | 47,990,722 | MDU6SXNzdWU0Nzk5MDcyMg== | 8,748 | Suggestion: method to slice strings using index columns (start and end) in dataframe | {
"avatar_url": "https://avatars.githubusercontent.com/u/8667542?v=4",
"events_url": "https://api.github.com/users/teese/events{/privacy}",
"followers_url": "https://api.github.com/users/teese/followers",
"following_url": "https://api.github.com/users/teese/following{/other_user}",
"gists_url": "https://api.github.com/users/teese/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/teese",
"id": 8667542,
"login": "teese",
"node_id": "MDQ6VXNlcjg2Njc1NDI=",
"organizations_url": "https://api.github.com/users/teese/orgs",
"received_events_url": "https://api.github.com/users/teese/received_events",
"repos_url": "https://api.github.com/users/teese/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/teese/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/teese/subscriptions",
"type": "User",
"url": "https://api.github.com/users/teese"
} | [
{
"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": 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"
} | 12 | 2014-11-06T17:34:58Z | 2020-01-30T20:23:56Z | 2018-07-06T21:49:52Z | NONE | null | What about implementing the following slice function? The df.start and df.end columns contain the start and end index required to slice the df.string.
```
df.sliced = df.string[df.start:df.end]
```
Currently we can slice columns with a fixed start and end index
```
df.sliced = df.string.str.slice(1, -1)
```
However it would be great if we could do this using variable start and stop indices from the dataframe itself, without the need for lambda functions.
Possible complications:
I can imagine that this would be complicated by the presence of NaN values in the column.
You could either force users to clean up their data first, so they can only apply the function if the column dtypes of the start and stop are integers (basically: take your dirty boots off before stepping into the house!).
Or you could be nice, and apply the slice function to anything in the target column that looks like a string, using anything in the start and end columns that looks like an integer. (not that I would have a clue how to do that!) Using this strategy, return NaN only when invalid strings, NaN or floats, or index-out-of-range are encountered?
This problem was raised along with #8747 in a StackOverflow question. Some code and examples are given.
http://stackoverflow.com/questions/26658213/how-can-i-find-the-start-and-end-of-a-regex-match-using-a-python-pandas-datafram
edit: here is some example code, including a current workaround. Sorry, I'll make sure the code is included immediately next time.
```
import pandas as pd
#some example strings for slicing, start indices, stop indices
h1,h2,h3 = 'MPTMGFWVYITVE','MP-NSSLVYIGLE','MPLETQDALYVAL'
s1, s2, s3 = 1,1,2
e1, e2, e3 = 7,7,8
#create a pandas dataframe to hold the aligned sequences
df = pd.DataFrame({'hit':[h1,h2,h3],'start': [s1, s2, s3],'end': [e1, e2, e3]})
#reorder columns
df = df[['hit', 'start', 'end']]
#HERE is where the new syntax would be useful to slice the strings, example
#df.sliced = df.hit.str[df.start:df.end]
#or the equivalent df['sliced'] = df['hit'].str[df['start']:df['end']]
#Current workaround using a lambda function that specifies the start & end columns.
fn_slice_hit = lambda x : x['hit'][x['start']:x['end']]
#apply the slice function to the dataframe
df['sliced'] = df.apply(fn_slice_hit, axis = 1)
In [2]: df
Out[2]:
hit start end sliced
0 MPTMGFWVYITVE 1 7 PTMGFW
1 MP-NSSLVYIGLE 1 7 P-NSSL
2 MPLETQDALYVAL 2 8 LETQDA
[3 rows x 4 columns]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8748/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8748/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8749 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8749/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8749/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8749/events | https://github.com/pandas-dev/pandas/issues/8749 | 48,073,901 | MDU6SXNzdWU0ODA3MzkwMQ== | 8,749 | Support for partial string matching in query | {
"avatar_url": "https://avatars.githubusercontent.com/u/621567?v=4",
"events_url": "https://api.github.com/users/johanekholm/events{/privacy}",
"followers_url": "https://api.github.com/users/johanekholm/followers",
"following_url": "https://api.github.com/users/johanekholm/following{/other_user}",
"gists_url": "https://api.github.com/users/johanekholm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/johanekholm",
"id": 621567,
"login": "johanekholm",
"node_id": "MDQ6VXNlcjYyMTU2Nw==",
"organizations_url": "https://api.github.com/users/johanekholm/orgs",
"received_events_url": "https://api.github.com/users/johanekholm/received_events",
"repos_url": "https://api.github.com/users/johanekholm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/johanekholm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/johanekholm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/johanekholm"
} | [
{
"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": 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 | 2014-11-07T11:46:37Z | 2019-04-08T18:35:42Z | 2018-07-06T21:34:08Z | NONE | null | Would be nice to have the query method support partial string matching, so you could do the equivalence of df[df['A'].str.contains("abc")] using query: df.query("A contains 'abc'").
| {
"+1": 11,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 11,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8749/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8749/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8750 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8750/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8750/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8750/events | https://github.com/pandas-dev/pandas/issues/8750 | 48,092,690 | MDU6SXNzdWU0ODA5MjY5MA== | 8,750 | ENH: HTML formatting for Series in Jupyter notebook | {
"avatar_url": "https://avatars.githubusercontent.com/u/2397974?v=4",
"events_url": "https://api.github.com/users/SylvainCorlay/events{/privacy}",
"followers_url": "https://api.github.com/users/SylvainCorlay/followers",
"following_url": "https://api.github.com/users/SylvainCorlay/following{/other_user}",
"gists_url": "https://api.github.com/users/SylvainCorlay/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SylvainCorlay",
"id": 2397974,
"login": "SylvainCorlay",
"node_id": "MDQ6VXNlcjIzOTc5NzQ=",
"organizations_url": "https://api.github.com/users/SylvainCorlay/orgs",
"received_events_url": "https://api.github.com/users/SylvainCorlay/received_events",
"repos_url": "https://api.github.com/users/SylvainCorlay/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SylvainCorlay/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SylvainCorlay/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SylvainCorlay"
} | [
{
"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"
}
]
| 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"
} | 4 | 2014-11-07T15:22:20Z | 2020-04-26T17:33:14Z | null | CONTRIBUTOR | null | Unlike `pandas.DataFrame`, `pandas.Series` does not have the methods to be converted to an html table.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8750/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8750/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8751 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8751/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8751/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8751/events | https://github.com/pandas-dev/pandas/issues/8751 | 48,095,488 | MDU6SXNzdWU0ODA5NTQ4OA== | 8,751 | Add a `levels` member in pandas.Index | {
"avatar_url": "https://avatars.githubusercontent.com/u/2397974?v=4",
"events_url": "https://api.github.com/users/SylvainCorlay/events{/privacy}",
"followers_url": "https://api.github.com/users/SylvainCorlay/followers",
"following_url": "https://api.github.com/users/SylvainCorlay/following{/other_user}",
"gists_url": "https://api.github.com/users/SylvainCorlay/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SylvainCorlay",
"id": 2397974,
"login": "SylvainCorlay",
"node_id": "MDQ6VXNlcjIzOTc5NzQ=",
"organizations_url": "https://api.github.com/users/SylvainCorlay/orgs",
"received_events_url": "https://api.github.com/users/SylvainCorlay/received_events",
"repos_url": "https://api.github.com/users/SylvainCorlay/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SylvainCorlay/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SylvainCorlay/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SylvainCorlay"
} | [
{
"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": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
]
| closed | false | null | []
| null | 2 | 2014-11-07T15:37:31Z | 2014-11-07T17:10:45Z | 2014-11-07T17:10:33Z | CONTRIBUTOR | null | While they have two members `labels` and `names` , single indices lack the member `levels` of multi-indices.
It can be useful to set it to `[df.values]` to treat the single indices in the same way as hierarchical indices thanks to duck typing.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8751/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8751/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8752 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8752/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8752/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8752/events | https://github.com/pandas-dev/pandas/pull/8752 | 48,140,705 | MDExOlB1bGxSZXF1ZXN0MjQwODg2Njc= | 8,752 | Update tokenizer to fix #8679 #8661 | {
"avatar_url": "https://avatars.githubusercontent.com/u/831833?v=4",
"events_url": "https://api.github.com/users/selasley/events{/privacy}",
"followers_url": "https://api.github.com/users/selasley/followers",
"following_url": "https://api.github.com/users/selasley/following{/other_user}",
"gists_url": "https://api.github.com/users/selasley/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/selasley",
"id": 831833,
"login": "selasley",
"node_id": "MDQ6VXNlcjgzMTgzMw==",
"organizations_url": "https://api.github.com/users/selasley/orgs",
"received_events_url": "https://api.github.com/users/selasley/received_events",
"repos_url": "https://api.github.com/users/selasley/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/selasley/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/selasley/subscriptions",
"type": "User",
"url": "https://api.github.com/users/selasley"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 33 | 2014-11-07T22:53:11Z | 2015-02-01T03:19:50Z | 2014-11-27T02:52:38Z | CONTRIBUTOR | null | Update tokenizer's handling of skipped lines.
Fixes a problem with read_csv(delim_whitespace=True) and
read_table(engine='c') when lines being skipped have trailing
whitespace.
closes #8679
closes #8681
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8752/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8752/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8752.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8752",
"merged_at": "2014-11-27T02:52:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8752.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8752"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8753 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8753/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8753/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8753/events | https://github.com/pandas-dev/pandas/pull/8753 | 48,158,607 | MDExOlB1bGxSZXF1ZXN0MjQwOTgzMTM= | 8,753 | API: allow negative steps for label-based indexing | {
"avatar_url": "https://avatars.githubusercontent.com/u/579798?v=4",
"events_url": "https://api.github.com/users/immerrr/events{/privacy}",
"followers_url": "https://api.github.com/users/immerrr/followers",
"following_url": "https://api.github.com/users/immerrr/following{/other_user}",
"gists_url": "https://api.github.com/users/immerrr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/immerrr",
"id": 579798,
"login": "immerrr",
"node_id": "MDQ6VXNlcjU3OTc5OA==",
"organizations_url": "https://api.github.com/users/immerrr/orgs",
"received_events_url": "https://api.github.com/users/immerrr/received_events",
"repos_url": "https://api.github.com/users/immerrr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/immerrr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/immerrr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/immerrr"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 13 | 2014-11-08T07:14:47Z | 2014-11-19T22:15:58Z | 2014-11-19T22:05:10Z | CONTRIBUTOR | null | This should fix #8716.
Some of this refactoring may be useful for #8613, so I'd like someone to look through this.
cc'ing @shoyer, @jreback and @jorisvandenbossche .
TODO:
- add tests for label slicing with negative step (ix, loc)
- [x] int64index
- [x] float64index
- [x] objectindex
- [x] fix datetime/period indices
- add tests for label slicing with negative step (datetime, string, native pandas scalar) x (ix, loc)
- [x] datetimeindex
- [x] periodindex
- [x] timedeltaindex
- [x] clean up old partial string code?
- [x] benchmark
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8753/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8753/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8753.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8753",
"merged_at": "2014-11-19T22:05:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8753.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8753"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8754 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8754/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8754/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8754/events | https://github.com/pandas-dev/pandas/issues/8754 | 48,170,392 | MDU6SXNzdWU0ODE3MDM5Mg== | 8,754 | BUG: step argument in the slice StringMethod not working | {
"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": "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": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 0 | 2014-11-08T16:26:11Z | 2014-11-18T10:14:22Z | 2014-11-18T10:14:22Z | MEMBER | null | The `step` argument in the `slice` StringMethods has no effect:
```
In [18]: s = pd.Series(['abcde', 'fghij'])
In [19]: s.str.slice?
Definition: s.str.slice(self, start=None, stop=None, step=1)
Slice substrings from each element in array
Parameters
----------
start : int or None
stop : int or None
Returns
-------
sliced : array
In [22]: s.str.slice(step=1)
Out[22]:
0 abcde
1 fghij
dtype: object
In [23]: s.str.slice(step=2)
Out[23]:
0 abcde
1 fghij
dtype: object
In [24]: s[0][::2]
Out[24]: 'ace'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8754/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8754/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8755 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8755/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8755/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8755/events | https://github.com/pandas-dev/pandas/pull/8755 | 48,172,093 | MDExOlB1bGxSZXF1ZXN0MjQxMDM2ODU= | 8,755 | DOC: clean-up v0.15.1 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": "2014-11-09T12:33:59Z",
"closed_issues": 86,
"created_at": "2014-10-30T11:12:13Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.0 of course",
"due_on": "2014-11-09T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/31",
"id": 846460,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels",
"node_id": "MDk6TWlsZXN0b25lODQ2NDYw",
"number": 31,
"open_issues": 0,
"state": "closed",
"title": "0.15.1",
"updated_at": "2014-11-09T12:33:59Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31"
} | 1 | 2014-11-08T17:29:35Z | 2014-11-09T12:13:49Z | 2014-11-09T12:13:49Z | MEMBER | null | @jreback fixed the link to the bug fixes and reorderd it a bit (this is already included in the online docs)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8755/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8755/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8755.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8755",
"merged_at": "2014-11-09T12:13:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8755.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8755"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8756 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8756/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8756/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8756/events | https://github.com/pandas-dev/pandas/pull/8756 | 48,172,158 | MDExOlB1bGxSZXF1ZXN0MjQxMDM3MDc= | 8,756 | DOC: remove unused matplotlib directives from conf.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 0 | 2014-11-08T17:31:27Z | 2014-11-13T09:19:40Z | 2014-11-13T09:19:40Z | MEMBER | null | I don't think we use the matplotlib directives anywhere (and the todo was twice in the list), so removed them from conf.py
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8756/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8756/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8756.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8756",
"merged_at": "2014-11-13T09:19:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8756.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8756"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8757 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8757/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8757/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8757/events | https://github.com/pandas-dev/pandas/issues/8757 | 48,175,569 | MDU6SXNzdWU0ODE3NTU2OQ== | 8,757 | BUG: pd.Timedelta does not accept np.int32, etc. | {
"avatar_url": "https://avatars.githubusercontent.com/u/4383303?v=4",
"events_url": "https://api.github.com/users/wholmgren/events{/privacy}",
"followers_url": "https://api.github.com/users/wholmgren/followers",
"following_url": "https://api.github.com/users/wholmgren/following{/other_user}",
"gists_url": "https://api.github.com/users/wholmgren/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wholmgren",
"id": 4383303,
"login": "wholmgren",
"node_id": "MDQ6VXNlcjQzODMzMDM=",
"organizations_url": "https://api.github.com/users/wholmgren/orgs",
"received_events_url": "https://api.github.com/users/wholmgren/received_events",
"repos_url": "https://api.github.com/users/wholmgren/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wholmgren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wholmgren/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wholmgren"
} | [
{
"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": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 8 | 2014-11-08T18:57:44Z | 2014-11-11T23:37:43Z | 2014-11-11T23:37:43Z | CONTRIBUTOR | null | pd.Timedelta is a great addition, thanks!
Is it the intended behavior of pd.Timedelta to only accept np.int64, python ints, and python floats? I ran into this when I tried to construct a list of pd.Timedeltas from the np.int32 array returned by pd.DatetimeIndex.dayofyear.
``` python
>>> import pandas as pd
>>> import numpy as np
>>> pd.Timedelta(days=np.int64(1))
Timedelta('1 days 00:00:00')
>>> pd.Timedelta(days=np.int32(1))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pandas/tslib.pyx", line 1638, in pandas.tslib.Timedelta.__new__ (pandas/tslib.c:27693)
ValueError: cannot construct a TimeDelta from the passed arguments, allowed keywords are [days, seconds, microseconds, milliseconds, minutes, hours, weeks]
>>> pd.Timedelta(days=np.int16(1))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pandas/tslib.pyx", line 1638, in pandas.tslib.Timedelta.__new__ (pandas/tslib.c:27693)
ValueError: cannot construct a TimeDelta from the passed arguments, allowed keywords are [days, seconds, microseconds, milliseconds, minutes, hours, weeks]
>>> pd.Timedelta(days=np.float64(1))
Timedelta('1 days 00:00:00')
>>> pd.Timedelta(days=np.float32(1))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pandas/tslib.pyx", line 1638, in pandas.tslib.Timedelta.__new__ (pandas/tslib.c:27693)
ValueError: cannot construct a TimeDelta from the passed arguments, allowed keywords are [days, seconds, microseconds, milliseconds, minutes, hours, weeks]
>>> pd.Timedelta(days=1)
Timedelta('1 days 00:00:00')
>>> pd.Timedelta(days=1.0)
Timedelta('1 days 00:00:00')
```
Here's my version info:
``` python
>>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.6.final.0
python-bits: 64
OS: Linux
OS-release: 2.6.32-431.17.1.el6.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.15.1
nose: 1.3.4
Cython: 0.21
numpy: 1.9.1
scipy: 0.14.0
statsmodels: None
IPython: 2.3.0
sphinx: 1.2.3
patsy: None
dateutil: 2.2
pytz: 2014.9
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.4.0
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
rpy2: None
sqlalchemy: 0.9.7
pymysql: 0.6.2.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/8757/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8757/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8758 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8758/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8758/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8758/events | https://github.com/pandas-dev/pandas/pull/8758 | 48,179,429 | MDExOlB1bGxSZXF1ZXN0MjQxMDU2MzM= | 8,758 | BUG: Fix groupby methods to include *args and **kwds if applicable. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5957850?v=4",
"events_url": "https://api.github.com/users/davidastephens/events{/privacy}",
"followers_url": "https://api.github.com/users/davidastephens/followers",
"following_url": "https://api.github.com/users/davidastephens/following{/other_user}",
"gists_url": "https://api.github.com/users/davidastephens/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidastephens",
"id": 5957850,
"login": "davidastephens",
"node_id": "MDQ6VXNlcjU5NTc4NTA=",
"organizations_url": "https://api.github.com/users/davidastephens/orgs",
"received_events_url": "https://api.github.com/users/davidastephens/received_events",
"repos_url": "https://api.github.com/users/davidastephens/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidastephens/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidastephens/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidastephens"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 3 | 2014-11-08T20:14:45Z | 2014-11-10T01:18:32Z | 2014-11-08T23:18:50Z | CONTRIBUTOR | null | Fixes #8733 (and any other bug that would result from trying to send an arbitrary keyword to a groupby method).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8758/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8758/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8758.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8758",
"merged_at": "2014-11-08T23:18:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8758.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8758"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8759 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8759/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8759/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8759/events | https://github.com/pandas-dev/pandas/pull/8759 | 48,183,730 | MDExOlB1bGxSZXF1ZXN0MjQxMDczNjA= | 8,759 | Update tutorials.rst | {
"avatar_url": "https://avatars.githubusercontent.com/u/8755497?v=4",
"events_url": "https://api.github.com/users/wavedatalab/events{/privacy}",
"followers_url": "https://api.github.com/users/wavedatalab/followers",
"following_url": "https://api.github.com/users/wavedatalab/following{/other_user}",
"gists_url": "https://api.github.com/users/wavedatalab/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wavedatalab",
"id": 8755497,
"login": "wavedatalab",
"node_id": "MDQ6VXNlcjg3NTU0OTc=",
"organizations_url": "https://api.github.com/users/wavedatalab/orgs",
"received_events_url": "https://api.github.com/users/wavedatalab/received_events",
"repos_url": "https://api.github.com/users/wavedatalab/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wavedatalab/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wavedatalab/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wavedatalab"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 5 | 2014-11-08T22:57:28Z | 2014-11-09T21:35:09Z | 2014-11-09T14:01:12Z | CONTRIBUTOR | null | Add a pandas tutorial to the tutorial links.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8759/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8759/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8759.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8759",
"merged_at": "2014-11-09T14:01:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8759.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8759"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8760 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8760/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8760/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8760/events | https://github.com/pandas-dev/pandas/issues/8760 | 48,189,906 | MDU6SXNzdWU0ODE4OTkwNg== | 8,760 | TST: require unittest2 for testing on Python 2.6? | {
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 6 | 2014-11-09T03:52:24Z | 2016-01-08T14:07:14Z | 2016-01-08T14:07:14Z | MEMBER | null | There are some nice improvements available in the unittest module on Python 2.7 or later that aren't available on Python 2.6 without using the unittest2 library. In particular, I miss using `assertRaises` as a context manager and `skiptest`.
How about adding the module as a testing requirement on Python 2.6?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8760/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8760/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8761 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8761/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8761/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8761/events | https://github.com/pandas-dev/pandas/issues/8761 | 48,200,990 | MDU6SXNzdWU0ODIwMDk5MA== | 8,761 | TST: yahoo options tests additional skipping criteria | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 2 | 2014-11-09T13:08:09Z | 2014-11-11T05:06:50Z | 2014-11-09T22:04:09Z | CONTRIBUTOR | null | https://travis-ci.org/pydata/pandas/jobs/40415856
https://travis-ci.org/pydata/pandas/jobs/40425986
cc @dstephens99
These are hitting a `ValueError` on multiple-pr's I have seen. Maybe they are getting partial data?
So need to skip on that particular error (not exactly sure where that is coming from).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8761/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8761/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8762 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8762/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8762/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8762/events | https://github.com/pandas-dev/pandas/issues/8762 | 48,207,183 | MDU6SXNzdWU0ODIwNzE4Mw== | 8,762 | `to_sql` dies on columns with closed parens | {
"avatar_url": "https://avatars.githubusercontent.com/u/15233?v=4",
"events_url": "https://api.github.com/users/hammer/events{/privacy}",
"followers_url": "https://api.github.com/users/hammer/followers",
"following_url": "https://api.github.com/users/hammer/following{/other_user}",
"gists_url": "https://api.github.com/users/hammer/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hammer",
"id": 15233,
"login": "hammer",
"node_id": "MDQ6VXNlcjE1MjMz",
"organizations_url": "https://api.github.com/users/hammer/orgs",
"received_events_url": "https://api.github.com/users/hammer/received_events",
"repos_url": "https://api.github.com/users/hammer/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hammer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hammer/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hammer"
} | [
{
"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": "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"
}
]
| 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"
} | 11 | 2014-11-09T17:22:49Z | 2020-05-16T03:36:07Z | null | NONE | null | In [3]: pd.show_versions()
INSTALLED VERSIONS
commit: 9a66dbb
python: 2.7.6.final.0
python-bits: 64
OS: Linux
OS-release: 3.13.0-32-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.15.0-62-g9a66dbb
nose: None
Cython: 0.20.1post0
numpy: 1.8.1
scipy: 0.13.3
statsmodels: None
IPython: 1.2.1
sphinx: None
patsy: None
dateutil: 2.2
pytz: 2014.7
bottleneck: None
tables: None
numexpr: None
matplotlib: None
openpyxl: None
xlrd: 0.9.3
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
rpy2: None
sqlalchemy: 0.9.8
pymysql: None
psycopg2: 2.5.3 (dt dec pq3 ext)
| {
"+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/8762/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8762/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8763 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8763/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8763/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8763/events | https://github.com/pandas-dev/pandas/pull/8763 | 48,212,639 | MDExOlB1bGxSZXF1ZXN0MjQxMTg3NTg= | 8,763 | TST: Raise remote data error if no expiry dates are found (Options) | {
"avatar_url": "https://avatars.githubusercontent.com/u/5957850?v=4",
"events_url": "https://api.github.com/users/davidastephens/events{/privacy}",
"followers_url": "https://api.github.com/users/davidastephens/followers",
"following_url": "https://api.github.com/users/davidastephens/following{/other_user}",
"gists_url": "https://api.github.com/users/davidastephens/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidastephens",
"id": 5957850,
"login": "davidastephens",
"node_id": "MDQ6VXNlcjU5NTc4NTA=",
"organizations_url": "https://api.github.com/users/davidastephens/orgs",
"received_events_url": "https://api.github.com/users/davidastephens/received_events",
"repos_url": "https://api.github.com/users/davidastephens/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidastephens/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidastephens/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidastephens"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 4 | 2014-11-09T20:32:31Z | 2014-11-10T01:18:40Z | 2014-11-09T22:04:09Z | CONTRIBUTOR | null | Fixes #8761.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8763/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8763/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8763.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8763",
"merged_at": "2014-11-09T22:04:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8763.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8763"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8764 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8764/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8764/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8764/events | https://github.com/pandas-dev/pandas/pull/8764 | 48,216,833 | MDExOlB1bGxSZXF1ZXN0MjQxMjA1MjY= | 8,764 | BUG: Fix plots showing multiple sets of axis labels if index is a timeseries. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5957850?v=4",
"events_url": "https://api.github.com/users/davidastephens/events{/privacy}",
"followers_url": "https://api.github.com/users/davidastephens/followers",
"following_url": "https://api.github.com/users/davidastephens/following{/other_user}",
"gists_url": "https://api.github.com/users/davidastephens/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidastephens",
"id": 5957850,
"login": "davidastephens",
"node_id": "MDQ6VXNlcjU5NTc4NTA=",
"organizations_url": "https://api.github.com/users/davidastephens/orgs",
"received_events_url": "https://api.github.com/users/davidastephens/received_events",
"repos_url": "https://api.github.com/users/davidastephens/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidastephens/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidastephens/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidastephens"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 14 | 2014-11-09T22:48:58Z | 2014-12-07T15:44:01Z | 2014-12-07T15:42:01Z | CONTRIBUTOR | null | Fixes #3964
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8764/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8764/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8764.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8764",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8764.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8764"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8765 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8765/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8765/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8765/events | https://github.com/pandas-dev/pandas/issues/8765 | 48,217,804 | MDU6SXNzdWU0ODIxNzgwNA== | 8,765 | BUG: fontsize parameter of plot only affects x-axis. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5957850?v=4",
"events_url": "https://api.github.com/users/davidastephens/events{/privacy}",
"followers_url": "https://api.github.com/users/davidastephens/followers",
"following_url": "https://api.github.com/users/davidastephens/following{/other_user}",
"gists_url": "https://api.github.com/users/davidastephens/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidastephens",
"id": 5957850,
"login": "davidastephens",
"node_id": "MDQ6VXNlcjU5NTc4NTA=",
"organizations_url": "https://api.github.com/users/davidastephens/orgs",
"received_events_url": "https://api.github.com/users/davidastephens/received_events",
"repos_url": "https://api.github.com/users/davidastephens/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidastephens/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidastephens/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidastephens"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 1 | 2014-11-09T23:20:25Z | 2014-12-01T00:09:33Z | 2014-12-01T00:09:33Z | CONTRIBUTOR | null | ``` python
import pandas as pd
import numpy as np
df = pd.DataFrame(np.random.randn(10, 9), index=range(10))
df.plot()
```
Results in this plot (all the same font size):

``` python
df.plot(fontsize=4)
```
Results in this plot (only the x-axis font size is changed):

| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8765/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8765/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8766 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8766/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8766/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8766/events | https://github.com/pandas-dev/pandas/pull/8766 | 48,218,876 | MDExOlB1bGxSZXF1ZXN0MjQxMjE0NTg= | 8,766 | BUG: fontsize parameter of plot only affects one axis. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5957850?v=4",
"events_url": "https://api.github.com/users/davidastephens/events{/privacy}",
"followers_url": "https://api.github.com/users/davidastephens/followers",
"following_url": "https://api.github.com/users/davidastephens/following{/other_user}",
"gists_url": "https://api.github.com/users/davidastephens/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidastephens",
"id": 5957850,
"login": "davidastephens",
"node_id": "MDQ6VXNlcjU5NTc4NTA=",
"organizations_url": "https://api.github.com/users/davidastephens/orgs",
"received_events_url": "https://api.github.com/users/davidastephens/received_events",
"repos_url": "https://api.github.com/users/davidastephens/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidastephens/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidastephens/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidastephens"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 10 | 2014-11-09T23:54:51Z | 2014-12-10T09:07:53Z | 2014-12-10T09:07:40Z | CONTRIBUTOR | null | fixes #8765
``` python
import pandas as pd
df = pd.DataFrame(np.random.randn(10, 9), index=range(10))
df.plot(fontsize=7)
```

| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8766/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8766/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8766.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8766",
"merged_at": "2014-12-10T09:07:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8766.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8766"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8767 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8767/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8767/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8767/events | https://github.com/pandas-dev/pandas/pull/8767 | 48,219,379 | MDExOlB1bGxSZXF1ZXN0MjQxMjE2NjM= | 8,767 | ENH: Add categorical support for Stata export | {
"avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4",
"events_url": "https://api.github.com/users/bashtage/events{/privacy}",
"followers_url": "https://api.github.com/users/bashtage/followers",
"following_url": "https://api.github.com/users/bashtage/following{/other_user}",
"gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bashtage",
"id": 5585221,
"login": "bashtage",
"node_id": "MDQ6VXNlcjU1ODUyMjE=",
"organizations_url": "https://api.github.com/users/bashtage/orgs",
"received_events_url": "https://api.github.com/users/bashtage/received_events",
"repos_url": "https://api.github.com/users/bashtage/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bashtage/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bashtage"
} | [
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
},
{
"color": "5319e7",
"default": false,
"description": "read_stata, to_stata",
"id": 104865385,
"name": "IO Stata",
"node_id": "MDU6TGFiZWwxMDQ4NjUzODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 11 | 2014-11-10T00:13:09Z | 2014-11-13T16:51:41Z | 2014-11-13T11:15:40Z | CONTRIBUTOR | null | Add support for exporting DataFrames containing categorical data.
closes #8633
xref #7621
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8767/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8767/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8767.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8767",
"merged_at": "2014-11-13T11:15:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8767.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8767"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8768 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8768/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8768/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8768/events | https://github.com/pandas-dev/pandas/issues/8768 | 48,219,555 | MDU6SXNzdWU0ODIxOTU1NQ== | 8,768 | TST: wb test failing | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 6 | 2014-11-10T00:18:12Z | 2014-11-10T12:43:32Z | 2014-11-10T12:43:32Z | CONTRIBUTOR | null | xref #8551
cc @jnmclarty
```
.SS.E
======================================================================
ERROR: test_wdi_search (pandas.io.tests.test_wb.TestWB)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/jreback/pandas/pandas/util/testing.py", line 1417, in wrapper
return t(*args, **kwargs)
File "/Users/jreback/pandas/pandas/io/tests/test_wb.py", line 25, in test_wdi_search
result = search('gdp.*capita.*constant').loc[6716:,['id','name']]
File "/Users/jreback/pandas/pandas/core/indexing.py", line 1200, in __getitem__
return self._getitem_tuple(key)
File "/Users/jreback/pandas/pandas/core/indexing.py", line 704, in _getitem_tuple
self._has_valid_tuple(tup)
File "/Users/jreback/pandas/pandas/core/indexing.py", line 131, in _has_valid_tuple
if not self._has_valid_type(k, i):
File "/Users/jreback/pandas/pandas/core/indexing.py", line 1260, in _has_valid_type
(key.start, self.obj._get_axis_name(axis))
KeyError: 'start bound [6716] is not the [index]'
----------------------------------------------------------------------
Ran 5 tests in 14.969s
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8768/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8768/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8769 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8769/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8769/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8769/events | https://github.com/pandas-dev/pandas/pull/8769 | 48,226,850 | MDExOlB1bGxSZXF1ZXN0MjQxMjUyMTI= | 8,769 | TST: Change a failing wb test #8768 | {
"avatar_url": "https://avatars.githubusercontent.com/u/6062071?v=4",
"events_url": "https://api.github.com/users/jnmclarty/events{/privacy}",
"followers_url": "https://api.github.com/users/jnmclarty/followers",
"following_url": "https://api.github.com/users/jnmclarty/following{/other_user}",
"gists_url": "https://api.github.com/users/jnmclarty/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jnmclarty",
"id": 6062071,
"login": "jnmclarty",
"node_id": "MDQ6VXNlcjYwNjIwNzE=",
"organizations_url": "https://api.github.com/users/jnmclarty/orgs",
"received_events_url": "https://api.github.com/users/jnmclarty/received_events",
"repos_url": "https://api.github.com/users/jnmclarty/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jnmclarty/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jnmclarty/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jnmclarty"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 1 | 2014-11-10T03:32:07Z | 2015-02-09T00:44:01Z | 2014-11-10T12:43:19Z | CONTRIBUTOR | null | Fixes a previously poorly designed test in io.wb.
Closes #8768
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8769/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8769/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8769.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8769",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8769.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8769"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8770 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8770/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8770/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8770/events | https://github.com/pandas-dev/pandas/issues/8770 | 48,244,423 | MDU6SXNzdWU0ODI0NDQyMw== | 8,770 | BUG: categorical column dropped from groupby agg result when as_index=False | {
"avatar_url": "https://avatars.githubusercontent.com/u/8589139?v=4",
"events_url": "https://api.github.com/users/aimboden/events{/privacy}",
"followers_url": "https://api.github.com/users/aimboden/followers",
"following_url": "https://api.github.com/users/aimboden/following{/other_user}",
"gists_url": "https://api.github.com/users/aimboden/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aimboden",
"id": 8589139,
"login": "aimboden",
"node_id": "MDQ6VXNlcjg1ODkxMzk=",
"organizations_url": "https://api.github.com/users/aimboden/orgs",
"received_events_url": "https://api.github.com/users/aimboden/received_events",
"repos_url": "https://api.github.com/users/aimboden/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aimboden/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aimboden/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aimboden"
} | [
{
"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": 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 | 2014-11-10T09:22:12Z | 2018-07-06T21:30:07Z | 2018-07-06T21:30:00Z | NONE | null | Hello everyone, updating to Pandas 0.15.1 breaks my code because of the following behaviour. When performing an aggregation operation on a groupby object containing a categorical, with as_index=False, this column is now dropped from the aggregation result. This may be an unexpected consequence of #8585 , and certainly looks as a bug to me.
``` python
import pandas as pd
import numpy as np
d = {'Foo': [1, 2, 3, 4, 5, 6, 11],
'Bar': ['AA', 'AA', 'AA', 'BB', 'BB', 'BB',
'CC'],
'Baz': [10, 20, 30, 40, 50, 60, 70]}
df = pd.DataFrame(d)
ls = np.linspace(0, 30, 7)
groups = df.groupby([pd.cut(df['Foo'], ls), 'Bar'], as_index=False)
df2 = groups['Baz'].agg({'Mean Baz': 'mean'})
```
produces:
``` python
>>> pd.__version__
'0.15.1'
>>> df2
```
| | Bar | Mean Baz |
| --- | --- | --- |
| 0 | AA | 20 |
| 1 | BB | 45 |
| 2 | BB | 60 |
| 3 | CC | 70 |
, whereas I expect the following:
``` python
>>> pd.__version__
'0.15.0'
```
| | Foo | Bar | Mean Baz |
| --- | --- | --- | --- |
| 0 | (0, 5] | AA | 20 |
| 1 | (0, 5] | BB | 45 |
| 2 | (5, 10] | BB | 60 |
| 3 | (10, 15] | CC | 70 |
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8770/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8770/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8771 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8771/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8771/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8771/events | https://github.com/pandas-dev/pandas/issues/8771 | 48,258,332 | MDU6SXNzdWU0ODI1ODMzMg== | 8,771 | Timestamp does not parse the 'Z' zone designator for UTC | {
"avatar_url": "https://avatars.githubusercontent.com/u/7666987?v=4",
"events_url": "https://api.github.com/users/broessli/events{/privacy}",
"followers_url": "https://api.github.com/users/broessli/followers",
"following_url": "https://api.github.com/users/broessli/following{/other_user}",
"gists_url": "https://api.github.com/users/broessli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/broessli",
"id": 7666987,
"login": "broessli",
"node_id": "MDQ6VXNlcjc2NjY5ODc=",
"organizations_url": "https://api.github.com/users/broessli/orgs",
"received_events_url": "https://api.github.com/users/broessli/received_events",
"repos_url": "https://api.github.com/users/broessli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/broessli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/broessli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/broessli"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 5 | 2014-11-10T12:14:42Z | 2014-11-27T17:48:12Z | 2014-11-27T17:48:12Z | NONE | null | Pandas 0.14.1 does parse UTC 'Z' designator:
``` python
In [1]: import pandas as pd;pd.__version__
Out[1]: '0.14.1'
In [2]: pd.Timestamp("2014-11-10 11:00Z")
Out[2]: Timestamp('2014-11-10 11:00:00+0000', tz='UTC')
```
Beginning with pandas 0.15.0, it seems to be broken:
``` python
In [1]: import pandas as pd;pd.__version__
Out[1]: '0.15.0'
In [2]: pd.Timestamp("2014-11-10 11:00Z")
Out[2]: Timestamp('2014-11-10 11: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/8771/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8771/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8772 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8772/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8772/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8772/events | https://github.com/pandas-dev/pandas/issues/8772 | 48,259,908 | MDU6SXNzdWU0ODI1OTkwOA== | 8,772 | 'infer_freq' does not work with DST transition | {
"avatar_url": "https://avatars.githubusercontent.com/u/7666987?v=4",
"events_url": "https://api.github.com/users/broessli/events{/privacy}",
"followers_url": "https://api.github.com/users/broessli/followers",
"following_url": "https://api.github.com/users/broessli/following{/other_user}",
"gists_url": "https://api.github.com/users/broessli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/broessli",
"id": 7666987,
"login": "broessli",
"node_id": "MDQ6VXNlcjc2NjY5ODc=",
"organizations_url": "https://api.github.com/users/broessli/orgs",
"received_events_url": "https://api.github.com/users/broessli/received_events",
"repos_url": "https://api.github.com/users/broessli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/broessli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/broessli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/broessli"
} | [
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 5 | 2014-11-10T12:35:54Z | 2019-08-22T09:10:57Z | 2014-11-14T19:31:48Z | NONE | null | Consider the following index crossing a DST transition:
``` python
In [1]: import pandas as pd;pd.__version__
Out[1]: '0.15.0'
In [2]: index = pd.date_range(pd.Timestamp("2014-10-25 03:00", tz="Europe/Paris"), periods=10, freq="3H")
In [3]: index
Out[3]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2014-10-25 03:00:00+02:00, ..., 2014-10-26 05:00:00+01:00]
Length: 10, Freq: 3H, Timezone: Europe/Paris
```
Pandas cannot infer the index frequency:
``` python
In [4]: pd.infer_freq(index) is None
Out[4]: True
```
If we convert the index to UTC, the frequency can be inferred:
``` python
In [5]: pd.infer_freq(index.tz_convert("UTC"))
Out[5]: '3H'
```
If the index does not cross a DST boundary, the frequency can be inferred as well:
``` python
In [6]: index = pd.date_range(pd.Timestamp("2014-10-25 03:00", tz="Europe/Paris"), periods=6, freq="3H")
In [7]: index
Out[7]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2014-10-25 03:00:00+02:00, ..., 2014-10-25 18:00:00+02:00]
Length: 6, Freq: 3H, Timezone: Europe/Paris
In [8]: pd.infer_freq(index)
Out[8]: '3H'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8772/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8772/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8773 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8773/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8773/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8773/events | https://github.com/pandas-dev/pandas/issues/8773 | 48,260,534 | MDU6SXNzdWU0ODI2MDUzNA== | 8,773 | read_ga bug | {
"avatar_url": "https://avatars.githubusercontent.com/u/104787?v=4",
"events_url": "https://api.github.com/users/benoitpointet/events{/privacy}",
"followers_url": "https://api.github.com/users/benoitpointet/followers",
"following_url": "https://api.github.com/users/benoitpointet/following{/other_user}",
"gists_url": "https://api.github.com/users/benoitpointet/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/benoitpointet",
"id": 104787,
"login": "benoitpointet",
"node_id": "MDQ6VXNlcjEwNDc4Nw==",
"organizations_url": "https://api.github.com/users/benoitpointet/orgs",
"received_events_url": "https://api.github.com/users/benoitpointet/received_events",
"repos_url": "https://api.github.com/users/benoitpointet/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/benoitpointet/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/benoitpointet/subscriptions",
"type": "User",
"url": "https://api.github.com/users/benoitpointet"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "pandas-gbq compatability",
"id": 57351315,
"name": "IO Google",
"node_id": "MDU6TGFiZWw1NzM1MTMxNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google"
}
]
| closed | false | null | []
| null | 5 | 2014-11-10T12:43:23Z | 2014-11-11T14:41:39Z | 2014-11-11T14:08:22Z | CONTRIBUTOR | null | Cannot get io.ga to work since update to 14.1 (using 0.15.0 right now):
TypeError: list indices must be integers, not Index
``` python
import pandas.io.ga as ga
df = ga.read_ga(
property_id = "UA-XXX",
profile_id = "XXX",
metrics = ['users'],
dimensions = ['dayOfWeek','hour'],
start_date = "2014-02-03",
end_date = "2014-08-03"
)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8773/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8773/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8774 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8774/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8774/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8774/events | https://github.com/pandas-dev/pandas/issues/8774 | 48,262,006 | MDU6SXNzdWU0ODI2MjAwNg== | 8,774 | 'date_range' no longer has a true "24H" frequency | {
"avatar_url": "https://avatars.githubusercontent.com/u/7666987?v=4",
"events_url": "https://api.github.com/users/broessli/events{/privacy}",
"followers_url": "https://api.github.com/users/broessli/followers",
"following_url": "https://api.github.com/users/broessli/following{/other_user}",
"gists_url": "https://api.github.com/users/broessli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/broessli",
"id": 7666987,
"login": "broessli",
"node_id": "MDQ6VXNlcjc2NjY5ODc=",
"organizations_url": "https://api.github.com/users/broessli/orgs",
"received_events_url": "https://api.github.com/users/broessli/received_events",
"repos_url": "https://api.github.com/users/broessli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/broessli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/broessli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/broessli"
} | [
{
"color": "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": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 4 | 2014-11-10T13:01:45Z | 2018-04-09T15:13:16Z | 2018-04-09T15:13:16Z | NONE | null | The semantic of the frequencies "D" and "24H" in 'date_range' has changed in pandas 0.15.0: they are now both equivalent to a "calendar daily" frequency, ie local time is kept the same across DST transition:
``` python
In [1]: import pandas as pd;pd.__version__
Out[1]: '0.15.0'
In [2]: list(pd.date_range(pd.Timestamp("2014-10-24 06:00", tz="Europe/Paris"), periods=4, freq="D"))
Out[2]:
[Timestamp('2014-10-24 06:00:00+0200', tz='Europe/Paris', offset='D'),
Timestamp('2014-10-25 06:00:00+0200', tz='Europe/Paris', offset='D'),
Timestamp('2014-10-26 06:00:00+0100', tz='Europe/Paris', offset='D'),
Timestamp('2014-10-27 06:00:00+0100', tz='Europe/Paris', offset='D')]
In [3]: list(pd.date_range(pd.Timestamp("2014-10-24 06:00", tz="Europe/Paris"), periods=4, freq="24H"))
Out[3]:
[Timestamp('2014-10-24 06:00:00+0200', tz='Europe/Paris', offset='24H'),
Timestamp('2014-10-25 06:00:00+0200', tz='Europe/Paris', offset='24H'),
Timestamp('2014-10-26 06:00:00+0100', tz='Europe/Paris', offset='24H'),
Timestamp('2014-10-27 06:00:00+0100', tz='Europe/Paris', offset='24H')]
```
But what if we do want a true "24H" frequency ? I think "D" and "24H" should not share the same semantic, Out[2] is OK but Out[3] should be:
``` python
[Timestamp('2014-10-24 06:00:00+0200', tz='Europe/Paris'),
Timestamp('2014-10-25 06:00:00+0200', tz='Europe/Paris'),
Timestamp('2014-10-26 05:00:00+0100', tz='Europe/Paris'),
Timestamp('2014-10-27 05:00:00+0100', tz='Europe/Paris')]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8774/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8774/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8775 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8775/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8775/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8775/events | https://github.com/pandas-dev/pandas/issues/8775 | 48,263,687 | MDU6SXNzdWU0ODI2MzY4Nw== | 8,775 | df.info() ignores index hashtable memory usage | {
"avatar_url": "https://avatars.githubusercontent.com/u/9023555?v=4",
"events_url": "https://api.github.com/users/kay1793/events{/privacy}",
"followers_url": "https://api.github.com/users/kay1793/followers",
"following_url": "https://api.github.com/users/kay1793/following{/other_user}",
"gists_url": "https://api.github.com/users/kay1793/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kay1793",
"id": 9023555,
"login": "kay1793",
"node_id": "MDQ6VXNlcjkwMjM1NTU=",
"organizations_url": "https://api.github.com/users/kay1793/orgs",
"received_events_url": "https://api.github.com/users/kay1793/received_events",
"repos_url": "https://api.github.com/users/kay1793/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kay1793/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kay1793/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kay1793"
} | [
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 4 | 2014-11-10T13:22:33Z | 2017-04-25T21:51:22Z | 2017-04-25T21:51:22Z | NONE | null | another problem with memory report (#7619) in df.info() like #8578 (locked) and fix to multindex hidden in #8456 (see [whatsnew](http://pandas.pydata.org/pandas-docs/stable/whatsnew.html#enhancements)). it count the space used by index hashtable. for each entry the klib hashtable keeps a copy of the index data as well as a key. for strings that is a copy of the string + pointer. in worst case there is `2*next_power_of_2(len(index))` entries and problem exists whatever dtype the index use.
```
x.index._engine.mapping
Out[13]: <pandas.hashtable.PyObjectHashTable at 0x7fb92f32bef0>
```
cc @shoyer, @njsmith
cc @asobrien
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8775/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8775/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8776 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8776/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8776/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8776/events | https://github.com/pandas-dev/pandas/issues/8776 | 48,271,266 | MDU6SXNzdWU0ODI3MTI2Ng== | 8,776 | DOC/VIS: plotting on current figure/axis with Series/DataFrame.plot() | {
"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"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 17 | 2014-11-10T14:45:09Z | 2017-02-17T15:26:53Z | null | MEMBER | null | From [SO](http://stackoverflow.com/questions/26845727/pandas-plot-multiple-columns-of-a-timeseries-with-labels-example-from-pandas-d/26845829#26845829), I noticed that `Series.plot()` plots on the current axis if no ax is specified, and `DataFrame.plot` not (so creates a new figure when no ax is specified).
Some things about this:
- Is this deliberate? I think this is possible:
- [doc](http://pandas.pydata.org/pandas-docs/stable/generated/pandas.Series.plot.html) of `Series.plot()` mention this on `ax`: "If not passed, uses gca()", while the docs for `DataFrame.plot()` don't say this
- The idea is maybe that a series you often want to add to a figure, and a DataFrame (with already multiple columns) you just want to plot?
- But still, this is somewhat inconsistent?
So, if this is deliberate, we should:
- clarify the docstring of `DataFrame.plot()` (now nothing is said about this)
- remove the `plt.figure()` calls from the documentation, as these have no effect (eg second plot here: http://pandas.pydata.org/pandas-docs/stable/visualization.html#basic-plotting-plot). This is what caused the confusion on SO.
or if not:
- implement that `DataFrame.plot()` also first tries to get the current axis with `gca`
@TomAugspurger @sinhrks
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8776/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8776/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8777 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8777/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8777/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8777/events | https://github.com/pandas-dev/pandas/issues/8777 | 48,273,392 | MDU6SXNzdWU0ODI3MzM5Mg== | 8,777 | rolling_apply and dataframes | {
"avatar_url": "https://avatars.githubusercontent.com/u/190799?v=4",
"events_url": "https://api.github.com/users/denadai2/events{/privacy}",
"followers_url": "https://api.github.com/users/denadai2/followers",
"following_url": "https://api.github.com/users/denadai2/following{/other_user}",
"gists_url": "https://api.github.com/users/denadai2/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/denadai2",
"id": 190799,
"login": "denadai2",
"node_id": "MDQ6VXNlcjE5MDc5OQ==",
"organizations_url": "https://api.github.com/users/denadai2/orgs",
"received_events_url": "https://api.github.com/users/denadai2/received_events",
"repos_url": "https://api.github.com/users/denadai2/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/denadai2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/denadai2/subscriptions",
"type": "User",
"url": "https://api.github.com/users/denadai2"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
]
| closed | false | null | []
| null | 1 | 2014-11-10T15:05:55Z | 2014-11-10T23:48:07Z | 2014-11-10T23:48:07Z | NONE | null | Hello, I'm trying to apply this
```
from scipy.spatial import distance
def myrolling_apply(df):
print type(df)
print df
print df.dtypes
a = df['predicted'].values
b = df['actual'].values
#dst = distance.euclidean(a,b)
return(df)
rrbug = pd.read_csv('bug.csv')
rrbug = pd.rolling_apply(rrbug, 24, myrolling_apply)
```
To this dataframe https://dl.dropboxusercontent.com/u/1118905/bug.csv. I would aspect to have a dataframe BUT df is a ndarray, as you see from the results:
```
<type 'numpy.ndarray'>
[ 18.038866 18.81628 15.652594 19.418134 23.685213 21.636703
32.264257 44.563431 63.160193 46.759563 44.06377 45.75921
57.929419 58.121308 61.65729 59.300808 64.033246 57.590802
56.642796 53.321256 68.65092 57.555255 39.222144 34.622948]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8777/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8777/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8778 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8778/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8778/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8778/events | https://github.com/pandas-dev/pandas/issues/8778 | 48,279,884 | MDU6SXNzdWU0ODI3OTg4NA== | 8,778 | problem with to_sql with NA | {
"avatar_url": "https://avatars.githubusercontent.com/u/4275603?v=4",
"events_url": "https://api.github.com/users/clembou/events{/privacy}",
"followers_url": "https://api.github.com/users/clembou/followers",
"following_url": "https://api.github.com/users/clembou/following{/other_user}",
"gists_url": "https://api.github.com/users/clembou/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/clembou",
"id": 4275603,
"login": "clembou",
"node_id": "MDQ6VXNlcjQyNzU2MDM=",
"organizations_url": "https://api.github.com/users/clembou/orgs",
"received_events_url": "https://api.github.com/users/clembou/received_events",
"repos_url": "https://api.github.com/users/clembou/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/clembou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/clembou/subscriptions",
"type": "User",
"url": "https://api.github.com/users/clembou"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 12 | 2014-11-10T16:00:36Z | 2014-12-15T10:21:59Z | 2014-12-08T07:42:33Z | NONE | null | i am experiencing issues with writing NA values for a column of boolean with missing values.
``` python
data = [True, None, False]
df = pd.DataFrame(a, columns=['test'])
df.info()
<class 'pandas.core.frame.DataFrame'>
Int64Index: 3 entries, 0 to 2
Data columns (total 1 columns):
test 2 non-null object
dtypes: object(1)
memory usage: 48.0 bytes
```
I am reading data from a mssql server and am trying to write it unchanged in another table.
As the data contains NULL values, pandas changes the dtype to object. when calling to_sql, object fields seem to be mapped to a "text" column type, and the export then fails:
``` python
df.to_sql('test_table', engine_local, if_exists='append', index=True)
DataError: (DataError) ('22018', '[22018] [Microsoft][ODBC SQL Server Driver][SQL Server]Operand type clash: bit is incompatible with text (206) (SQLExecDirectW); [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. (8180)') u'INSERT INTO test_table ([index], test) VALUES (?, ?)' ((0L, True), (1L, None), (2L, False))
```
'object' dtypes are tricky to handle systematically I guess, but maybe we could add the ability to tell pandas how to handle it on a column by column basis?.
something like:
``` python
df.to_sql('test_table', engine_local, if_exists='append', index=True, col_types={'test': bool})
```
could do the trick?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8778/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8778/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8779 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8779/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8779/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8779/events | https://github.com/pandas-dev/pandas/issues/8779 | 48,283,644 | MDU6SXNzdWU0ODI4MzY0NA== | 8,779 | "TypeError: list indices must be integers, not Index" when using Google Analytics IO | {
"avatar_url": "https://avatars.githubusercontent.com/u/1315854?v=4",
"events_url": "https://api.github.com/users/msure/events{/privacy}",
"followers_url": "https://api.github.com/users/msure/followers",
"following_url": "https://api.github.com/users/msure/following{/other_user}",
"gists_url": "https://api.github.com/users/msure/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/msure",
"id": 1315854,
"login": "msure",
"node_id": "MDQ6VXNlcjEzMTU4NTQ=",
"organizations_url": "https://api.github.com/users/msure/orgs",
"received_events_url": "https://api.github.com/users/msure/received_events",
"repos_url": "https://api.github.com/users/msure/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/msure/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/msure/subscriptions",
"type": "User",
"url": "https://api.github.com/users/msure"
} | [
{
"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": "0052cc",
"default": false,
"description": "pandas-gbq compatability",
"id": 57351315,
"name": "IO Google",
"node_id": "MDU6TGFiZWw1NzM1MTMxNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google"
}
]
| closed | false | null | []
| null | 3 | 2014-11-10T16:32:05Z | 2014-11-11T14:08:34Z | 2014-11-10T23:56:22Z | NONE | null | I recently upgraded from pandas 14.1 to 15.0 and now I am having trouble with the Google Analytics IO tool. Even when running simple queries like:
``` python
ga_data = ga.read_ga(metrics='sessions',
dimensions='date',
start_date='2014-06-06',
end_date='2014-10-25',
filters='sourceMedium==google / organic',
account_id='123456789') #obscured account id of course
```
I get the error "TypeError: list indices must be integers, not Index", whereas I use to get back ga_data as a (iirc) Series object with the dates as the index.
Some context: I use Anaconda from Continuum Analytics. My upgrade process was:
1. conda update conda
2. conda update anaconda
3. conda update pandas
The latter also upgraded numpy and one other package (I don't recall the other packages).
Sorry, but I do not have any pull requests to fix (still really new to this). Please let me know if there's anything else I can provide (e.g. the stack trace).
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/8779/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8779/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8780 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8780/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8780/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8780/events | https://github.com/pandas-dev/pandas/issues/8780 | 48,287,901 | MDU6SXNzdWU0ODI4NzkwMQ== | 8,780 | Problem building 0.15.1 on Solaris 11u2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/876947?v=4",
"events_url": "https://api.github.com/users/JnyJny/events{/privacy}",
"followers_url": "https://api.github.com/users/JnyJny/followers",
"following_url": "https://api.github.com/users/JnyJny/following{/other_user}",
"gists_url": "https://api.github.com/users/JnyJny/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/JnyJny",
"id": 876947,
"login": "JnyJny",
"node_id": "MDQ6VXNlcjg3Njk0Nw==",
"organizations_url": "https://api.github.com/users/JnyJny/orgs",
"received_events_url": "https://api.github.com/users/JnyJny/received_events",
"repos_url": "https://api.github.com/users/JnyJny/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/JnyJny/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JnyJny/subscriptions",
"type": "User",
"url": "https://api.github.com/users/JnyJny"
} | [
{
"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": 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 | 2014-11-10T17:06:44Z | 2016-03-10T21:16:57Z | 2016-03-10T21:16:49Z | NONE | null | OS: Solaris 11u2, x86 in a VirtualBox VM.
Python 2.7
Compiler: gcc 4.8.2
There is a Solaris bug (CR 16837431) where /usr/lib/python2.7/conf/Makefile contains paths to build compilers and not installed compilers. I adjusted the shell environment:
```
export CC=gcc
export CXX=g++
export LDSHARED="gcc -shared -Wall -lm"
export BLDSHARED="gcc -shared -Wall -lm"
export LDCXXSHARED="g++ -shared -Wall -lm"
```
I then installed pandas via pip. All of the prerequisites for pandas 0.15 were downloaded and installed without incident. Pandas downloaded and built with many errors when compiling the the various C and C++ source extensions, but ultimately reported that it installed successfully.
Starting a python interpreter and importing pandas resulted in:
```
root@victims11:~# python
Python 2.7.3 (default, Jun 17 2014, 12:54:42) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas
ld.so.1: isapython2.7: fatal: relocation error: file /usr/lib/python2.7/site-packages/pandas/algos.so: symbol signbit: referenced symbol not found
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/pandas/__init__.py", line 7, in <module>
from . import hashtable, tslib, lib
File "pandas/tslib.pyx", line 2842, in init pandas.tslib (pandas/tslib.c:80195)
ImportError: ld.so.1: isapython2.7: fatal: relocation error: file /usr/lib/python2.7/site-packages/pandas/algos.so: symbol signbit: referenced symbol not found
>>>
```
I also cloned and built the current pandas git repository with pretty much the same results.
There are a number of functions reported with implicit declarations by gcc at compile time: signbit, cmp_pandas_datetimestruct, isinf and endcode. Looking at the shared object built, those symbols are unresolved by the link editor, so my linker flags are not doing the job. signbit just happened to be the first symbol it tried to resolve and choked on.
Any help with this would be greatly appreciated.
The following is the pip pandas install output:
```
root@victims11:~# pip install -U pandas --proxy=$http_proxy --download-cache=cache
Downloading/unpacking pandas
Downloading pandas-0.15.1.tar.gz (4.5MB): 4.5MB downloaded
Storing download in cache at ./cache/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpandas%2Fpandas-0.15.1.tar.gz
Running setup.py (path:/tmp/pip_build_root/pandas/setup.py) egg_info for package pandas
warning: no files found matching 'README.rst'
no previously-included directories found matching 'doc/build'
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '#*' found anywhere in distribution
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
warning: no previously-included files matching '*.png' found anywhere in distribution
Requirement already up-to-date: python-dateutil in /usr/lib/python2.7/site-packages (from pandas)
Requirement already up-to-date: pytz>=2011k in /usr/lib/python2.7/site-packages (from pandas)
Requirement already up-to-date: numpy>=1.7.0 in /usr/lib/python2.7/site-packages (from pandas)
Requirement already up-to-date: six in /usr/lib/python2.7/site-packages (from python-dateutil->pandas)
Installing collected packages: pandas
Running setup.py install for pandas
skipping 'pandas/index.c' Cython extension (up-to-date)
building 'pandas.index' extension
gcc -DNDEBUG -Wall -fPIC -DPIC -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/index.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/index.o
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from pandas/index.c:232:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
In file included from pandas/src/klib/khash_python.h:3:0,
from pandas/index.c:236:
pandas/src/klib/khash.h: In function ‘kh_del_str’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:565:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
^
pandas/src/klib/khash.h:573:1: note: in expansion of macro ‘KHASH_MAP_INIT_STR’
KHASH_MAP_INIT_STR(str, size_t)
^
pandas/src/klib/khash.h: In function ‘kh_del_int32’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:527:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
^
pandas/src/klib/khash.h:574:1: note: in expansion of macro ‘KHASH_MAP_INIT_INT’
KHASH_MAP_INIT_INT(int32, size_t)
^
pandas/src/klib/khash.h: In function ‘kh_del_int64’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:548:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, khint64_t, khval_t, 1, kh_int64_hash_func, kh_int64_hash_equal)
^
pandas/src/klib/khash.h:575:1: note: in expansion of macro ‘KHASH_MAP_INIT_INT64’
KHASH_MAP_INIT_INT64(int64, size_t)
^
pandas/src/klib/khash_python.h: In function ‘kh_del_float64’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash_python.h:11:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, khfloat64_t, khval_t, 1, kh_float64_hash_func, kh_float64_hash_equal)
^
pandas/src/klib/khash_python.h:13:1: note: in expansion of macro ‘KHASH_MAP_INIT_FLOAT64’
KHASH_MAP_INIT_FLOAT64(float64, size_t)
^
pandas/src/klib/khash_python.h: In function ‘kh_del_pymap’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash_python.h:35:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_pyobject_t, khval_t, 1, \
^
pandas/src/klib/khash_python.h:38:1: note: in expansion of macro ‘KHASH_MAP_INIT_PYOBJECT’
KHASH_MAP_INIT_PYOBJECT(pymap, Py_ssize_t)
^
pandas/src/klib/khash_python.h: In function ‘kh_del_pyset’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash_python.h:41:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_pyobject_t, char, 0, \
^
pandas/src/klib/khash_python.h:44:1: note: in expansion of macro ‘KHASH_SET_INIT_PYOBJECT’
KHASH_SET_INIT_PYOBJECT(pyset)
^
pandas/src/klib/khash_python.h: In function ‘kh_del_strbox’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:565:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
^
pandas/src/klib/khash_python.h:49:1: note: in expansion of macro ‘KHASH_MAP_INIT_STR’
KHASH_MAP_INIT_STR(strbox, kh_pyobject_t)
^
gcc -DNDEBUG -Wall -fPIC -DPIC -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/src/datetime/np_datetime.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/datetime/np_datetime.o
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from pandas/src/datetime/np_datetime.c:18:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
In file included from pandas/src/datetime/np_datetime.c:10:0:
/usr/include/python2.7/datetime.h:188:25: warning: ‘PyDateTimeAPI’ defined but not used [-Wunused-variable]
static PyDateTime_CAPI *PyDateTimeAPI = NULL;
^
gcc -DNDEBUG -Wall -fPIC -DPIC -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/src/datetime/np_datetime_strings.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/datetime/np_datetime_strings.o
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from pandas/src/datetime/np_datetime_strings.c:17:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
pandas/src/datetime/np_datetime_strings.c:127:1: warning: ‘get_gmtime’ defined but not used [-Wunused-function]
get_gmtime(NPY_TIME_T *ts, struct tm *tms)
^
gcc -shared -Wall -lm -Wall build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/index.o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/datetime/np_datetime.o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/datetime/np_datetime_strings.o -L/usr/lib -lpython2.7 -o build/lib.solaris-2.11-i86pc.32bit-2.7/pandas/index.so
skipping 'pandas/algos.c' Cython extension (up-to-date)
building 'pandas.algos' extension
gcc -DNDEBUG -Wall -fPIC -DPIC -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/algos.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/algos.o
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from pandas/algos.c:232:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
In file included from pandas/src/klib/khash_python.h:3:0,
from pandas/algos.c:246:
pandas/src/klib/khash.h: In function ‘kh_del_str’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:565:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
^
pandas/src/klib/khash.h:573:1: note: in expansion of macro ‘KHASH_MAP_INIT_STR’
KHASH_MAP_INIT_STR(str, size_t)
^
pandas/src/klib/khash.h: In function ‘kh_del_int32’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:527:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
^
pandas/src/klib/khash.h:574:1: note: in expansion of macro ‘KHASH_MAP_INIT_INT’
KHASH_MAP_INIT_INT(int32, size_t)
^
pandas/src/klib/khash.h: In function ‘kh_del_int64’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:548:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, khint64_t, khval_t, 1, kh_int64_hash_func, kh_int64_hash_equal)
^
pandas/src/klib/khash.h:575:1: note: in expansion of macro ‘KHASH_MAP_INIT_INT64’
KHASH_MAP_INIT_INT64(int64, size_t)
^
pandas/src/klib/khash_python.h: In function ‘kh_del_float64’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash_python.h:11:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, khfloat64_t, khval_t, 1, kh_float64_hash_func, kh_float64_hash_equal)
^
pandas/src/klib/khash_python.h:13:1: note: in expansion of macro ‘KHASH_MAP_INIT_FLOAT64’
KHASH_MAP_INIT_FLOAT64(float64, size_t)
^
pandas/src/klib/khash_python.h: In function ‘kh_del_pymap’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash_python.h:35:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_pyobject_t, khval_t, 1, \
^
pandas/src/klib/khash_python.h:38:1: note: in expansion of macro ‘KHASH_MAP_INIT_PYOBJECT’
KHASH_MAP_INIT_PYOBJECT(pymap, Py_ssize_t)
^
pandas/src/klib/khash_python.h: In function ‘kh_del_pyset’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash_python.h:41:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_pyobject_t, char, 0, \
^
pandas/src/klib/khash_python.h:44:1: note: in expansion of macro ‘KHASH_SET_INIT_PYOBJECT’
KHASH_SET_INIT_PYOBJECT(pyset)
^
pandas/src/klib/khash_python.h: In function ‘kh_del_strbox’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:565:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
^
pandas/src/klib/khash_python.h:49:1: note: in expansion of macro ‘KHASH_MAP_INIT_STR’
KHASH_MAP_INIT_STR(strbox, kh_pyobject_t)
^
pandas/algos.c: In function ‘__pyx_pf_6pandas_5algos_24roll_mean’:
pandas/algos.c:26752:7: warning: implicit declaration of function ‘signbit’ [-Wimplicit-function-declaration]
__pyx_t_12 = (signbit(__pyx_v_val) != 0);
^
gcc -shared -Wall -lm -Wall build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/algos.o -L/usr/lib -lpython2.7 -o build/lib.solaris-2.11-i86pc.32bit-2.7/pandas/algos.so
skipping 'pandas/lib.c' Cython extension (up-to-date)
building 'pandas.lib' extension
gcc -DNDEBUG -Wall -fPIC -DPIC -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/lib.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/lib.o
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from pandas/lib.c:232:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
gcc -shared -Wall -lm -Wall build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/lib.o -L/usr/lib -lpython2.7 -o build/lib.solaris-2.11-i86pc.32bit-2.7/pandas/lib.so
skipping 'pandas/tslib.c' Cython extension (up-to-date)
building 'pandas.tslib' extension
gcc -DNDEBUG -Wall -fPIC -DPIC -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/tslib.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/tslib.o
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from pandas/tslib.c:232:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
In file included from pandas/src/klib/khash_python.h:3:0,
from pandas/tslib.c:243:
pandas/src/klib/khash.h: In function ‘kh_del_str’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:565:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
^
pandas/src/klib/khash.h:573:1: note: in expansion of macro ‘KHASH_MAP_INIT_STR’
KHASH_MAP_INIT_STR(str, size_t)
^
pandas/src/klib/khash.h: In function ‘kh_del_int32’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:527:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
^
pandas/src/klib/khash.h:574:1: note: in expansion of macro ‘KHASH_MAP_INIT_INT’
KHASH_MAP_INIT_INT(int32, size_t)
^
pandas/src/klib/khash.h: In function ‘kh_del_int64’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:548:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, khint64_t, khval_t, 1, kh_int64_hash_func, kh_int64_hash_equal)
^
pandas/src/klib/khash.h:575:1: note: in expansion of macro ‘KHASH_MAP_INIT_INT64’
KHASH_MAP_INIT_INT64(int64, size_t)
^
pandas/src/klib/khash_python.h: In function ‘kh_del_float64’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash_python.h:11:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, khfloat64_t, khval_t, 1, kh_float64_hash_func, kh_float64_hash_equal)
^
pandas/src/klib/khash_python.h:13:1: note: in expansion of macro ‘KHASH_MAP_INIT_FLOAT64’
KHASH_MAP_INIT_FLOAT64(float64, size_t)
^
pandas/src/klib/khash_python.h: In function ‘kh_del_pymap’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash_python.h:35:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_pyobject_t, khval_t, 1, \
^
pandas/src/klib/khash_python.h:38:1: note: in expansion of macro ‘KHASH_MAP_INIT_PYOBJECT’
KHASH_MAP_INIT_PYOBJECT(pymap, Py_ssize_t)
^
pandas/src/klib/khash_python.h: In function ‘kh_del_pyset’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash_python.h:41:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_pyobject_t, char, 0, \
^
pandas/src/klib/khash_python.h:44:1: note: in expansion of macro ‘KHASH_SET_INIT_PYOBJECT’
KHASH_SET_INIT_PYOBJECT(pyset)
^
pandas/src/klib/khash_python.h: In function ‘kh_del_strbox’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:565:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
^
pandas/src/klib/khash_python.h:49:1: note: in expansion of macro ‘KHASH_MAP_INIT_STR’
KHASH_MAP_INIT_STR(strbox, kh_pyobject_t)
^
pandas/tslib.c: In function ‘__pyx_f_6pandas_5tslib__check_dts_bounds’:
pandas/tslib.c:21503:3: warning: implicit declaration of function ‘cmp_pandas_datetimestruct’ [-Wimplicit-function-declaration]
__pyx_t_2 = ((cmp_pandas_datetimestruct(__pyx_v_dts, (&__pyx_v_6pandas_5tslib__NS_MIN_DTS)) == -1) != 0);
^
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ufuncobject.h:317:0,
from pandas/tslib.c:233:
pandas/tslib.c: At top level:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/__ufunc_api.h:241:1: warning: ‘_import_umath’ defined but not used [-Wunused-function]
_import_umath(void)
^
pandas/tslib.c:12509:18: warning: ‘__pyx_f_6pandas_5tslib__tz_format’ defined but not used [-Wunused-function]
static PyObject *__pyx_f_6pandas_5tslib__tz_format(PyObject *__pyx_v_obj, PyObject *__pyx_v_zone) {
^
gcc -DNDEBUG -Wall -fPIC -DPIC -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/src/datetime/np_datetime.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/datetime/np_datetime.o
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from pandas/src/datetime/np_datetime.c:18:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
In file included from pandas/src/datetime/np_datetime.c:10:0:
/usr/include/python2.7/datetime.h:188:25: warning: ‘PyDateTimeAPI’ defined but not used [-Wunused-variable]
static PyDateTime_CAPI *PyDateTimeAPI = NULL;
^
gcc -DNDEBUG -Wall -fPIC -DPIC -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/src/datetime/np_datetime_strings.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/datetime/np_datetime_strings.o
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from pandas/src/datetime/np_datetime_strings.c:17:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
pandas/src/datetime/np_datetime_strings.c:127:1: warning: ‘get_gmtime’ defined but not used [-Wunused-function]
get_gmtime(NPY_TIME_T *ts, struct tm *tms)
^
gcc -DNDEBUG -Wall -fPIC -DPIC -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/src/period.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/period.o
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0,
from pandas/src/period.h:12,
from pandas/src/period.c:1:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
pandas/src/period.c:33:20: warning: ‘NULL_AF_INFO’ defined but not used [-Wunused-variable]
static asfreq_info NULL_AF_INFO;
^
gcc -shared -Wall -lm -Wall build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/tslib.o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/datetime/np_datetime.o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/datetime/np_datetime_strings.o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/period.o -L/usr/lib -lpython2.7 -o build/lib.solaris-2.11-i86pc.32bit-2.7/pandas/tslib.so
skipping 'pandas/parser.c' Cython extension (up-to-date)
building 'pandas.parser' extension
gcc -DNDEBUG -Wall -fPIC -DPIC -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/parser.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/parser.o
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from pandas/parser.c:233:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
In file included from pandas/src/klib/khash_python.h:3:0,
from pandas/parser.c:236:
pandas/src/klib/khash.h: In function ‘kh_del_str’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:565:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
^
pandas/src/klib/khash.h:573:1: note: in expansion of macro ‘KHASH_MAP_INIT_STR’
KHASH_MAP_INIT_STR(str, size_t)
^
pandas/src/klib/khash.h: In function ‘kh_del_int32’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:527:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
^
pandas/src/klib/khash.h:574:1: note: in expansion of macro ‘KHASH_MAP_INIT_INT’
KHASH_MAP_INIT_INT(int32, size_t)
^
pandas/src/klib/khash.h: In function ‘kh_del_int64’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:548:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, khint64_t, khval_t, 1, kh_int64_hash_func, kh_int64_hash_equal)
^
pandas/src/klib/khash.h:575:1: note: in expansion of macro ‘KHASH_MAP_INIT_INT64’
KHASH_MAP_INIT_INT64(int64, size_t)
^
pandas/src/klib/khash_python.h: In function ‘kh_del_float64’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash_python.h:11:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, khfloat64_t, khval_t, 1, kh_float64_hash_func, kh_float64_hash_equal)
^
pandas/src/klib/khash_python.h:13:1: note: in expansion of macro ‘KHASH_MAP_INIT_FLOAT64’
KHASH_MAP_INIT_FLOAT64(float64, size_t)
^
pandas/src/klib/khash_python.h: In function ‘kh_del_pymap’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash_python.h:35:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_pyobject_t, khval_t, 1, \
^
pandas/src/klib/khash_python.h:38:1: note: in expansion of macro ‘KHASH_MAP_INIT_PYOBJECT’
KHASH_MAP_INIT_PYOBJECT(pymap, Py_ssize_t)
^
pandas/src/klib/khash_python.h: In function ‘kh_del_pyset’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash_python.h:41:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_pyobject_t, char, 0, \
^
pandas/src/klib/khash_python.h:44:1: note: in expansion of macro ‘KHASH_SET_INIT_PYOBJECT’
KHASH_SET_INIT_PYOBJECT(pyset)
^
pandas/src/klib/khash_python.h: In function ‘kh_del_strbox’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:565:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
^
pandas/src/klib/khash_python.h:49:1: note: in expansion of macro ‘KHASH_MAP_INIT_STR’
KHASH_MAP_INIT_STR(strbox, kh_pyobject_t)
^
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ufuncobject.h:317:0,
from pandas/parser.c:234:
pandas/parser.c: At top level:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/__ufunc_api.h:241:1: warning: ‘_import_umath’ defined but not used [-Wunused-function]
_import_umath(void)
^
pandas/parser.c:19875:18: warning: ‘__pyx_f_6pandas_6parser__get_na_mask’ defined but not used [-Wunused-function]
static PyObject *__pyx_f_6pandas_6parser__get_na_mask(parser_t *__pyx_v_parser, int __pyx_v_col, int __pyx_v_line_start, int __pyx_v_line_end, kh_str_t *__pyx_v_na_hashset) {
^
gcc -DNDEBUG -Wall -fPIC -DPIC -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/src/parser/tokenizer.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/parser/tokenizer.o
In file included from pandas/src/parser/tokenizer.h:36:0,
from pandas/src/parser/tokenizer.c:20:
pandas/src/klib/khash.h: In function ‘kh_del_str’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:565:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
^
pandas/src/klib/khash.h:573:1: note: in expansion of macro ‘KHASH_MAP_INIT_STR’
KHASH_MAP_INIT_STR(str, size_t)
^
pandas/src/klib/khash.h: In function ‘kh_del_int32’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:527:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
^
pandas/src/klib/khash.h:574:1: note: in expansion of macro ‘KHASH_MAP_INIT_INT’
KHASH_MAP_INIT_INT(int32, size_t)
^
pandas/src/klib/khash.h: In function ‘kh_del_int64’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:548:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, khint64_t, khval_t, 1, kh_int64_hash_func, kh_int64_hash_equal)
^
pandas/src/klib/khash.h:575:1: note: in expansion of macro ‘KHASH_MAP_INIT_INT64’
KHASH_MAP_INIT_INT64(int64, size_t)
^
pandas/src/parser/tokenizer.c: In function ‘parser_buffer_bytes’:
pandas/src/parser/tokenizer.c:562:11: warning: unused variable ‘src’ [-Wunused-variable]
void *src = self->source;
^
pandas/src/parser/tokenizer.c: In function ‘to_longlong_thousands’:
pandas/src/parser/tokenizer.c:1864:11: warning: unused variable ‘p_end’ [-Wunused-variable]
char *p_end;
^
pandas/src/parser/tokenizer.c: In function ‘xstrtod’:
pandas/src/parser/tokenizer.c:2039:16: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
p += (tsep != '\0' & *p == tsep);
^
pandas/src/parser/tokenizer.c: In function ‘precise_xstrtod’:
pandas/src/parser/tokenizer.c:2206:20: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
p += (tsep != '\0' & *p == tsep);
^
gcc -DNDEBUG -Wall -fPIC -DPIC -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/src/parser/io.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/parser/io.o
In file included from pandas/src/parser/tokenizer.h:36:0,
from pandas/src/parser/io.h:2,
from pandas/src/parser/io.c:1:
pandas/src/klib/khash.h: In function ‘kh_del_str’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:565:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
^
pandas/src/klib/khash.h:573:1: note: in expansion of macro ‘KHASH_MAP_INIT_STR’
KHASH_MAP_INIT_STR(str, size_t)
^
pandas/src/klib/khash.h: In function ‘kh_del_int32’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:527:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
^
pandas/src/klib/khash.h:574:1: note: in expansion of macro ‘KHASH_MAP_INIT_INT’
KHASH_MAP_INIT_INT(int32, size_t)
^
pandas/src/klib/khash.h: In function ‘kh_del_int64’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:548:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, khint64_t, khval_t, 1, kh_int64_hash_func, kh_int64_hash_equal)
^
pandas/src/klib/khash.h:575:1: note: in expansion of macro ‘KHASH_MAP_INIT_INT64’
KHASH_MAP_INIT_INT64(int64, size_t)
^
gcc -shared -Wall -lm -Wall build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/parser.o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/parser/tokenizer.o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/parser/io.o -L/usr/lib -lpython2.7 -o build/lib.solaris-2.11-i86pc.32bit-2.7/pandas/parser.so
skipping 'pandas/hashtable.c' Cython extension (up-to-date)
building 'pandas.hashtable' extension
gcc -DNDEBUG -Wall -fPIC -DPIC -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/hashtable.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/hashtable.o
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from pandas/hashtable.c:233:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
In file included from pandas/src/klib/khash_python.h:3:0,
from pandas/hashtable.c:235:
pandas/src/klib/khash.h: In function ‘kh_del_str’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:565:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
^
pandas/src/klib/khash.h:573:1: note: in expansion of macro ‘KHASH_MAP_INIT_STR’
KHASH_MAP_INIT_STR(str, size_t)
^
pandas/src/klib/khash.h: In function ‘kh_del_int32’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:527:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
^
pandas/src/klib/khash.h:574:1: note: in expansion of macro ‘KHASH_MAP_INIT_INT’
KHASH_MAP_INIT_INT(int32, size_t)
^
pandas/src/klib/khash.h: In function ‘kh_del_int64’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:548:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, khint64_t, khval_t, 1, kh_int64_hash_func, kh_int64_hash_equal)
^
pandas/src/klib/khash.h:575:1: note: in expansion of macro ‘KHASH_MAP_INIT_INT64’
KHASH_MAP_INIT_INT64(int64, size_t)
^
pandas/src/klib/khash_python.h: In function ‘kh_del_float64’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash_python.h:11:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, khfloat64_t, khval_t, 1, kh_float64_hash_func, kh_float64_hash_equal)
^
pandas/src/klib/khash_python.h:13:1: note: in expansion of macro ‘KHASH_MAP_INIT_FLOAT64’
KHASH_MAP_INIT_FLOAT64(float64, size_t)
^
pandas/src/klib/khash_python.h: In function ‘kh_del_pymap’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash_python.h:35:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_pyobject_t, khval_t, 1, \
^
pandas/src/klib/khash_python.h:38:1: note: in expansion of macro ‘KHASH_MAP_INIT_PYOBJECT’
KHASH_MAP_INIT_PYOBJECT(pymap, Py_ssize_t)
^
pandas/src/klib/khash_python.h: In function ‘kh_del_pyset’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash_python.h:41:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_pyobject_t, char, 0, \
^
pandas/src/klib/khash_python.h:44:1: note: in expansion of macro ‘KHASH_SET_INIT_PYOBJECT’
KHASH_SET_INIT_PYOBJECT(pyset)
^
pandas/src/klib/khash_python.h: In function ‘kh_del_strbox’:
pandas/src/klib/khash.h:155:38: warning: statement with no effect [-Wunused-value]
#define __ac_set_isdel_true(flag, i) (0)
^
pandas/src/klib/khash.h:321:4: note: in expansion of macro ‘__ac_set_isdel_true’
__ac_set_isdel_true(h->flags, x); \
^
pandas/src/klib/khash.h:327:2: note: in expansion of macro ‘KHASH_INIT2’
KHASH_INIT2(name, static PANDAS_INLINE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
pandas/src/klib/khash.h:565:2: note: in expansion of macro ‘KHASH_INIT’
KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
^
pandas/src/klib/khash_python.h:49:1: note: in expansion of macro ‘KHASH_MAP_INIT_STR’
KHASH_MAP_INIT_STR(strbox, kh_pyobject_t)
^
gcc -shared -Wall -lm -Wall build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/hashtable.o -L/usr/lib -lpython2.7 -o build/lib.solaris-2.11-i86pc.32bit-2.7/pandas/hashtable.so
skipping 'pandas/src/sparse.c' Cython extension (up-to-date)
building 'pandas._sparse' extension
gcc -DNDEBUG -Wall -fPIC -DPIC -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/src/sparse.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/sparse.o
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from pandas/src/sparse.c:232:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
gcc -shared -Wall -lm -Wall build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/sparse.o -L/usr/lib -lm -lpython2.7 -o build/lib.solaris-2.11-i86pc.32bit-2.7/pandas/_sparse.so
skipping 'pandas/src/testing.c' Cython extension (up-to-date)
building 'pandas._testing' extension
gcc -DNDEBUG -Wall -fPIC -DPIC -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/src/testing.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/testing.o
gcc -shared -Wall -lm -Wall build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/testing.o -L/usr/lib -lm -lpython2.7 -o build/lib.solaris-2.11-i86pc.32bit-2.7/pandas/_testing.so
skipping 'pandas/msgpack.cpp' Cython extension (up-to-date)
building 'pandas.msgpack' extension
gcc -DNDEBUG -Wall -fPIC -DPIC -D__LITTLE_ENDIAN__=1 -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/msgpack.cpp -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/msgpack.o
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from pandas/msgpack.cpp:234:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
pandas/msgpack.cpp: In function ‘PyObject* __pyx_pf_6pandas_7msgpack_4unpackb(PyObject*, PyObject*, PyObject*, PyObject*, int, PyObject*, PyObject*, PyObject*)’:
pandas/msgpack.cpp:5581:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
__pyx_t_2 = ((__pyx_v_off < __pyx_v_buf_len) != 0);
^
pandas/msgpack.cpp: In function ‘PyObject* __pyx_f_6pandas_7msgpack_8Unpacker_read_from_file(__pyx_obj_6pandas_7msgpack_Unpacker*)’:
pandas/msgpack.cpp:7164:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (((__pyx_t_2 < __pyx_t_3) != 0)) {
^
pandas/msgpack.cpp: In function ‘PyObject* __pyx_pf_6pandas_7msgpack_8Unpacker_8read_bytes(__pyx_obj_6pandas_7msgpack_Unpacker*, Py_ssize_t)’:
pandas/msgpack.cpp:7644:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (((__pyx_t_1 < __pyx_t_2) != 0)) {
^
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:26:0,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from pandas/msgpack.cpp:234:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h: At global scope:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1629:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
_import_array(void)
^
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ufuncobject.h:317:0,
from pandas/msgpack.cpp:235:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/__ufunc_api.h:241:1: warning: ‘int _import_umath()’ defined but not used [-Wunused-function]
_import_umath(void)
^
g++ -shared -Wall -lm -Wall build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/msgpack.o -L/usr/lib -lpython2.7 -o build/lib.solaris-2.11-i86pc.32bit-2.7/pandas/msgpack.so
building 'pandas.json' extension
gcc -DNDEBUG -Wall -fPIC -DPIC -Ipandas/src/ujson/python -Ipandas/src/ujson/lib -Ipandas/src/datetime -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/src/ujson/python/ujson.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/ujson/python/ujson.o -D_GNU_SOURCE
gcc -DNDEBUG -Wall -fPIC -DPIC -Ipandas/src/ujson/python -Ipandas/src/ujson/lib -Ipandas/src/datetime -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/src/ujson/python/objToJSON.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/ujson/python/objToJSON.o -D_GNU_SOURCE
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from pandas/src/ujson/python/objToJSON.c:40:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
pandas/src/ujson/python/objToJSON.c: In function ‘NpyArr_encodeLabels’:
pandas/src/ujson/python/objToJSON.c:1178:20: warning: unused variable ‘labelsTmp’ [-Wunused-variable]
PyArrayObject* labelsTmp = NULL;
^
pandas/src/ujson/python/objToJSON.c: In function ‘Object_beginTypeContext’:
pandas/src/ujson/python/objToJSON.c:1367:5: warning: implicit declaration of function ‘isinf’ [-Wimplicit-function-declaration]
if (npy_isnan(val) || npy_isinf(val))
^
pandas/src/ujson/python/objToJSON.c:1765:5: warning: implicit declaration of function ‘encode’ [-Wimplicit-function-declaration]
encode (defaultObj, enc, NULL, 0);
^
pandas/src/ujson/python/objToJSON.c: At top level:
pandas/src/ujson/python/objToJSON.c:227:14: warning: ‘PyIntToINT64’ defined but not used [-Wunused-function]
static void *PyIntToINT64(JSOBJ _obj, JSONTypeContext *tc, void *outValue, size_t *_outLen)
^
gcc -DNDEBUG -Wall -fPIC -DPIC -Ipandas/src/ujson/python -Ipandas/src/ujson/lib -Ipandas/src/datetime -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/src/ujson/python/JSONtoObj.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/ujson/python/JSONtoObj.o -D_GNU_SOURCE
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from pandas/src/ujson/python/JSONtoObj.c:41:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
gcc -DNDEBUG -Wall -fPIC -DPIC -Ipandas/src/ujson/python -Ipandas/src/ujson/lib -Ipandas/src/datetime -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/src/ujson/lib/ultrajsonenc.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/ujson/lib/ultrajsonenc.o -D_GNU_SOURCE
gcc -DNDEBUG -Wall -fPIC -DPIC -Ipandas/src/ujson/python -Ipandas/src/ujson/lib -Ipandas/src/datetime -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/src/ujson/lib/ultrajsondec.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/ujson/lib/ultrajsondec.o -D_GNU_SOURCE
pandas/src/ujson/lib/ultrajsondec.c:79:13: warning: ‘ClearError’ defined but not used [-Wunused-function]
static void ClearError( struct DecoderState *ds)
^
gcc -DNDEBUG -Wall -fPIC -DPIC -Ipandas/src/ujson/python -Ipandas/src/ujson/lib -Ipandas/src/datetime -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/src/datetime/np_datetime.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/datetime/np_datetime.o -D_GNU_SOURCE
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from pandas/src/datetime/np_datetime.c:18:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
In file included from pandas/src/datetime/np_datetime.c:10:0:
/usr/include/python2.7/datetime.h:188:25: warning: ‘PyDateTimeAPI’ defined but not used [-Wunused-variable]
static PyDateTime_CAPI *PyDateTimeAPI = NULL;
^
gcc -DNDEBUG -Wall -fPIC -DPIC -Ipandas/src/ujson/python -Ipandas/src/ujson/lib -Ipandas/src/datetime -Ipandas/src/klib -Ipandas/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/src/datetime/np_datetime_strings.c -o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/datetime/np_datetime_strings.o -D_GNU_SOURCE
In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from pandas/src/datetime/np_datetime_strings.c:17:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
pandas/src/datetime/np_datetime_strings.c:127:1: warning: ‘get_gmtime’ defined but not used [-Wunused-function]
get_gmtime(NPY_TIME_T *ts, struct tm *tms)
^
gcc -shared -Wall -lm -Wall build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/ujson/python/ujson.o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/ujson/python/objToJSON.o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/ujson/python/JSONtoObj.o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/ujson/lib/ultrajsonenc.o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/ujson/lib/ultrajsondec.o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/datetime/np_datetime.o build/temp.solaris-2.11-i86pc.32bit-2.7/pandas/src/datetime/np_datetime_strings.o -L/usr/lib -lpython2.7 -o build/lib.solaris-2.11-i86pc.32bit-2.7/pandas/json.so
warning: no files found matching 'README.rst'
no previously-included directories found matching 'doc/build'
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '#*' found anywhere in distribution
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
warning: no previously-included files matching '*.png' found anywhere in distribution
Successfully installed pandas
Cleaning up...
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8780/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8780/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8781 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8781/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8781/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8781/events | https://github.com/pandas-dev/pandas/pull/8781 | 48,314,827 | MDExOlB1bGxSZXF1ZXN0MjQxNzgwMTY= | 8,781 | Allowing empty slice in multi-indices | {
"avatar_url": "https://avatars.githubusercontent.com/u/2397974?v=4",
"events_url": "https://api.github.com/users/SylvainCorlay/events{/privacy}",
"followers_url": "https://api.github.com/users/SylvainCorlay/followers",
"following_url": "https://api.github.com/users/SylvainCorlay/following{/other_user}",
"gists_url": "https://api.github.com/users/SylvainCorlay/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SylvainCorlay",
"id": 2397974,
"login": "SylvainCorlay",
"node_id": "MDQ6VXNlcjIzOTc5NzQ=",
"organizations_url": "https://api.github.com/users/SylvainCorlay/orgs",
"received_events_url": "https://api.github.com/users/SylvainCorlay/received_events",
"repos_url": "https://api.github.com/users/SylvainCorlay/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SylvainCorlay/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SylvainCorlay/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SylvainCorlay"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 8 | 2014-11-10T21:14:40Z | 2014-11-11T00:12:45Z | 2014-11-11T00:11:42Z | CONTRIBUTOR | null | This solves #8737 in the case where there is at least one boolean indexer. The patch of #8739 does not allow the following:
``` python
import pandas as pd
import numpy as np
multi_index = pd.MultiIndex.from_product((['foo', 'bar', 'baz'], ['alpha', 'beta']))
df = pd.DataFrame(np.random.randn(5, 6), index=range(5), columns=multi_index)
df = df.sortlevel(0, axis=1)
df.loc[:, (['foo'], [])]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8781/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8781/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8781.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8781",
"merged_at": "2014-11-11T00:11:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8781.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8781"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8782 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8782/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8782/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8782/events | https://github.com/pandas-dev/pandas/pull/8782 | 48,339,485 | MDExOlB1bGxSZXF1ZXN0MjQxOTM3Mjg= | 8,782 | Do not convert series when looking at sub-daily frequencies. | {
"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": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 7 | 2014-11-11T02:06:09Z | 2014-11-14T19:31:56Z | 2014-11-14T19:31:48Z | CONTRIBUTOR | null | Fixes #8772 by not converting values from UTC to local timezone when trying to infer sub-daily frequencies. Across a DST transition this will result in a non-unique deltas and an inferred frequency of 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/8782/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8782/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8782.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8782",
"merged_at": "2014-11-14T19:31:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8782.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8782"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8783 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8783/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8783/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8783/events | https://github.com/pandas-dev/pandas/pull/8783 | 48,348,609 | MDExOlB1bGxSZXF1ZXN0MjQxOTg4MzQ= | 8,783 | TST: Add additional RemoteDataError check to io.data.Options | {
"avatar_url": "https://avatars.githubusercontent.com/u/5957850?v=4",
"events_url": "https://api.github.com/users/davidastephens/events{/privacy}",
"followers_url": "https://api.github.com/users/davidastephens/followers",
"following_url": "https://api.github.com/users/davidastephens/following{/other_user}",
"gists_url": "https://api.github.com/users/davidastephens/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidastephens",
"id": 5957850,
"login": "davidastephens",
"node_id": "MDQ6VXNlcjU5NTc4NTA=",
"organizations_url": "https://api.github.com/users/davidastephens/orgs",
"received_events_url": "https://api.github.com/users/davidastephens/received_events",
"repos_url": "https://api.github.com/users/davidastephens/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidastephens/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidastephens/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidastephens"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 4 | 2014-11-11T05:07:23Z | 2014-11-12T12:59:26Z | 2014-11-11T14:09:56Z | CONTRIBUTOR | null | Per comment in #8761
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8783/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8783/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8783.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8783",
"merged_at": "2014-11-11T14:09:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8783.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8783"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8784 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8784/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8784/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8784/events | https://github.com/pandas-dev/pandas/pull/8784 | 48,386,043 | MDExOlB1bGxSZXF1ZXN0MjQyMjAxOTM= | 8,784 | BUG: Issue with to_latex and MultiIndex column format. GH8336 | {
"avatar_url": "https://avatars.githubusercontent.com/u/669959?v=4",
"events_url": "https://api.github.com/users/kotfic/events{/privacy}",
"followers_url": "https://api.github.com/users/kotfic/followers",
"following_url": "https://api.github.com/users/kotfic/following{/other_user}",
"gists_url": "https://api.github.com/users/kotfic/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kotfic",
"id": 669959,
"login": "kotfic",
"node_id": "MDQ6VXNlcjY2OTk1OQ==",
"organizations_url": "https://api.github.com/users/kotfic/orgs",
"received_events_url": "https://api.github.com/users/kotfic/received_events",
"repos_url": "https://api.github.com/users/kotfic/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kotfic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kotfic/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kotfic"
} | [
{
"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": "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"
} | 10 | 2014-11-11T13:52:55Z | 2015-07-29T08:52:30Z | 2015-07-28T21:50:15Z | NONE | null | closes #8336
This is a potential resolution to GH8336 It borrows the same code flow from _get_formatted_index in
pandas.core.format
``` python
import pandas as pd
pd.show_versions()
df = pd.DataFrame({
"A": [191, 191, 193, 193, 193],
"B": [1, 1, 2, 2, 3],
"C": ["foo", "foo", "foo", "foo", "foo"],
"D": ["bar", "bar", "bar", "bar", "bar"]})
print "\nOutput:"
print df.set_index(["A", "B"]).to_latex()
```
``` latex
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.8.final.0
python-bits: 64
OS: Linux
OS-release: 3.17.2-1-ARCH
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: C
pandas: 0.15.1
nose: 1.3.4
Cython: 0.21.1
numpy: 1.9.1
scipy: 0.14.0
statsmodels: 0.6.0
IPython: 2.3.0
sphinx: 1.2.3
patsy: 0.3.0
dateutil: 2.2
pytz: 2014.9
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.4.0
openpyxl: 2.1.1
xlrd: 0.9.3
xlwt: None
xlsxwriter: None
lxml: None
bs4: 4.3.2
html5lib: None
httplib2: 0.9
apiclient: None
rpy2: None
sqlalchemy: 0.9.8
pymysql: None
psycopg2: None
Output:
\begin{tabular}{llll}
\toprule
& & C & D \\
\midrule
191 & 1 & & \\
193 & 2 & foo & bar \\
\bottomrule
\end{tabular}
```
After PR
``` latex
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.8.final.0
python-bits: 64
OS: Linux
OS-release: 3.17.2-1-ARCH
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: C
pandas: 0.15.1-18-g81c8a5f
nose: None
Cython: None
numpy: 1.9.1
scipy: None
statsmodels: None
IPython: 2.3.0
sphinx: None
patsy: None
dateutil: 2.2
pytz: 2014.9
bottleneck: None
tables: None
numexpr: None
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
rpy2: None
sqlalchemy: None
pymysql: None
psycopg2: None
Output:
\begin{tabular}{llll}
\toprule
& & C & D \\
\midrule
191 & 1 & & \\
& 1 & foo & bar \\
193 & 2 & foo & bar \\
& 2 & foo & bar \\
& 3 & foo & bar \\
\bottomrule
\end{tabular}
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8784/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8784/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8784.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8784",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8784.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8784"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8785 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8785/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8785/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8785/events | https://github.com/pandas-dev/pandas/pull/8785 | 48,390,710 | MDExOlB1bGxSZXF1ZXN0MjQyMjMwMzQ= | 8,785 | COMPAT: remove Index warnings from io/ga.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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-gbq compatability",
"id": 57351315,
"name": "IO Google",
"node_id": "MDU6TGFiZWw1NzM1MTMxNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 0 | 2014-11-11T14:40:19Z | 2014-11-17T15:12:38Z | 2014-11-17T15:12: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/8785/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8785/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8785.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8785",
"merged_at": "2014-11-17T15:12:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8785.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8785"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/8786 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8786/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8786/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8786/events | https://github.com/pandas-dev/pandas/pull/8786 | 48,409,164 | MDExOlB1bGxSZXF1ZXN0MjQyMzQ2ODI= | 8,786 | Fix unrecognized 'Z' UTC designator | {
"avatar_url": "https://avatars.githubusercontent.com/u/7666987?v=4",
"events_url": "https://api.github.com/users/broessli/events{/privacy}",
"followers_url": "https://api.github.com/users/broessli/followers",
"following_url": "https://api.github.com/users/broessli/following{/other_user}",
"gists_url": "https://api.github.com/users/broessli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/broessli",
"id": 7666987,
"login": "broessli",
"node_id": "MDQ6VXNlcjc2NjY5ODc=",
"organizations_url": "https://api.github.com/users/broessli/orgs",
"received_events_url": "https://api.github.com/users/broessli/received_events",
"repos_url": "https://api.github.com/users/broessli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/broessli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/broessli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/broessli"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 14 | 2014-11-11T17:18:26Z | 2014-11-16T20:34:40Z | 2014-11-15T02:33:45Z | NONE | null | closes [#8771](https://github.com/pydata/pandas/issues/8771)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8786/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8786/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8786.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8786",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8786.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8786"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8787 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8787/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8787/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8787/events | https://github.com/pandas-dev/pandas/pull/8787 | 48,412,178 | MDExOlB1bGxSZXF1ZXN0MjQyMzY1NDc= | 8,787 | BUG: pd.Timedelta np.int, np.float. fixes #8757 | {
"avatar_url": "https://avatars.githubusercontent.com/u/4383303?v=4",
"events_url": "https://api.github.com/users/wholmgren/events{/privacy}",
"followers_url": "https://api.github.com/users/wholmgren/followers",
"following_url": "https://api.github.com/users/wholmgren/following{/other_user}",
"gists_url": "https://api.github.com/users/wholmgren/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wholmgren",
"id": 4383303,
"login": "wholmgren",
"node_id": "MDQ6VXNlcjQzODMzMDM=",
"organizations_url": "https://api.github.com/users/wholmgren/orgs",
"received_events_url": "https://api.github.com/users/wholmgren/received_events",
"repos_url": "https://api.github.com/users/wholmgren/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wholmgren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wholmgren/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wholmgren"
} | [
{
"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": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 2 | 2014-11-11T17:46:19Z | 2014-11-11T23:37:48Z | 2014-11-11T23:37:43Z | CONTRIBUTOR | null | closes #8757
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8787/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8787/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8787.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8787",
"merged_at": "2014-11-11T23:37:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8787.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8787"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8788 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8788/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8788/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8788/events | https://github.com/pandas-dev/pandas/issues/8788 | 48,415,129 | MDU6SXNzdWU0ODQxNTEyOQ== | 8,788 | Qt support reworked. | {
"avatar_url": "https://avatars.githubusercontent.com/u/3585252?v=4",
"events_url": "https://api.github.com/users/datalyze-solutions/events{/privacy}",
"followers_url": "https://api.github.com/users/datalyze-solutions/followers",
"following_url": "https://api.github.com/users/datalyze-solutions/following{/other_user}",
"gists_url": "https://api.github.com/users/datalyze-solutions/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/datalyze-solutions",
"id": 3585252,
"login": "datalyze-solutions",
"node_id": "MDEyOk9yZ2FuaXphdGlvbjM1ODUyNTI=",
"organizations_url": "https://api.github.com/users/datalyze-solutions/orgs",
"received_events_url": "https://api.github.com/users/datalyze-solutions/received_events",
"repos_url": "https://api.github.com/users/datalyze-solutions/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/datalyze-solutions/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datalyze-solutions/subscriptions",
"type": "Organization",
"url": "https://api.github.com/users/datalyze-solutions"
} | []
| closed | false | null | []
| {
"closed_at": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 9 | 2014-11-11T18:14:18Z | 2015-03-08T16:26:35Z | 2015-03-08T16:26:09Z | NONE | null | I've rewritten the current qtpandas model and uploaded it to my pandas fork:
https://github.com/datalyze-solutions/pandas/tree/qt4/pandas/sandbox
Its still in sandbox. An example can be found in tests named TestApp.py. I just testet Qt4 and python2.7, Qt5 might be interesting.
Any reviews are welcome! :smiley:
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8788/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8788/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8789 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8789/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8789/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8789/events | https://github.com/pandas-dev/pandas/issues/8789 | 48,432,343 | MDU6SXNzdWU0ODQzMjM0Mw== | 8,789 | Weird behavior on group by TimeGrouper followed by agg | {
"avatar_url": "https://avatars.githubusercontent.com/u/456462?v=4",
"events_url": "https://api.github.com/users/victorpoluceno/events{/privacy}",
"followers_url": "https://api.github.com/users/victorpoluceno/followers",
"following_url": "https://api.github.com/users/victorpoluceno/following{/other_user}",
"gists_url": "https://api.github.com/users/victorpoluceno/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/victorpoluceno",
"id": 456462,
"login": "victorpoluceno",
"node_id": "MDQ6VXNlcjQ1NjQ2Mg==",
"organizations_url": "https://api.github.com/users/victorpoluceno/orgs",
"received_events_url": "https://api.github.com/users/victorpoluceno/received_events",
"repos_url": "https://api.github.com/users/victorpoluceno/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/victorpoluceno/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/victorpoluceno/subscriptions",
"type": "User",
"url": "https://api.github.com/users/victorpoluceno"
} | [
{
"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": "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 | []
| null | 4 | 2014-11-11T20:42:15Z | 2014-11-11T22:58:46Z | 2014-11-11T22:31:14Z | NONE | null | I'm having problems with `groupby` with `TimeGrouper` followed by agg when `DataFrame` has two lines with unique values.
``` python
from datetime import datetime
import pandas as pd
import numpy as np
result = np.empty(3, dtype=[('name', 'object'),
('value', 'int64'),
('date', 'datetime64[us]')])
# doesn't work
result[0] = ('a', 1, datetime.now())
result[1] = ('b', 1, datetime.now())
# this works
#result[0] = ('a', 1, datetime.now())
#result[1] = ('a', 1, datetime.now())
# this also works
#result[0] = ('a', 1, datetime.now())
#result[1] = ('b', 1, datetime.now())
#result[2] = ('c', 1, datetime.now())
df = pd.DataFrame.from_records(result, index='date')
df = df[df['name'].map(lambda x: not x is None)] # filter blank series
group_list = ['name', pd.TimeGrouper(freq='%sS' % 60)]
grouped = df.groupby(group_list)
result = grouped.agg(['sum', 'count'])
print result.to_records()
```
The main idea is to group by name and date by resample it into 60 seconds intervals. On this example the desired output would be something like this:
``` python
[('a', Timestamp('2014-11-11 20:22:00'), 1, 1)
('b', Timestamp('2014-11-11 20:22:00'), 1, 1)]
```
But it returns this:
``` python
[(<pandas.tseries.resample.TimeGrouper object at 0x2fbea10>, 'b', 1, 1, 1)
('name', 'a', 1, 1, 1)]
```
Sometimes `agg` ignores data if there is nothing to aggregate on, this doesn't seems right to me.
> > > show_versions()
```
INSTALLED VERSIONS
------------------
commit: None
python: 2.6.6.final.0
python-bits: 64
OS: Linux
OS-release: 2.6.32-431.29.2.el6.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.15.1
nose: None
Cython: 0.21
numpy: 1.9.1
scipy: None
statsmodels: None
IPython: None
sphinx: None
patsy: None
dateutil: 2.2
pytz: 2014.9
bottleneck: None
tables: None
numexpr: 2.4
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
rpy2: None
sqlalchemy: None
pymysql: None
psycopg2: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8789/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8789/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8790 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8790/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8790/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8790/events | https://github.com/pandas-dev/pandas/issues/8790 | 48,442,951 | MDU6SXNzdWU0ODQ0Mjk1MQ== | 8,790 | Feature Request: row-level Merge Status Variable | {
"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": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": "2015-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"
} | 5 | 2014-11-11T22:15:07Z | 2015-09-04T00:51:47Z | 2015-09-04T00:51:47Z | CONTRIBUTOR | null | Hello All!
Moving into Pandas from R/Matlab/Stata. One feature I'm finding I really miss: a field generated during a merge that reports, for each row, whether that row came from the left dataset, the right dataset, or was successfully merged.
I do a lot of work in social science where our data is VERY dirty. For example, I'm often merging transliterated names from Pakistan, and so I just want to see after a merge how many records successfully merged, and then easily pull out the records of each time to compare. I'm including a kludge I'm using below, but an in-line option would be so nice, and I think others in my area would also appreciate it.
Thanks!
``` python
df1['left'] = 1
df2['right'] = 1
mergedDF = pd.merge(df1,df2, how='outer', left_on='key1', right_on='key2')
def mergeVar(x):
if x['left'] == 1 and x['right'] == 1 :
return 'both'
elif x['left'] == 1 and x['right'] != 1:
return 'leftOnly'
else: return 'rightOnly'
mergedDF['mergeReport'] = mergedDF.apply(mergeVar, axis=1)
mergedDF.drop(['left', 'right'], axis = 1)
```
(I'd also be happy to help make it, but I'm relatively new to python, so would need some hand-holding to learn how to integrate a new option into an existing function...)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8790/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8790/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8791 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8791/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8791/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8791/events | https://github.com/pandas-dev/pandas/issues/8791 | 48,448,883 | MDU6SXNzdWU0ODQ0ODg4Mw== | 8,791 | HDFStore to work with 'with' statements | {
"avatar_url": "https://avatars.githubusercontent.com/u/8716660?v=4",
"events_url": "https://api.github.com/users/0zeroth/events{/privacy}",
"followers_url": "https://api.github.com/users/0zeroth/followers",
"following_url": "https://api.github.com/users/0zeroth/following{/other_user}",
"gists_url": "https://api.github.com/users/0zeroth/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/0zeroth",
"id": 8716660,
"login": "0zeroth",
"node_id": "MDQ6VXNlcjg3MTY2NjA=",
"organizations_url": "https://api.github.com/users/0zeroth/orgs",
"received_events_url": "https://api.github.com/users/0zeroth/received_events",
"repos_url": "https://api.github.com/users/0zeroth/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/0zeroth/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/0zeroth/subscriptions",
"type": "User",
"url": "https://api.github.com/users/0zeroth"
} | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 1 | 2014-11-11T23:16:38Z | 2014-12-04T11:30:36Z | 2014-12-04T11:30:36Z | NONE | null | This should work:
``` python
with pandas.HDFStore('file.h5') as f:
print(f)
```
as a more convenient form of
``` python
with contextlib.closing(pandas.HDFStore('file.h5')) as f:
print(f)
```
AFAIK this is a easy as adding the following to `HDFStore`
``` python
def _enter_(self): pass
def _exit_(self): self.close()
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8791/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8791/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8792 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8792/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8792/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8792/events | https://github.com/pandas-dev/pandas/pull/8792 | 48,453,331 | MDExOlB1bGxSZXF1ZXN0MjQyNjExMTc= | 8,792 | TST: Add test for get_data_google dtypes | {
"avatar_url": "https://avatars.githubusercontent.com/u/5957850?v=4",
"events_url": "https://api.github.com/users/davidastephens/events{/privacy}",
"followers_url": "https://api.github.com/users/davidastephens/followers",
"following_url": "https://api.github.com/users/davidastephens/following{/other_user}",
"gists_url": "https://api.github.com/users/davidastephens/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidastephens",
"id": 5957850,
"login": "davidastephens",
"node_id": "MDQ6VXNlcjU5NTc4NTA=",
"organizations_url": "https://api.github.com/users/davidastephens/orgs",
"received_events_url": "https://api.github.com/users/davidastephens/received_events",
"repos_url": "https://api.github.com/users/davidastephens/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidastephens/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidastephens/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidastephens"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "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": "pandas-gbq compatability",
"id": 57351315,
"name": "IO Google",
"node_id": "MDU6TGFiZWw1NzM1MTMxNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 4 | 2014-11-12T00:12:57Z | 2014-11-14T12:49:41Z | 2014-11-14T12:49:34Z | CONTRIBUTOR | null | closes #3995
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8792/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8792/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8792.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8792",
"merged_at": "2014-11-14T12:49:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8792.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8792"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8793 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8793/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8793/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8793/events | https://github.com/pandas-dev/pandas/pull/8793 | 48,463,007 | MDExOlB1bGxSZXF1ZXN0MjQyNjUzMjQ= | 8,793 | ENH: serialization of categorical to HDF5 (GH7621) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 15 | 2014-11-12T01:55:30Z | 2014-11-17T00:34:50Z | 2014-11-17T00:34:49Z | CONTRIBUTOR | null | This is implemented by storing the codes directly in the table. And a metadata VLArray of the categories.
Query and appending work as expected. The only quirk is that I don't allow you to append to a table unless the new data has exactly the same categories. Otherwise the codes become meaningless.
This has the nice property of drastically shrinking the storage cost compared to regular strings (which are stored as fixed width of the maximum for that particular column).
I bumped the actual HDF5 storage version to current (was 0.10.1). Its not strictly necessary as this is a completely optional feature, but I am adding the sub-group space 'meta' (which FYI we can use for other things, e.g. to store the column labels and avoid the 64KB limit in attrs, their is an issue about this somewhere)
```
In [14]: df = DataFrame({'a' : Series(list('abccdef')).astype('category'), 'b' : np.random.randn(7)})
In [15]: df
Out[15]:
a b
0 a -0.094609
1 b -1.814638
2 c 0.214974
3 c -0.195395
4 d 0.206022
5 e 1.130589
6 f -0.832810
In [19]: store = pd.HDFStore('test.h5',mode='w')
In [20]: store.append('df',df,data_columns=['a'])
In [21]: store.select('df',where=["a in ['b','d']"])
Out[21]:
a b
1 b -1.814638
4 d 0.206022
In [22]: store.select('df',where=["a in ['b','d']"]).dtypes
Out[22]:
a category
b float64
dtype: object
In [25]: store.get_storer('df').group
Out[25]:
/df (Group) u''
children := ['table' (Table), 'meta' (Group)]
In [26]: store.get_storer('df').group.table
Out[26]:
/df/table (Table(7,)) ''
description := {
"index": Int64Col(shape=(), dflt=0, pos=0),
"values_block_0": Float64Col(shape=(1,), dflt=0.0, pos=1),
"a": Int8Col(shape=(), dflt=0, pos=2)}
byteorder := 'little'
chunkshape := (3855,)
autoindex := True
colindexes := {
"a": Index(6, medium, shuffle, zlib(1)).is_csi=False,
"index": Index(6, medium, shuffle, zlib(1)).is_csi=False}
In [27]: store.get_storer('df').group.meta
Out[27]:
/df/meta (Group) u''
children := ['a' (VLArray)]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8793/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8793/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8793.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8793",
"merged_at": "2014-11-17T00:34:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8793.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8793"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8794 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8794/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8794/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8794/events | https://github.com/pandas-dev/pandas/issues/8794 | 48,491,032 | MDU6SXNzdWU0ODQ5MTAzMg== | 8,794 | ENH: add .normalize() to Timestamp? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "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": 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"
} | 19 | 2014-11-12T09:45:34Z | 2015-03-11T12:11:02Z | 2015-03-11T12:11:02Z | MEMBER | null | From http://stackoverflow.com/questions/26882499/reset-time-part-of-a-pandas-timestamp#26882499
There is now a `DatetimeIndex.normalize()` method to set times to midnight.
Would it be useful to also have this method available on the individual `Timestamp` object?
Further, this method could also be added to the `.dt` accessor (udpate: for this, there already is a similar issue: #5502).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8794/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8794/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8795 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8795/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8795/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8795/events | https://github.com/pandas-dev/pandas/issues/8795 | 48,513,243 | MDU6SXNzdWU0ODUxMzI0Mw== | 8,795 | BUG: Grouper(key='A') gives AttributeError when applying function | {
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 2 | 2014-11-12T14:04:22Z | 2014-12-05T02:34:01Z | 2014-12-05T02:34:01Z | MEMBER | null | I was playing a bit with `pd.Grouper`. Shouldn't the following work:
```
In [109]: df = pd.DataFrame({'A':[0,0,1,1,2,2], 'B':[1,2,3,4,5,6]})
In [110]: df
Out[110]:
A B
0 0 1
1 0 2
2 1 3
3 1 4
4 2 5
5 2 6
In [111]: df.groupby(pd.Grouper(key='A')).sum()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-111-b9e051aabea3> in <module>()
----> 1 df.groupby(pd.Grouper(key='A')).sum()
C:\Anaconda\lib\site-packages\pandas\core\groupby.pyc in f(self)
108 raise SpecificationError(str(e))
109 except Exception:
--> 110 result = self.aggregate(lambda x: npfunc(x, axis=self.axis))
111 if _convert:
112 result = result.convert_objects()
C:\Anaconda\lib\site-packages\pandas\core\groupby.pyc in aggregate(self, arg, *a
rgs, **kwargs)
2634 return getattr(self, cyfunc)()
2635
-> 2636 if self.grouper.nkeys > 1:
2637 return self._python_agg_general(arg, *args, **kwargs)
2638 else:
AttributeError: 'Int64Index' object has no attribute 'nkeys'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8795/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8795/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8796 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8796/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8796/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8796/events | https://github.com/pandas-dev/pandas/issues/8796 | 48,518,462 | MDU6SXNzdWU0ODUxODQ2Mg== | 8,796 | DataFrame.interpolate() is not equivalent to scipy.interpolate.interp1d | {
"avatar_url": "https://avatars.githubusercontent.com/u/2002469?v=4",
"events_url": "https://api.github.com/users/cgkanchi/events{/privacy}",
"followers_url": "https://api.github.com/users/cgkanchi/followers",
"following_url": "https://api.github.com/users/cgkanchi/following{/other_user}",
"gists_url": "https://api.github.com/users/cgkanchi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cgkanchi",
"id": 2002469,
"login": "cgkanchi",
"node_id": "MDQ6VXNlcjIwMDI0Njk=",
"organizations_url": "https://api.github.com/users/cgkanchi/orgs",
"received_events_url": "https://api.github.com/users/cgkanchi/received_events",
"repos_url": "https://api.github.com/users/cgkanchi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cgkanchi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cgkanchi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cgkanchi"
} | [
{
"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"
}
]
| open | false | null | []
| null | 24 | 2014-11-12T14:53:51Z | 2021-04-11T05:31:32Z | null | NONE | null | When pandas is used to interpolate data, the results are not the same as what you get from scipy.interpolate.interp1d.
When using with simple data, the differences are small (see images). However, when used with real-world data, the differences can be large enough to throw off some algorithms that depend on the values of the interpolated data.
In the images, notice two things. First that the results are not the same between the two methods and second, that pandas omits the last point. Manually adding the last point fixes the simple sin(x) case, but not the lat/lon case.
I've also tried with method/kind='linear' with much the same results.
Tested on pandas 0.14.1
To replicate, just run the code below:
```
import numpy
import pandas
from matplotlib import pyplot
import scipy.interpolate
def pandas_interpolate(df, interp_column, method='cubic'):
df = df.set_index(interp_column)
df = df.reindex(numpy.arange(df.index.min(), df.index.max(), 0.0005))
df = df.interpolate(method=method)
df = df.reset_index()
df = df.rename(columns={'index': interp_column})
return df
def scipy_interpolate(df, interp_column, method='cubic'):
series = {}
new_x = numpy.arange(df[interp_column].min(), df[interp_column].max(), 0.0005)
for column in df:
if column == interp_column:
series[column] = new_x
else:
interp_f = scipy.interpolate.interp1d(df[interp_column], df[column], kind=method)
series[column] = interp_f(new_x)
return pandas.DataFrame(series)
if __name__ == '__main__':
df = pandas.read_csv('interp_test.csv')
pd_interp = pandas_interpolate(df, 'distance_km', 'cubic')
scipy_interp = scipy_interpolate(df, 'distance_km', 'cubic')
#pyplot.plot(df['lon'], df['lat'], label='raw data')
pyplot.plot(pd_interp['lon'], pd_interp['lat'], label='pandas')
pyplot.plot(scipy_interp['lon'], scipy_interp['lat'], label='scipy interp1d')
pyplot.legend(loc='best')
pyplot.figure()
df2 = pandas.DataFrame({'x': numpy.arange(10), 'sin(x)': numpy.sin(numpy.arange(10))})
pd_interp2 = pandas_interpolate(df2, 'x', 'cubic')
scipy_interp2 = scipy_interpolate(df2, 'x', 'cubic')
pyplot.plot(pd_interp2['x'], pd_interp2['sin(x)'], label='pandas')
pyplot.plot(scipy_interp2['x'], scipy_interp2['sin(x)'], label='scipy interp1d')
pyplot.legend(loc='best')
pyplot.show()
```
The data file interp_test.csv can be found at https://github.com/cgkanchi/pandas_interpolate_bug



| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8796/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8796/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8797 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8797/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8797/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8797/events | https://github.com/pandas-dev/pandas/issues/8797 | 48,528,297 | MDU6SXNzdWU0ODUyODI5Nw== | 8,797 | Series .equals does not ignore NaNs | {
"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 | 3 | 2014-11-12T16:11:42Z | 2014-11-12T16:30:23Z | 2014-11-12T16:29:54Z | CONTRIBUTOR | null | This is a datatype thing I believe. When I construct a DataFrame and then compare rows of that, NaNs are not ignored contrary to the documentation.
```
import pandas as pd
import numpy as np
a = pd.DataFrame([{'A': 1, 'B': 'b', 'C': np.NAN}, {'A': 1, 'B': 'b', 'C': 1}])
b = pd.DataFrame([{'A': 1, 'B': 'b', 'C': np.NAN}, {'A': 1, 'B': 'b', 'C': 1}])
a.loc[0]
A 1
B b
C NaN
Name: 0, dtype: object
aa = a.loc[0]
bb = b.loc[0]
aa.equals(bb)
False
# which essentially does this in Block
aa.values == bb.values
Out[35]: array([ True, True, False], dtype=bool)
```
Constructing the series outright works as advertised.
```
a = pd.Series({'A': 1, 'B': 'b', 'C': np.NAN})
b = pd.Series({'A': 1, 'B': 'b', 'C': np.NAN})
a.equals(b)
True
a.values == b.values
Out[30]: array([ True, True, True], dtype=bool)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8797/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8797/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8798 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8798/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8798/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8798/events | https://github.com/pandas-dev/pandas/issues/8798 | 48,577,102 | MDU6SXNzdWU0ODU3NzEwMg== | 8,798 | Panda 0.15.1 matplotlib 1.4.2 setting default font.size messes up labels. | {
"avatar_url": "https://avatars.githubusercontent.com/u/3391614?v=4",
"events_url": "https://api.github.com/users/sorenwacker/events{/privacy}",
"followers_url": "https://api.github.com/users/sorenwacker/followers",
"following_url": "https://api.github.com/users/sorenwacker/following{/other_user}",
"gists_url": "https://api.github.com/users/sorenwacker/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sorenwacker",
"id": 3391614,
"login": "sorenwacker",
"node_id": "MDQ6VXNlcjMzOTE2MTQ=",
"organizations_url": "https://api.github.com/users/sorenwacker/orgs",
"received_events_url": "https://api.github.com/users/sorenwacker/received_events",
"repos_url": "https://api.github.com/users/sorenwacker/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sorenwacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sorenwacker/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sorenwacker"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 5 | 2014-11-12T23:20:56Z | 2016-07-04T10:58:42Z | 2016-07-04T10:58:42Z | CONTRIBUTOR | null | ```
import pandas as pd
import matplotlib.pyplot as plt
import matplotlib as m
print 'Matplotlib version:', m.__version__
Matplotlib version: 1.4.2
print 'Pandas version:', pd.__version__
Pandas version: 0.15.1
plt.style.use('ggplot')
m.rc("text.latex",preamble=r"\usepackage{cmbright}")
m.rcParams['font.size'] = 20 ###<--- This line causes trouble.
```
## df is a pandas dataframe
1) it messes up the following:
```
df.boxplot("column name",by="splitcol")
```
The heading and subheading overlap.
regards
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8798/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8798/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8799 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8799/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8799/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8799/events | https://github.com/pandas-dev/pandas/issues/8799 | 48,578,859 | MDU6SXNzdWU0ODU3ODg1OQ== | 8,799 | Panda 0.15.1 matplotlib 1.4.2 setting boxplot heading/subheading | {
"avatar_url": "https://avatars.githubusercontent.com/u/3391614?v=4",
"events_url": "https://api.github.com/users/sorenwacker/events{/privacy}",
"followers_url": "https://api.github.com/users/sorenwacker/followers",
"following_url": "https://api.github.com/users/sorenwacker/following{/other_user}",
"gists_url": "https://api.github.com/users/sorenwacker/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sorenwacker",
"id": 3391614,
"login": "sorenwacker",
"node_id": "MDQ6VXNlcjMzOTE2MTQ=",
"organizations_url": "https://api.github.com/users/sorenwacker/orgs",
"received_events_url": "https://api.github.com/users/sorenwacker/received_events",
"repos_url": "https://api.github.com/users/sorenwacker/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sorenwacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sorenwacker/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sorenwacker"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 2 | 2014-11-12T23:41:02Z | 2018-07-06T21:26:34Z | 2018-07-06T21:26:34Z | CONTRIBUTOR | null | Hi,
the heading and subheading in the DataFrame.boxplot and DataFrame.hist are generated automatically. I have several issues here.
1) Would like to have the option to turn it on/off/modify content.
2) Default distance between subheading and heading should be larger
3) Default generation of heading/subheading should be consistent
At the moment the functions generate different headings/subheadings.
regards
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8799/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8799/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8800 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8800/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8800/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8800/events | https://github.com/pandas-dev/pandas/pull/8800 | 48,600,147 | MDExOlB1bGxSZXF1ZXN0MjQzNDc0NDk= | 8,800 | Removing typo as Renaming | {
"avatar_url": "https://avatars.githubusercontent.com/u/4179106?v=4",
"events_url": "https://api.github.com/users/gepcel/events{/privacy}",
"followers_url": "https://api.github.com/users/gepcel/followers",
"following_url": "https://api.github.com/users/gepcel/following{/other_user}",
"gists_url": "https://api.github.com/users/gepcel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gepcel",
"id": 4179106,
"login": "gepcel",
"node_id": "MDQ6VXNlcjQxNzkxMDY=",
"organizations_url": "https://api.github.com/users/gepcel/orgs",
"received_events_url": "https://api.github.com/users/gepcel/received_events",
"repos_url": "https://api.github.com/users/gepcel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gepcel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gepcel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gepcel"
} | []
| closed | false | null | []
| null | 1 | 2014-11-13T05:46:38Z | 2014-11-13T08:48:24Z | 2014-11-13T08:48:24Z | CONTRIBUTOR | null | Should be 'Removing', I think, if I'm not misunderstanding.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8800/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8800/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8800.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8800",
"merged_at": "2014-11-13T08:48:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8800.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8800"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8801 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8801/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8801/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8801/events | https://github.com/pandas-dev/pandas/issues/8801 | 48,615,642 | MDU6SXNzdWU0ODYxNTY0Mg== | 8,801 | Series.mask should accept same arguments as Series.where | {
"avatar_url": "https://avatars.githubusercontent.com/u/6059365?v=4",
"events_url": "https://api.github.com/users/maxgrenderjones/events{/privacy}",
"followers_url": "https://api.github.com/users/maxgrenderjones/followers",
"following_url": "https://api.github.com/users/maxgrenderjones/following{/other_user}",
"gists_url": "https://api.github.com/users/maxgrenderjones/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/maxgrenderjones",
"id": 6059365,
"login": "maxgrenderjones",
"node_id": "MDQ6VXNlcjYwNTkzNjU=",
"organizations_url": "https://api.github.com/users/maxgrenderjones/orgs",
"received_events_url": "https://api.github.com/users/maxgrenderjones/received_events",
"repos_url": "https://api.github.com/users/maxgrenderjones/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/maxgrenderjones/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/maxgrenderjones/subscriptions",
"type": "User",
"url": "https://api.github.com/users/maxgrenderjones"
} | [
{
"color": "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"
} | 1 | 2014-11-13T09:38:39Z | 2015-04-04T18:28:30Z | 2015-04-04T18:28:30Z | CONTRIBUTOR | null | `Series.mask` just performs a mask operation. `Series.where` accepts substitute values. (In the meantime, workaround is simple - just invert the where selection).
Version 0.15.1 docs:
```
Series.mask(cond)
Returns copy whose values are replaced with nan if the inverted condition is True
Series.where(cond, other=nan, inplace=False, axis=None, level=None, try_cast=False, raise_on_error=True)
Return an object of same shape as self and whose corresponding entries are from self where cond is True and otherwise are from other.
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8801/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8801/timeline | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.