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/5401 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5401/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5401/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5401/events | https://github.com/pandas-dev/pandas/issues/5401 | 21,926,076 | MDU6SXNzdWUyMTkyNjA3Ng== | 5,401 | ENH: cross join in merge() and join() | {
"avatar_url": "https://avatars.githubusercontent.com/u/1523574?v=4",
"events_url": "https://api.github.com/users/RomanPekar/events{/privacy}",
"followers_url": "https://api.github.com/users/RomanPekar/followers",
"following_url": "https://api.github.com/users/RomanPekar/following{/other_user}",
"gists_url": "https://api.github.com/users/RomanPekar/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/RomanPekar",
"id": 1523574,
"login": "RomanPekar",
"node_id": "MDQ6VXNlcjE1MjM1NzQ=",
"organizations_url": "https://api.github.com/users/RomanPekar/orgs",
"received_events_url": "https://api.github.com/users/RomanPekar/received_events",
"repos_url": "https://api.github.com/users/RomanPekar/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/RomanPekar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RomanPekar/subscriptions",
"type": "User",
"url": "https://api.github.com/users/RomanPekar"
} | [
{
"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": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 42 | 2013-10-31T20:53:13Z | 2020-11-26T00:31:47Z | 2020-11-26T00:31:47Z | CONTRIBUTOR | null | related here: https://github.com/pydata/pandas/issues/7203
If I haven't missed something, there's no simple way to make [cartesian product](http://pandas.pydata.org/pandas-docs/stable/merging.html#brief-primer-on-merge-methods-relational-algebra) method in pandas. For example, see http://stackoverflow.com/questions/19684765/pandas-extending-the-dataframe-by-adding-another-levels/19684948#19684948.
To do cross join, one have to add some keys to DataFrames, like this:
```
>>> dfA = pd.DataFrame(['a','b','c'],columns=['A'])
>>> dfB = pd.DataFrame(range(3),columns=['B'])
>>> dfA['key'] = 1
>>> dfB['key'] = 1
>>> pd.merge(dfB, dfA, on='key').ix[:, ('A','B')]
A B
0 a 0
1 b 0
2 c 0
3 a 1
4 b 1
5 c 1
6 a 2
7 b 2
8 c 2
```
How about adding possibility to pass how='cross' into merge() and join() methods?
| {
"+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/5401/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5401/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5402 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5402/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5402/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5402/events | https://github.com/pandas-dev/pandas/issues/5402 | 21,929,013 | MDU6SXNzdWUyMTkyOTAxMw== | 5,402 | BUG/Not Implemented Panel.to_frame() with MultiIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"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": "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-02-03T05:17:36Z",
"closed_issues": 314,
"created_at": "2013-08-26T22:11:58Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
},
"description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.",
"due_on": "2014-02-04T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/23",
"id": 412013,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels",
"node_id": "MDk6TWlsZXN0b25lNDEyMDEz",
"number": 23,
"open_issues": 0,
"state": "closed",
"title": "0.13.1",
"updated_at": "2014-02-03T05:18:00Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23"
} | 8 | 2013-10-31T21:41:07Z | 2014-01-15T16:12:41Z | 2014-01-15T16:12:41Z | CONTRIBUTOR | null | Should this be doable?
``` python
In [39]: df = pd.DataFrame({'A': [1, 2], 'B': pd.to_datetime(['a', 'b'])},
index=pd.MultiIndex.from_tuples([(1, 'one'), (1, 'two')]))
In [40]: df
Out[40]:
A B
1 one 1 a
two 2 b
In [41]: wp = pd.Panel({'i1': df, 'i2': df})
In [42]: wp.to_frame()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-42-e49d9f2f9609> in <module>()
----> 1 wp.to_frame()
/Users/tom/Envs/pandas-dev/lib/python2.7/site-packages/pandas-0.12.0_993_gda89834-py2.7-macosx-10.8-x86_64.egg/pandas/core/panel.pyc in to_frame(self, filter_observations)
846 index = MultiIndex(levels=[self.major_axis, self.minor_axis],
847 labels=[major_labels, minor_labels],
--> 848 names=[maj_name, min_name], verify_integrity=False)
849
850 return DataFrame(data, index=index, columns=self.items)
/Users/tom/Envs/pandas-dev/lib/python2.7/site-packages/pandas-0.12.0_993_gda89834-py2.7-macosx-10.8-x86_64.egg/pandas/core/index.pyc in __new__(cls, levels, labels, sortorder, names, copy, verify_integrity)
1880 if names is not None:
1881 # handles name validation
-> 1882 subarr._set_names(names)
1883
1884 if sortorder is not None:
/Users/tom/Envs/pandas-dev/lib/python2.7/site-packages/pandas-0.12.0_993_gda89834-py2.7-macosx-10.8-x86_64.egg/pandas/core/index.pyc in _set_names(self, values, validate)
2150 # set the name
2151 for name, level in zip(values, self.levels):
-> 2152 level.rename(name, inplace=True)
2153
2154 names = property(
/Users/tom/Envs/pandas-dev/lib/python2.7/site-packages/pandas-0.12.0_993_gda89834-py2.7-macosx-10.8-x86_64.egg/pandas/core/index.pyc in set_names(self, names, inplace)
333 """
334 if not com.is_list_like(names):
--> 335 raise TypeError("Must pass list-like as `names`.")
336 if inplace:
337 idx = self
TypeError: Must pass list-like as `names`.
```
I think the issue comes when the index of the lower dimensional DataFrame (`df` in this case) is already a MultiIndex. These two work:
``` python
In [45]: wp.transpose(1, 0, 2).to_frame()
Out[45]:
1
one two
major minor
i1 A 1 2
B a b
i2 A 1 2
B a b
In [46]: wp.transpose(1, 2, 0).to_frame()
Out[46]:
1
one two
major minor
A i1 1 2
i2 1 2
B i1 a b
i2 a b
```
I was expecting that `wp.to_frame()` would create a new MultiIndex with 3 levels:
``` python
In [63]: df = pd.DataFrame({'A': [1, 2, 1, 2], 'B': pd.to_datetime(['a', 'b', 'a', 'b'])},
index=pd.MultiIndex.from_tuples([('i1', 1, 'one'), ('i1', 1, 'two'), ('i2', 1, 'one'), ('i2', 1, 'two')]))
In [64]: df
Out[64]:
A B
i1 1 one 1 a
two 2 b
i2 1 one 1 a
two 2 b
```
The ordering of the new MultiIndex (with `wp.items` inserted) is ambiguous... But something like that. You could always swaplevels later.
(side note to myself: check on if `verify_integrity` is `validate` in MultiIndex land. It doesn't get passed to `_set_names`).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5402/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5402/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5403 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5403/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5403/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5403/events | https://github.com/pandas-dev/pandas/pull/5403 | 21,931,312 | MDExOlB1bGxSZXF1ZXN0OTU4MzUyMA== | 5,403 | CLN: Remove unnecessary ExcelWriterMeta metaclass | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [] | closed | false | null | [] | null | 0 | 2013-10-31T22:20:02Z | 2014-06-30T12:55:30Z | 2013-11-01T00:21:36Z | CONTRIBUTOR | null | Only `__new__` is really necessary. And subclasses just have to deal with
being passed an 'engine' keyword argument + a tad bit of style cleanup.
Thanks to @jseabold and @josef-pkt for making me realize that this was
unnecessary in https://github.com/statsmodels/statsmodels/issues/1167
:)
@jmcnamara - this has completely trivial impact on ExcelWriter
subclasses, just removes some magic.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5403/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5403/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5403.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5403",
"merged_at": "2013-11-01T00:21:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5403.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5403"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5404 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5404/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5404/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5404/events | https://github.com/pandas-dev/pandas/issues/5404 | 21,931,427 | MDU6SXNzdWUyMTkzMTQyNw== | 5,404 | html parsing with phantomjs? | {
"avatar_url": "https://avatars.githubusercontent.com/u/50109?v=4",
"events_url": "https://api.github.com/users/gliptak/events{/privacy}",
"followers_url": "https://api.github.com/users/gliptak/followers",
"following_url": "https://api.github.com/users/gliptak/following{/other_user}",
"gists_url": "https://api.github.com/users/gliptak/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gliptak",
"id": 50109,
"login": "gliptak",
"node_id": "MDQ6VXNlcjUwMTA5",
"organizations_url": "https://api.github.com/users/gliptak/orgs",
"received_events_url": "https://api.github.com/users/gliptak/received_events",
"repos_url": "https://api.github.com/users/gliptak/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gliptak/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gliptak/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gliptak"
} | [
{
"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"
}
] | closed | false | null | [] | {
"closed_at": "2014-02-03T05:17:36Z",
"closed_issues": 314,
"created_at": "2013-08-26T22:11:58Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
},
"description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.",
"due_on": "2014-02-04T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/23",
"id": 412013,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels",
"node_id": "MDk6TWlsZXN0b25lNDEyMDEz",
"number": 23,
"open_issues": 0,
"state": "closed",
"title": "0.13.1",
"updated_at": "2014-02-03T05:18:00Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23"
} | 11 | 2013-10-31T22:22:25Z | 2014-01-01T02:43:06Z | 2014-01-01T02:43:06Z | CONTRIBUTOR | null | I was looking into expanding the pandas.io.data functionality to read options data from Google Finance. After reading
http://pandas.pydata.org/pandas-docs/stable/gotchas.html#html-gotchas
I tried various combinations for parsing
http://www.google.com/finance/option_chain?q=GOOG
without success. The page formats itself using javascript, so it has to be "executed" in a browser.
[selenium](http://seleniumhq.org/)/[phantomjs](http://phantomjs.org/) seems to allow to process the page:
```
$ sudo aptitude install phantomjs
$ pip install selenium
$ ipython
In [1]: from selenium import webdriver
In [2]: browser=webdriver.PhantomJS()
In [3]: browser.get('http://www.google.com/finance/option_chain?q=IBM')
In [4]: exp=browser.find_element_by_id('expirations')
In [5]: exp.find_elements_by_tag_name('option')[2].text
```
Can they be considered for inclusion as parsing dependency?
Using phantomjs might also help with other HTML parsing issues experienced when using bs4/lxml/html5lib.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5404/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5404/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5405 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5405/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5405/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5405/events | https://github.com/pandas-dev/pandas/pull/5405 | 21,941,416 | MDExOlB1bGxSZXF1ZXN0OTU4ODg2NQ== | 5,405 | Fix Issues with FY5253 and nearest w/ year end in Dec | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [] | closed | false | null | [] | null | 14 | 2013-11-01T03:52:05Z | 2014-07-04T19:06:17Z | 2013-11-07T21:58:18Z | CONTRIBUTOR | null | There are currently some issues with FY5253 working with `variation="nearest"` and `startingMonth=12`.
This PR fixes those issues and add some more tests.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5405/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5405/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5405.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5405",
"merged_at": "2013-11-07T21:58:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5405.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5405"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5406 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5406/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5406/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5406/events | https://github.com/pandas-dev/pandas/issues/5406 | 21,944,427 | MDU6SXNzdWUyMTk0NDQyNw== | 5,406 | Implement center=True for rolling_corr_pairwise | {
"avatar_url": "https://avatars.githubusercontent.com/u/69774?v=4",
"events_url": "https://api.github.com/users/michaelaye/events{/privacy}",
"followers_url": "https://api.github.com/users/michaelaye/followers",
"following_url": "https://api.github.com/users/michaelaye/following{/other_user}",
"gists_url": "https://api.github.com/users/michaelaye/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/michaelaye",
"id": 69774,
"login": "michaelaye",
"node_id": "MDQ6VXNlcjY5Nzc0",
"organizations_url": "https://api.github.com/users/michaelaye/orgs",
"received_events_url": "https://api.github.com/users/michaelaye/received_events",
"repos_url": "https://api.github.com/users/michaelaye/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/michaelaye/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michaelaye/subscriptions",
"type": "User",
"url": "https://api.github.com/users/michaelaye"
} | [
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
},
{
"color": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
}
] | closed | false | null | [] | {
"closed_at": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 3 | 2013-11-01T06:46:39Z | 2014-06-19T04:37:08Z | 2014-06-19T04:37:08Z | CONTRIBUTOR | null | The computational tool `rolling_corr` in `pandas.stats.moments` has the very useful `center=True` parameter.
Can we have it for `rolling_corr_pairwise` as well?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5406/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5406/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5407 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5407/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5407/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5407/events | https://github.com/pandas-dev/pandas/issues/5407 | 21,967,464 | MDU6SXNzdWUyMTk2NzQ2NA== | 5,407 | BUG: period indexing via [] for label indexingshould return partial ranges | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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"
},
{
"color": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 0 | 2013-11-01T16:37:12Z | 2014-05-18T16:56:27Z | 2014-05-18T16:56:27Z | CONTRIBUTOR | null | http://stackoverflow.com/questions/19730653/slicing-on-a-perod-index-in-pandas-when-slice-start-and-end-may-be-out-of-bounds/19731145#19731145
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5407/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5407/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5408 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5408/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5408/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5408/events | https://github.com/pandas-dev/pandas/pull/5408 | 21,984,163 | MDExOlB1bGxSZXF1ZXN0OTYxMjI5NQ== | 5,408 | DOC/BUG: fix details for 'quoting' parser parameter | {
"avatar_url": "https://avatars.githubusercontent.com/u/1348834?v=4",
"events_url": "https://api.github.com/users/patricktokeeffe/events{/privacy}",
"followers_url": "https://api.github.com/users/patricktokeeffe/followers",
"following_url": "https://api.github.com/users/patricktokeeffe/following{/other_user}",
"gists_url": "https://api.github.com/users/patricktokeeffe/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/patricktokeeffe",
"id": 1348834,
"login": "patricktokeeffe",
"node_id": "MDQ6VXNlcjEzNDg4MzQ=",
"organizations_url": "https://api.github.com/users/patricktokeeffe/orgs",
"received_events_url": "https://api.github.com/users/patricktokeeffe/received_events",
"repos_url": "https://api.github.com/users/patricktokeeffe/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/patricktokeeffe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/patricktokeeffe/subscriptions",
"type": "User",
"url": "https://api.github.com/users/patricktokeeffe"
} | [] | closed | false | null | [] | {
"closed_at": "2014-02-03T05:17:36Z",
"closed_issues": 314,
"created_at": "2013-08-26T22:11:58Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
},
"description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.",
"due_on": "2014-02-04T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/23",
"id": 412013,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels",
"node_id": "MDk6TWlsZXN0b25lNDEyMDEz",
"number": 23,
"open_issues": 0,
"state": "closed",
"title": "0.13.1",
"updated_at": "2014-02-03T05:18:00Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23"
} | 11 | 2013-11-01T21:00:49Z | 2014-06-19T13:22:40Z | 2014-01-21T11:46:04Z | CONTRIBUTOR | null | ``` python
Python 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Imported NumPy 1.7.1, SciPy 0.12.0, Matplotlib 1.3.0 + guidata 1.6.1, guiqwt 2.3.1
Type "scientific" for more details.
>>> from csv import QUOTE_MINIMAL, QUOTE_ALL, QUOTE_NONNUMERIC, QUOTE_NONE
>>> QUOTE_MINIMAL
0
>>> QUOTE_ALL
1
>>> QUOTE_NONNUMERIC
2
>>> QUOTE_NONE
3
>>>
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5408/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5408/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5408.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5408",
"merged_at": "2014-01-21T11:46:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5408.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5408"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5409 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5409/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5409/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5409/events | https://github.com/pandas-dev/pandas/issues/5409 | 21,985,202 | MDU6SXNzdWUyMTk4NTIwMg== | 5,409 | BLD: plot failures in master | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"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": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 1 | 2013-11-01T21:18:25Z | 2013-11-01T22:13:32Z | 2013-11-01T22:13:32Z | CONTRIBUTOR | null | This started after I merged #5375 (which passed cleanly before merging)
https://travis-ci.org/pydata/pandas/jobs/13376953
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5409/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5409/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5410 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5410/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5410/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5410/events | https://github.com/pandas-dev/pandas/issues/5410 | 21,987,717 | MDU6SXNzdWUyMTk4NzcxNw== | 5,410 | pd.to_timedelta(single_string) returns a Series, which ruins broadcasting. | {
"avatar_url": "https://avatars.githubusercontent.com/u/2279598?v=4",
"events_url": "https://api.github.com/users/danielballan/events{/privacy}",
"followers_url": "https://api.github.com/users/danielballan/followers",
"following_url": "https://api.github.com/users/danielballan/following{/other_user}",
"gists_url": "https://api.github.com/users/danielballan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/danielballan",
"id": 2279598,
"login": "danielballan",
"node_id": "MDQ6VXNlcjIyNzk1OTg=",
"organizations_url": "https://api.github.com/users/danielballan/orgs",
"received_events_url": "https://api.github.com/users/danielballan/received_events",
"repos_url": "https://api.github.com/users/danielballan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/danielballan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danielballan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/danielballan"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 7 | 2013-11-01T22:12:36Z | 2013-11-04T21:19:02Z | 2013-11-04T21:19:02Z | CONTRIBUTOR | null | Currently
```
In [10]: pd.to_timedelta(Series(['00:03:37', '00:05:05'])) - pd.to_timedelta('00:03:00')
Out[10]:
0 00:00:37
1 NaT
dtype: timedelta64[ns]
```
because
```
In [13]: pd.to_timedelta('00:03:00')
Out[13]:
0 00:03:00
dtype: timedelta64[ns]
```
More expected and consistent behavior, in my opinion, would be
```
In [12]: pd.to_timedelta(Series(['00:03:37', '00:05:05'])) - pd.to_timedelta('00:03:00')
Out[12]:
0 00:00:37
1 00:02:05
dtype: timedelta64[ns]
```
If, instead, `pd.to_timedelta('00:03:00')` gave `numpy.timedelta64(180000000000,'ns')`, it would broadcast properly, as demonstrated by this work-around
```
In [12]: pd.to_timedelta(Series(['00:03:37', '00:05:05'])) - pd.to_timedelta('00:03:00')[0]
Out[12]:
0 00:00:37
1 00:02:05
dtype: timedelta64[ns]
```
I have not regularly used timedeltas until now. Am I misjudging the expected usage?
**Update**, OK, one can also get the expected result by setting `box=False`. But `box=False` should be default for a scalar, no?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5410/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5410/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5411 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5411/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5411/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5411/events | https://github.com/pandas-dev/pandas/pull/5411 | 21,987,758 | MDExOlB1bGxSZXF1ZXN0OTYxNDQ1Mw== | 5,411 | BLD: dateutil-2.2 patch | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-11-01T22:13:26Z | 2014-07-16T08:38:35Z | 2013-11-01T22:13:32Z | CONTRIBUTOR | null | close #5409
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5411/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5411/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5411.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5411",
"merged_at": "2013-11-01T22:13:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5411.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5411"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5412 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5412/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5412/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5412/events | https://github.com/pandas-dev/pandas/issues/5412 | 21,988,342 | MDU6SXNzdWUyMTk4ODM0Mg== | 5,412 | Support numpy 1.8 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [
{
"color": "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": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 7 | 2013-11-01T22:26:35Z | 2013-11-02T23:54:38Z | 2013-11-02T23:54:38Z | CONTRIBUTOR | null | Numpy 1.8 was released recently - https://github.com/numpy/numpy/blob/master/doc/release/1.8.0-notes.rst
We should probably support it and add/change a Travis build for it. Additionally, might be interesting to benchmark numpy's nanmean, nanvar and nanstd against pandas versions...
numpy also notes that they are planning to make more datetime changes in 1.9 - whee!
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5412/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5412/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5413 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5413/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5413/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5413/events | https://github.com/pandas-dev/pandas/pull/5413 | 21,989,201 | MDExOlB1bGxSZXF1ZXN0OTYxNTM5MQ== | 5,413 | BLD: numpy 1.8 on the 3.3/2.7 builds | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 3 | 2013-11-01T22:51:05Z | 2014-06-23T21:43:09Z | 2013-11-02T23:54:38Z | CONTRIBUTOR | null | close #5412
still pretty good coverage of all numpys
build take a tad longer w/o the wheels
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5413/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5413/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5413.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5413",
"merged_at": "2013-11-02T23:54:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5413.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5413"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5414 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5414/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5414/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5414/events | https://github.com/pandas-dev/pandas/pull/5414 | 21,993,466 | MDExOlB1bGxSZXF1ZXN0OTYxNzg1NA== | 5,414 | ENH/BUG: pass formatting params thru to `to_csv` | {
"avatar_url": "https://avatars.githubusercontent.com/u/1348834?v=4",
"events_url": "https://api.github.com/users/patricktokeeffe/events{/privacy}",
"followers_url": "https://api.github.com/users/patricktokeeffe/followers",
"following_url": "https://api.github.com/users/patricktokeeffe/following{/other_user}",
"gists_url": "https://api.github.com/users/patricktokeeffe/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/patricktokeeffe",
"id": 1348834,
"login": "patricktokeeffe",
"node_id": "MDQ6VXNlcjEzNDg4MzQ=",
"organizations_url": "https://api.github.com/users/patricktokeeffe/orgs",
"received_events_url": "https://api.github.com/users/patricktokeeffe/received_events",
"repos_url": "https://api.github.com/users/patricktokeeffe/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/patricktokeeffe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/patricktokeeffe/subscriptions",
"type": "User",
"url": "https://api.github.com/users/patricktokeeffe"
} | [
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 13 | 2013-11-02T01:32:10Z | 2014-06-14T17:02:45Z | 2014-02-17T14:19:06Z | CONTRIBUTOR | null | Add support for passing remaining `csv.writer` formatting parameters thru to `DataFrame.to_csv()`.
Maybe write tests for this? That much is over my head currently.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5414/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5414/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5414.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5414",
"merged_at": "2014-02-17T14:19:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5414.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5414"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5415 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5415/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5415/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5415/events | https://github.com/pandas-dev/pandas/pull/5415 | 22,001,302 | MDExOlB1bGxSZXF1ZXN0OTYyMDU4Mw== | 5,415 | BUG: to_timedelta of a scalar returns a scalar, closes #5410. | {
"avatar_url": "https://avatars.githubusercontent.com/u/2279598?v=4",
"events_url": "https://api.github.com/users/danielballan/events{/privacy}",
"followers_url": "https://api.github.com/users/danielballan/followers",
"following_url": "https://api.github.com/users/danielballan/following{/other_user}",
"gists_url": "https://api.github.com/users/danielballan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/danielballan",
"id": 2279598,
"login": "danielballan",
"node_id": "MDQ6VXNlcjIyNzk1OTg=",
"organizations_url": "https://api.github.com/users/danielballan/orgs",
"received_events_url": "https://api.github.com/users/danielballan/received_events",
"repos_url": "https://api.github.com/users/danielballan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/danielballan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danielballan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/danielballan"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 10 | 2013-11-02T12:55:39Z | 2014-06-20T16:34:01Z | 2013-11-04T21:19:02Z | CONTRIBUTOR | null | closes #5410
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5415/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5415/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5415.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5415",
"merged_at": "2013-11-04T21:19:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5415.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5415"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5416 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5416/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5416/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5416/events | https://github.com/pandas-dev/pandas/pull/5416 | 22,007,589 | MDExOlB1bGxSZXF1ZXN0OTYyMjczOQ== | 5,416 | io.html.read_html support XPath expressions for table selection | {
"avatar_url": "https://avatars.githubusercontent.com/u/952406?v=4",
"events_url": "https://api.github.com/users/phaebz/events{/privacy}",
"followers_url": "https://api.github.com/users/phaebz/followers",
"following_url": "https://api.github.com/users/phaebz/following{/other_user}",
"gists_url": "https://api.github.com/users/phaebz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phaebz",
"id": 952406,
"login": "phaebz",
"node_id": "MDQ6VXNlcjk1MjQwNg==",
"organizations_url": "https://api.github.com/users/phaebz/orgs",
"received_events_url": "https://api.github.com/users/phaebz/received_events",
"repos_url": "https://api.github.com/users/phaebz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phaebz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phaebz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phaebz"
} | [] | closed | false | null | [] | null | 44 | 2013-11-02T19:15:04Z | 2014-07-19T02:25:03Z | 2014-01-01T03:01:53Z | CONTRIBUTOR | null | First tentative PR as discussed in #5389
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5416/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5416/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5416.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5416",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/5416.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5416"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5417 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5417/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5417/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5417/events | https://github.com/pandas-dev/pandas/pull/5417 | 22,007,939 | MDExOlB1bGxSZXF1ZXN0OTYyMjg5MA== | 5,417 | BUG: Panel.to_frame() with MultiIndex major axis | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [] | closed | false | null | [] | {
"closed_at": "2014-02-03T05:17:36Z",
"closed_issues": 314,
"created_at": "2013-08-26T22:11:58Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
},
"description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.",
"due_on": "2014-02-04T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/23",
"id": 412013,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels",
"node_id": "MDk6TWlsZXN0b25lNDEyMDEz",
"number": 23,
"open_issues": 0,
"state": "closed",
"title": "0.13.1",
"updated_at": "2014-02-03T05:18:00Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23"
} | 19 | 2013-11-02T19:37:15Z | 2014-06-14T22:38:45Z | 2014-01-15T16:12:41Z | CONTRIBUTOR | null | Closes #5402 WIP for now.
So this is a hack to get things "working".
I mainly just wanted to ask if there was a better way to get the levels and labels to the MultiIndex constructor.
Don't spend long thinking about it (this is my PR after all), but if you know of a quick way off the top of your head, I'd be interested.
I essentially need to
1. flatten the MultiIndex from major axis (levels and labels)
2. combine that flattened index with the minor axis (levels and labels)
Step 2 could be complicated by `minor_axis` being a MultiIndex also, I should be able to refactor this pretty easily to handle that. I think my was is making several copies of each index, and I'm not sure that they're all necessary.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5417/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5417/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5417.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5417",
"merged_at": "2014-01-15T16:12:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5417.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5417"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5418 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5418/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5418/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5418/events | https://github.com/pandas-dev/pandas/issues/5418 | 22,011,805 | MDU6SXNzdWUyMjAxMTgwNQ== | 5,418 | parse_time_string raises key error for certain frequencies | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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": 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 | 2013-11-02T23:51:00Z | 2015-07-14T15:52:23Z | 2015-07-14T15:52:23Z | CONTRIBUTOR | null | I will fix as part of #5148
For example:
```
parse_time_string('2013Q1', freq="INVLD-L-DEC-SAT")
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5418/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5418/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5419 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5419/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5419/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5419/events | https://github.com/pandas-dev/pandas/pull/5419 | 22,012,508 | MDExOlB1bGxSZXF1ZXN0OTYyNDcxMg== | 5,419 | TST: Use tempfiles in all tests. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 29 | 2013-11-03T00:50:08Z | 2014-06-26T00:27:11Z | 2013-11-03T23:42:17Z | CONTRIBUTOR | null | If you really need to, possible to opt-out with make_tempfile=False.
Something weird with HDF where, even though it's _supposed_ to be
removing the file every time, it causes issues to use a real temp
file... Not sure why (maybe I missed something there).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5419/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5419/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5419.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5419",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/5419.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5419"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5420 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5420/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5420/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5420/events | https://github.com/pandas-dev/pandas/issues/5420 | 22,013,025 | MDU6SXNzdWUyMjAxMzAyNQ== | 5,420 | BUG: loc should not fallback for integer indexing for multi-index | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"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": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | {
"closed_at": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 16 | 2013-11-03T01:42:11Z | 2014-06-19T00:29:52Z | 2014-06-19T00:29:52Z | CONTRIBUTOR | null | https://groups.google.com/forum/m/#!topic/pydata/W0e3l0UvNwI
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5420/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5420/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5421 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5421/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5421/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5421/events | https://github.com/pandas-dev/pandas/issues/5421 | 22,021,360 | MDU6SXNzdWUyMjAyMTM2MA== | 5,421 | DOC/API: provide a doc matrix of all indexing accessors and behaviors | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "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": "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"
} | 3 | 2013-11-03T15:36:11Z | 2018-07-06T23:02:56Z | 2018-07-06T23:02:41Z | CONTRIBUTOR | null | related #5420
ML issue: https://groups.google.com/forum/#!topic/pydata/Ke8kntiPHqw
existing tests here (and tests/test_frame.py, test_multilevel.py)
https://github.com/pydata/pandas/blob/master/pandas/tests/test_indexing.py
- create new top-level advanced indexing tab (move hierarchical and sections below here)
- add an indexer matrix (generated from a function), which can document a cross of the indexers with the index types and accessors, e.g. something like this (the values should be filled in with maybe a code of somesort, e.g. `Y` for supported, `NI` for not-implemented, `nan` for not-applicable, `KeyError/IndexError` if raises
```
In [31]: from itertools import product
In [35]: index = MultiIndex.from_tuples([ (typ,indexer) for typ,indexer in product(['MultiIndex','DateTimeIndex','FloatIndex','Int64Index','mixed_labels'],['iloc','loc','ix','[]','xs']) ])
In [36]: columns = ['scalar_label_in_bounds','oob_scalar_label','scalar_position','oob_scalar_position','list_of_positions','list_of_positions_some_oob','list_of_labels','list_of_labels_some_oob','slice_of_positions','slice_of_labels','boolean_indexer']
In [37]: DataFrame(np.nan,index=index,columns=columns)
Out[37]:
scalar_label_in_bounds oob_scalar_label scalar_position oob_scalar_position list_of_positions list_of_positions_some_oob list_of_labels list_of_labels_some_oob slice_of_positions slice_of_labels boolean_indexer
MultiIndex iloc NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
loc NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
ix NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
[] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
xs NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
DateTimeIndex iloc NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
loc NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
ix NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
[] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
xs NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
FloatIndex iloc NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
loc NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
ix NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
[] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
xs NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
Int64Index iloc NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
loc NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
ix NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
[] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
xs NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
mixed_labels iloc NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
loc NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
ix NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
[] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
xs NaN NaN NaN NaN NaN NaN NaN NaN NaN 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/5421/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5421/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5422 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5422/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5422/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5422/events | https://github.com/pandas-dev/pandas/pull/5422 | 22,023,178 | MDExOlB1bGxSZXF1ZXN0OTYyODgwOA== | 5,422 | TST: make pytables tests go thru a temporary dir and file | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 4 | 2013-11-03T17:26:01Z | 2014-07-16T08:38:46Z | 2013-11-03T17:44:08Z | CONTRIBUTOR | null | TST/BUG: incorrect way of testing for r+ modes
related #5419
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5422/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5422/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5422.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5422",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/5422.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5422"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5423 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5423/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5423/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5423/events | https://github.com/pandas-dev/pandas/pull/5423 | 22,026,397 | MDExOlB1bGxSZXF1ZXN0OTYzMDA0Mw== | 5,423 | ENH: Better handling of MultiIndex with Excel | {
"avatar_url": "https://avatars.githubusercontent.com/u/94267?v=4",
"events_url": "https://api.github.com/users/jmcnamara/events{/privacy}",
"followers_url": "https://api.github.com/users/jmcnamara/followers",
"following_url": "https://api.github.com/users/jmcnamara/following{/other_user}",
"gists_url": "https://api.github.com/users/jmcnamara/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jmcnamara",
"id": 94267,
"login": "jmcnamara",
"node_id": "MDQ6VXNlcjk0MjY3",
"organizations_url": "https://api.github.com/users/jmcnamara/orgs",
"received_events_url": "https://api.github.com/users/jmcnamara/received_events",
"repos_url": "https://api.github.com/users/jmcnamara/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jmcnamara/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jmcnamara/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jmcnamara"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 31 | 2013-11-03T20:42:24Z | 2014-06-16T22:40:15Z | 2013-11-06T01:42:23Z | CONTRIBUTOR | null | Allow optional formatting of MultiIndex and Hierarchical Rows
as merged cells. closes #5254.
Some notes on this PR:
- The required xlsxwriter version was up-revved in `ci/requirements*.txt`to pick up a fix in that module that makes working with charts from pandas easier.
- Added a comment to `release.rst`.
- Modified `format.py` to format MultiIndex and Hierarchical Rows as merged cells in Excel. The old code path/option is still available. The new formatting must be explicitly invoked via the `merge_cells` option in `to_excel`:
``` python
df.to_excel('file.xlsx', merge_cells=True)
```
- The `merge_cells` option can be renamed if required. During development I also used `multi_index` and `merge_range`.
- Updated the API and docs in `frame.py` to reflect the new option.
- Fixed openpyxl merge handling in `excel.py`.
- Modified the `test_excel.py` test cases so that they could be used to test the existing `dot notation` or the new `merge_cells` options for MultiIndex and Hierarchical Rows handling.
- Did some minor PEP8 formatting to the `test_excel.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/5423/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5423/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5423.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5423",
"merged_at": "2013-11-06T01:42:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5423.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5423"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5424 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5424/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5424/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5424/events | https://github.com/pandas-dev/pandas/issues/5424 | 22,026,674 | MDU6SXNzdWUyMjAyNjY3NA== | 5,424 | print df.ix[..,..] changes dataframe? | {
"avatar_url": "https://avatars.githubusercontent.com/u/890156?v=4",
"events_url": "https://api.github.com/users/jankatins/events{/privacy}",
"followers_url": "https://api.github.com/users/jankatins/followers",
"following_url": "https://api.github.com/users/jankatins/following{/other_user}",
"gists_url": "https://api.github.com/users/jankatins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jankatins",
"id": 890156,
"login": "jankatins",
"node_id": "MDQ6VXNlcjg5MDE1Ng==",
"organizations_url": "https://api.github.com/users/jankatins/orgs",
"received_events_url": "https://api.github.com/users/jankatins/received_events",
"repos_url": "https://api.github.com/users/jankatins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jankatins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jankatins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jankatins"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 3 | 2013-11-03T20:58:31Z | 2013-11-04T00:40:53Z | 2013-11-04T00:40:53Z | CONTRIBUTOR | null | These two codeblocks result in different dataframes:
``` python
import pandas as pd
import numpy as np
cont = ['one', 'two','three', 'four', 'five', 'six', 'seven']
dfb = pd.DataFrame({'a' : cont, "b":cont[3:]+cont[:3] ,'c' : np.arange(7)})
#print dfb.ix[0,"c"]
dfb.ix[7,'c'] = 1
print dfb
print dfb.ix[7,"c"]
print dfb.ix[0,"c"]
a b c
0 one four 0
1 two five 1
2 three six 2
3 four seven 3
4 five one 4
5 six two 5
6 seven three 6
7 NaN NaN 1
1.0
0.0
```
and
``` python
import pandas as pd
import numpy as np
cont = ['one', 'two','three', 'four', 'five', 'six', 'seven']
dfb = pd.DataFrame({'a' : cont, "b":cont[3:]+cont[:3] ,'c' : np.arange(7)})
print dfb.ix[0,"c"]
dfb.ix[7,'c'] = 1
print dfb
print dfb.ix[7,"c"]
print dfb.ix[0,"c"]
0
a b c
0 one four 0
1 two five 1
2 three six 2
3 four seven 3
4 five one 4
5 six two 5
6 seven three 6
7 NaN NaN NaN
nan
0.0
```
pd.**version** = '0.12.0-922-gac1609e'
In the first case I also don't understand why the last column is changed to a float when I set an int.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5424/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5424/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5425 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5425/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5425/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5425/events | https://github.com/pandas-dev/pandas/pull/5425 | 22,029,612 | MDExOlB1bGxSZXF1ZXN0OTYzMTMxMg== | 5,425 | TST: Use tempfiles in all tests. | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 5 | 2013-11-03T23:42:01Z | 2014-07-16T08:38:56Z | 2013-11-04T01:10:47Z | CONTRIBUTOR | null | related #5419
Includes @jreback's commits from #5422 and hdf_temp:
- TST: make pytables tests go thru a temporary dir and file
- TST/BUG: incorrect way of testing for r+ modes
TST: fix temporary files by using mktemp (rather than mkstemp) which opens them
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5425/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5425/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5425.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5425",
"merged_at": "2013-11-04T01:10:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5425.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5425"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5426 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5426/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5426/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5426/events | https://github.com/pandas-dev/pandas/pull/5426 | 22,030,212 | MDExOlB1bGxSZXF1ZXN0OTYzMTU1OA== | 5,426 | BUG: not clearing the cache when reindexing issue when partial setting (GH5424) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-11-04T00:13:08Z | 2014-06-23T22:17:11Z | 2013-11-04T00:40:53Z | CONTRIBUTOR | null | closes #5424
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5426/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5426/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5426.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5426",
"merged_at": "2013-11-04T00:40:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5426.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5426"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5427 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5427/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5427/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5427/events | https://github.com/pandas-dev/pandas/issues/5427 | 22,031,192 | MDU6SXNzdWUyMjAzMTE5Mg== | 5,427 | BUG: Excel writer doesn't handle "cols" option correctly | {
"avatar_url": "https://avatars.githubusercontent.com/u/94267?v=4",
"events_url": "https://api.github.com/users/jmcnamara/events{/privacy}",
"followers_url": "https://api.github.com/users/jmcnamara/followers",
"following_url": "https://api.github.com/users/jmcnamara/following{/other_user}",
"gists_url": "https://api.github.com/users/jmcnamara/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jmcnamara",
"id": 94267,
"login": "jmcnamara",
"node_id": "MDQ6VXNlcjk0MjY3",
"organizations_url": "https://api.github.com/users/jmcnamara/orgs",
"received_events_url": "https://api.github.com/users/jmcnamara/received_events",
"repos_url": "https://api.github.com/users/jmcnamara/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jmcnamara/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jmcnamara/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jmcnamara"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 1 | 2013-11-04T01:11:18Z | 2013-11-06T22:16:21Z | 2013-11-06T22:16:21Z | CONTRIBUTOR | null | This is an issue that I introduced when fixing #5235.
The `cols` option in `to_excel` no longer works correctly after the fix for the above issue. For example:
``` python
import pandas as pd
df = pd.DataFrame({'A': ['a', 'a', 'a'],
'B': ['b', 'b', 'b']})
df.to_excel('frame.xlsx', sheet_name='Sheet1', cols=['B', 'A'])
```
Gives:

Note, the headers are changed but not the column data.
I have a proposed fix and test for this. Should I create a new branch/PR or merge it into the Excel MultiIndex PR: #5423
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5427/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5427/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5428 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5428/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5428/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5428/events | https://github.com/pandas-dev/pandas/issues/5428 | 22,031,200 | MDU6SXNzdWUyMjAzMTIwMA== | 5,428 | ENH: Implement to_json() for Panel | {
"avatar_url": "https://avatars.githubusercontent.com/u/222778?v=4",
"events_url": "https://api.github.com/users/mtrbean/events{/privacy}",
"followers_url": "https://api.github.com/users/mtrbean/followers",
"following_url": "https://api.github.com/users/mtrbean/following{/other_user}",
"gists_url": "https://api.github.com/users/mtrbean/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mtrbean",
"id": 222778,
"login": "mtrbean",
"node_id": "MDQ6VXNlcjIyMjc3OA==",
"organizations_url": "https://api.github.com/users/mtrbean/orgs",
"received_events_url": "https://api.github.com/users/mtrbean/received_events",
"repos_url": "https://api.github.com/users/mtrbean/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mtrbean/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mtrbean/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mtrbean"
} | [
{
"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": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 6 | 2013-11-04T01:11:37Z | 2018-07-06T20:21:02Z | 2017-07-10T21:09:21Z | CONTRIBUTOR | null | related #4889
Currently the to_json() method only works for Series and DataFrame, and raises NotImplementedError when called on Panel. Would be great to implement it for Panel as well.
For me it is sufficient to loop through all items and convert each item (DataFrame) to json separately and then stitch them together.
Happy to contribute code if needed.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5428/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5428/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5429 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5429/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5429/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5429/events | https://github.com/pandas-dev/pandas/pull/5429 | 22,031,659 | MDExOlB1bGxSZXF1ZXN0OTYzMjA2OQ== | 5,429 | BUG: Excel writer doesn't handle "cols" option correctly | {
"avatar_url": "https://avatars.githubusercontent.com/u/94267?v=4",
"events_url": "https://api.github.com/users/jmcnamara/events{/privacy}",
"followers_url": "https://api.github.com/users/jmcnamara/followers",
"following_url": "https://api.github.com/users/jmcnamara/following{/other_user}",
"gists_url": "https://api.github.com/users/jmcnamara/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jmcnamara",
"id": 94267,
"login": "jmcnamara",
"node_id": "MDQ6VXNlcjk0MjY3",
"organizations_url": "https://api.github.com/users/jmcnamara/orgs",
"received_events_url": "https://api.github.com/users/jmcnamara/received_events",
"repos_url": "https://api.github.com/users/jmcnamara/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jmcnamara/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jmcnamara/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jmcnamara"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 18 | 2013-11-04T01:38:29Z | 2014-07-02T22:44:20Z | 2013-11-06T22:16:21Z | CONTRIBUTOR | null | closes #5427
Notes on this PR:
- This fix addresses an issue introduced in #5235 (Issue with Excel writers when column names are duplicated).
- Basically it needs to handle 2 different use cases:
- The user uses duplicate column names
- The user specifies a different order via the `cols` option
``` python
# Case 1
df = pd.DataFrame([[1, 2, 3], [1, 2, 3], [1, 2, 3]])
df.columns = ['A', 'B', 'B']
```
``` python
# Case 2
df = pd.DataFrame({'A': ['a', 'a', 'a'],
'B': ['b', 'b', 'b']})
df.to_excel('frame.xlsx', sheet_name='Sheet1', cols=['B', 'A'])
```
The proposed solution is to iterate through self.columns in the default or user supplied order. If a duplicate column name is encountered (i.e. if `df['B']` returns more than one series) then we select the first series and keep track of that index. If the duplicate column name is encountered again then we select the next available series from `df['B']` up to the last series available. If the duplicate name is encountered again then we return the last series again.
The patch is slightly kludgy. I didn't know how to check if `df[col]` contained more than one series so I used `len(self.df[col_name].columns)` in a `try:catch`. Hopefully there is something cleaner.
The change is repeated twice in the code.
There is a new test for this issue and an existing test for the previous issue.
I don't think this needs a release note since it is a fix for an issue that was never released.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5429/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5429/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5429.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5429",
"merged_at": "2013-11-06T22:16:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5429.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5429"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5430 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5430/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5430/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5430/events | https://github.com/pandas-dev/pandas/issues/5430 | 22,032,156 | MDU6SXNzdWUyMjAzMjE1Ng== | 5,430 | Resampling a Series with a timezone using kind='period' Crashes with ~6000 Values | {
"avatar_url": "https://avatars.githubusercontent.com/u/1234915?v=4",
"events_url": "https://api.github.com/users/kevinastone/events{/privacy}",
"followers_url": "https://api.github.com/users/kevinastone/followers",
"following_url": "https://api.github.com/users/kevinastone/following{/other_user}",
"gists_url": "https://api.github.com/users/kevinastone/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kevinastone",
"id": 1234915,
"login": "kevinastone",
"node_id": "MDQ6VXNlcjEyMzQ5MTU=",
"organizations_url": "https://api.github.com/users/kevinastone/orgs",
"received_events_url": "https://api.github.com/users/kevinastone/received_events",
"repos_url": "https://api.github.com/users/kevinastone/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kevinastone/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kevinastone/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kevinastone"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"color": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 23 | 2013-11-04T02:07:13Z | 2013-11-06T01:07:39Z | 2013-11-06T00:23:40Z | CONTRIBUTOR | null | I wrote a test case that consistently crashes the entire process. It looks like it requires a Series with data localized to a timezone that has a DST and the data crosses the DST boundary. Finally, you have to use `kind='period'`for the `resample()` operation. Oddly, it's not just the actual boundary, because I can create a smaller dataset, and it resamples fine (included in the test case with the `_works` suffix.
With that combination, the code crashes the entire process with a glibc error.
### Crashing Test Case
https://gist.github.com/kevinastone/7297033
```
>>> series.resample('D', how='sum', kind='period')
*** glibc detected *** ${VENV_DIR}/bin/python: double free or corruption (!prev): 0x00007fd6845cbb60 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7fd693178b96]
${VENV_DIR}/local/lib/python2.7/site-packages/numpy/core/multiarray.so(+0x5f7a6)[0x7fd68f0f67a6]
${VENV_DIR}/local/lib/python2.7/site-packages/numpy/core/multiarray.so(+0xc4026)[0x7fd68f15b026]
${VENV_DIR}/local/lib/python2.7/site-packages/pandas/algos.so(+0x1184b2)[0x7fd689b004b2]
${VENV_DIR}/local/lib/python2.7/site-packages/pandas/algos.so(+0x11933c)[0x7fd689b0133c]
...
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5430/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5430/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5431 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5431/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5431/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5431/events | https://github.com/pandas-dev/pandas/issues/5431 | 22,032,757 | MDU6SXNzdWUyMjAzMjc1Nw== | 5,431 | Can we use xlrd for all Excel file reading? | {
"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"
} | [
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | null | 2 | 2013-11-04T02:41:46Z | 2013-11-04T05:13:14Z | 2013-11-04T05:12:48Z | MEMBER | null | I see that xlrd now can read xlsx files. Anyone know if it can be a drop-in replacement for our use of openpyxl?
https://pypi.python.org/pypi/xlrd/0.9.2
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5431/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5431/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5432 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5432/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5432/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5432/events | https://github.com/pandas-dev/pandas/pull/5432 | 22,076,313 | MDExOlB1bGxSZXF1ZXN0OTY1NTMyMw== | 5,432 | BUG: fix Resampling a Series with a timezone using kind='period' (GH5430) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1234915?v=4",
"events_url": "https://api.github.com/users/kevinastone/events{/privacy}",
"followers_url": "https://api.github.com/users/kevinastone/followers",
"following_url": "https://api.github.com/users/kevinastone/following{/other_user}",
"gists_url": "https://api.github.com/users/kevinastone/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kevinastone",
"id": 1234915,
"login": "kevinastone",
"node_id": "MDQ6VXNlcjEyMzQ5MTU=",
"organizations_url": "https://api.github.com/users/kevinastone/orgs",
"received_events_url": "https://api.github.com/users/kevinastone/received_events",
"repos_url": "https://api.github.com/users/kevinastone/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kevinastone/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kevinastone/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kevinastone"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 3 | 2013-11-04T20:11:40Z | 2014-07-16T08:39:13Z | 2013-11-06T00:23:40Z | CONTRIBUTOR | null | There's a failing test case and the patch in subsequent commits.
closes #5430
closes #3609
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5432/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5432/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5432.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5432",
"merged_at": "2013-11-06T00:23:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5432.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5432"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5433 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5433/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5433/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5433/events | https://github.com/pandas-dev/pandas/issues/5433 | 22,077,870 | MDU6SXNzdWUyMjA3Nzg3MA== | 5,433 | Update PDF documentation to Stable version 0.12.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1676245?v=4",
"events_url": "https://api.github.com/users/oscarvarto/events{/privacy}",
"followers_url": "https://api.github.com/users/oscarvarto/followers",
"following_url": "https://api.github.com/users/oscarvarto/following{/other_user}",
"gists_url": "https://api.github.com/users/oscarvarto/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/oscarvarto",
"id": 1676245,
"login": "oscarvarto",
"node_id": "MDQ6VXNlcjE2NzYyNDU=",
"organizations_url": "https://api.github.com/users/oscarvarto/orgs",
"received_events_url": "https://api.github.com/users/oscarvarto/received_events",
"repos_url": "https://api.github.com/users/oscarvarto/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/oscarvarto/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/oscarvarto/subscriptions",
"type": "User",
"url": "https://api.github.com/users/oscarvarto"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 14 | 2013-11-04T20:37:14Z | 2014-01-31T20:43:11Z | 2014-01-17T13:37:15Z | NONE | null | This seems to be a very common issue with Python projects (Numpy has the same issue).
If you try to download this:
http://pandas.pydata.org/pandas-docs/stable/pandas.pdf
You'll get the documentation for version 0.11.0
Check the links for the pdf documentation at the main web page here:
http://pandas.pydata.org/
The same problem...
Here:
http://pandas.pydata.org/pandas-docs/stable/
Again...
This might be a detail (maybe docs don't change too much), but I expect the pandas project to be of high quality!
Besides, there are a lot of people that don't have an internet connection available all the time (lots of my students don't). Therefore, being able to download a PDF to read it offline is good. Also some people prefer to read PDFs instead of a long web page...
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5433/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5433/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5434 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5434/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5434/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5434/events | https://github.com/pandas-dev/pandas/pull/5434 | 22,083,098 | MDExOlB1bGxSZXF1ZXN0OTY1OTI0OQ== | 5,434 | BUG/TST: bug in the test apparatus when dtypes are equal in a Series but the values are not equal | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-11-04T22:01:12Z | 2014-07-11T22:41:28Z | 2013-11-04T22:49:49Z | CONTRIBUTOR | null | noticed in #5429
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5434/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5434/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5434.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5434",
"merged_at": "2013-11-04T22:49:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5434.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5434"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5435 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5435/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5435/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5435/events | https://github.com/pandas-dev/pandas/issues/5435 | 22,086,010 | MDU6SXNzdWUyMjA4NjAxMA== | 5,435 | Add ExcelFile to API docs + clarify ExcelFile isn't deprecated (just moved) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 1 | 2013-11-04T22:46:06Z | 2014-01-28T02:11:13Z | 2014-01-28T01:05:02Z | CONTRIBUTOR | null | ExcelFile the class isn't actually in the API anywhere. We should rectify that. Also, I realized from [this SO question on ExcelFile](http://stackoverflow.com/questions/19760741/how-do-you-read-excel-sheets-using-index-instead-of-name-with-pandas-read-excel/19778206) that the release notes aren't explicitly clear that `ExcelFile` is just _moved_ not deprecated.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5435/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5435/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5436 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5436/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5436/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5436/events | https://github.com/pandas-dev/pandas/issues/5436 | 22,089,436 | MDU6SXNzdWUyMjA4OTQzNg== | 5,436 | API: timedelta64[ns] elements operate with timedelta/offsets | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
] | closed | false | null | [] | {
"closed_at": "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 | 2013-11-04T23:52:29Z | 2014-11-26T02:30:02Z | 2014-11-26T02:30:02Z | CONTRIBUTOR | null | have to return timedelta64[ns] scalars
```
type: timedelta64[ns]
In [23]: s = pd.to_timedelta(np.arange(5),unit='d')
In [24]: s
Out[24]:
0 00:00:00
1 1 days, 00:00:00
2 2 days, 00:00:00
3 3 days, 00:00:00
4 4 days, 00:00:00
dtype: timedelta64[ns]
In [25]: s + timedelta(hours=1)
Out[25]:
0 01:00:00
1 1 days, 01:00:00
2 2 days, 01:00:00
3 3 days, 01:00:00
4 4 days, 01:00:00
dtype: timedelta64[ns]
In [26]: s + pd.offsets.Hour(1)
Out[26]:
0 01:00:00
1 1 days, 01:00:00
2 2 days, 01:00:00
3 3 days, 01:00:00
4 4 days, 01:00:00
dtype: timedelta64[ns]
In [27]: s.iloc[2] + pd.offsets.Hour(1)
TypeError: ufunc add cannot use operands with types dtype('<m8[ns]') and dtype('O')
In [29]: s.iloc[2] + timedelta(hours=1)
TypeError: ufunc add cannot use operands with types dtype('<m8[ns]') and dtype('O')
```
This works (wrapping in a np.timedeltat64
```
In [31]: s.iloc[2] += np.timedelta64(timedelta(hours=1))
In [32]: s
Out[32]:
0 00:00:00
1 1 days, 00:00:00
2 2 days, 01:00:00
3 3 days, 00:00:00
4 4 days, 00:00:00
dtype: timedelta64[ns]
```
Reevaluate whether summary ops should just return the np.timdelta64 scalar
(not as pretty though)
```
In [33]: s.mean()
Out[33]:
0 2 days, 00:12:00
dtype: timedelta64[ns]
In [34]: s.mean().iloc[0]
Out[34]: numpy.timedelta64(173520000000000,'ns')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5436/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5436/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5437 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5437/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5437/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5437/events | https://github.com/pandas-dev/pandas/issues/5437 | 22,093,205 | MDU6SXNzdWUyMjA5MzIwNQ== | 5,437 | BUG: pd.to_timedelta raises instead of returning NaT | {
"avatar_url": "https://avatars.githubusercontent.com/u/2279598?v=4",
"events_url": "https://api.github.com/users/danielballan/events{/privacy}",
"followers_url": "https://api.github.com/users/danielballan/followers",
"following_url": "https://api.github.com/users/danielballan/following{/other_user}",
"gists_url": "https://api.github.com/users/danielballan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/danielballan",
"id": 2279598,
"login": "danielballan",
"node_id": "MDQ6VXNlcjIyNzk1OTg=",
"organizations_url": "https://api.github.com/users/danielballan/orgs",
"received_events_url": "https://api.github.com/users/danielballan/received_events",
"repos_url": "https://api.github.com/users/danielballan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/danielballan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danielballan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/danielballan"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 2 | 2013-11-05T01:28:24Z | 2013-11-06T23:51:20Z | 2013-11-06T23:51:20Z | CONTRIBUTOR | null | ```
In [1]: Series(['2011-01-01', np.nan]).apply(pd.to_datetime)
Out[1]:
0 2011-01-01 00:00:00
1 NaT
dtype: datetime64[ns]
In [2]: Series(['00:00:01', np.nan]).apply(pd.to_timedelta)
AssertionError: Invalid type for timedelta scalar: <type 'float'>
```
May not be a trivial fix. So far I have seen that inserting np.nan and pd.tslib.iNaT into the result turns the dtype to object, which is no good.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5437/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5437/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5438 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5438/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5438/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5438/events | https://github.com/pandas-dev/pandas/pull/5438 | 22,097,629 | MDExOlB1bGxSZXF1ZXN0OTY2NzAxOA== | 5,438 | BUG: pd.to_timedelta handles missing data | {
"avatar_url": "https://avatars.githubusercontent.com/u/2279598?v=4",
"events_url": "https://api.github.com/users/danielballan/events{/privacy}",
"followers_url": "https://api.github.com/users/danielballan/followers",
"following_url": "https://api.github.com/users/danielballan/following{/other_user}",
"gists_url": "https://api.github.com/users/danielballan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/danielballan",
"id": 2279598,
"login": "danielballan",
"node_id": "MDQ6VXNlcjIyNzk1OTg=",
"organizations_url": "https://api.github.com/users/danielballan/orgs",
"received_events_url": "https://api.github.com/users/danielballan/received_events",
"repos_url": "https://api.github.com/users/danielballan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/danielballan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danielballan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/danielballan"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 20 | 2013-11-05T03:27:15Z | 2014-06-24T21:15:32Z | 2013-11-06T23:51:20Z | CONTRIBUTOR | null | closes #5437
**Updated**: Mostly following @jreback's suggestion, but we need `np.timedelta64('NaT')`, not `pd.tslib.iNaT`, because numpy cannot cast `np.datetime64('NaT')` as `np.timedelta64` type, and throws an `AssertionError`.
```
In [1]: pd.to_timedelta(Series(['00:00:01', '00:00:02']))
Out[1]:
0 00:00:01
1 00:00:02
dtype: timedelta64[ns]
In [2]: pd.to_timedelta(Series(['00:00:01', np.nan]))
Out[2]:
0 00:00:01
1 NaT
dtype: timedelta64[ns]
In [3]: pd.to_timedelta(Series(['00:00:01', pd.NaT]))
Out[3]:
0 00:00:01
1 NaT
dtype: timedelta64[ns]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5438/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5438/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5438.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5438",
"merged_at": "2013-11-06T23:51:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5438.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5438"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5439 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5439/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5439/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5439/events | https://github.com/pandas-dev/pandas/pull/5439 | 22,114,568 | MDExOlB1bGxSZXF1ZXN0OTY3NTg5MQ== | 5,439 | ENH: Always do true division on Python 2.X | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 6 | 2013-11-05T11:46:16Z | 2014-06-23T22:30:35Z | 2013-11-05T22:53:10Z | CONTRIBUTOR | null | Close #5356.
Note: this version actually forces `a / b` to always do truediv as well. It's
less complicated to maintain if we do it that way, but it's also possible to
have this `a / b` use div and `a.div(b)` use truediv, just might be strange.
This is definitely different from numpy behavior.
We also may need to add the division future import to more places.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5439/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5439/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5439.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5439",
"merged_at": "2013-11-05T22:53:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5439.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5439"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5440 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5440/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5440/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5440/events | https://github.com/pandas-dev/pandas/issues/5440 | 22,116,607 | MDU6SXNzdWUyMjExNjYwNw== | 5,440 | resampling closed='left' incorrect ? | {
"avatar_url": "https://avatars.githubusercontent.com/u/2270203?v=4",
"events_url": "https://api.github.com/users/Cd48/events{/privacy}",
"followers_url": "https://api.github.com/users/Cd48/followers",
"following_url": "https://api.github.com/users/Cd48/following{/other_user}",
"gists_url": "https://api.github.com/users/Cd48/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Cd48",
"id": 2270203,
"login": "Cd48",
"node_id": "MDQ6VXNlcjIyNzAyMDM=",
"organizations_url": "https://api.github.com/users/Cd48/orgs",
"received_events_url": "https://api.github.com/users/Cd48/received_events",
"repos_url": "https://api.github.com/users/Cd48/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Cd48/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Cd48/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Cd48"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
] | 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 | 2013-11-05T12:31:45Z | 2021-04-11T03:49:51Z | null | NONE | null | Hi,
Coming back to issue #2665, I'm still not convinced that the closed-argument of the resampling function does what it should.
When resampling daily to monthly values with closed = 'left', the closed argument should relate to the actual time the months change, but instead it seems to refer to the time 24 hours earlier.
```
In [25]: import pandas as pd
...: import numpy as np
...: dates = pd.date_range('3/29/2000', '4/3/2000', freq='1D')
In [27]: ts1 = pd.Series(np.ones(len(dates)), index=dates)
In [28]: ts2 = ts1.resample('1M', closed='left',label='left').sum()
In [29]: ts3 = ts1.resample('1M').sum()
In [30]: ts1
Out[30]:
2000-03-29 1.0
2000-03-30 1.0
2000-03-31 1.0
2000-04-01 1.0
2000-04-02 1.0
2000-04-03 1.0
Freq: D, dtype: float64
# resampling and asking that the first sample of the month (midnight April 1st) is part of that month does not result in what you think. Instead pandas does not consider 01/04/2000 00:00 as the time the months change, but it thinks the months change at 31/03/2000 00:00 (one day too early)
In [31]: ts2
Out[31]:
2000-02-29 2.0
2000-03-31 4.0
Freq: M, dtype: float64
# keeping it simple is a possible solution but it would be better to have the closed-argument working correctly ...
In [32]: ts3
Out[32]:
2000-03-31 3.0
2000-04-30 3.0
Freq: M, dtype: float64
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5440/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5440/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5441 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5441/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5441/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5441/events | https://github.com/pandas-dev/pandas/issues/5441 | 22,124,146 | MDU6SXNzdWUyMjEyNDE0Ng== | 5,441 | HDFStore.select slowed by decode even when using columns= | {
"avatar_url": "https://avatars.githubusercontent.com/u/39164?v=4",
"events_url": "https://api.github.com/users/wabu/events{/privacy}",
"followers_url": "https://api.github.com/users/wabu/followers",
"following_url": "https://api.github.com/users/wabu/following{/other_user}",
"gists_url": "https://api.github.com/users/wabu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wabu",
"id": 39164,
"login": "wabu",
"node_id": "MDQ6VXNlcjM5MTY0",
"organizations_url": "https://api.github.com/users/wabu/orgs",
"received_events_url": "https://api.github.com/users/wabu/received_events",
"repos_url": "https://api.github.com/users/wabu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wabu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wabu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wabu"
} | [
{
"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": "444444",
"default": false,
"description": "Unicode strings",
"id": 36380025,
"name": "Unicode",
"node_id": "MDU6TGFiZWwzNjM4MDAyNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 6 | 2013-11-05T14:45:22Z | 2013-11-06T15:22:59Z | 2013-11-06T13:59:15Z | CONTRIBUTOR | null | I realized when profiling a slow select (200% more wall-time as direct pytables call and high memory usage) that most of the time is spend inside bytes.decode called by [_unconvert_strings_array](https://github.com/pydata/pandas/blob/master/pandas/io/pytables.py#L3966), even when selecting only int64 columns. It seems spend time and memory to decode string that are never returned.
I'm using python 3.3 and latest pandas (commit 2d2e8b5146024a90001f96862cdd0172adb4d1b8).
I gladly get back with more details if needed.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5441/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5441/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5442 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5442/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5442/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5442/events | https://github.com/pandas-dev/pandas/issues/5442 | 22,131,111 | MDU6SXNzdWUyMjEzMTExMQ== | 5,442 | Provide 'Rolling' data structures | {
"avatar_url": "https://avatars.githubusercontent.com/u/185744?v=4",
"events_url": "https://api.github.com/users/ehebert/events{/privacy}",
"followers_url": "https://api.github.com/users/ehebert/followers",
"following_url": "https://api.github.com/users/ehebert/following{/other_user}",
"gists_url": "https://api.github.com/users/ehebert/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ehebert",
"id": 185744,
"login": "ehebert",
"node_id": "MDQ6VXNlcjE4NTc0NA==",
"organizations_url": "https://api.github.com/users/ehebert/orgs",
"received_events_url": "https://api.github.com/users/ehebert/received_events",
"repos_url": "https://api.github.com/users/ehebert/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ehebert/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ehebert/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ehebert"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] | 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"
} | 8 | 2013-11-05T16:16:29Z | 2016-05-04T13:04:00Z | 2016-05-04T13:04:00Z | NONE | null | In our project Zipline, https://github.com/quantopian/zipline/, we consume time series data one bar at a time. We provide support for calculations that are performed over a fixed length, e.g. over the last 15 days of data. The data which those calculations are performed over are updated with the most recent bar as it comes in.
Instead of creating a fresh Panel on each bar and reindexing all of the data into the underlying data storage, @wesm helped us with a RollingPanel object, https://github.com/quantopian/zipline/blob/2492feb938c21f7577e6c05fa8cd7bfd57863d25/zipline/utils/data.py
The RollingPanel is working well for our purposes, and we'd like to upstream it to make the behavior available to all users of **pandas**.
There are a couple idionsyncratic to our codebase parameters that would need to be generalized.
e.g.:
- the use `sids` would need to be a more general `minor_axis` parameter.
- the `dtype` of the index buffer would also need to be more general, where the version in Zipline is tuned/hard code for being a `pd.DatetimeIndex` in UTC.
@wesm mentioned that instead of a rolling version `pd.Panel` it may make more sense to start a rolling version of a `NDFrame`.
(And then I assume have a `RollingPanel`, `RollingSeries`, etc. that use `RollingNDFrame` instead of `NDFrame`, though that level of the API design I am not sure I am qualified to speak to as of yet.)
attn: @jreback, I believe this is under your purview?
If the idea passes muster, what would be a good next step for getting the rolling behavior into pandas?
(Or has there been work on a `RollingNDFrame` started already, that I could help pitch in on?)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5442/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5442/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5443 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5443/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5443/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5443/events | https://github.com/pandas-dev/pandas/issues/5443 | 22,142,844 | MDU6SXNzdWUyMjE0Mjg0NA== | 5,443 | BUG: isnull of an object array failing when NaT | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
] | closed | false | null | [] | {
"closed_at": "2014-02-03T05:17:36Z",
"closed_issues": 314,
"created_at": "2013-08-26T22:11:58Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
},
"description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.",
"due_on": "2014-02-04T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/23",
"id": 412013,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels",
"node_id": "MDk6TWlsZXN0b25lNDEyMDEz",
"number": 23,
"open_issues": 0,
"state": "closed",
"title": "0.13.1",
"updated_at": "2014-02-03T05:18:00Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23"
} | 0 | 2013-11-05T19:07:26Z | 2014-01-23T03:55:50Z | 2014-01-06T23:44:29Z | CONTRIBUTOR | null | ```
In [1]: pd.isnull(np.array([pd.NaT]))
Out[1]: array([False], dtype=bool)
```
this should be true
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5443/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5443/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5444 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5444/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5444/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5444/events | https://github.com/pandas-dev/pandas/issues/5444 | 22,153,673 | MDU6SXNzdWUyMjE1MzY3Mw== | 5,444 | Panel4D can not be saved to hdf using the .to_hdf call | {
"avatar_url": "https://avatars.githubusercontent.com/u/664644?v=4",
"events_url": "https://api.github.com/users/kghose/events{/privacy}",
"followers_url": "https://api.github.com/users/kghose/followers",
"following_url": "https://api.github.com/users/kghose/following{/other_user}",
"gists_url": "https://api.github.com/users/kghose/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kghose",
"id": 664644,
"login": "kghose",
"node_id": "MDQ6VXNlcjY2NDY0NA==",
"organizations_url": "https://api.github.com/users/kghose/orgs",
"received_events_url": "https://api.github.com/users/kghose/received_events",
"repos_url": "https://api.github.com/users/kghose/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kghose/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kghose/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kghose"
} | [] | closed | false | null | [] | null | 9 | 2013-11-05T21:46:03Z | 2014-02-14T17:06:30Z | 2013-11-05T22:07:54Z | NONE | null | ```
import pandas as pd, numpy
print pd.__version__
with pd.get_store('test.h5') as store:
df = pd.Panel4D(data=numpy.random.randn(2,3,4,5))
store.append('test',df)
print store
df.to_hdf('test2.h5','test')
```
Output:
```
0.12.0
<class 'pandas.io.pytables.HDFStore'>
File path: test.h5
/test wide_table (typ->appendable,nrows->240,ncols->2,indexers->[items,major_axis,minor_axis])
Traceback (most recent call last):
File "pandas_hdf5_bug.py", line 10, in <module>
df.to_hdf('test2.h5','test')
File "/Users/kghose/Library/Python/2.7/lib/python/site-packages/pandas/core/generic.py", line 521, in to_hdf
return pytables.to_hdf(path_or_buf, key, self, **kwargs)
File "/Users/kghose/Library/Python/2.7/lib/python/site-packages/pandas/io/pytables.py", line 194, in to_hdf
f(store)
File "/Users/kghose/Library/Python/2.7/lib/python/site-packages/pandas/io/pytables.py", line 190, in <lambda>
f = lambda store: store.put(key, value, **kwargs)
File "/Users/kghose/Library/Python/2.7/lib/python/site-packages/pandas/io/pytables.py", line 585, in put
self._write_to_group(key, value, table=table, append=append, **kwargs)
File "/Users/kghose/Library/Python/2.7/lib/python/site-packages/pandas/io/pytables.py", line 909, in _write_to_group
encoding=encoding, **kwargs)
File "/Users/kghose/Library/Python/2.7/lib/python/site-packages/pandas/io/pytables.py", line 846, in _create_storer
error('_STORER_MAP')
File "/Users/kghose/Library/Python/2.7/lib/python/site-packages/pandas/io/pytables.py", line 815, in error
(t,group,type(value),table,append,kwargs))
TypeError: cannot properly create the storer for: [_STORER_MAP] [group->/test (Group) '',value-><class 'pandas.core.panelnd.Panel4D'>,table->None,append->False,kwargs->{'encoding': 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/5444/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5444/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5445 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5445/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5445/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5445/events | https://github.com/pandas-dev/pandas/issues/5445 | 22,158,564 | MDU6SXNzdWUyMjE1ODU2NA== | 5,445 | Use future division import in all files. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [
{
"color": "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"
} | 3 | 2013-11-05T22:57:26Z | 2017-06-01T20:13:30Z | 2017-06-01T20:13:30Z | CONTRIBUTOR | null | Now that all division on NDFrame is truediv, we should add the division future import to most/all files (alongside print) to avoid any inconsistencies. At least on the pure Python parts. Nor sure about Cython.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5445/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5445/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5446 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5446/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5446/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5446/events | https://github.com/pandas-dev/pandas/pull/5446 | 22,168,859 | MDExOlB1bGxSZXF1ZXN0OTcwNTUxMg== | 5,446 | PERF/ENH: Use xlsxwriter by default (and then fall back on openpyxl). | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [] | closed | false | null | [] | null | 1 | 2013-11-06T02:34:52Z | 2014-07-16T08:39:26Z | 2013-11-07T03:23:10Z | CONTRIBUTOR | null | Since xlsxwriter has a smaller install base (because it's newer),
reasonable to assume that if you have it installed, you want xlsxwriter.
Plus, it has better performance characteristics in general (esp. in
terms of memory usage)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5446/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5446/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5446.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5446",
"merged_at": "2013-11-07T03:23:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5446.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5446"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5447 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5447/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5447/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5447/events | https://github.com/pandas-dev/pandas/pull/5447 | 22,185,165 | MDExOlB1bGxSZXF1ZXN0OTcxMzA5Mw== | 5,447 | DOC: fix build error in to_latex and release notes | {
"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"
} | [] | closed | false | null | [] | null | 2 | 2013-11-06T10:25:16Z | 2014-07-16T08:39:27Z | 2013-11-06T12:58:55Z | MEMBER | null | This partly fixes #5331 (the `to_latex` part, not the 'Malformed table' one).
And in the same time, fixes a build error in the newly added docs on `truediv` in the release notes.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5447/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5447/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5447.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5447",
"merged_at": "2013-11-06T12:58:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5447.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5447"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5448 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5448/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5448/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5448/events | https://github.com/pandas-dev/pandas/pull/5448 | 22,191,564 | MDExOlB1bGxSZXF1ZXN0OTcxNjQyOQ== | 5,448 | PERF: Fixed decoding perf issue on py3 (GH5441) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-11-06T12:39:07Z | 2014-06-16T19:05:47Z | 2013-11-06T13:59:15Z | CONTRIBUTOR | null | closes #5441
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5448/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5448/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5448.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5448",
"merged_at": "2013-11-06T13:59:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5448.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5448"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5449 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5449/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5449/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5449/events | https://github.com/pandas-dev/pandas/issues/5449 | 22,194,284 | MDU6SXNzdWUyMjE5NDI4NA== | 5,449 | BUG: dup columns in to_excel when writing | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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"
},
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] | closed | false | null | [] | null | 5 | 2013-11-06T13:34:03Z | 2013-11-06T13:52:27Z | 2013-11-06T13:52:27Z | CONTRIBUTOR | null | @jtratner , cc @jmcnamara
pretty sure this is fixed with xlsxwriter...maybe need a warning with other writers?
http://stackoverflow.com/questions/19812934/pandas-dataframe-concat-and-to-excel-output
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5449/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5449/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5450 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5450/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5450/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5450/events | https://github.com/pandas-dev/pandas/pull/5450 | 22,196,016 | MDExOlB1bGxSZXF1ZXN0OTcxODc1NA== | 5,450 | DOC: remove docstring of flags attribute during doc building process (#5331) | {
"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"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 1 | 2013-11-06T14:05:13Z | 2014-07-09T18:47:42Z | 2013-11-06T15:31:36Z | MEMBER | null | Further fixes #5331 with @jtratner 's suggestion (https://github.com/pydata/pandas/issues/5142#issuecomment-27871973).
This removes the docstring of all attributes with the name `flags` during the doc building process.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5450/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5450/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5450.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5450",
"merged_at": "2013-11-06T15:31:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5450.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5450"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5451 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5451/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5451/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5451/events | https://github.com/pandas-dev/pandas/issues/5451 | 22,197,254 | MDU6SXNzdWUyMjE5NzI1NA== | 5,451 | Simple way of adding/removing column to DataFrame Not in Place | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "DDDDDD",
"default": false,
"description": "Long-Term Enhancement Discussions",
"id": 157369,
"name": "Ideas",
"node_id": "MDU6TGFiZWwxNTczNjk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Ideas"
}
] | 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"
} | 17 | 2013-11-06T14:26:25Z | 2016-07-27T11:06:51Z | 2016-07-27T11:06:51Z | CONTRIBUTOR | null | See SO question: http://stackoverflow.com/questions/19802708/add-column-to-pandas-dataframe-not-in-place
I would suggest something like:
```
df_new = df.alter(new_col_name=existing_series)
```
where alter would wake one or more columns:
```
df_new = df.alter(
new_col_name1=existing_series1,
new_col_name2=existing_series2,
)
```
This can further be a superset of `drop` allowing columns to be removed by setting them to `None`
```
df_new = df.alter(old_col_name=None)
```
Thoughts?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5451/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5451/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5452 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5452/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5452/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5452/events | https://github.com/pandas-dev/pandas/pull/5452 | 22,197,938 | MDExOlB1bGxSZXF1ZXN0OTcxOTgzNA== | 5,452 | add optional default value to GroupBy.get_group | {
"avatar_url": "https://avatars.githubusercontent.com/u/29542?v=4",
"events_url": "https://api.github.com/users/dwiel/events{/privacy}",
"followers_url": "https://api.github.com/users/dwiel/followers",
"following_url": "https://api.github.com/users/dwiel/following{/other_user}",
"gists_url": "https://api.github.com/users/dwiel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dwiel",
"id": 29542,
"login": "dwiel",
"node_id": "MDQ6VXNlcjI5NTQy",
"organizations_url": "https://api.github.com/users/dwiel/orgs",
"received_events_url": "https://api.github.com/users/dwiel/received_events",
"repos_url": "https://api.github.com/users/dwiel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dwiel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dwiel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dwiel"
} | [
{
"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": "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"
}
] | 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"
} | 59 | 2013-11-06T14:38:00Z | 2015-01-18T21:39:57Z | 2015-01-18T21:39:57Z | CONTRIBUTOR | null | I've used a try except block as opposed to and if else (below) to keep the non-default code path fast. What I didn't do:
```
if default is None :
inds = self.indices[name]
else :
inds = self.indices.get(name, default)
```
Here is an example use case:
```
def foo(df, keys) :
g = df.groupby('key')
for key in keys :
for x in g.get_group(key, default=[]).x :
yield key, x
```
vs
```
def foo(df, keys) :
g = df.groupby('key')
for key in keys :
if key in g.indices :
for x in g.get_group(key).x :
yield key, x
```
Many of the simple cases are actually handled by other higher level functions
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5452/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5452/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5452.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5452",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/5452.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5452"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5453 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5453/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5453/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5453/events | https://github.com/pandas-dev/pandas/issues/5453 | 22,200,481 | MDU6SXNzdWUyMjIwMDQ4MQ== | 5,453 | Matplotlib cursor position wrong after using asfreq method to change freq of DateTimeIndex from None to something | {
"avatar_url": "https://avatars.githubusercontent.com/u/1249695?v=4",
"events_url": "https://api.github.com/users/willfurnass/events{/privacy}",
"followers_url": "https://api.github.com/users/willfurnass/followers",
"following_url": "https://api.github.com/users/willfurnass/following{/other_user}",
"gists_url": "https://api.github.com/users/willfurnass/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/willfurnass",
"id": 1249695,
"login": "willfurnass",
"node_id": "MDQ6VXNlcjEyNDk2OTU=",
"organizations_url": "https://api.github.com/users/willfurnass/orgs",
"received_events_url": "https://api.github.com/users/willfurnass/received_events",
"repos_url": "https://api.github.com/users/willfurnass/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/willfurnass/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willfurnass/subscriptions",
"type": "User",
"url": "https://api.github.com/users/willfurnass"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 4 | 2013-11-06T15:15:53Z | 2014-06-12T21:07:21Z | 2014-05-01T17:50:35Z | CONTRIBUTOR | null | After using the `asfreq` method to change the frequency of a time-series DataFrame from `None` to something e.g. `15Min` the cursor position in matplotlib graphs of that DataFrame is no longer correct (usually shows a datetime just after the unix epoch). The following demonstrates this (NB dt in df1 is not a constant):
```
df1 = pandas.read_csv('tseries1.csv', names=['tstamp', 'Q'], parse_dates=True,
index_col='tstamp').clip_lower(0).fillna(0)
df1['T'] = pandas.read_csv('tseries2.csv', names=['tstamp', 'T'], parse_dates=True,
index_col='tstamp', squeeze=True).clip_lower(0).fillna(0)
df2 = df1.asfreq(freq='15Min', method='ffill')
# NB df1.index.freq is None
# NB df2.index.freq is <15 * Minutes>
df1.plot()
df2.plot()
plt.show()
```
I find the Matplotlib cursor position to be invaluable when looking for features in very long time-series.
Versions:
- pandas master (commit ID 764b444)
- numpy 1.8
- matplotlib 1.3.0
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5453/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5453/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5454 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5454/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5454/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5454/events | https://github.com/pandas-dev/pandas/pull/5454 | 22,205,858 | MDExOlB1bGxSZXF1ZXN0OTcyNDA3NQ== | 5,454 | DOC: small error in cookbook (doc build warning) | {
"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"
} | [] | closed | false | null | [] | null | 5 | 2013-11-06T16:23:22Z | 2014-07-16T08:39:33Z | 2013-11-06T16:34:26Z | 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/5454/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5454/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5454.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5454",
"merged_at": "2013-11-06T16:34:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5454.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5454"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/5455 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5455/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5455/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5455/events | https://github.com/pandas-dev/pandas/issues/5455 | 22,209,299 | MDU6SXNzdWUyMjIwOTI5OQ== | 5,455 | Allow labels argument to DataFrame.drop to be a function | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [] | closed | false | null | [] | null | 2 | 2013-11-06T17:05:22Z | 2013-11-06T23:58:23Z | 2013-11-06T23:58:23Z | CONTRIBUTOR | null | Allow `labels` to be a function that is applied to each label on the `axis` and return `True` if that label is to be dropped.
For example:
```
df = pd.DataFrame({'a':[1],'B':[2],'c':[3]})
df.drop(labels=lambda x:x.lower()==x, axis=1)
```
would drop columns 'a' and 'c'
This would be consistent with `DataFrame.rename` taking a function for `index` or `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/5455/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5455/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5456 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5456/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5456/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5456/events | https://github.com/pandas-dev/pandas/issues/5456 | 22,226,881 | MDU6SXNzdWUyMjIyNjg4MQ== | 5,456 | DOC: update groupby NA group handing / workaround | {
"avatar_url": "https://avatars.githubusercontent.com/u/598511?v=4",
"events_url": "https://api.github.com/users/mkeller-upb/events{/privacy}",
"followers_url": "https://api.github.com/users/mkeller-upb/followers",
"following_url": "https://api.github.com/users/mkeller-upb/following{/other_user}",
"gists_url": "https://api.github.com/users/mkeller-upb/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mkeller-upb",
"id": 598511,
"login": "mkeller-upb",
"node_id": "MDQ6VXNlcjU5ODUxMQ==",
"organizations_url": "https://api.github.com/users/mkeller-upb/orgs",
"received_events_url": "https://api.github.com/users/mkeller-upb/received_events",
"repos_url": "https://api.github.com/users/mkeller-upb/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mkeller-upb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mkeller-upb/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mkeller-upb"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 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 | 2013-11-06T21:32:28Z | 2019-10-21T19:52:14Z | null | NONE | null | Add more explicit docs / work-around for dealing with groupby and NA groups
(see comments)
Changelog: 07.Nov.2013: Add line to example below to preprocess table content.
I expect the following behavior: A `DataFrame.groupby` splits the dataframe/table into subtables according to the grouping-condition. A column name as a grouping-condition will give me subtables for each individual value in that column. Similarly, grouping with multiple columns (a list of column names) gives me a group for each occurring combination of these columns (or let me put it differently, the unique "values" of multiple columns to group for are tuples).
So if I'm wrong with my expectations, I couldn't read a different meaning or to-expect-behavior from the documentation (e.g. `pandas.DataFrame.groupby.__doc__`), then there is a lake of clarification.
Otherwise I found a bug and I am in the need for a fix: Some existing combinations are not provided with a group or splited subtable -- I checked it with `drop_duplicates`. And, finally, `grouped.__iter__` ignores more/other combinations as `grouped.groups.keys()` -- Here, I also would expect, that both follows the same implementation...
I tracked it to the depth of pandas to `pandas.core.Grouper._get_group_keys` or better `_KeyMapper.get_key`, `self.levels`looks good, but the list-comprehension-getmethod-zip-action goes wrong or eventually `pandas.core.Grouper.group_info` provides a too small `ngroups` value oorr something else.
`pandas.__version__` : 0.12.0-1062-g3c57949 (from 6.11.2013)
`numpy.__version__` : 1.7.2
MacOSX 10.9
Test Example:
``` python
import pickle
import sys
import os
import pandas as pd
grp_cols = ['algorithm', 'customalpha']
df = "ccopy_reg\n_reconstructor\np0\n(cpandas.core.frame\nDataFrame\np1\nc__builtin__\nobject\np2\nNtp3\nRp4\ng0\n(cpandas.core.internals\nBlockManager\np5\ng2\nNtp6\nRp7\n((lp8\ncnumpy.core.multiarray\n_reconstruct\np9\n(cpandas.core.index\nIndex\np10\n(I0\ntp11\nS'b'\np12\ntp13\nRp14\n((I1\n(I2\ntp15\ncnumpy\ndtype\np16\n(S'O8'\np17\nI0\nI1\ntp18\nRp19\n(I3\nS'|'\np20\nNNNI-1\nI-1\nI63\ntp21\nbI00\n(lp22\nS'algorithm'\np23\naS'customalpha'\np24\natp25\n(Ntp26\ntp27\nbag9\n(cpandas.core.index\nInt64Index\np28\n(I0\ntp29\ng12\ntp30\nRp31\n((I1\n(I13\ntp32\ng16\n(S'i8'\np33\nI0\nI1\ntp34\nRp35\n(I3\nS'<'\np36\nNNNI-1\nI-1\nI0\ntp37\nbI00\nS'\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x04\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x05\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x08\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x0c\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\r\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x11\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x15\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x17\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x18\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x1a\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x1e\\x00\\x00\\x00\\x00\\x00\\x00\\x00 \\x00\\x00\\x00\\x00\\x00\\x00\\x00'\np38\ntp39\n(Ntp40\ntp41\nba(lp42\ng9\n(cnumpy\nndarray\np43\n(I0\ntp44\ng12\ntp45\nRp46\n(I1\n(I2\nI13\ntp47\ng16\n(S'O8'\np48\nI0\nI1\ntp49\nRp50\n(I3\nS'|'\np51\nNNNI-1\nI-1\nI63\ntp52\nbI00\n(lp53\nS'ScenarioAlgoLocalHeuristicM'\np54\naS'ScenarioAlgoLocalHeuristicM'\np55\naS'ScenarioAlgoLocalHeuristicM'\np56\naS'ScenarioAlgoLocalHeuristicM'\np57\naS'ScenarioAlgoLocalHeuristicMC'\np58\naS'ScenarioAlgoCMTFLP'\np59\naS'ScenarioAlgoLocalHeuristicMC'\np60\naS'ScenarioAlgoLocalHeuristicMC'\np61\naS'ScenarioAlgoLocalHeuristicMC'\np62\naS'ScenarioAlgoLocalHeuristicMC'\np63\naS'ScenarioAlgoLocalHeuristicM'\np64\naS'ScenarioAlgoLocalHeuristicM'\np65\naS'ScenarioAlgoLocalHeuristicMC'\np66\naS'exp'\np67\naS'r100'\np68\naNaS'r333'\np69\naNaNaS'r333'\np70\naS'r100'\np71\naS'linear'\np72\naS'exp'\np73\naS'r10'\np74\naS'linear'\np75\naS'r10'\np76\natp77\nba(lp78\ng9\n(g10\n(I0\ntp79\ng12\ntp80\nRp81\n((I1\n(I2\ntp82\ng19\nI00\n(lp83\ng23\nag24\natp84\n(Ntp85\ntp86\nbatp87\nbb."
df = pickle.loads(df)
# Unexpected behavior was caused by None - values (which are treaded as NaN values), thanks jreback
df.fillna("default", inplace=True) # replaces None/NaN values
print "raw data: (", len(df), ")\n", df
print
print
df_grps1 = df[grp_cols].drop_duplicates()
df_grps2 = df.groupby(grp_cols)
df_grps3 = [grp for grp, _ in df.groupby(grp_cols)]
print "df_grps1 (#", len(df_grps1), "): \n", df_grps1
print
print "df_grps2 (#", len(df_grps2), "): "
for tpl in df_grps2.groups.keys():
print tpl
print
print "df_grps3 (#", len(df_grps3), "): "
for tpl in df_grps3:
print tpl
assert len(df_grps1) == len(df_grps2), "baad bug !!!"
assert len(df_grps2) == len(df_grps3), "baad bug !!!"
assert len(df_grps1) == len(df_grps3), "baad bug!!!"
print "passed without error"
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5456/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5456/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5457 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5457/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5457/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5457/events | https://github.com/pandas-dev/pandas/issues/5457 | 22,230,021 | MDU6SXNzdWUyMjIzMDAyMQ== | 5,457 | CLN: use fast pathed config lookup in pandas code. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] | closed | false | null | [] | {
"closed_at": "2014-02-03T05:17:36Z",
"closed_issues": 314,
"created_at": "2013-08-26T22:11:58Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
},
"description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.",
"due_on": "2014-02-04T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/23",
"id": 412013,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels",
"node_id": "MDk6TWlsZXN0b25lNDEyMDEz",
"number": 23,
"open_issues": 0,
"state": "closed",
"title": "0.13.1",
"updated_at": "2014-02-03T05:18:00Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23"
} | 1 | 2013-11-06T22:22:46Z | 2013-11-21T13:29:16Z | 2013-11-21T13:29:16Z | CONTRIBUTOR | null | @jreback is about to introduce this with the warn on setting with copy PR. We should use it in pandas internals - will be cleaner, especially when debugging. https://github.com/pydata/pandas/commit/7aa7880f#diff-1e746a348e7db9596f3d053134d00e74R515
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5457/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5457/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5458 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5458/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5458/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5458/events | https://github.com/pandas-dev/pandas/issues/5458 | 22,233,673 | MDU6SXNzdWUyMjIzMzY3Mw== | 5,458 | BUG: Series.apply(to_timedelta) returns object-type Series. | {
"avatar_url": "https://avatars.githubusercontent.com/u/2279598?v=4",
"events_url": "https://api.github.com/users/danielballan/events{/privacy}",
"followers_url": "https://api.github.com/users/danielballan/followers",
"following_url": "https://api.github.com/users/danielballan/following{/other_user}",
"gists_url": "https://api.github.com/users/danielballan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/danielballan",
"id": 2279598,
"login": "danielballan",
"node_id": "MDQ6VXNlcjIyNzk1OTg=",
"organizations_url": "https://api.github.com/users/danielballan/orgs",
"received_events_url": "https://api.github.com/users/danielballan/received_events",
"repos_url": "https://api.github.com/users/danielballan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/danielballan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danielballan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/danielballan"
} | [
{
"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-02-03T05:17:36Z",
"closed_issues": 314,
"created_at": "2013-08-26T22:11:58Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
},
"description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.",
"due_on": "2014-02-04T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/23",
"id": 412013,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels",
"node_id": "MDk6TWlsZXN0b25lNDEyMDEz",
"number": 23,
"open_issues": 0,
"state": "closed",
"title": "0.13.1",
"updated_at": "2014-02-03T05:18:00Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23"
} | 0 | 2013-11-06T23:30:00Z | 2014-02-04T15:53:19Z | 2014-01-20T23:37:17Z | CONTRIBUTOR | null | _For later (post 0.13)..._
Good:
```
In [1]: Series(['2013-01-05']).apply(pd.to_datetime)
Out[1]:
0 2013-01-05 00:00:00
dtype: datetime64[ns]
```
Bad:
```
In [2]: Series(['00:00:01']).apply(pd.to_timedelta)
Out[2]:
0 1000000000 nanoseconds
dtype: object
```
This problem turned up in #5438 , resovling #5437 . Refer to the discussion there.
See `tseries/tests/test_timedeltas.py`, specifically `test_apply_to_timedelta`. Currently, Lines 304 and 311 of the latter contain commented out assert statements that, after this is resolved should be uncommented and pass.
Also see `tests/test_frame.py/test_operators_timedelta64.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/5458/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5458/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5459 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5459/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5459/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5459/events | https://github.com/pandas-dev/pandas/pull/5459 | 22,239,195 | MDExOlB1bGxSZXF1ZXN0OTc0MzQzNw== | 5,459 | DOC: add basic documentation to some of the GroupBy properties and methods | {
"avatar_url": "https://avatars.githubusercontent.com/u/29542?v=4",
"events_url": "https://api.github.com/users/dwiel/events{/privacy}",
"followers_url": "https://api.github.com/users/dwiel/followers",
"following_url": "https://api.github.com/users/dwiel/following{/other_user}",
"gists_url": "https://api.github.com/users/dwiel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dwiel",
"id": 29542,
"login": "dwiel",
"node_id": "MDQ6VXNlcjI5NTQy",
"organizations_url": "https://api.github.com/users/dwiel/orgs",
"received_events_url": "https://api.github.com/users/dwiel/received_events",
"repos_url": "https://api.github.com/users/dwiel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dwiel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dwiel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dwiel"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 15 | 2013-11-07T01:45:06Z | 2014-06-14T22:38:30Z | 2013-11-27T20:00:21Z | CONTRIBUTOR | null | I added some simple documentation to the GroupBy and Grouper classes
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5459/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5459/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5459.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5459",
"merged_at": "2013-11-27T20:00:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5459.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5459"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5460 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5460/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5460/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5460/events | https://github.com/pandas-dev/pandas/issues/5460 | 22,240,096 | MDU6SXNzdWUyMjI0MDA5Ng== | 5,460 | DOC: Clarify 'public-ish' API for packages using pandas. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [
{
"color": "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"
}
] | 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"
} | 6 | 2013-11-07T02:12:35Z | 2021-04-11T03:52:44Z | 2021-04-11T03:52:44Z | CONTRIBUTOR | null | I've been contributing a little bit to GeoPandas / working on some of my own custom code using pandas that I want to share with others and I realized that I wasn't sure what is and is not part of the public API for pandas.
Here's what I have in my head:
Definitely public:
- anything in pandas toplevel namespace (except for modules imported into that namespace)
- non-`_` classmethods on NDFrame
- DateOffsets (in that they have a set interface), but not necessarily direct use of get_offset and friends
Somewhat public:
- Subset of Index methods:
- Definitely `union`, `intersection`, `difference`, `levels`, `labels`, `names` (and the set methods for them)
- Somewhat: `get_indexer`, `get_indexer_non_unique`, `groupby`, `get_loc`, `slice_locs`, `equals`, `identical`, `values` property
- Not public: `is_`, `is_unique`, lexsort properties on MI
- `get_offset` and `DateOffset` subclasses
Nice to make public right now:
- `compat` module (useful to provide this for modules that depend on pandas...at least in terms of guaranteeing that whatever's in the namespace now will go through a deprecation period).
- test utils (otherwise have to reinvent the wheel)
- `cache_readonly` decorator
Internal methods/properties that subclasses may rely on/manipulate:
- `__finalize__`
- `_metadata` property
- `_constructor`, `_constructor_sliced`
- `_internal_names` (maybe - weird behavior with `__setattr__` if you don't do this)
- `_reset_cache`, `_update_inplace`, possibly `_maybe_update_cacher`
Things we could consider making public in the future:
- many of the `is_*` methods in core/common.
Am I missing anything here? Does this make sense?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5460/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5460/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5461 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5461/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5461/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5461/events | https://github.com/pandas-dev/pandas/issues/5461 | 22,241,197 | MDU6SXNzdWUyMjI0MTE5Nw== | 5,461 | DatetimeIndex.normalize doesn't clear ns field | {
"avatar_url": "https://avatars.githubusercontent.com/u/2628740?v=4",
"events_url": "https://api.github.com/users/zhangruoyu/events{/privacy}",
"followers_url": "https://api.github.com/users/zhangruoyu/followers",
"following_url": "https://api.github.com/users/zhangruoyu/following{/other_user}",
"gists_url": "https://api.github.com/users/zhangruoyu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zhangruoyu",
"id": 2628740,
"login": "zhangruoyu",
"node_id": "MDQ6VXNlcjI2Mjg3NDA=",
"organizations_url": "https://api.github.com/users/zhangruoyu/orgs",
"received_events_url": "https://api.github.com/users/zhangruoyu/received_events",
"repos_url": "https://api.github.com/users/zhangruoyu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zhangruoyu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zhangruoyu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zhangruoyu"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] | closed | false | null | [] | null | 10 | 2013-11-07T02:48:08Z | 2013-11-08T12:46:51Z | 2013-11-08T12:46:51Z | NONE | null | ```
import pandas as pd
import numpy as np
didx = pd.DatetimeIndex(np.array([1380585623454345752, 1380585612343234312]).astype("datetime64[ns]"))
didx.normalize()
```
the output is:
```
<class 'pandas.tseries.index.DatetimeIndex'>
[2013-10-01 00:00:00.000000752, 2013-10-01 00:00:00.000000312]
Length: 2, Freq: None, Timezone: 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/5461/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5461/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5462 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5462/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5462/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5462/events | https://github.com/pandas-dev/pandas/pull/5462 | 22,264,688 | MDExOlB1bGxSZXF1ZXN0OTc1NjA1Ng== | 5,462 | PERF: performance improvements on isnull/notnull for large pandas objects | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-11-07T13:06:16Z | 2014-07-16T08:39:41Z | 2013-11-07T14:44:58Z | CONTRIBUTOR | null | ```
In [1]: df = DataFrame(np.random.randn(1000,1000))
In [2]: %timeit df.apply(pd.isnull)
10 loops, best of 3: 121 ms per loop
In [3]: %timeit pd.isnull(df)
100 loops, best of 3: 3.15 ms per loop
```
from 0.12
```
In [2]: %timeit df.apply(pd.isnull)
10 loops, best of 3: 74.3 ms per loop
In [3]: %timeit pd.isnull(df)
10 loops, best of 3: 81.8 ms per loop
```
now evaluates block-by-block rather than column-by-column (via apply)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5462/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5462/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5462.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5462",
"merged_at": "2013-11-07T14:44:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5462.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5462"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5463 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5463/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5463/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5463/events | https://github.com/pandas-dev/pandas/issues/5463 | 22,289,925 | MDU6SXNzdWUyMjI4OTkyNQ== | 5,463 | PyTables: invalid combinate of [values_axes] on appending data | {
"avatar_url": "https://avatars.githubusercontent.com/u/1903683?v=4",
"events_url": "https://api.github.com/users/bluefir/events{/privacy}",
"followers_url": "https://api.github.com/users/bluefir/followers",
"following_url": "https://api.github.com/users/bluefir/following{/other_user}",
"gists_url": "https://api.github.com/users/bluefir/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bluefir",
"id": 1903683,
"login": "bluefir",
"node_id": "MDQ6VXNlcjE5MDM2ODM=",
"organizations_url": "https://api.github.com/users/bluefir/orgs",
"received_events_url": "https://api.github.com/users/bluefir/received_events",
"repos_url": "https://api.github.com/users/bluefir/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bluefir/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bluefir/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bluefir"
} | [] | closed | false | null | [] | null | 10 | 2013-11-07T19:32:25Z | 2013-11-08T01:02:41Z | 2013-11-08T00:43:23Z | NONE | null | I got the following error when appending data to an HDF5 file:
> File "/opt/epd/7.3-2_pandas0.11/lib/python2.7/site-packages/pandas/io/pytables.py", line 610, in append
> self._write_to_group(key, value, table=True, append=True, *_kwargs)
> File "/opt/epd/7.3-2_pandas0.11/lib/python2.7/site-packages/pandas/io/pytables.py", line 871, in _write_to_group
> s.write(obj = value, append=append, complib=complib, *_kwargs)
> File "/opt/epd/7.3-2_pandas0.11/lib/python2.7/site-packages/pandas/io/pytables.py", line 2998, in write
> return super(AppendableMultiFrameTable, self).write(obj=obj.reset_index(), data_columns=data_columns, *_kwargs)
> File "/opt/epd/7.3-2_pandas0.11/lib/python2.7/site-packages/pandas/io/pytables.py", line 2740, in write
> min_itemsize=min_itemsize, *_kwargs)
> File "/opt/epd/7.3-2_pandas0.11/lib/python2.7/site-packages/pandas/io/pytables.py", line 2484, in create_axes
> self.validate(existing_table)
> File "/opt/epd/7.3-2_pandas0.11/lib/python2.7/site-packages/pandas/io/pytables.py", line 2098, in validate
> raise ValueError("invalid combinate of [%s] on appending data [%s] vs current table [%s]" % (c,sax,oax))
> ValueError: invalid combinate of [values_axes] on appending data [name->values_block_0,cname->values_block_0,axis->None,pos->1,kind->integer] vs current table [name->values_block_0,cname->values_block_0,axis->None,pos->1,kind->float]
The file only contains one DataFrame and I verified that, if I read data from the file, the file DataFrame and the DataFrame I am trying to append have the same column order and the same dtypes for those columns. In addition, index columns have the same types <class 'pandas.tseries.index.DatetimeIndex'>, <class 'pandas.core.index.Int64Index'>. Why am I still getting this error?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5463/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5463/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5464 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5464/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5464/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5464/events | https://github.com/pandas-dev/pandas/issues/5464 | 22,311,184 | MDU6SXNzdWUyMjMxMTE4NA== | 5,464 | Error setting locale in test suite | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "fbca04",
"default": false,
"description": "Windows OS",
"id": 57186974,
"name": "Windows",
"node_id": "MDU6TGFiZWw1NzE4Njk3NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 1 | 2013-11-08T02:07:55Z | 2013-11-08T18:19:17Z | 2013-11-08T18:19:17Z | CONTRIBUTOR | null | This is on the VM running pandas windows builds.
Windows XP
Python 2.7 32-bit
```
ERROR: test suite for <class 'pandas.io.tests.test_data.TestGoogle'>
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python27\x32\lib\site-packages\nose\suite.py", line 208, in run
self.setUp()
File "c:\python27\x32\lib\site-packages\nose\suite.py", line 291, in setUp
self.setupContext(ancestor)
File "c:\python27\x32\lib\site-packages\nose\suite.py", line 314, in setupContext
try_run(context, names)
File "c:\python27\x32\lib\site-packages\nose\util.py", line 478, in try_run
return func()
File "C:\workspace\pandas-windows-test-py27\pandas\io\tests\test_data.py", line 41, in setUpClass
cls.locales = tm.get_locales(prefix='en_US')
File "C:\workspace\pandas-windows-test-py27\pandas\util\testing.py", line 181, in get_locales
raw_locales = locale_getter()
File "C:\workspace\pandas-windows-test-py27\pandas\util\testing.py", line 151, in _default_locale_getter
"system" % e)
TypeError: __init__() takes at least 3 arguments (2 given)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5464/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5464/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5465 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5465/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5465/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5465/events | https://github.com/pandas-dev/pandas/issues/5465 | 22,311,244 | MDU6SXNzdWUyMjMxMTI0NA== | 5,465 | Error in test suite for timedelta operations | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "fbca04",
"default": false,
"description": "Windows OS",
"id": 57186974,
"name": "Windows",
"node_id": "MDU6TGFiZWw1NzE4Njk3NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 2 | 2013-11-08T02:09:25Z | 2013-11-08T18:18:25Z | 2013-11-08T18:18:25Z | CONTRIBUTOR | null | This is on the VM running pandas windows builds.
Windows XP
Python 2.7 32-bit
numpy 1.7.1
```
======================================================================
ERROR: test_timedelta_ops_with_missing_values (pandas.tseries.tests.test_timedeltas.TestTimedeltas)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\workspace\pandas-windows-test-py27\pandas\tseries\tests\test_timedeltas.py", line 247, in test_timedelta_ops_with_missing_values
actual = s1 + timedelta_NaT
File "C:\workspace\pandas-windows-test-py27\pandas\core\ops.py", line 461, in wrapper
time_converted = _TimeOp.maybe_convert_for_time_op(left, right, name)
File "C:\workspace\pandas-windows-test-py27\pandas\core\ops.py", line 428, in maybe_convert_for_time_op
return cls(left, right, name)
File "C:\workspace\pandas-windows-test-py27\pandas\core\ops.py", line 246, in __init__
rvalues = self._convert_to_array(right, name=name, other=lvalues)
File "C:\workspace\pandas-windows-test-py27\pandas\core\ops.py", line 363, in _convert_to_array
" operation".format(pa.array(values).dtype))
TypeError: incompatible type [timedelta64[ns]] for a datetime/timedelta operation
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5465/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5465/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5466 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5466/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5466/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5466/events | https://github.com/pandas-dev/pandas/issues/5466 | 22,311,312 | MDU6SXNzdWUyMjMxMTMxMg== | 5,466 | Error in test suite for indexing | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "fbca04",
"default": false,
"description": "Windows OS",
"id": 57186974,
"name": "Windows",
"node_id": "MDU6TGFiZWw1NzE4Njk3NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 1 | 2013-11-08T02:11:07Z | 2013-11-08T18:19:00Z | 2013-11-08T18:18:25Z | CONTRIBUTOR | null | This is on the VM running pandas windows builds.
Windows XP
Python 2.7 32-bit
numpy 1.7.1
```
======================================================================
ERROR: test_multiindex_assignment (pandas.tests.test_indexing.TestIndexing)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\workspace\pandas-windows-test-py27\pandas\tests\test_indexing.py", line 1003, in test_multiindex_assignment
df.ix[name, 'new_col'] = new_vals
File "C:\workspace\pandas-windows-test-py27\pandas\core\indexing.py", line 94, in __setitem__
self._setitem_with_indexer(indexer, value)
File "C:\workspace\pandas-windows-test-py27\pandas\core\indexing.py", line 363, in _setitem_with_indexer
setter(labels[0], value)
File "C:\workspace\pandas-windows-test-py27\pandas\core\indexing.py", line 318, in setter
self.obj[item] = s
File "C:\workspace\pandas-windows-test-py27\pandas\core\frame.py", line 1841, in __setitem__
self._set_item(key, value)
File "C:\workspace\pandas-windows-test-py27\pandas\core\frame.py", line 1907, in _set_item
self._check_setitem_copy()
File "C:\workspace\pandas-windows-test-py27\pandas\core\generic.py", line 1006, in _check_setitem_copy
raise SettingWithCopyError(t)
SettingWithCopyError: A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_index,col_indexer] = value instead
```
and also:
```
======================================================================
FAIL: test_inplace_mutation_resets_values (pandas.tests.test_index.TestMultiIndex)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\workspace\pandas-windows-test-py27\pandas\tests\test_index.py", line 1352, in test_inplace_mutation_resets_values
assert_almost_equal(exp_values, new_values)
File "testing.pyx", line 58, in pandas._testing.assert_almost_equal (pandas\src\testing.c:2440)
File "testing.pyx", line 93, in pandas._testing.assert_almost_equal (pandas\src\testing.c:1692)
File "testing.pyx", line 93, in pandas._testing.assert_almost_equal (pandas\src\testing.c:1692)
File "testing.pyx", line 113, in pandas._testing.assert_almost_equal (pandas\src\testing.c:1973)
AssertionError: First object is numeric, second is not: 1 != 1L
```
and also:
```
======================================================================
FAIL: test_detect_chained_assignment (pandas.tests.test_indexing.TestIndexing)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\workspace\pandas-windows-test-py27\pandas\tests\test_indexing.py", line 1695, in test_detect_chained_assignment
assert_frame_equal(df, expected)
File "C:\workspace\pandas-windows-test-py27\pandas\util\testing.py", line 469, in assert_frame_equal
check_less_precise=check_less_precise)
File "C:\workspace\pandas-windows-test-py27\pandas\util\testing.py", line 417, in assert_series_equal
assert_attr_equal('dtype', left, right)
File "C:\workspace\pandas-windows-test-py27\pandas\util\testing.py", line 401, in assert_attr_equal
assert_equal(left_attr,right_attr,"attr is not equal [{0}]" .format(attr))
File "C:\workspace\pandas-windows-test-py27\pandas\util\testing.py", line 384, in assert_equal
assert a == b, "%s: %r != %r" % (msg.format(a,b), a, b)
AssertionError: attr is not equal [dtype]: dtype('int32') != 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/5466/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5466/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5467 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5467/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5467/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5467/events | https://github.com/pandas-dev/pandas/issues/5467 | 22,311,440 | MDU6SXNzdWUyMjMxMTQ0MA== | 5,467 | Error in test suite for eval | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "fbca04",
"default": false,
"description": "Windows OS",
"id": 57186974,
"name": "Windows",
"node_id": "MDU6TGFiZWw1NzE4Njk3NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 1 | 2013-11-08T02:14:43Z | 2013-11-08T18:18:25Z | 2013-11-08T18:18:25Z | CONTRIBUTOR | null | This is on the VM running pandas windows builds.
Windows XP
Python 2.7 32-bit
numpy 1.7.1
```
======================================================================
FAIL: pandas.computation.tests.test_eval.TestAlignment.test_basic_series_frame_alignment('numexpr', 'python')
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python27\x32\lib\site-packages\nose\case.py", line 197, in runTest
self.test(*self.arg)
File "C:\workspace\pandas-windows-test-py27\pandas\computation\tests\test_eval.py", line 873, in check_basic_series_frame_alignment
testit(r_idx_type, c_idx_type, index_name)
File "C:\workspace\pandas-windows-test-py27\pandas\computation\tests\test_eval.py", line 868, in testit
assert_frame_equal(res, expected)
File "C:\workspace\pandas-windows-test-py27\pandas\util\testing.py", line 448, in assert_frame_equal
assert_index_equal(left.columns, right.columns)
File "C:\workspace\pandas-windows-test-py27\pandas\util\testing.py", line 394, in assert_index_equal
right.dtype))
AssertionError: [index] left [object Index([0, 2, 2000-01-03 00:00:00, 2000-01-04 00:00:00, 2000-01-05 00:00:00, 2000-01-06 00:00:00, 2000-01-07 00:00:00, 1, 2000-01-10 00:00:00, 3, 2000-01-11 00:00:00, 4], dtype='object')], right [Index([2000-01-03 00:00:00, 2000-01-04 00:00:00, 2000-01-05 00:00:00, 2000-01-06 00:00:00, 2000-01-07 00:00:00, 2000-01-10 00:00:00, 2000-01-11 00:00:00, 0, 1, 2, 3, 4], dtype='object') 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/5467/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5467/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5468 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5468/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5468/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5468/events | https://github.com/pandas-dev/pandas/issues/5468 | 22,311,494 | MDU6SXNzdWUyMjMxMTQ5NA== | 5,468 | Error in test suite for Series.mode | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "fbca04",
"default": false,
"description": "Windows OS",
"id": 57186974,
"name": "Windows",
"node_id": "MDU6TGFiZWw1NzE4Njk3NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 5 | 2013-11-08T02:16:30Z | 2013-11-08T05:01:49Z | 2013-11-08T04:48:37Z | CONTRIBUTOR | null | This is on the VM running pandas windows builds.
Windows XP
Python 2.7 32-bit
numpy 1.7.1
```
======================================================================
FAIL: test_mode (pandas.tests.test_series.TestSeries)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\workspace\pandas-windows-test-py27\pandas\tests\test_series.py", line 1727, in test_mode
assert_series_equal(Series([1, 2, 3]).mode(), Series([], dtype=int))
File "C:\workspace\pandas-windows-test-py27\pandas\util\testing.py", line 417, in assert_series_equal
assert_attr_equal('dtype', left, right)
File "C:\workspace\pandas-windows-test-py27\pandas\util\testing.py", line 401, in assert_attr_equal
assert_equal(left_attr,right_attr,"attr is not equal [{0}]" .format(attr))
File "C:\workspace\pandas-windows-test-py27\pandas\util\testing.py", line 384, in assert_equal
assert a == b, "%s: %r != %r" % (msg.format(a,b), a, b)
AssertionError: attr is not equal [dtype]: dtype('int64') != dtype('int32')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5468/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5468/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5469 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5469/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5469/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5469/events | https://github.com/pandas-dev/pandas/pull/5469 | 22,315,155 | MDExOlB1bGxSZXF1ZXN0OTc4NDE1Mg== | 5,469 | TST: Fix test case to use int64 and explicit float | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [] | closed | false | null | [] | null | 0 | 2013-11-08T03:59:58Z | 2014-07-16T08:39:46Z | 2013-11-08T04:38:59Z | CONTRIBUTOR | null | #5468
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5469/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5469/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5469.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5469",
"merged_at": "2013-11-08T04:38:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5469.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5469"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5470 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5470/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5470/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5470/events | https://github.com/pandas-dev/pandas/issues/5470 | 22,321,632 | MDU6SXNzdWUyMjMyMTYzMg== | 5,470 | BUG: SparseDataFrame does not allow single value data | {
"avatar_url": "https://avatars.githubusercontent.com/u/1439047?v=4",
"events_url": "https://api.github.com/users/BrenBarn/events{/privacy}",
"followers_url": "https://api.github.com/users/BrenBarn/followers",
"following_url": "https://api.github.com/users/BrenBarn/following{/other_user}",
"gists_url": "https://api.github.com/users/BrenBarn/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/BrenBarn",
"id": 1439047,
"login": "BrenBarn",
"node_id": "MDQ6VXNlcjE0MzkwNDc=",
"organizations_url": "https://api.github.com/users/BrenBarn/orgs",
"received_events_url": "https://api.github.com/users/BrenBarn/received_events",
"repos_url": "https://api.github.com/users/BrenBarn/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/BrenBarn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/BrenBarn/subscriptions",
"type": "User",
"url": "https://api.github.com/users/BrenBarn"
} | [
{
"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": "009800",
"default": false,
"description": "Sparse Data Type",
"id": 49182326,
"name": "Sparse",
"node_id": "MDU6TGFiZWw0OTE4MjMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 3 | 2013-11-08T07:45:06Z | 2019-09-18T14:02:17Z | 2019-09-18T14:02:17Z | NONE | null | You can create a normal DataFrame with, e.g., `pandas.DataFrame(0, index=[1, 2, 3], columns=["A", "B", "C"])`. However, this fails with a SparseDataFrame:
```
>>> x = pandas.SparseDataFrame(0, index=[1, 2, 3], columns=["A", "B", "C"])
Traceback (most recent call last):
File "<pyshell#97>", line 1, in <module>
x = pandas.SparseDataFrame(0, index=[1, 2, 3], columns=["A", "B", "C"])
File "c:\users\brenbarn\documents\python\extensions\pandas\pandas\sparse\frame.py", line 123, in __init__
NDFrame.__init__(self, mgr)
UnboundLocalError: local variable 'mgr' referenced before assignment
```
It looks like the code in `SparseDataFrame.__init__` is not handling the case where the data is a single value. It has a bunch of if statements to handle different kinds of data, but falls through without creating `mgr` if none of them are met.
This makes it difficult to create an "empty" SparseDataFrame whose default fill value is something other than `nan`, e.g., `pandas.SparseDataFrame(0, index=[1, 2, 3], columns=["A", "B", "C"], default_fill_value=0)`. In fact, I would suggest that if a default_fill_value is provided but no data is provided, the SparseDataFrame should be filled with the fill value (not `nan`), but perhaps that warrants a separate issue.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5470/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5470/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5471 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5471/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5471/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5471/events | https://github.com/pandas-dev/pandas/pull/5471 | 22,324,429 | MDExOlB1bGxSZXF1ZXN0OTc4ODExNA== | 5,471 | BUG: bool(NaT) was True | {
"avatar_url": "https://avatars.githubusercontent.com/u/1630469?v=4",
"events_url": "https://api.github.com/users/jniznan/events{/privacy}",
"followers_url": "https://api.github.com/users/jniznan/followers",
"following_url": "https://api.github.com/users/jniznan/following{/other_user}",
"gists_url": "https://api.github.com/users/jniznan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jniznan",
"id": 1630469,
"login": "jniznan",
"node_id": "MDQ6VXNlcjE2MzA0Njk=",
"organizations_url": "https://api.github.com/users/jniznan/orgs",
"received_events_url": "https://api.github.com/users/jniznan/received_events",
"repos_url": "https://api.github.com/users/jniznan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jniznan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jniznan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jniznan"
} | [] | closed | false | null | [] | null | 3 | 2013-11-08T08:52:18Z | 2013-11-08T16:51:27Z | 2013-11-08T16:51:27Z | CONTRIBUTOR | null | bool(NaT) evaluates to True. I am not sure if this is by design or if it is a bug, but I think it makes more sense to evaluate it to False.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5471/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5471/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5471.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5471",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/5471.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5471"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5472 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5472/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5472/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5472/events | https://github.com/pandas-dev/pandas/pull/5472 | 22,333,055 | MDExOlB1bGxSZXF1ZXN0OTc5MjcxOQ== | 5,472 | BUG: DatetimeIndex.normalize now accounts for nanoseconds (#5461). | {
"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 | 1 | 2013-11-08T12:04:03Z | 2014-07-15T19:20:42Z | 2013-11-08T12:46:21Z | CONTRIBUTOR | null | closes #5461
datetime64(ns) uses the dts->ps which was not being set to zero in the
normalize 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/5472/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5472/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5472.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5472",
"merged_at": "2013-11-08T12:46:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5472.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5472"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5473 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5473/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5473/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5473/events | https://github.com/pandas-dev/pandas/issues/5473 | 22,344,911 | MDU6SXNzdWUyMjM0NDkxMQ== | 5,473 | Test suite throws lots of DateParseErrors | {
"avatar_url": "https://avatars.githubusercontent.com/u/1991007?v=4",
"events_url": "https://api.github.com/users/sfinkens/events{/privacy}",
"followers_url": "https://api.github.com/users/sfinkens/followers",
"following_url": "https://api.github.com/users/sfinkens/following{/other_user}",
"gists_url": "https://api.github.com/users/sfinkens/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sfinkens",
"id": 1991007,
"login": "sfinkens",
"node_id": "MDQ6VXNlcjE5OTEwMDc=",
"organizations_url": "https://api.github.com/users/sfinkens/orgs",
"received_events_url": "https://api.github.com/users/sfinkens/received_events",
"repos_url": "https://api.github.com/users/sfinkens/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sfinkens/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfinkens/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sfinkens"
} | [] | closed | false | null | [] | null | 11 | 2013-11-08T15:52:45Z | 2013-12-19T04:12:09Z | 2013-11-08T16:32:46Z | NONE | null | Hej hej,
I built pandas from source on [python 2.7, numpy 1.8, dateutil 2.2] using
```
python setup.py build_ext --inplace
```
When running the test suite,
```
nosetests pandas
```
I encounter lots of DateParseErrors. The error message is basically always the same, so here is an example one:
<pre>
======================================================================
ERROR: test_cdaterange_holidays (pandas.tseries.tests.test_daterange.TestCustomDateRange)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/cmsaf/cmsaf-ops3/sfinkens/usr/src/pandas-0.12.0/pandas/tseries/tests/test_daterange.py", line 597, in test_c
daterange_holidays
xp = DatetimeIndex(['2013-05-02', '2013-05-03', '2013-05-06'])
File "/cmsaf/cmsaf-ops3/sfinkens/usr/src/pandas-0.12.0/pandas/tseries/index.py", line 197, in __new__
yearfirst=yearfirst)
File "/cmsaf/cmsaf-ops3/sfinkens/usr/src/pandas-0.12.0/pandas/tseries/index.py", line 1812, in _str_to_dt_array
data = _algos.arrmap_object(arr, parser)
File "generated.pyx", line 2170, in pandas.algos.arrmap_object (pandas/algos.c:62269)
File "/cmsaf/cmsaf-ops3/sfinkens/usr/src/pandas-0.12.0/pandas/tseries/index.py", line 1808, in parser
yearfirst=yearfirst)
File "/cmsaf/cmsaf-ops3/sfinkens/usr/src/pandas-0.12.0/pandas/tseries/tools.py", line 240, in parse_time_string
raise DateParseError(e)
DateParseError: 'tuple' object has no attribute 'year'
</pre>
It occurs in the following functions:
<pre>
test_cdaterange
test_cdaterange_holidays
test_cdaterange_weekmask
test_cdaterange_weekmask_and_holidays
test_annual_ambiguous
test_business_daily
test_day_corner
test_monthly_ambiguous
test_non_datetimeindex
test_not_monotonic
test_raise_if_too_few
test_equal
test_equal_Raises_Type
test_equal_Raises_Value
test_greater
test_greaterEqual
test_greaterEqual_Raises_Value
test_greater_Raises_Type
test_greater_Raises_Value
test_notEqual
test_smaller
test_smallerEqual
test_smallerEqual_Raises_Type
test_smallerEqual_Raises_Value
test_smaller_Raises_Type
test_smaller_Raises_Value
test_sort
test_align_frame
test_align_series
test_as_frame_columns
test_asfreq
test_asfreq_ts
test_constructor
test_constructor_use_start_freq
test_convert_array_of_periods
test_dti_to_period
test_fields
test_frame_setitem
test_frame_to_time_stamp
test_get_loc_msg
test_getitem_datetime
test_intersection
test_iteration
test_joins
test_make_time_series
test_nested_dict_frame_constructor
test_period_index_unicode
test_pickle_freq
test_pindex_slice_index
test_shift
test_slice_keep_name
test_take
test_to_datetime_1703
test_to_timestamp
test_to_timestamp_preserve_name
test_tolist
test_ts_repr
test_union
test_anchor_week_end_time
test_constructor_corner
test_constructor_infer_freq
test_period_cons_weekly
test_period_constructor
test_repr
test_strftime
test_timestamp_tz_arg
test_business_daily
test_daily
test_hourly
test_minutely
test_secondly
test_weekly
test_ax_plot
test_axis_limits
test_both_style_and_color
test_business_freq
test_business_freq_convert
test_dataframe
test_fake_inferred_business
test_finder_annual
test_finder_daily
test_finder_hourly
test_finder_minutely
test_finder_monthly
test_finder_monthly_long
test_finder_quarterly
test_format_date_axis
test_frame_inferred
test_from_weekly_resampling
test_gap_upsample
test_gaps
test_get_datevalue
test_get_finder
test_high_freq
test_irreg_dtypes
test_irreg_hf
test_irregular_datetime64_repr_bug
test_line_plot_datetime_frame
test_line_plot_datetime_series
test_line_plot_inferred_freq
test_line_plot_period_frame
test_line_plot_period_series
test_mixed_freq_alignment
test_mixed_freq_hf_first
test_mixed_freq_irreg_period
test_mixed_freq_irregular_first
test_mixed_freq_lf_first
test_mixed_freq_regular_first
test_mpl_nopandas
test_nonnumeric_exclude
test_nonzero_base
test_plot_multiple_inferred_freq
test_plot_offset_freq
test_secondary_bar
test_secondary_bar_frame
test_secondary_frame
test_secondary_kde
test_secondary_legend
test_secondary_upsample
test_secondary_y
test_secondary_y_ts
test_time
test_time_musec
test_to_weekly_resampling
test_ts_plot_with_tz
test_tsplot
test_uhf
test_ohlc_5min
test_all_values_single_bin
test_annual_upsample
test_annual_upsample_B_e_b
test_annual_upsample_B_e_f
test_annual_upsample_B_s_b
test_annual_upsample_B_s_f
test_annual_upsample_D_e_b
test_annual_upsample_D_e_f
test_annual_upsample_D_s_b
test_annual_upsample_D_s_f
test_annual_upsample_M_e_b
test_annual_upsample_M_e_f
test_annual_upsample_M_s_b
test_annual_upsample_M_s_f
test_basic_downsample
test_basic_upsample
test_monthly_upsample
test_not_subperiod
test_quarterly_upsample
test_resample_5minute
test_resample_empty
test_resample_irregular_sparse
test_resample_to_timestamps
test_resample_tz_localized
test_upsample_daily_business_daily
test_upsample_with_limit
test_weekly_upsample
test_datetimeindex_constructor
test_dti_snap
test_fancy_getitem
test_fancy_setitem
test_argmin_argmax
test_constructor_coverage
test_get_duplicates
test_insert
test_map_bug_1677
test_misc_coverage
test_order
test_stringified_slice_with_tz
test_to_period_nofreq
test_union_bug_1745
test_union_coverage
test_partial_slice
test_partial_slice_daily
test_partial_slice_hourly
test_partial_slice_minutely
test_shift
test_at_time
test_ctor_str_intraday
test_first_subset
test_frame_to_period
test_last_subset
test_reasonable_keyerror
test_to_period
test_indexing
test_indexing_unordered
test_range_slice
test_date_range_localize
Test
test_field_access_localize
test_pass_dates_localize_to_utc
test_timestamp_tz_convert
test_agg_period_index
test_index_ctor_infer_periodindex
test_asof_periodindex
test_getitem_setitem_datetimeindex
test_getitem_setitem_periodindex
test_timeseries_periodindex
</pre>
Kind regards,
Stephan
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5473/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5473/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5474 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5474/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5474/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5474/events | https://github.com/pandas-dev/pandas/pull/5474 | 22,345,656 | MDExOlB1bGxSZXF1ZXN0OTc5OTgyNQ== | 5,474 | TST: win32 fixes | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 4 | 2013-11-08T16:04:19Z | 2014-07-16T08:39:49Z | 2013-11-08T18:18:25Z | CONTRIBUTOR | null | TST: test_indexing dtype comps, closes #5466
TST don't compare invalid indices in eval operations, closes #5467
TST: invalid assignment for np.timedelta64 closes #5465
TST: skip locale checks on windows cloes #5464
TST: dtype comp issue on windows in test_indexing (GH5466)
TST: skip test_pow on windows (GH5467)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5474/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5474/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5474.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5474",
"merged_at": "2013-11-08T18:18:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5474.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5474"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5475 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5475/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5475/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5475/events | https://github.com/pandas-dev/pandas/issues/5475 | 22,365,095 | MDU6SXNzdWUyMjM2NTA5NQ== | 5,475 | missing _is_copy causes strangeness | {
"avatar_url": "https://avatars.githubusercontent.com/u/980054?v=4",
"events_url": "https://api.github.com/users/dsm054/events{/privacy}",
"followers_url": "https://api.github.com/users/dsm054/followers",
"following_url": "https://api.github.com/users/dsm054/following{/other_user}",
"gists_url": "https://api.github.com/users/dsm054/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsm054",
"id": 980054,
"login": "dsm054",
"node_id": "MDQ6VXNlcjk4MDA1NA==",
"organizations_url": "https://api.github.com/users/dsm054/orgs",
"received_events_url": "https://api.github.com/users/dsm054/received_events",
"repos_url": "https://api.github.com/users/dsm054/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsm054/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsm054/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsm054"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 3 | 2013-11-08T21:26:41Z | 2013-11-09T01:56:27Z | 2013-11-09T01:56:27Z | CONTRIBUTOR | null | Note the duplication of the assignment is not a copy/paste error-- the first one works, the second one fails, presumably because a different path is taken if the column already exists than if it doesn't.
```
>>> pd.__version__
'0.12.0-1081-ge684bdc'
>>> df = pd.DataFrame({"A": [1,2]})
>>> df._is_copy
False
>>> df.to_pickle("tmp.pk")
>>> df2 = pd.read_pickle("tmp.pk")
>>> hasattr(df2, "_is_copy")
False
>>> df2["B"] = df2["A"]
>>> df2["B"] = df2["A"]
Traceback (most recent call last):
File "<ipython-input-155-e1fb2db534a8>", line 1, in <module>
df2["B"] = df2["A"]
File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1081_ge684bdc-py2.7-linux-i686.egg/pandas/core/frame.py", line 1841, in __setitem__
self._set_item(key, value)
File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1081_ge684bdc-py2.7-linux-i686.egg/pandas/core/frame.py", line 1907, in _set_item
self._check_setitem_copy()
File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1081_ge684bdc-py2.7-linux-i686.egg/pandas/core/generic.py", line 1001, in _check_setitem_copy
if self._is_copy:
File "/usr/local/lib/python2.7/dist-packages/pandas-0.12.0_1081_ge684bdc-py2.7-linux-i686.egg/pandas/core/generic.py", line 1525, in __getattr__
(type(self).__name__, name))
AttributeError: 'DataFrame' object has no attribute '_is_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/5475/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5475/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5476 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5476/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5476/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5476/events | https://github.com/pandas-dev/pandas/issues/5476 | 22,368,149 | MDU6SXNzdWUyMjM2ODE0OQ== | 5,476 | BUG: NaN in DataFame column causes select with condition to always return empty | {
"avatar_url": "https://avatars.githubusercontent.com/u/664644?v=4",
"events_url": "https://api.github.com/users/kghose/events{/privacy}",
"followers_url": "https://api.github.com/users/kghose/followers",
"following_url": "https://api.github.com/users/kghose/following{/other_user}",
"gists_url": "https://api.github.com/users/kghose/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kghose",
"id": 664644,
"login": "kghose",
"node_id": "MDQ6VXNlcjY2NDY0NA==",
"organizations_url": "https://api.github.com/users/kghose/orgs",
"received_events_url": "https://api.github.com/users/kghose/received_events",
"repos_url": "https://api.github.com/users/kghose/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kghose/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kghose/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kghose"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
] | closed | false | null | [] | null | 6 | 2013-11-08T22:22:21Z | 2013-12-03T10:23:04Z | 2013-11-09T01:59:57Z | NONE | null | ```
import pandas as pd, numpy
r = numpy.array([
[1,2],
[2,1],
[1,2],
[2,1]],dtype=float)
r[0,1] = numpy.nan
df = pd.DataFrame(data=r,columns=['s1','s2'])
print 'Original:'
print df
print 'Selected:'
print df[df.s2==1]
# As expected
# s1 s2
#1 2 1
#3 2 1
df.to_hdf('float_bug.h5','data',table=True,data_columns=['s1','s2'])
with pd.get_store('float_bug.h5') as store:
print 'Selected store'
print store.select('data',['s2=1'])
# Unexpected
# Empty DataFrame
#Columns: [s1, s2]
#Index: []
In [72]: pd.__version__
Out[72]: '0.12.0'
```
You can verify this does not happen in the column without the NaN or when there are no NaNs at all.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5476/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5476/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5477 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5477/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5477/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5477/events | https://github.com/pandas-dev/pandas/pull/5477 | 22,375,385 | MDExOlB1bGxSZXF1ZXN0OTgxNjk0Nw== | 5,477 | API: make sure _is_copy on NDFrame is always available (GH5475) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-11-09T01:43:33Z | 2014-07-04T19:23:41Z | 2013-11-09T01:56:27Z | CONTRIBUTOR | null | closes #5475
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5477/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5477/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5477.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5477",
"merged_at": "2013-11-09T01:56:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5477.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5477"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5478 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5478/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5478/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5478/events | https://github.com/pandas-dev/pandas/pull/5478 | 22,387,961 | MDExOlB1bGxSZXF1ZXN0OTgyMTI0OQ== | 5,478 | VIS/ENH Hexbin plot | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 34 | 2013-11-09T15:31:46Z | 2014-06-13T17:02:18Z | 2014-02-14T14:46:40Z | CONTRIBUTOR | null | This is just 10 minutes of copy-paste cargo-culting to gauge interest, I haven't tested anything yet.
``` python
In [1]: df = pd.DataFrame(np.random.randn(1000, 2))
In [2]: df.plot(kind='hexbin', x=0, y=1)
Out[2]: <matplotlib.axes.AxesSubplot at 0x10eb76e10>
```

It's not terribly difficult to do this on your own, so my feeling wouldn't be hurt at all if people are -1 on this :)
EDIT: oops I branched from my `to_frame` branch. I'll clean up the commits.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5478/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5478/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5478.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5478",
"merged_at": "2014-02-14T14:46:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5478.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5478"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5479 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5479/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5479/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5479/events | https://github.com/pandas-dev/pandas/issues/5479 | 22,394,358 | MDU6SXNzdWUyMjM5NDM1OA== | 5,479 | Building docs SyntaxError | {
"avatar_url": "https://avatars.githubusercontent.com/u/952406?v=4",
"events_url": "https://api.github.com/users/phaebz/events{/privacy}",
"followers_url": "https://api.github.com/users/phaebz/followers",
"following_url": "https://api.github.com/users/phaebz/following{/other_user}",
"gists_url": "https://api.github.com/users/phaebz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phaebz",
"id": 952406,
"login": "phaebz",
"node_id": "MDQ6VXNlcjk1MjQwNg==",
"organizations_url": "https://api.github.com/users/phaebz/orgs",
"received_events_url": "https://api.github.com/users/phaebz/received_events",
"repos_url": "https://api.github.com/users/phaebz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phaebz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phaebz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phaebz"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 6 | 2013-11-09T21:37:43Z | 2014-01-31T08:02:53Z | 2014-01-31T08:02:53Z | CONTRIBUTOR | null | I followed [this](http://pandas.pydata.org/developers.html#contributing-to-the-documentation) advice but on `python make.py html` I get
```
Running Sphinx v1.2b3
Exception occurred while building, starting debugger:
Traceback (most recent call last):
File "/usr/local/lib/python3.3/site-packages/sphinx/cmdline.py", line 245, in main
warningiserror, tags, verbosity, parallel)
File "/usr/local/lib/python3.3/site-packages/sphinx/application.py", line 119, in __init__
self.setup_extension(extension)
File "/usr/local/lib/python3.3/site-packages/sphinx/application.py", line 283, in setup_extension
mod = __import__(extension, None, None, ['setup'])
File "/Users/user/Optional/pandas/doc/sphinxext/numpydoc.py", line 40
title_re = re.compile(ur'^\s*[#*=]{4,}\n[a-z0-9 -]+\n[#*=]{4,}\s*',
^
SyntaxError: invalid syntax
> /usr/local/lib/python3.3/site-packages/sphinx/application.py(283)setup_extension()
-> mod = __import__(extension, None, None, ['setup'])
(Pdb)
```
I looked into doc/sphinxtest/numpydoc.py and noticed the `u''` strings in the re.\* functions. This incompatibility is not documented. https://github.com/pydata/pandas/commit/ff52cbb334f8b9c58b215efdc44752246ecc33ad says something about "py3 compat", but I am not sure if the "revert" refers to py3 compat or just to "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/5479/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5479/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5480 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5480/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5480/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5480/events | https://github.com/pandas-dev/pandas/issues/5480 | 22,399,081 | MDU6SXNzdWUyMjM5OTA4MQ== | 5,480 | BUG: value_counts / shift not in groupby dispatch whitelist (0.12-dev) | {
"avatar_url": "https://avatars.githubusercontent.com/u/746408?v=4",
"events_url": "https://api.github.com/users/gdraps/events{/privacy}",
"followers_url": "https://api.github.com/users/gdraps/followers",
"following_url": "https://api.github.com/users/gdraps/following{/other_user}",
"gists_url": "https://api.github.com/users/gdraps/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gdraps",
"id": 746408,
"login": "gdraps",
"node_id": "MDQ6VXNlcjc0NjQwOA==",
"organizations_url": "https://api.github.com/users/gdraps/orgs",
"received_events_url": "https://api.github.com/users/gdraps/received_events",
"repos_url": "https://api.github.com/users/gdraps/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gdraps/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gdraps/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gdraps"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"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": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 19 | 2013-11-10T04:00:11Z | 2013-12-28T22:18:05Z | 2013-12-07T14:16:56Z | CONTRIBUTOR | null | Copying comment from #4887 to a new issue for discussion purposes:
While testing pandas-master, hit a method not in the new groupby dispatch whitelist: `value_counts` (on a `SeriesGroupBy` object). Another possible addition: `shift`, as used in this [SO answer](http://stackoverflow.com/a/17406083/243434).
Tried to generate a list of blacklisted methods for DataFrame and Series, see below -- needs further filtering, but may reveal useful blocked methods. any thoughts on the remaining methods?
```
In [18]: sorted([x for x in set(dir(pd.DataFrame)) - pd.core.groupby._apply_whitelist - set(dir(pd.core.groupby.GroupBy)) if not x.startswith(('_', 'T', 'to', 'from', 'as'))])
Out[18]: ['abs', 'add', 'add_prefix', 'add_suffix', 'align', 'all', 'any', 'append', 'applymap', 'at', 'at_time', 'axes', 'between_time', 'bfill', 'blocks', 'bool', 'clip', 'clip_lower', 'clip_upper', 'columns', 'combine', 'combineAdd', 'combineMult', 'combine_first', 'compound', 'consolidate', 'convert_objects', 'copy', 'corr', 'corrwith', 'cov', 'delevel', 'diff', 'div', 'divide', 'dot', 'drop', 'drop_duplicates', 'dropna', 'dtypes', 'duplicated', 'empty', 'eq', 'eval', 'ffill', 'filter', 'first_valid_index', 'floordiv', 'ftypes', 'ge', 'get', 'get_dtype_counts', 'get_ftype_counts', 'get_value', 'get_values', 'groupby', 'gt', 'iat', 'icol', 'idxmax', 'idxmin', 'iget_value', 'iloc', 'index', 'info', 'insert', 'interpolate', 'irow', 'isin', 'isnull', 'iteritems', 'iterkv', 'iterrows', 'itertuples', 'ix', 'join', 'keys', 'kurt', 'kurtosis', 'last_valid_index', 'le', 'load', 'loc', 'lookup', 'lt', 'mad', 'mask', 'merge', 'mod', 'mode', 'mul', 'multiply', 'ndim', 'ne', 'notnull', 'pct_change', 'pivot', 'pivot_table', 'pop', 'pow', 'product', 'query', 'radd', 'rdiv', 'reindex', 'reindex_axis', 'reindex_like', 'rename', 'rename_axis', 'reorder_levels', 'replace', 'reset_index', 'rfloordiv', 'rmod', 'rmul', 'rpow', 'rsub', 'rtruediv', 'save', 'select', 'set_index', 'set_value', 'shape', 'shift', 'skew', 'sort', 'sort_index', 'sortlevel', 'squeeze', 'stack', 'sub', 'subtract', 'swapaxes', 'swaplevel', 'take', 'transpose', 'truediv', 'truncate', 'tshift', 'tz_convert', 'tz_localize', 'unstack', 'update', 'values', 'where', 'xs']
In [19]: sorted([x for x in set(dir(pd.Series)) - pd.core.groupby._apply_whitelist - set(dir(pd.core.groupby.GroupBy)) if not x.startswith(('_', 'T', 'to', 'from', 'as'))])
Out[19]: ['abs', 'add', 'add_prefix', 'add_suffix', 'align', 'all', 'any', 'append', 'argmax', 'argmin', 'argsort', 'at', 'at_time', 'autocorr', 'axes', 'base', 'between', 'between_time', 'bfill', 'blocks', 'bool', 'clip', 'clip_lower', 'clip_upper', 'combine', 'combine_first', 'compound', 'consolidate', 'convert_objects', 'copy', 'corr', 'cov', 'data', 'diff', 'div', 'divide', 'dot', 'drop', 'drop_duplicates', 'dropna', 'duplicated', 'empty', 'eq', 'ffill', 'filter', 'first_valid_index', 'flags', 'floordiv', 'ftype', 'ge', 'get', 'get_dtype_counts', 'get_ftype_counts', 'get_value', 'get_values', 'groupby', 'gt', 'iat', 'idxmax', 'idxmin', 'iget', 'iget_value', 'iloc', 'imag', 'index', 'interpolate', 'irow', 'is_time_series', 'isin', 'isnull', 'item', 'iteritems', 'iterkv', 'ix', 'keys', 'kurt', 'kurtosis', 'last_valid_index', 'le', 'load', 'loc', 'lt', 'mad', 'map', 'mask', 'mod', 'mode', 'mul', 'multiply', 'ndim', 'ne', 'nonzero', 'notnull', 'nunique', 'order', 'pct_change', 'pop', 'pow', 'product', 'ptp', 'put', 'radd', 'ravel', 'rdiv', 'real', 'reindex', 'reindex_axis', 'reindex_like', 'rename', 'rename_axis', 'reorder_levels', 'repeat', 'replace', 'reset_index', 'reshape', 'rfloordiv', 'rmod', 'rmul', 'round', 'rpow', 'rsub', 'rtruediv', 'save', 'select', 'set_value', 'shape', 'shift', 'skew', 'sort', 'sort_index', 'sortlevel', 'squeeze', 'str', 'strides', 'sub', 'subtract', 'swapaxes', 'swaplevel', 'take', 'transpose', 'truediv', 'truncate', 'tshift', 'tz_convert', 'tz_localize', 'unique', 'unstack', 'update', 'valid', 'value_counts', 'values', 'view', 'weekday', 'where', 'xs']
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5480/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5480/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5481 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5481/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5481/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5481/events | https://github.com/pandas-dev/pandas/issues/5481 | 22,411,115 | MDU6SXNzdWUyMjQxMTExNQ== | 5,481 | PERF: 6x perf hit from using numexpr | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 7 | 2013-11-10T16:18:17Z | 2013-11-10T18:47:39Z | 2013-11-10T18:47:39Z | CONTRIBUTOR | null | 1 million x 3 dataframe, using numexpr takes 142ms to do multiplication, with numexpr disabled, takes 21.6ms. I'm going to investigate, but would be helpful to know if you can reproduce this anywhere else.
```
In [10]: df = pd.DataFrame({"A": np.arange(1000000), "B": np.arange(1000000, 0, -1), "C": np.random.randn(1000000)})
In [11]: df * df
Out[11]:
<class 'pandas.core.frame.DataFrame'>
Int64Index: 1000000 entries, 0 to 999999
Data columns (total 3 columns):
A 1000000 non-null values
B 1000000 non-null values
C 1000000 non-null values
dtypes: float64(1), int64(2)
In [12]: %timeit df * df
10 loops, best of 3: 142 ms per loop
In [13]: pd.computation.expressions.set_use_numexpr(False)
In [14]: %timeit df * df
10 loops, best of 3: 21.6 ms per loop
In [15]: pd.computation.expressions.set_use_numexpr(True)
In [16]: %timeit df * df
10 loops, best of 3: 141 ms per loop
In [17]: len(df)
Out[17]: 1000000
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5481/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5481/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5482 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5482/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5482/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5482/events | https://github.com/pandas-dev/pandas/pull/5482 | 22,412,515 | MDExOlB1bGxSZXF1ZXN0OTgyOTQxMA== | 5,482 | PERF: perf regression with mixed-type ops using numexpr (GH5481) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 7 | 2013-11-10T17:44:26Z | 2014-06-18T10:04:21Z | 2013-11-10T18:47:39Z | CONTRIBUTOR | null | closes #5481
BUG: non-unique ops not aligning correctly
these are bascially a trivial op in numpy, so numexpr is slightly slower (but the
the dtype inference issue is fixed). Essentially the recreation of an int64 ndarray had to check if its a datetime-like. In this case just passing in the dtype on the reconstructed series fixes it.
Also handles non-unique columns now (no tests before, and it would fail).
```
In [1]: df = pd.DataFrame({"A": np.arange(1000000), "B": np.arange(1000000, 0, -1), "C": np.random.randn(1000000)})
In [2]: pd.computation.expressions.set_use_numexpr(False)
In [3]: %timeit df*df
100 loops, best of 3: 11 ms per loop
In [4]: pd.computation.expressions.set_use_numexpr(True)
In [5]: %timeit df*df
100 loops, best of 3: 15.7 ms per loop
In [6]: df = df.astype(float)
In [7]: pd.computation.expressions.set_use_numexpr(False)
In [8]: %timeit df*df
100 loops, best of 3: 5.16 ms per loop
In [9]: pd.computation.expressions.set_use_numexpr(True)
In [10]: %timeit df*df
100 loops, best of 3: 5.37 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/5482/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5482/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5482.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5482",
"merged_at": "2013-11-10T18:47:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5482.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5482"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5483 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5483/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5483/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5483/events | https://github.com/pandas-dev/pandas/issues/5483 | 22,412,912 | MDU6SXNzdWUyMjQxMjkxMg== | 5,483 | cut with np.inf gives TypeError | {
"avatar_url": "https://avatars.githubusercontent.com/u/834290?v=4",
"events_url": "https://api.github.com/users/DanielWeitzenfeld/events{/privacy}",
"followers_url": "https://api.github.com/users/DanielWeitzenfeld/followers",
"following_url": "https://api.github.com/users/DanielWeitzenfeld/following{/other_user}",
"gists_url": "https://api.github.com/users/DanielWeitzenfeld/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DanielWeitzenfeld",
"id": 834290,
"login": "DanielWeitzenfeld",
"node_id": "MDQ6VXNlcjgzNDI5MA==",
"organizations_url": "https://api.github.com/users/DanielWeitzenfeld/orgs",
"received_events_url": "https://api.github.com/users/DanielWeitzenfeld/received_events",
"repos_url": "https://api.github.com/users/DanielWeitzenfeld/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DanielWeitzenfeld/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DanielWeitzenfeld/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DanielWeitzenfeld"
} | [] | closed | false | null | [] | null | 2 | 2013-11-10T17:57:53Z | 2013-11-10T21:03:30Z | 2013-11-10T21:03:30Z | NONE | null | ``` python
import pandas as pd
import numpy as np
arr = np.random.randn(20)
factor = pd.cut(arr, [-np.inf, 0, np.inf])
```
gives this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/weitzenfeld/anaconda/lib/python2.7/site-packages/pandas/tools/tile.py", line 102, in cut
include_lowest=include_lowest)
File "/Users/weitzenfeld/anaconda/lib/python2.7/site-packages/pandas/tools/tile.py", line 168, in _bins_to_cuts
include_lowest=include_lowest)
File "/Users/weitzenfeld/anaconda/lib/python2.7/site-packages/pandas/tools/tile.py", line 204, in _format_levels
fa, fb = fmt(a), fmt(b)
File "/Users/weitzenfeld/anaconda/lib/python2.7/site-packages/pandas/tools/tile.py", line 200, in <lambda>
fmt = lambda v: _format_label(v, precision=prec)
File "/Users/weitzenfeld/anaconda/lib/python2.7/site-packages/pandas/tools/tile.py", line 247, in _format_label
return sgn + '%d' % whole
TypeError: %d format: a number is required, not numpy.float64
I'm using pandas version 0.12.0. Removing the -np.inf and np.inf eliminates the error.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5483/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5483/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5484 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5484/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5484/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5484/events | https://github.com/pandas-dev/pandas/issues/5484 | 22,413,114 | MDU6SXNzdWUyMjQxMzExNA== | 5,484 | PERF: combine ops can be block based | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
},
{
"color": "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": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 2 | 2013-11-10T18:07:08Z | 2018-10-25T03:22:33Z | 2018-10-25T03:22:33Z | CONTRIBUTOR | null | related #5482 / #5481
in theory an op like:
`df * df2` can be done block-based rather than column-by-column, so for large numbers of columns would see nice speedups. Though, passing to `pd.eval` is almost always faster because its passed to numexpr (at the cost of an upcasted dtype on the way back)
the 2 frames are aligned so that they have the same columns; then need to cast
each of the other (df2) in this case to a joint common type (happens in any event when you operate.
Then can just do block-by-block ops
prob `BlockManager.eval` can handle this with a kw arg to distinguish
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5484/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5484/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5485 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5485/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5485/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5485/events | https://github.com/pandas-dev/pandas/issues/5485 | 22,413,258 | MDU6SXNzdWUyMjQxMzI1OA== | 5,485 | PERF: pd.eval when using mixed types | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "f3afff",
"default": false,
"description": "pd.eval, query",
"id": 1631985267,
"name": "expressions",
"node_id": "MDU6TGFiZWwxNjMxOTg1MjY3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/expressions"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 2 | 2013-11-10T18:10:28Z | 2021-04-11T03:53:33Z | null | CONTRIBUTOR | null | ```
In [11]: df = pd.DataFrame({"A": np.arange(1000000), "B": np.arange(1000000, 0, -1), "C": np.random.randn(1000000)})
In [13]: %timeit pd.eval('df*df')
1 loops, best of 3: 635 ms per loop
In [14]: df = df.astype(float)
In [15]: %timeit pd.eval('df*df')
100 loops, best of 3: 5.87 ms per loop
```
the time is all in `_interleave` as we need to pass values to numexpr
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5485/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5485/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5486 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5486/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5486/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5486/events | https://github.com/pandas-dev/pandas/pull/5486 | 22,417,954 | MDExOlB1bGxSZXF1ZXN0OTgzMTEwMg== | 5,486 | print_versions.py fixes | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 2 | 2013-11-10T21:48:16Z | 2014-07-16T08:40:00Z | 2013-11-10T21:48:36Z | NONE | null | #4760
#4901
1. Path resolution was broken, so running the script outside the pandas root directory didn't work.
2. The use of `subprocess` to invoke the script from the source tree relied on system python,
ignoring the interpreter version actually used to invoke the scripts. Travis was unaffected since the system python there
always matches the python version of the env.
3. Using subprocess meant Ctrl-C didn't interrupt the script (meh).
cc @cpcloud
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5486/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5486/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5486.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5486",
"merged_at": "2013-11-10T21:48:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5486.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5486"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5487 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5487/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5487/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5487/events | https://github.com/pandas-dev/pandas/issues/5487 | 22,418,736 | MDU6SXNzdWUyMjQxODczNg== | 5,487 | netCDF IO suport | {
"avatar_url": "https://avatars.githubusercontent.com/u/2443309?v=4",
"events_url": "https://api.github.com/users/jhamman/events{/privacy}",
"followers_url": "https://api.github.com/users/jhamman/followers",
"following_url": "https://api.github.com/users/jhamman/following{/other_user}",
"gists_url": "https://api.github.com/users/jhamman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jhamman",
"id": 2443309,
"login": "jhamman",
"node_id": "MDQ6VXNlcjI0NDMzMDk=",
"organizations_url": "https://api.github.com/users/jhamman/orgs",
"received_events_url": "https://api.github.com/users/jhamman/received_events",
"repos_url": "https://api.github.com/users/jhamman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jhamman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jhamman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jhamman"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"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": 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"
} | 17 | 2013-11-10T22:20:49Z | 2015-04-30T06:40:27Z | 2015-04-29T06:05:20Z | NONE | null | I'd like to propose `read_netcdf` ([netCDF (Network Common Data Format)](http://www.unidata.ucar.edu/software/netcdf/)) a new Pandas I/O api feature with a similar top level interface as the other reader functions. This format is widely used in the scientific community. Furthermore, netCDF4 is implemented on top of the HDF5 library, making this a natural extension to functionality already in the api.
Most likely this would sit on top of the exiting [Python/numpy interface to netCDF](https://code.google.com/p/netcdf4-python/), and because each variables metadata is stored in the file header, no complicated parsing would necessary. Multidimensional variables could be handled in a similar manner as hdf.
This may have been brought up in the past but my search here and on the google didn't bring anything 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/5487/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5487/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5488 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5488/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5488/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5488/events | https://github.com/pandas-dev/pandas/issues/5488 | 22,419,353 | MDU6SXNzdWUyMjQxOTM1Mw== | 5,488 | Code Examples in Docs are not Valid Python3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 4 | 2013-11-10T22:45:37Z | 2014-02-14T08:38:26Z | 2014-02-14T08:38:26Z | CONTRIBUTOR | null | For example here, http://pandas.pydata.org/pandas-docs/stable/io.html#yahoo-finance:
```
end = datetime.datetime(2013, 01, 27)
```
the `01` int literal is not valid python3.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5488/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5488/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5489 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5489/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5489/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5489/events | https://github.com/pandas-dev/pandas/issues/5489 | 22,420,421 | MDU6SXNzdWUyMjQyMDQyMQ== | 5,489 | ENH: allow plotting libraries to easily hook into pandas | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [
{
"color": "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 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
}
] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 19 | 2013-11-10T23:42:26Z | 2014-01-25T19:57:57Z | 2014-01-25T19:55:51Z | CONTRIBUTOR | null | At PyData I was introduced to this great library that wraps matplotlib called [prettyplotlib](https://github.com/olgabot/prettyplotlib) by @olgabot and it was used to good effect in @twiecki's presentation on PyMC3.
I want to incorporate this into pandas - it would be a great improvement and a light dep for the library.
@olgabot said she was interested in working on a PR to incorporate it, so going to track from this issue.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5489/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5489/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5490 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5490/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5490/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5490/events | https://github.com/pandas-dev/pandas/issues/5490 | 22,431,953 | MDU6SXNzdWUyMjQzMTk1Mw== | 5,490 | PERF: speed up pd.to_datetime and co. by extracting dt format from data and using strptime to parse | {
"avatar_url": "https://avatars.githubusercontent.com/u/410907?v=4",
"events_url": "https://api.github.com/users/lexual/events{/privacy}",
"followers_url": "https://api.github.com/users/lexual/followers",
"following_url": "https://api.github.com/users/lexual/following{/other_user}",
"gists_url": "https://api.github.com/users/lexual/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lexual",
"id": 410907,
"login": "lexual",
"node_id": "MDQ6VXNlcjQxMDkwNw==",
"organizations_url": "https://api.github.com/users/lexual/orgs",
"received_events_url": "https://api.github.com/users/lexual/received_events",
"repos_url": "https://api.github.com/users/lexual/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lexual/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lexual/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lexual"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] | closed | false | null | [] | {
"closed_at": "2014-02-03T05:17:36Z",
"closed_issues": 314,
"created_at": "2013-08-26T22:11:58Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
},
"description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.",
"due_on": "2014-02-04T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/23",
"id": 412013,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels",
"node_id": "MDk6TWlsZXN0b25lNDEyMDEz",
"number": 23,
"open_issues": 0,
"state": "closed",
"title": "0.13.1",
"updated_at": "2014-02-03T05:18:00Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23"
} | 14 | 2013-11-11T07:46:16Z | 2014-02-14T13:11:12Z | 2014-01-24T21:49:48Z | CONTRIBUTOR | null | I had a series containing strings like these:
"November 1, 2013"
Series length was about 500,000
A)
running pd.to_datetime(s) takes just over a minute.
B)
running pd.to_datetime(s, format="%B %d, %Y") takes about 7 seconds!
My suggestion is a way to make case A (where user doesn't specify the format type) take about as long as case B (user does specify).
Basically it looks like the code is always using date_util parser for case A.
My suggestion is based upon the idea that it's highly likely that the date strings are all in a consistent format (it's highly unlikely in this case that they would be in 500K separate formats!).
In a nutshell:
- figure out the date format of the first entry.
- try to use that against the entire series, using the speedy code in tslib.array_strptime
- if that works, we've saved heaps of time, if not fall back to the current slower behaviour of using dateutil parse each time.
Here's some pseudo-code::
```
datestr1 = s[0]
# I'm assuming dateutil has something like this, that can tell you what the format is for a given date string.
date_format = figure_out_datetime_format(datestr1)
try:
# use the super speed code that pandas uses when you tell it what the format is.
dt_series = tslib.array_strptime(s, format=datestr1, *, ...)
except:
# date strings aren't consistent after all. Let's do it the old slow way.
dt_series = tslib.array_to_datetime(s, format=None)
```
return dt_series
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5490/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5490/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5491 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5491/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5491/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5491/events | https://github.com/pandas-dev/pandas/issues/5491 | 22,447,122 | MDU6SXNzdWUyMjQ0NzEyMg== | 5,491 | Inconsistency between min and max in apply with multiindex | {
"avatar_url": "https://avatars.githubusercontent.com/u/368384?v=4",
"events_url": "https://api.github.com/users/markns/events{/privacy}",
"followers_url": "https://api.github.com/users/markns/followers",
"following_url": "https://api.github.com/users/markns/following{/other_user}",
"gists_url": "https://api.github.com/users/markns/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/markns",
"id": 368384,
"login": "markns",
"node_id": "MDQ6VXNlcjM2ODM4NA==",
"organizations_url": "https://api.github.com/users/markns/orgs",
"received_events_url": "https://api.github.com/users/markns/received_events",
"repos_url": "https://api.github.com/users/markns/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/markns/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/markns/subscriptions",
"type": "User",
"url": "https://api.github.com/users/markns"
} | [] | closed | false | null | [] | null | 5 | 2013-11-11T13:07:13Z | 2013-11-27T18:37:54Z | 2013-11-27T18:37:54Z | NONE | null | I have noticed an inconsistency between the min and max functions when using an apply between levels of a multiindex dataframe. Please see the console log below, and notice the Series return type in the case of the min function and scalar return type for the max function.
```
>>> df = pd.DataFrame({'A': [1, -1, 2, -2], 'B': [1, 1, 1, 1]})
>>> df.columns = [['A', 'B'], ['a', '']]
>>> df
A B
a
0 1 1
1 -1 1
2 2 1
3 -2 1
>>> print df.apply(lambda row: max(row['A', 'a'] * row['B'], 0), axis=1)
0 1
1 0
2 2
3 0
>>> print df.apply(lambda row: min(row['A', 'a'] * row['B'], 0), axis=1)
0 0
1 [-1]
2 0
3 [-2]
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/5491/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5491/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5492 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5492/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5492/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5492/events | https://github.com/pandas-dev/pandas/pull/5492 | 22,454,456 | MDExOlB1bGxSZXF1ZXN0OTg0NzI0MQ== | 5,492 | ENH: accept mutliple series for FRED DataReader | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 3 | 2013-11-11T15:22:23Z | 2014-07-16T08:40:03Z | 2013-11-27T18:31:21Z | CONTRIBUTOR | null | closes #3413
Let me know if you want this for .13 or .14 and I'll fill in the release notes appropriately.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5492/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5492/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5492.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5492",
"merged_at": "2013-11-27T18:31:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5492.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5492"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5493 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5493/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5493/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5493/events | https://github.com/pandas-dev/pandas/issues/5493 | 22,466,812 | MDU6SXNzdWUyMjQ2NjgxMg== | 5,493 | groupby apply does not work if single value for groupby key | {
"avatar_url": "https://avatars.githubusercontent.com/u/3035601?v=4",
"events_url": "https://api.github.com/users/masull/events{/privacy}",
"followers_url": "https://api.github.com/users/masull/followers",
"following_url": "https://api.github.com/users/masull/following{/other_user}",
"gists_url": "https://api.github.com/users/masull/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/masull",
"id": 3035601,
"login": "masull",
"node_id": "MDQ6VXNlcjMwMzU2MDE=",
"organizations_url": "https://api.github.com/users/masull/orgs",
"received_events_url": "https://api.github.com/users/masull/received_events",
"repos_url": "https://api.github.com/users/masull/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/masull/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/masull/subscriptions",
"type": "User",
"url": "https://api.github.com/users/masull"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] | closed | false | null | [] | null | 2 | 2013-11-11T18:29:30Z | 2013-12-05T23:37:23Z | 2013-12-05T23:37:15Z | NONE | null | The following groupby fails if key1 contains only a single value. I am using pandas 12 and python 3.x
This works:
import pandas as pd
import numpy as np
df = pd.DataFrame({'key1': ['a','a','n','a', 'a'],
'data1': np.random.randn(5),
'data2': np.random.randn(5)})
def x(df):
return df['data2']
df['test'] = df.groupby(df['key1']).apply(x)
print (df)
This fails. Note the key1 values which are all the same.
import pandas as pd
import numpy as np
df = pd.DataFrame({'key1': ['a','a','a','a', 'a'],
'data1': np.random.randn(5),
'data2': np.random.randn(5)})
def x(df):
return df['data2']
df['test'] = df.groupby(df['key1']).apply(x)
print (df)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5493/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5493/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5494 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5494/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5494/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5494/events | https://github.com/pandas-dev/pandas/issues/5494 | 22,468,657 | MDU6SXNzdWUyMjQ2ODY1Nw== | 5,494 | ENH: make contiguous groupby easier | {
"avatar_url": "https://avatars.githubusercontent.com/u/980054?v=4",
"events_url": "https://api.github.com/users/dsm054/events{/privacy}",
"followers_url": "https://api.github.com/users/dsm054/followers",
"following_url": "https://api.github.com/users/dsm054/following{/other_user}",
"gists_url": "https://api.github.com/users/dsm054/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsm054",
"id": 980054,
"login": "dsm054",
"node_id": "MDQ6VXNlcjk4MDA1NA==",
"organizations_url": "https://api.github.com/users/dsm054/orgs",
"received_events_url": "https://api.github.com/users/dsm054/received_events",
"repos_url": "https://api.github.com/users/dsm054/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsm054/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsm054/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsm054"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] | closed | false | null | [] | {
"closed_at": 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 | 2013-11-11T19:00:23Z | 2018-07-06T22:34:47Z | 2018-07-06T22:34:37Z | CONTRIBUTOR | null | `itertools.groupby` groups things contiguously-- great for run length encoding, not so great for partitioning. This necessitates the `groupby(sorted(items,key=keyfn), keyfn)` dance if you want to separate it. That's not always what you want either, so you wind up writing
```
def partition(seq, keyfn):
d = {}
for x in seq:
d.setdefault(keyfn(x), []).append(x)
return d
```
and so on.
`DataFrame.groupby` is great for data partitioning, but merges discontiguous groups. Wanting to cluster timeseries -- first x since the last y, etc. -- is a common task. With some `cumsum` hacks you can do it, but "get a boolean series, see when it's equal to its shifted value to find the transitions, take advantage of the fact that False == 0 and True == 1 to `cumsum` that to get something which grows for each cluster, and then `groupby` on that" is maybe a little more than I'd expect a beginner to have to do to get back what `itertools.groupby` does naturally. And if there's an easier way, then we at least should at least make it more obvious.
I'm not sure what the best way to proceed is, but I've answered variants of this several times on SO, and people wanting a cumsum/cumprod-with-reset is a pretty common numpy request.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5494/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5494/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5495 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5495/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5495/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5495/events | https://github.com/pandas-dev/pandas/issues/5495 | 22,504,009 | MDU6SXNzdWUyMjUwNDAwOQ== | 5,495 | Empty version number, when downloading pandas as zip archive | {
"avatar_url": "https://avatars.githubusercontent.com/u/1991007?v=4",
"events_url": "https://api.github.com/users/sfinkens/events{/privacy}",
"followers_url": "https://api.github.com/users/sfinkens/followers",
"following_url": "https://api.github.com/users/sfinkens/following{/other_user}",
"gists_url": "https://api.github.com/users/sfinkens/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sfinkens",
"id": 1991007,
"login": "sfinkens",
"node_id": "MDQ6VXNlcjE5OTEwMDc=",
"organizations_url": "https://api.github.com/users/sfinkens/orgs",
"received_events_url": "https://api.github.com/users/sfinkens/received_events",
"repos_url": "https://api.github.com/users/sfinkens/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sfinkens/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfinkens/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sfinkens"
} | [] | closed | false | null | [] | {
"closed_at": "2014-02-03T05:17:36Z",
"closed_issues": 314,
"created_at": "2013-08-26T22:11:58Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
},
"description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.",
"due_on": "2014-02-04T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/23",
"id": 412013,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels",
"node_id": "MDk6TWlsZXN0b25lNDEyMDEz",
"number": 23,
"open_issues": 0,
"state": "closed",
"title": "0.13.1",
"updated_at": "2014-02-03T05:18:00Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23"
} | 1 | 2013-11-12T08:25:07Z | 2014-01-07T18:59:02Z | 2013-12-30T20:55:38Z | NONE | null | When you download the current master as zip archive from github.com, assigning a version number fails (empty string). As a consequence, packages depending on pandas (e.g. statsmodels) will fail to build as well.
I assume, the reason is the following: The version number is determined using git, but since the downloaded archive is not a git repository, this action fails and the version number remains an empty string.
I dont't think, this should be changed, but it would be helpful, if you added a node in the installation instruction, e.g. for people intending to install pandas on a machine without internet connection (like me ;)).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5495/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5495/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5496 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5496/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5496/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5496/events | https://github.com/pandas-dev/pandas/issues/5496 | 22,512,555 | MDU6SXNzdWUyMjUxMjU1NQ== | 5,496 | DateParseError after upgrading matplotlib and others dependancies | {
"avatar_url": "https://avatars.githubusercontent.com/u/490118?v=4",
"events_url": "https://api.github.com/users/LionelR/events{/privacy}",
"followers_url": "https://api.github.com/users/LionelR/followers",
"following_url": "https://api.github.com/users/LionelR/following{/other_user}",
"gists_url": "https://api.github.com/users/LionelR/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/LionelR",
"id": 490118,
"login": "LionelR",
"node_id": "MDQ6VXNlcjQ5MDExOA==",
"organizations_url": "https://api.github.com/users/LionelR/orgs",
"received_events_url": "https://api.github.com/users/LionelR/received_events",
"repos_url": "https://api.github.com/users/LionelR/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/LionelR/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LionelR/subscriptions",
"type": "User",
"url": "https://api.github.com/users/LionelR"
} | [] | closed | false | null | [] | null | 4 | 2013-11-12T11:36:38Z | 2013-11-27T18:36:43Z | 2013-11-27T18:36:43Z | NONE | null | Hi all,
using pandas 0.12, after upgrading matplotlib from 1.2.0 to 1.3.1, which in turn have upgraded numpy python-dateutil tornado pyparsing nose six, I can't now slice a datetime based dataframe:
In [16]: pm
Out[16]:
<class 'pandas.core.frame.DataFrame'>
DatetimeIndex: 1584 entries, 2013-09-01 00:00:00 to 2013-11-05 23:00:00
Freq: H
Data columns (total 4 columns):
PM10_JUN 94 non-null values
PM10_MAG 155 non-null values
PS_CHALUS 97 non-null values
PS_ST_MATH 69 non-null values
dtypes: float64(4)
In [17]: pm.PM10_MAG["2013-09-17"]
Out[17]: 11.0
## In [18]: pm.PM10_MAG["2013-09-17":"2013-09-18"]
DateParseError Traceback (most recent call last)
<ipython-input-18-15808ec96c6d> in <module>()
----> 1 pm.PM10_MAG["2013-09-17":"2013-09-18"]
/usr/local/lib/python2.7/dist-packages/pandas/core/series.pyc in **getitem**(self, key)
639 key = _check_bool_indexer(self.index, key)
640
--> 641 return self._get_with(key)
642
643 def _get_with(self, key):
/usr/local/lib/python2.7/dist-packages/pandas/core/series.pyc in _get_with(self, key)
652 indexer = key
653 else:
--> 654 indexer = self.ix._convert_to_indexer(key, axis=0)
655 return self._get_values(indexer)
656 else:
/usr/local/lib/python2.7/dist-packages/pandas/core/indexing.pyc in _convert_to_indexer(self, obj, axis)
558 else:
559 try:
--> 560 indexer = labels.slice_indexer(start, stop, obj.step)
561 except Exception:
562 if _is_index_slice(obj):
/usr/local/lib/python2.7/dist-packages/pandas/tseries/index.pyc in slice_indexer(self, start, end, step)
1225 raise TypeError('Cannot index datetime64 with float keys')
1226
-> 1227 return Index.slice_indexer(self, start, end, step)
1228
1229 def slice_locs(self, start=None, end=None):
/usr/local/lib/python2.7/dist-packages/pandas/core/index.pyc in slice_indexer(self, start, end, step)
1180 This function assumes that the data is sorted, so use at your own peril
1181 """
-> 1182 start_slice, end_slice = self.slice_locs(start, end)
1183
1184 # return a slice
/usr/local/lib/python2.7/dist-packages/pandas/tseries/index.pyc in slice_locs(self, start, end)
1236 try:
1237 if start:
-> 1238 start_loc = self._get_string_slice(start).start
1239 else:
1240 start_loc = 0
/usr/local/lib/python2.7/dist-packages/pandas/tseries/index.pyc in _get_string_slice(self, key, use_lhs, use_rhs)
1206 freq = getattr(self, 'freqstr',
1207 getattr(self, 'inferred_freq', None))
-> 1208 _, parsed, reso = parse_time_string(key, freq)
1209 loc = self._partial_date_slice(reso, parsed, use_lhs=use_lhs, use_rhs=use_rhs)
1210 return loc
/usr/local/lib/python2.7/dist-packages/pandas/tseries/tools.pyc in parse_time_string(arg, freq, dayfirst, yearfirst)
238 yearfirst=yearfirst)
239 except Exception, e:
--> 240 raise DateParseError(e)
241
242 if parsed is None:
DateParseError: 'tuple' object has no attribute 'year'
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5496/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5496/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5497 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5497/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5497/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5497/events | https://github.com/pandas-dev/pandas/issues/5497 | 22,519,675 | MDU6SXNzdWUyMjUxOTY3NQ== | 5,497 | scatter_matrix: coordinate misalignment among diagonal and off-diagonal plots | {
"avatar_url": "https://avatars.githubusercontent.com/u/2300692?v=4",
"events_url": "https://api.github.com/users/acorbe/events{/privacy}",
"followers_url": "https://api.github.com/users/acorbe/followers",
"following_url": "https://api.github.com/users/acorbe/following{/other_user}",
"gists_url": "https://api.github.com/users/acorbe/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/acorbe",
"id": 2300692,
"login": "acorbe",
"node_id": "MDQ6VXNlcjIzMDA2OTI=",
"organizations_url": "https://api.github.com/users/acorbe/orgs",
"received_events_url": "https://api.github.com/users/acorbe/received_events",
"repos_url": "https://api.github.com/users/acorbe/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/acorbe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/acorbe/subscriptions",
"type": "User",
"url": "https://api.github.com/users/acorbe"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | {
"closed_at": "2014-02-03T05:17:36Z",
"closed_issues": 314,
"created_at": "2013-08-26T22:11:58Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4",
"events_url": "https://api.github.com/users/jtratner/events{/privacy}",
"followers_url": "https://api.github.com/users/jtratner/followers",
"following_url": "https://api.github.com/users/jtratner/following{/other_user}",
"gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jtratner",
"id": 1598379,
"login": "jtratner",
"node_id": "MDQ6VXNlcjE1OTgzNzk=",
"organizations_url": "https://api.github.com/users/jtratner/orgs",
"received_events_url": "https://api.github.com/users/jtratner/received_events",
"repos_url": "https://api.github.com/users/jtratner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jtratner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jtratner"
},
"description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.",
"due_on": "2014-02-04T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/23",
"id": 412013,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels",
"node_id": "MDk6TWlsZXN0b25lNDEyMDEz",
"number": 23,
"open_issues": 0,
"state": "closed",
"title": "0.13.1",
"updated_at": "2014-02-03T05:18:00Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23"
} | 3 | 2013-11-12T13:56:37Z | 2014-01-21T13:30:59Z | 2014-01-21T13:30:59Z | CONTRIBUTOR | null | I make extensive use of `scatter_matrix` and I find misalignments in the coordinates of the scatter plots (off-diagonal) and the histograms (on-diagonal) which seem undesirable to me.
Consider the picture 
).
In this case, there is a clear misalignment (of about .02) in the x-coordinate between the subplot in position 1,2 and the subplot in position 2,2.
In other words, the peeks in subplots 1,2 and 2,2 should occur at the same x location
(at least, IMHO, this would be more meaningful behavior).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5497/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5497/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5498 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5498/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5498/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5498/events | https://github.com/pandas-dev/pandas/pull/5498 | 22,527,334 | MDExOlB1bGxSZXF1ZXN0OTg4NTQ1OQ== | 5,498 | PERF: msgpack encoding changes to use to/from string for speed boosts | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 7 | 2013-11-12T15:39:50Z | 2021-10-26T16:20:50Z | 2013-11-13T14:13:45Z | CONTRIBUTOR | null | API: disable sparse structure encodings and unicode indexes
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
packers_read_pack | 3.5113 | 17.8316 | 0.1969 |
packers_read_pickle | 0.6769 | 0.6770 | 0.9999 |
packers_write_pack | 1.8814 | 3.5230 | 0.5340 |
packers_write_pickle | 1.5387 | 1.4664 | 1.0493 |
packers_write_hdf_store | 12.1900 | 12.2033 | 0.9989 |
packers_read_csv | 52.3347 | 52.2310 | 1.0020 |
packers_write_csv | 536.2056 | 526.5187 | 1.0184 |
packers_write_hdf_table | 33.3436 | 32.4137 | 1.0287 |
packers_read_hdf_store | 8.3120 | 8.0493 | 1.0326 |
packers_read_hdf_table | 13.9607 | 12.9707 | 1.0763 |
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
Ratio < 1.0 means the target commit is faster then the baseline.
Seed used: 1234
Target [381e86b] : PERF: msgpack encoding changnes to use to/from string for speed boosts
API: disable sparse structure encodings and unicode indexes
Base [46008ec] : DOC: add cookbook entry
```
```
In [1]: from pandas.io.packers import pack
In [2]: import cPickle as pkl
In [3]: df = pd.DataFrame(np.random.rand(1000, 100))
In [6]: %timeit buf = pack(df)
1000 loops, best of 3: 492 ᄉs per loop
In [7]: %timeit buf = pkl.dumps(df,pkl.HIGHEST_PROTOCOL)
1000 loops, best of 3: 681 ᄉs per loop
In [8]: df = pd.DataFrame(np.random.rand(100000, 100))
In [11]: %timeit buf = pack(df)
1 loops, best of 3: 184 ms per loop
In [12]: %timeit buf = pkl.dumps(df,pkl.HIGHEST_PROTOCOL)
10 loops, best of 3: 111 ms per loop
```
now pretty competitive with pickle
note on bigger frames, writing an in-memory hdf file is quite fast
```
In [3]: def f(x):
...: store = pd.HDFStore('test.h5',mode='w',driver='H5FD_CORE',driver_core_backing_store=0)
...: store['df'] = x
...: store.close()
...:
In [11]: df = pd.DataFrame(np.random.rand(100000, 100))
In [13]: %timeit -n 5 buf = pack(df)
5 loops, best of 3: 202 ms per loop
In [14]: %timeit -n 5 buf = pkl.dumps(df,pkl.HIGHEST_PROTOCOL)
5 loops, best of 3: 115 ms per loop
In [15]: %timeit -n 5 f(df)
5 loops, best of 3: 53.9 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/5498/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5498/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5498.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5498",
"merged_at": "2013-11-13T14:13:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5498.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5498"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/5499 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5499/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5499/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5499/events | https://github.com/pandas-dev/pandas/pull/5499 | 22,535,750 | MDExOlB1bGxSZXF1ZXN0OTg4OTk0Nw== | 5,499 | API/ENH: pass thru store creation arguments for HDFStore; can be used to support in-memory stores | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | 2013-11-12T17:25:52Z | 2014-07-16T08:40:12Z | 2013-11-12T18:09:27Z | 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/5499/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5499/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/5499.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/5499",
"merged_at": "2013-11-12T18:09:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/5499.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/5499"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/5500 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5500/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5500/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5500/events | https://github.com/pandas-dev/pandas/issues/5500 | 22,537,505 | MDU6SXNzdWUyMjUzNzUwNQ== | 5,500 | read_csv() & EOF character in string cause parsing issue | {
"avatar_url": "https://avatars.githubusercontent.com/u/5921713?v=4",
"events_url": "https://api.github.com/users/stephenjshaw/events{/privacy}",
"followers_url": "https://api.github.com/users/stephenjshaw/followers",
"following_url": "https://api.github.com/users/stephenjshaw/following{/other_user}",
"gists_url": "https://api.github.com/users/stephenjshaw/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/stephenjshaw",
"id": 5921713,
"login": "stephenjshaw",
"node_id": "MDQ6VXNlcjU5MjE3MTM=",
"organizations_url": "https://api.github.com/users/stephenjshaw/orgs",
"received_events_url": "https://api.github.com/users/stephenjshaw/received_events",
"repos_url": "https://api.github.com/users/stephenjshaw/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/stephenjshaw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stephenjshaw/subscriptions",
"type": "User",
"url": "https://api.github.com/users/stephenjshaw"
} | [
{
"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": "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"
} | 20 | 2013-11-12T17:51:22Z | 2018-11-06T14:17:52Z | 2016-08-22T13:11:30Z | NONE | null | While importing large text files using read_csv we occasionally get an EOF (End of File ) character within a string, which causes an exception: "Error tokenizing data. C error: EOF inside string starting at line. 844863" . This occurs even with "error_bad_lines = False"..
Further, the line stated in the error message is not the line containing the EOF character. In this particular case the actual row was approx. 230 rows before the one stated, which hinders exception handling. (I now see this difference was caused by other "bad_lines" that were being skipped - the quoted error line is correct but the imported rows was less.)
I feel it would be appropriate if "error_bad_lines = False" handled this exception and allowed such rows to be skipped.
I note that when importing this text file into Excel, the "premature" EOF is simply ignored.
We are running on Windows 8 , with python version 2.7 and pandas version 0.12
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5500/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5500/timeline | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.