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/8301 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8301/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8301/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8301/events | https://github.com/pandas-dev/pandas/pull/8301 | 43,059,718 | MDExOlB1bGxSZXF1ZXN0MjEzOTQ1Njg= | 8,301 | VIS: default LinePlot rotation of 0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 10 | 2014-09-17T20:41:41Z | 2014-09-19T17:04:47Z | 2014-09-19T17:04:46Z | CONTRIBUTOR | null | Closes https://github.com/pydata/pandas/issues/8150
``` python
In [1]: s = pd.Series([1,2,3])
In [2]: s.plot()
Out[2]: <matplotlib.axes._subplots.AxesSubplot at 0x10da02d68>
```

No release notes since this is just changing it back to how it was for the last release.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8301/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8301/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8301.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8301",
"merged_at": "2014-09-19T17:04:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8301.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8301"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8302 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8302/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8302/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8302/events | https://github.com/pandas-dev/pandas/issues/8302 | 43,063,664 | MDU6SXNzdWU0MzA2MzY2NA== | 8,302 | API: add level kwarg for Series.any/.all | {
"avatar_url": "https://avatars.githubusercontent.com/u/579798?v=4",
"events_url": "https://api.github.com/users/immerrr/events{/privacy}",
"followers_url": "https://api.github.com/users/immerrr/followers",
"following_url": "https://api.github.com/users/immerrr/following{/other_user}",
"gists_url": "https://api.github.com/users/immerrr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/immerrr",
"id": 579798,
"login": "immerrr",
"node_id": "MDQ6VXNlcjU3OTc5OA==",
"organizations_url": "https://api.github.com/users/immerrr/orgs",
"received_events_url": "https://api.github.com/users/immerrr/received_events",
"repos_url": "https://api.github.com/users/immerrr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/immerrr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/immerrr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/immerrr"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": "2014-12-12T13:45:40Z",
"closed_issues": 173,
"created_at": "2014-10-07T14:40:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15.1 of course",
"due_on": "2014-12-12T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/30",
"id": 816816,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODE2",
"number": 30,
"open_issues": 0,
"state": "closed",
"title": "0.15.2",
"updated_at": "2015-07-29T20:17:19Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30"
} | 7 | 2014-09-17T21:23:14Z | 2014-11-11T14:32:45Z | 2014-11-11T14:32:45Z | CONTRIBUTOR | null | It appears that Series' `s.any` and `s.all` methods miss level kwargs, unlike their statistical counterparts like `s.sum`:
``` python
In [4]: s = pd.Series([0,1,2], index=[0,0,1])
In [5]: s.sum(level=0)
Out[5]:
0 1
1 2
dtype: int64
In [6]: s.prod(level=0)
Out[6]:
0 0
1 2
dtype: int64
In [7]: s.any(level=0)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-7-1d8c43752bc9> in <module>()
----> 1 s.any(level=0)
/home/immerrr/sources/pandas/pandas/core/series.pyc in f(self, *args, **kwargs)
74 @Appender(func.__doc__)
75 def f(self, *args, **kwargs):
---> 76 result = func(self.values, *args, **kwargs)
77 if isinstance(result, (pa.Array, Series)) and result.ndim == 0:
78 # return NumPy type
TypeError: _any() got an unexpected keyword argument 'level'
In [8]: s.all(level=0)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-8-bca0491001a6> in <module>()
----> 1 s.all(level=0)
/home/immerrr/sources/pandas/pandas/core/series.pyc in f(self, *args, **kwargs)
74 @Appender(func.__doc__)
75 def f(self, *args, **kwargs):
---> 76 result = func(self.values, *args, **kwargs)
77 if isinstance(result, (pa.Array, Series)) and result.ndim == 0:
78 # return NumPy type
TypeError: _all() got an unexpected keyword argument 'level'
```
Frames have those and I think so should series. Maybe, there are more reduction methods that I know not of that also miss those...
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8302/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8302/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8303 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8303/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8303/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8303/events | https://github.com/pandas-dev/pandas/issues/8303 | 43,066,099 | MDU6SXNzdWU0MzA2NjA5OQ== | 8,303 | subset keyword argument will include last column if incorrect keys are given | {
"avatar_url": "https://avatars.githubusercontent.com/u/4633429?v=4",
"events_url": "https://api.github.com/users/arijun/events{/privacy}",
"followers_url": "https://api.github.com/users/arijun/followers",
"following_url": "https://api.github.com/users/arijun/following{/other_user}",
"gists_url": "https://api.github.com/users/arijun/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arijun",
"id": 4633429,
"login": "arijun",
"node_id": "MDQ6VXNlcjQ2MzM0Mjk=",
"organizations_url": "https://api.github.com/users/arijun/orgs",
"received_events_url": "https://api.github.com/users/arijun/received_events",
"repos_url": "https://api.github.com/users/arijun/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arijun/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arijun/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arijun"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 13 | 2014-09-17T21:47:42Z | 2014-09-26T14:35:18Z | 2014-09-26T14:35:18Z | NONE | null | If you give a non-existent key to the subset argument it will default to the last column. For example:
```
In [3]: d = pd.DataFrame({'a':[1],'b':[2],'c':[np.nan]})
In [4]: len(d.dropna(subset=['x']))
Out[4]: 0
```
It seems the problem is in the line where dropna takes the subset:
```
agg_obj = self.take(ax.get_indexer_for(subset),axis=agg_axis)
```
Here, `ax.get_indexer_for(subset)` will return `-1` as a sentinel value for any keys that were not found in `subset`, and `self.take` interprets the `-1` as a request for the last column.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8303/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8303/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8304 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8304/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8304/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8304/events | https://github.com/pandas-dev/pandas/issues/8304 | 43,068,795 | MDU6SXNzdWU0MzA2ODc5NQ== | 8,304 | to_clipboard() locks clipboard system-wide on exception | {
"avatar_url": "https://avatars.githubusercontent.com/u/361447?v=4",
"events_url": "https://api.github.com/users/klonuo/events{/privacy}",
"followers_url": "https://api.github.com/users/klonuo/followers",
"following_url": "https://api.github.com/users/klonuo/following{/other_user}",
"gists_url": "https://api.github.com/users/klonuo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/klonuo",
"id": 361447,
"login": "klonuo",
"node_id": "MDQ6VXNlcjM2MTQ0Nw==",
"organizations_url": "https://api.github.com/users/klonuo/orgs",
"received_events_url": "https://api.github.com/users/klonuo/received_events",
"repos_url": "https://api.github.com/users/klonuo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/klonuo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/klonuo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/klonuo"
} | [
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
]
| closed | false | null | []
| null | 2 | 2014-09-17T22:19:13Z | 2015-10-20T22:41:57Z | 2015-10-20T22:41:57Z | CONTRIBUTOR | null | Exception in the following code locks clipboard system-wide until I exit my interactive Python session:
``` python
import pandas as pd
df = pd.DataFrame.from_dict({1: u' \u2014'}, 'index')
df.to_clipboard()
---------------------------------------------------------------------------
UnicodeEncodeError Traceback (most recent call last)
<ipython-input-58-1f8b11f0ff98> in <module>()
----> 1 df.to_clipboard()
C:\Python27\lib\site-packages\pandas\core\generic.pyc in to_clipboard(self, excel, sep, **kwargs)
1000 from pandas.io import clipboard
-> 1001 clipboard.to_clipboard(self, excel=excel, sep=sep, **kwargs)
1002
1003 #----------------------------------------------------------------------
C:\Python27\lib\site-packages\pandas\io\clipboard.pyc in to_clipboard(obj, excel, sep, **kwargs)
95 else:
96 objstr = str(obj)
---> 97 clipboard_set(objstr)
C:\Python27\lib\site-packages\pandas\util\clipboard.pyc in winSetClipboard(text)
63 try:
64 # works on Python 2 (bytes() only takes one argument)
---> 65 hCd = ctypes.windll.kernel32.GlobalAlloc(GMEM_DDESHARE, len(bytes(text))+1)
66 except TypeError:
67 # works on Python 3 (bytes() requires an encoding)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2014' in position 10: ordinal not in range(128)
```
pandas 0.14.1
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8304/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8304/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8305 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8305/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8305/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8305/events | https://github.com/pandas-dev/pandas/issues/8305 | 43,070,858 | MDU6SXNzdWU0MzA3MDg1OA== | 8,305 | to_clipboard(excel=False) truncates strings to 50 characters | {
"avatar_url": "https://avatars.githubusercontent.com/u/361447?v=4",
"events_url": "https://api.github.com/users/klonuo/events{/privacy}",
"followers_url": "https://api.github.com/users/klonuo/followers",
"following_url": "https://api.github.com/users/klonuo/following{/other_user}",
"gists_url": "https://api.github.com/users/klonuo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/klonuo",
"id": 361447,
"login": "klonuo",
"node_id": "MDQ6VXNlcjM2MTQ0Nw==",
"organizations_url": "https://api.github.com/users/klonuo/orgs",
"received_events_url": "https://api.github.com/users/klonuo/received_events",
"repos_url": "https://api.github.com/users/klonuo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/klonuo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/klonuo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/klonuo"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 9 | 2014-09-17T22:41:20Z | 2014-09-23T14:40:59Z | 2014-09-23T14:40:59Z | CONTRIBUTOR | null | I hope this is not intended as I can't find the point in this behavior:
``` python
import pandas as pd
df = pd.DataFrame.from_dict({1: ''.join(['1234567890'] * 6)}, 'index')
df.to_clipboard(excel=False)
```
result copied to clipboard:
```
0
1 1234567890123456789012345678901234567890123456...
```
Another issue - trying to omit index:
``` python
df.to_clipboard(excel=False, index=False)
```
result copied to clipboard, just the same as previous (with index):
```
0
1 1234567890123456789012345678901234567890123456...
```
This doesn't happen if I leave `excel` parameter to default value.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8305/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8305/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8306 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8306/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8306/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8306/events | https://github.com/pandas-dev/pandas/issues/8306 | 43,122,904 | MDU6SXNzdWU0MzEyMjkwNA== | 8,306 | ERR: raise in tz incompat with DatetimeIndex ops | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
]
| closed | false | null | []
| {
"closed_at": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 0.23.x",
"due_on": "2018-07-09T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/57",
"id": 3407592,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/57/labels",
"node_id": "MDk6TWlsZXN0b25lMzQwNzU5Mg==",
"number": 57,
"open_issues": 0,
"state": "closed",
"title": "0.23.2",
"updated_at": "2018-07-06T16:24:08Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/57"
} | 13 | 2014-09-18T11:35:40Z | 2018-06-18T22:34:30Z | 2018-06-18T22:34:30Z | CONTRIBUTOR | null | xref #6552
```
idx = pd.date_range(..., tz='UTC')
idx2 = idx.reindex(pd.date_range(..., tz='US/Pacific')
```
- [ ] subtraction of datetime like
- [ ] intersection / union / difference
- [ ] reindex
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8306/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8306/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8307 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8307/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8307/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8307/events | https://github.com/pandas-dev/pandas/pull/8307 | 43,131,041 | MDExOlB1bGxSZXF1ZXN0MjE0MzIwODI= | 8,307 | VIS: Hide labels for NaN/zeros in boxplt [WIP] | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 7 | 2014-09-18T13:14:37Z | 2014-09-25T18:41:36Z | 2014-09-25T16:55:01Z | CONTRIBUTOR | null | Closes: https://github.com/pydata/pandas/issues/8198
The idea is to hide the labels around the pie plot so they don't overlap w/ nonzero labels. The NaN/zero labels should still be visible in the legend to indicate that there's missing data. There's a picture of the problem in the linked issue.
NaNs in the top row of plots:
```
In [1]: df = pd.DataFrame(np.random.rand(4, 4))
In [2]: df2 = df.copy()
In [3]: for i in range(len(df)):
...: df.iloc[i, i] = np.nan
...:
In [4]: fig, axes = plt.subplots(figsize=(16, 8), nrows=2, ncols=4)
In [5]: df.plot(kind='pie', subplots=True, ax=axes.ravel()[:4])
In [6]: df2.plot(kind='pie', subplots=True, ax=axes.ravel()[4:])
```

Right now, for **DataFrames only** the NaN/zero labels aren't being put in the legend (or they aren't showing up). Still need to figure out why. It works fine for Series:
```
In [8]: df[0].plot(kind='pie', figsize=(4,4), legend=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/8307/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8307/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8307.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8307",
"merged_at": "2014-09-25T16:55:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8307.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8307"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8308 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8308/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8308/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8308/events | https://github.com/pandas-dev/pandas/issues/8308 | 43,138,869 | MDU6SXNzdWU0MzEzODg2OQ== | 8,308 | DOC: Use square plots for Pie Plots | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 2 | 2014-09-18T14:28:07Z | 2014-10-04T15:19:50Z | 2014-10-04T15:19:50Z | CONTRIBUTOR | null | They look funny because the aspect ratio is off: http://pandas-docs.github.io/pandas-docs-travis/visualization.html#pie-plot
May also want to note that in the text also.
This would be great for a first pull request if anyone is interested. Just need to set the figsize to something like (8, 8) for each plot (or (16, 8) for the subplots example). Everything is in `doc/source/visualization.rst`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8308/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8308/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8309 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8309/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8309/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8309/events | https://github.com/pandas-dev/pandas/issues/8309 | 43,145,877 | MDU6SXNzdWU0MzE0NTg3Nw== | 8,309 | pandas.cut crashes on all zero input | {
"avatar_url": "https://avatars.githubusercontent.com/u/184899?v=4",
"events_url": "https://api.github.com/users/RasterBurn/events{/privacy}",
"followers_url": "https://api.github.com/users/RasterBurn/followers",
"following_url": "https://api.github.com/users/RasterBurn/following{/other_user}",
"gists_url": "https://api.github.com/users/RasterBurn/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/RasterBurn",
"id": 184899,
"login": "RasterBurn",
"node_id": "MDQ6VXNlcjE4NDg5OQ==",
"organizations_url": "https://api.github.com/users/RasterBurn/orgs",
"received_events_url": "https://api.github.com/users/RasterBurn/received_events",
"repos_url": "https://api.github.com/users/RasterBurn/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/RasterBurn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RasterBurn/subscriptions",
"type": "User",
"url": "https://api.github.com/users/RasterBurn"
} | [
{
"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": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 2 | 2014-09-18T15:29:30Z | 2018-07-06T22:14:58Z | 2018-07-06T22:14:17Z | NONE | null | xref #7751
``` python
import pandas as pd
pd.cut([0,0,0,0], 10)
```
result:
```
ValueError: Bin edges must be unique: array([ 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.])
```
On the other hand, pandas.cut works on non-unique inputs other than zero. The culprit are the following [lines of code in tile.py](https://github.com/pydata/pandas/blob/v0.14.1/pandas/tools/tile.py#L89-L90):
``` python
if mn == mx: # adjust end points before binning
mn -= .001 * mn
mx += .001 * mx
bins = np.linspace(mn, mx, bins + 1, endpoint=True)
```
When `mn` and `mx` are zero, the adjustment isn't made.
---
```
>>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.6.final.0
python-bits: 64
OS: Linux
OS-release: 2.6.32-300.3.1.el6uek.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.14.1
nose: 1.3.1
Cython: None
numpy: 1.9.0
scipy: 0.14.0
statsmodels: None
IPython: 2.0.0
sphinx: None
patsy: None
scikits.timeseries: None
dateutil: 2.2
pytz: 2014.4
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.3.1
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
rpy2: 2.4.2
sqlalchemy: None
pymysql: None
psycopg2: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8309/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8309/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8310 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8310/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8310/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8310/events | https://github.com/pandas-dev/pandas/issues/8310 | 43,159,904 | MDU6SXNzdWU0MzE1OTkwNA== | 8,310 | IndexError when indexing into numpy array using a Series | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696066?v=4",
"events_url": "https://api.github.com/users/mirage007/events{/privacy}",
"followers_url": "https://api.github.com/users/mirage007/followers",
"following_url": "https://api.github.com/users/mirage007/following{/other_user}",
"gists_url": "https://api.github.com/users/mirage007/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mirage007",
"id": 1696066,
"login": "mirage007",
"node_id": "MDQ6VXNlcjE2OTYwNjY=",
"organizations_url": "https://api.github.com/users/mirage007/orgs",
"received_events_url": "https://api.github.com/users/mirage007/received_events",
"repos_url": "https://api.github.com/users/mirage007/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mirage007/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mirage007/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mirage007"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
]
| closed | false | null | []
| null | 1 | 2014-09-18T17:47:54Z | 2014-09-18T17:53:18Z | 2014-09-18T17:52:48Z | NONE | null | I'm getting a weird error in 0.14.1 that i didn't have in 0.10.1
``` python
>>> import numpy as np
>>> import pandas
>>> np.__version__
Out[8]: '1.8.2'
>>> pandas.__version__
Out[9]: '0.14.1'
>>> a = np.arange(10)
>>> b = pandas.Series([1,2,3])
>>> a[b]
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\IPython\core\interactiveshell.py", line 2746, in run_code
exec code_obj in self.user_global_ns, self.user_ns
File "<ipython-input-17-a686c4bc0a37>", line 1, in <module>
a[b]
IndexError: unsupported iterator index
```
I would have expected to get something like array([1,2,3]), note this works if i use `.values`
``` python
>>> a[b.values]
Out[20]: array([1, 2, 3])
```
This would print out as expected in 0.10.1:
``` python
In [28]: numpy.__version__
Out[28]: '1.6.2'
In [29]: pandas.__version__
Out[29]: '0.10.1'
In [30]: a = numpy.arange(10)
In [31]: b = pandas.Series([1,2,3])
In [32]: a[b]
Out[32]: array([1, 2, 3])
```
Any ideas?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8310/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8310/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8311 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8311/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8311/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8311/events | https://github.com/pandas-dev/pandas/issues/8311 | 43,167,050 | MDU6SXNzdWU0MzE2NzA1MA== | 8,311 | Series constructor doesn't handle object implementing numpy array interface | {
"avatar_url": "https://avatars.githubusercontent.com/u/610115?v=4",
"events_url": "https://api.github.com/users/dalejung/events{/privacy}",
"followers_url": "https://api.github.com/users/dalejung/followers",
"following_url": "https://api.github.com/users/dalejung/following{/other_user}",
"gists_url": "https://api.github.com/users/dalejung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dalejung",
"id": 610115,
"login": "dalejung",
"node_id": "MDQ6VXNlcjYxMDExNQ==",
"organizations_url": "https://api.github.com/users/dalejung/orgs",
"received_events_url": "https://api.github.com/users/dalejung/received_events",
"repos_url": "https://api.github.com/users/dalejung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dalejung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dalejung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dalejung"
} | [
{
"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": "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 | 7 | 2014-09-18T19:02:22Z | 2015-10-20T23:12:24Z | 2015-10-20T23:12:24Z | CONTRIBUTOR | null | ``` python
In [1]: import pandas as pd
In [2]: import rpy2
In [7]: import numpy as np
In [4]: arr = rpy2.robjects.IntVector(range(10))
In [5]: arr
Out[5]:
<IntVector - Python:0x102ed3908 / R:0x105a7c178>
[ 0, 1, 2, ..., 7, 8, 9]
In [6]: pd.Series(arr) # wrong behavior
Out[6]:
0 [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
dtype: object
In [9]: np.array(arr)
Out[9]: array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], dtype=int32)
In [10]: pd.Series(np.array(arr)) # correct behavior
Out[10]:
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
dtype: int32
```
I guess this is a regression due to Series no longer being a subclass of np.ndarray. Not sure if `numpy` exposes a catchall `isarray` that does the checks.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8311/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8311/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8312 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8312/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8312/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8312/events | https://github.com/pandas-dev/pandas/issues/8312 | 43,167,854 | MDU6SXNzdWU0MzE2Nzg1NA== | 8,312 | VIS/DOC: clean-up plots in the docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 7 | 2014-09-18T19:10:38Z | 2014-10-04T18:53:43Z | 2014-10-04T18:01:29Z | MEMBER | null | This is of course taste, but I personally find some of the plots on the docs not very pleasing to the eyes.
Some different things:
- [x] Too dense minor gridlines (solved by using mpl 1.4):
- Eg the first plot on the page: http://pandas-docs.github.io/pandas-docs-travis/visualization.html#basic-plotting-plot
- It becomes worse when the plots become smaller: http://pandas-docs.github.io/pandas-docs-travis/visualization.html#using-layout-and-targetting-multiple-axes
- This could be solved using the new matplotlib styles or adapting our own `options.display.mpl_default` style
- [x] Overlapping axis labels (see also comment from here: https://github.com/pydata/pandas/pull/8301#issuecomment-56084391) (https://github.com/pydata/pandas/pull/8391):
- See the examples with multiple axes: http://pandas-docs.github.io/pandas-docs-travis/visualization.html#using-layout-and-targetting-multiple-axes -> a lot of overlapping axis labels
- [x] Use square pie plots (https://github.com/pydata/pandas/pull/8391)
- ...
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8312/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8312/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8313 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8313/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8313/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8313/events | https://github.com/pandas-dev/pandas/issues/8313 | 43,170,353 | MDU6SXNzdWU0MzE3MDM1Mw== | 8,313 | API: rolling_* functions should have default window arg of None | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 10 | 2014-09-18T19:38:59Z | 2016-11-13T17:51:05Z | 2016-11-13T17:51:05Z | CONTRIBUTOR | null | I could be missing an easier way, but a lot of times I want to apply a rolling function to something like a groupby. This isn't the easiest thing in the world since the rolling functions take 2 arguments and `groupby.apply` is expecting a function with one argument. Maybe there's some way with passing in `args` to `groupby.apply`, but I can never remember what exactly get passed where, and what needs to be in tuples.
The most intuitive way (for me) is to make the function being applied, `f`, a function of one argument (the grouped values). This is difficult/impossible with the rolling funcs since there are 2 positional arguments and we want to `partial` the second. You have go through hoops with flipping function arguments, `partial`ing, and flipping back. meh...
I've got a patch that would allow
``` python
In [1]: df = pd.DataFrame(np.random.randn(100, 4))
In [2]: df['g'] = np.random.randint(0, 3, size=(100))
In [3]: from functools import partial
In [4]: f = partial(pd.rolling_mean, window=4)
In [5]: df.groupby('g').apply(f)
```
This is fully backwards compatible since it just raises if window is None. Any reason not to?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8313/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8313/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8314 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8314/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8314/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8314/events | https://github.com/pandas-dev/pandas/pull/8314 | 43,187,961 | MDExOlB1bGxSZXF1ZXN0MjE0Njg2ODg= | 8,314 | Allow preservation of object dtype when convert_numeric=True | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | []
| closed | false | null | []
| null | 7 | 2014-09-18T23:01:23Z | 2014-09-19T00:11:10Z | 2014-09-19T00:11:10Z | MEMBER | null | 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/8314/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8314/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8314.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8314",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8314.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8314"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8315 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8315/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8315/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8315/events | https://github.com/pandas-dev/pandas/issues/8315 | 43,192,122 | MDU6SXNzdWU0MzE5MjEyMg== | 8,315 | Can't run in optimized mode on Ubuntu | {
"avatar_url": "https://avatars.githubusercontent.com/u/2191680?v=4",
"events_url": "https://api.github.com/users/abeerag/events{/privacy}",
"followers_url": "https://api.github.com/users/abeerag/followers",
"following_url": "https://api.github.com/users/abeerag/following{/other_user}",
"gists_url": "https://api.github.com/users/abeerag/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/abeerag",
"id": 2191680,
"login": "abeerag",
"node_id": "MDQ6VXNlcjIxOTE2ODA=",
"organizations_url": "https://api.github.com/users/abeerag/orgs",
"received_events_url": "https://api.github.com/users/abeerag/received_events",
"repos_url": "https://api.github.com/users/abeerag/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/abeerag/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/abeerag/subscriptions",
"type": "User",
"url": "https://api.github.com/users/abeerag"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
]
| closed | false | null | []
| {
"closed_at": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 2 | 2014-09-19T00:03:36Z | 2014-12-04T08:27:53Z | 2014-12-04T08:27:53Z | NONE | null | If I start python with a -O flag, I get an error as soon as I import pandas
``` python
python -O
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas as pd
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/username/.virtualenvs/thm/local/lib/python2.7/site-packages/pandas/__init__.py", line 45, in <module>
from pandas.io.api import *
File "/home/username/.virtualenvs/thm/local/lib/python2.7/site-packages/pandas/io/api.py", line 11, in <module>
from pandas.io.sql import read_sql, read_sql_table, read_sql_query
File "/home/username/.virtualenvs/thm/local/lib/python2.7/site-packages/pandas/io/sql.py", line 1243, in <module>
read_frame.__doc__ += read_sql.__doc__
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'NoneType'
```
The lines causing the issue are:
``` python
# Append wrapped function docstrings
read_frame.__doc__ += read_sql.__doc__
frame_query.__doc__ += read_sql.__doc__
```
It appears as if python is stripping the docstrings, which then causes issues. Commenting the lines out fixes the problem.
I'm on Ubuntu 14.04.1 LTS, my version info is:
``` python
>>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.6.final.0
python-bits: 64
OS: Linux
OS-release: 3.13.0-29-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.14.1
nose: 1.3.0
Cython: None
numpy: 1.8.0
scipy: 0.9.0
statsmodels: None
IPython: None
sphinx: None
patsy: None
scikits.timeseries: None
dateutil: 2.2
pytz: 2013.9
bottleneck: 0.8.0
tables: None
numexpr: 2.4
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
rpy2: None
sqlalchemy: 0.9.7
pymysql: None
psycopg2: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8315/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8315/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8316 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8316/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8316/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8316/events | https://github.com/pandas-dev/pandas/pull/8316 | 43,192,616 | MDExOlB1bGxSZXF1ZXN0MjE0NzEzMTY= | 8,316 | BUG: Exception raised when `to_sql` used to insert empty dataframe | {
"avatar_url": "https://avatars.githubusercontent.com/u/833768?v=4",
"events_url": "https://api.github.com/users/artemyk/events{/privacy}",
"followers_url": "https://api.github.com/users/artemyk/followers",
"following_url": "https://api.github.com/users/artemyk/following{/other_user}",
"gists_url": "https://api.github.com/users/artemyk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/artemyk",
"id": 833768,
"login": "artemyk",
"node_id": "MDQ6VXNlcjgzMzc2OA==",
"organizations_url": "https://api.github.com/users/artemyk/orgs",
"received_events_url": "https://api.github.com/users/artemyk/received_events",
"repos_url": "https://api.github.com/users/artemyk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/artemyk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/artemyk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/artemyk"
} | []
| closed | false | null | []
| null | 1 | 2014-09-19T00:13:00Z | 2014-09-19T09:21:07Z | 2014-09-19T09:21:07Z | CONTRIBUTOR | null | Right now, if inserting an empty table (no rows) using `to_sql`, the following exception is raised:
```
...
File "/Users/artemy/dev/pandas/pandas/io/sql.py", line 1220, in to_sql
table.insert(chunksize)
File "/Users/artemy/dev/pandas/pandas/io/sql.py", line 659, in insert
chunks = int(nrows / chunksize) + 1
ZeroDivisionError: division by zero
```
This fixes this bug and adds tests for it.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8316/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8316/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8316.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8316",
"merged_at": "2014-09-19T09:21:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8316.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8316"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8317 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8317/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8317/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8317/events | https://github.com/pandas-dev/pandas/issues/8317 | 43,198,807 | MDU6SXNzdWU0MzE5ODgwNw== | 8,317 | CLN: Generalized PEP8 Enforcement | {
"avatar_url": "https://avatars.githubusercontent.com/u/226109?v=4",
"events_url": "https://api.github.com/users/iwschris/events{/privacy}",
"followers_url": "https://api.github.com/users/iwschris/followers",
"following_url": "https://api.github.com/users/iwschris/following{/other_user}",
"gists_url": "https://api.github.com/users/iwschris/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/iwschris",
"id": 226109,
"login": "iwschris",
"node_id": "MDQ6VXNlcjIyNjEwOQ==",
"organizations_url": "https://api.github.com/users/iwschris/orgs",
"received_events_url": "https://api.github.com/users/iwschris/received_events",
"repos_url": "https://api.github.com/users/iwschris/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/iwschris/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/iwschris/subscriptions",
"type": "User",
"url": "https://api.github.com/users/iwschris"
} | [
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 2 | 2014-09-19T02:33:28Z | 2015-12-30T15:19:43Z | 2015-12-30T15:19:43Z | CONTRIBUTOR | null | Per @jorisvandenbossche (https://github.com/pydata/pandas/pull/8286#issuecomment-56043336), we need to discuss a generalized way of enforcing PEP8 on the entire pandas code base.
Matplotlib has something similar here: https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/tests/test_coding_standards.py, and here's the PR discussion: https://github.com/matplotlib/matplotlib/pull/1945
Some discussion is probably needed on the PEP8 rules we're alright with ignoring as well as whether or not we want to use 80 or 100 lines for max-line-length (http://legacy.python.org/dev/peps/pep-0008/#maximum-line-length).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8317/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8317/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8318 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8318/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8318/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8318/events | https://github.com/pandas-dev/pandas/issues/8318 | 43,203,098 | MDU6SXNzdWU0MzIwMzA5OA== | 8,318 | Indexing issue for dataframes with duplicate indexes | {
"avatar_url": "https://avatars.githubusercontent.com/u/7418646?v=4",
"events_url": "https://api.github.com/users/grechkay/events{/privacy}",
"followers_url": "https://api.github.com/users/grechkay/followers",
"following_url": "https://api.github.com/users/grechkay/following{/other_user}",
"gists_url": "https://api.github.com/users/grechkay/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/grechkay",
"id": 7418646,
"login": "grechkay",
"node_id": "MDQ6VXNlcjc0MTg2NDY=",
"organizations_url": "https://api.github.com/users/grechkay/orgs",
"received_events_url": "https://api.github.com/users/grechkay/received_events",
"repos_url": "https://api.github.com/users/grechkay/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/grechkay/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/grechkay/subscriptions",
"type": "User",
"url": "https://api.github.com/users/grechkay"
} | [
{
"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 | []
| null | 2 | 2014-09-19T04:23:34Z | 2014-09-19T16:44:58Z | 2014-09-19T12:01:11Z | CONTRIBUTOR | null | Consider:
df1 = DataFrame(np.arange(9.).reshape((3, 3)), columns=list('bcd'),
index=['a', 'a', 'c'])
Then,
df1.loc[['a','c'],['b','c']] results in a key error
while,
df1.loc[['a','c'],:].loc[:,['b','c']] produces the intended result.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8318/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8318/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8319 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8319/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8319/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8319/events | https://github.com/pandas-dev/pandas/issues/8319 | 43,243,022 | MDU6SXNzdWU0MzI0MzAyMg== | 8,319 | ENH: add option to HDFStore.put/append to optionally store the index of the object (default for back compat is True) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 1 | 2014-09-19T14:17:47Z | 2020-04-10T02:36:09Z | null | CONTRIBUTOR | null | ```
store.append(df,'df',write_index=True)
```
makes sense (`index` is already taken as its passed thru to determine whether to create an actual on in the table)
| {
"+1": 3,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8319/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8319/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8320 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8320/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8320/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8320/events | https://github.com/pandas-dev/pandas/pull/8320 | 43,248,088 | MDExOlB1bGxSZXF1ZXN0MjE1MDMxODg= | 8,320 | BUG: Bug in .at that would accept integer indexers on a non-integer index and do fallback (GH7814) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 0 | 2014-09-19T15:04:14Z | 2014-09-19T15:40:59Z | 2014-09-19T15:40:59Z | CONTRIBUTOR | null | closes #7814
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8320/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8320/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8320.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8320",
"merged_at": "2014-09-19T15:40:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8320.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8320"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8321 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8321/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8321/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8321/events | https://github.com/pandas-dev/pandas/pull/8321 | 43,257,138 | MDExOlB1bGxSZXF1ZXN0MjE1MDg2ODA= | 8,321 | ENH: Add Numpy Array Interface support to Pandas objects | {
"avatar_url": "https://avatars.githubusercontent.com/u/610115?v=4",
"events_url": "https://api.github.com/users/dalejung/events{/privacy}",
"followers_url": "https://api.github.com/users/dalejung/followers",
"following_url": "https://api.github.com/users/dalejung/following{/other_user}",
"gists_url": "https://api.github.com/users/dalejung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dalejung",
"id": 610115,
"login": "dalejung",
"node_id": "MDQ6VXNlcjYxMDExNQ==",
"organizations_url": "https://api.github.com/users/dalejung/orgs",
"received_events_url": "https://api.github.com/users/dalejung/received_events",
"repos_url": "https://api.github.com/users/dalejung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dalejung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dalejung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dalejung"
} | [
{
"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": "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 | 15 | 2014-09-19T16:32:09Z | 2015-05-09T15:58:57Z | 2015-05-09T15:58:57Z | CONTRIBUTOR | null | WIP
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8321/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8321/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8321.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8321",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8321.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8321"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8322 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8322/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8322/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8322/events | https://github.com/pandas-dev/pandas/pull/8322 | 43,260,238 | MDExOlB1bGxSZXF1ZXN0MjE1MTA1MDY= | 8,322 | BUG: Bug in casting when setting a column in a same-dtype block (GH7704) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 0 | 2014-09-19T17:04:28Z | 2014-09-19T20:05:55Z | 2014-09-19T20:05:55Z | CONTRIBUTOR | null | closes #7704
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8322/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8322/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8322.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8322",
"merged_at": "2014-09-19T20:05:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8322.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8322"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8323 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8323/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8323/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8323/events | https://github.com/pandas-dev/pandas/issues/8323 | 43,273,434 | MDU6SXNzdWU0MzI3MzQzNA== | 8,323 | Bloomberg Hackathon | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 41 | 2014-09-19T19:26:33Z | 2014-12-01T00:55:51Z | 2014-12-01T00:55:51Z | CONTRIBUTOR | null | Contributing Guidlines / Help:
https://github.com/pydata/pandas/wiki
Dev Docs
http://pandas-docs.github.io/pandas-docs-travis/whatsnew.html
Docs:
- Doc Strings examples/links: https://github.com/pydata/pandas/issues/3439, https://github.com/pydata/pandas/issues/2916, https://github.com/pydata/pandas/issues/3324
- ~~Docs on ipython startup files: #5748~~
- Links to API docs in the tutorials: https://github.com/https://github.com/pydata/pandas/issues/3705, #1967
- better docs on DataFrame.apply (examples): https://github.com/pydata/pandas/issues/5299
- ~~GA docs: https://github.com/pydata/pandas/issues/3508~~
- doc groupby NA group work-around: https://github.com/pydata/pandas/issues/5456
- consistent imports in all documentation: #1967
- DOC: improve groupby reference docs #6944
- documenting cython class (eg Timestamp): "cyfunction is not a python function" #5218
- Redesigning/reorganising the documentation website
Perf:
- ~~vbench on different group sizes: https://github.com/pydata/pandas/issues/6787~~
- use seed in vbenches: https://github.com/pydata/pandas/issues/8144
- pandas + [airspeed velocity](https://spacetelescope.github.io/asv/index.html) #8361
Tests:
- matplotlib lib to check plots: https://github.com/pydata/pandas/issues/5379
- harmonize testing namespace: https://github.com/pydata/pandas/issues/8023
- verify timedelta algos: https://github.com/pydata/pandas/issues/5986
- non_unique storage tests for HDFStore: https://github.com/pydata/pandas/issues/7813
Bugs:
- Make changes in numpy API for 1.7: https://github.com/pydata/pandas/issues/8329
- accept scalar in Panel construction: https://github.com/pydata/pandas/issues/8285
- fillna bug: https://github.com/pydata/pandas/issues/8251
- HDFStore modifying columns when passed: https://github.com/pydata/pandas/issues/7212
- Plot label = None instead of provided label in line plot #8905
- plot with kind=scatter fails when providing an array for the size #8852
- Grouper(key='A') gives AttributeError when applying function #8795
- ValueError exception with pd.resample #8683
- to_csv issue with chunksize when large number of columns #8621
- EASY: pd.option_context without 'with' changes option values #8514
Enhancements:
- ENH: support TimedeltaIndex plotting #8711
- as suggested below, an enhancement to `read_csv` (or maybe `read_repr/string` to allow round-triping of the repr (can also serve as a basis for `read_clipboard`)
- raise on invalid compression options in HDFStore: https://github.com/pydata/pandas/issues/4582
- ~~accept Period in DatetimeIndex for start/end: https://github.com/pydata/pandas/issues/6780~~
- dont use bare Exceptions: https://github.com/pydata/pandas/issues/7948
- add more Series/Index ops: https://github.com/pydata/pandas/issues/6382
- ~~to_dict orient parm: https://github.com/pydata/pandas/issues/7840~~
- sort_index to generic.py: https://github.com/pydata/pandas/issues/8283
- get to take an axis argument: https://github.com/pydata/pandas/issues/6703
- axis argument to append: https://github.com/pydata/pandas/issues/8295
- better error on invalid input to cut: https://github.com/pydata/pandas/issues/7751
- ~~level kw to any/all: https://github.com/pydata/pandas/issues/8302~~
- astype accepting a dict: https://github.com/pydata/pandas/issues/7271
- ~~clean up code by removing core/array.py: https://github.com/pydata/pandas/issues/8359~~
IO:
- to_clipboard bug/improvements: https://github.com/pydata/pandas/issues/8304
- to_html to actually create links: https://github.com/pydata/pandas/issues/2679, https://github.com/pydata/pandas/issues/6488, https://github.com/pydata/pandas/issues/4987
- max_colwidth with groupby: https://github.com/pydata/pandas/issues/7856
- date_formatting in to_csv not being passed thru: https://github.com/pydata/pandas/issues/7791
- generate gbq schema: https://github.com/pydata/pandas/issues/8325
- make `to_latex` work with multi-index: https://github.com/pydata/pandas/issues/8336
- `Series.to_html` not working so well: https://github.com/pydata/pandas/issues/5563
- to_csv issue with chunksize when large number of columns #8621
Excel Oriented:
- More customization of Excel input/output could be great, i.e. making it easier to specify per-column colors/formatting, float formats, etc. The code base isn't too complicated there (just a mixture of the formatter and the ExcelWriter stuff) and you could make rapid progress because it's really easy to test and create samples. I think the result would be very immediately rewarding (better looking things, easier to make reports, etc.). Plus for #4679 and #8272 you'd get a better sense of pandas internals too.
- dtypes per column in read in (#8212 and #8272)
- Treat multiple rows/columns as MultiIndex/hierarchical columns #4679
- More flexible output formatting for Excel (mentioned in #8191 , but I'm going to put up an issue about having something like per-column styles, also #1663).
- Allow writing multiple tables to same sheet and/or setting starting position for a particular sheet (mentioned by Wes in an older issue but I can't find it right now).
- extend excel writers to write to open document format #2311
- allow ExcelWriter to automatically convert lists and dict to string #8188
- Performance benchmarks for Excel writers and readers #7171
- Support BytesIO output in ExcelWriter #7074
SQL:
- ENH: specify dtype in `to_sql` per column: #8778
- BUG: to_sql fails with datetime.time values with sqlite fallback mode #8341
More advanced:
- add write_index option to HDFStore: https://github.com/pydata/pandas/issues/8319
- start/stop on HDFstore fixed: https://github.com/pydata/pandas/issues/8287
- block splitting in HDFStore: https://github.com/pydata/pandas/issues/8284
- tz handling using HDFStore / fixed: https://github.com/pydata/pandas/issues/8165, https://github.com/pydata/pandas/issues/7775
- PeriodIndex in HDFStore: https://github.com/pydata/pandas/issues/7796
- Write meta data as a CArray: https://github.com/pydata/pandas/issues/6245
- Modify methods for HDFStore: https://github.com/pydata/pandas/issues/6857
- Integrate multi-index reindexing a bit more: https://github.com/pydata/pandas/issues/7895
- Timedelta support in groupby: #5724
- support numeric index ops: https://github.com/pydata/pandas/issues/8226
- allow index to referenced like a column: https://github.com/pydata/pandas/issues/8162
Collaborative Efforts:
- Missing data support in numpy: https://github.com/pydata/pandas/issues/8350
@jorisvandenbossche @cpcloud @TomAugspurger @hayd
cc @shoyer
cc @immerrr
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8323/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8323/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8324 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8324/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8324/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8324/events | https://github.com/pandas-dev/pandas/issues/8324 | 43,281,443 | MDU6SXNzdWU0MzI4MTQ0Mw== | 8,324 | TST: test failure on 26-64 / 26-32 on windows related to GH8044 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "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": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 2 | 2014-09-19T20:51:24Z | 2014-09-21T17:22:49Z | 2014-09-21T17:22:49Z | CONTRIBUTOR | null | cc @amras1
xref #8044
```
C:\Users\Jeff Reback\Documents\GitHub\pandas>c:\Python26-64\Scripts\nosetests.exe build\lib.win-amd64-2.6\pandas\io\tests\test_parsers.py --pdb --pdb-failure
RuntimeError: module compiled against API version 9 but this version of numpy is 7
..........................................................................................................S.............................................................................................
...> c:\python26-64\lib\unittest.py(325)failUnless()
-> if not expr: raise self.failureException, msg
(Pdb) u
> c:\users\jeff reback\documents\github\pandas\build\lib.win-amd64-2.6\pandas\io\tests\test_parsers.py(3205)test_precise_conversion()
-> self.assertTrue(max(precise_errors) < max(normal_errors))
(Pdb) l
3200 return abs(Decimal('{0:.100}'.format(val)) - actual_val)
3201 normal_errors.append(error(normal_val))
3202 precise_errors.append(error(precise_val))
3203 self.assertEqual(roundtrip_val, float(text[2:])) # round-trip should match float()
3204 self.assertTrue(sum(precise_errors) < sum(normal_errors))
3205 -> self.assertTrue(max(precise_errors) < max(normal_errors))
3206
3207 def test_pass_dtype(self):
3208 data = """\
3209 one,two
3210 1,2.5
(Pdb) p precise_errors
[Decimal('0.0'), Decimal('0E-15'), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Dec
imal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-15'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decim
al('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-15'), Decimal('0E-16'), Decimal('2E-16'), Decimal
('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('
0E-16'), Decimal('0E-16'), Decimal('0E-15'), Decimal('0E-15'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E
-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-15'), Decimal('0E-16'), Decimal('2E-1
6'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-15'
), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'),
Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-15'), Decimal('0E-15'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), D
ecimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-15'), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Dec
imal('0E-15'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decim
al('0E-16'), Decimal('0E-16'), Decimal('0E-15'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal
('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-15'), Decimal('0E-15'), Decimal('0E-16'), Decimal('0E-16'), Decimal('
2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-15'), Decimal('0E
-16'), Decimal('2E-16'), Decimal('0E-15'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-1
6'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-15'), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'
), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-15'), Decimal('0E-15'),
Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), D
ecimal('0E-16'), Decimal('0E-15'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-15'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('2E-16'), Decimal('0E-16'), Dec
imal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-15'), Decimal('0E-14'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decim
al('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal
('0E-16'), Decimal('0E-15'), Decimal('0E-15'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('
0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-15'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-15'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E
-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-15'), Decimal('0E-15'), Decimal('2E-1
6'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'
), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-14'), Decimal('0E-15'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'),
Decimal('0E-16'), Decimal('2E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-15'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-15'), Decimal('0E-16'), D
ecimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Dec
imal('0E-15'), Decimal('0E-15'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decim
al('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-15'), Decimal('0E-15'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal
('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-15'), Decimal('0E-16'), Decimal('
2E-16'), Decimal('0E-15'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E
-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-15'), Decimal('0E-15'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-1
6'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-15'), Decimal('0E-15'), Decimal('0E-16'
), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'),
Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-15'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), D
ecimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-15'), Decimal('0E-15'), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('2E-16'), Dec
imal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decim
al('0E-15'), Decimal('0E-15'), Decimal('0E-16'), Decimal('3E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('4E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal
('2E-16'), Decimal('2E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-15'), Decimal('2E-16'), Decimal('3E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('
0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('3E-16'), Decimal('0E-16'), Decimal('0E-15'), Decimal('0E-15'), Decimal('2E-16'), Decimal('2E
-16'), Decimal('0E-16'), Decimal('4E-16'), Decimal('5E-16'), Decimal('3E-16'), Decimal('2E-16'), Decimal('2E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('3E-16'), Decimal('0E-1
6'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-15'), Decimal('0E-14'), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('3E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('2E-16'
), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-16'), Decimal('2E-16'), Decimal('0E-15'), Decimal('0E-16'), Decimal('0E-16'),
Decimal('0E-16'), Decimal('2E-16'), Decimal('2E-16'), Decimal('2E-16'), Decimal('2E-16'), Decimal('4E-16'), Decimal('3E-16'), Decimal('2E-16'), Decimal('5E-16'), Decimal('2E-16'), Decimal('0.0')]
(Pdb) p max(precise_errors)
Decimal('5E-16')
(Pdb) p max(normal_errors)
Decimal('5E-16')
(Pdb)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8324/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8324/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8325 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8325/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8325/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8325/events | https://github.com/pandas-dev/pandas/issues/8325 | 43,282,578 | MDU6SXNzdWU0MzI4MjU3OA== | 8,325 | to_gbq: Allow creation of new tables from DataFrame (and generate schema) | {
"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": "0052cc",
"default": false,
"description": "pandas-gbq compatability",
"id": 57351315,
"name": "IO Google",
"node_id": "MDU6TGFiZWw1NzM1MTMxNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 5 | 2014-09-19T21:04:05Z | 2015-09-13T20:20:52Z | 2015-09-13T20:20:52Z | CONTRIBUTOR | null | Small extension on top the `to_gbq` so that you can actually create new tables given only an existing dataframe. Given an arbitrary `DataFrame` with a _non_ hierarchical-index, create a schema from it. For now, we'd likely assume that `object` dtype columns are string and maybe allow for specifying some or all columns for the schema so that int columns with nulls come out correctly (otherwise, they'd be coerced to float columns b/c of nan stuff).
E.g.:
``` python
In [6]: import pandas as pd
In [7]: import pandas.util.testing as testing
In [8]: df = testing.makeMixedDataFrame()
In [9]: df
Out[9]:
A B C D
0 0 0 foo1 2009-01-01
1 1 1 foo2 2009-01-02
2 2 0 foo3 2009-01-05
3 3 1 foo4 2009-01-06
4 4 0 foo5 2009-01-07
In [10]: df.dtypes
Out[10]:
A float64
B float64
C object
D datetime64[ns]
dtype: object
```
Then you could do something like:
``` python
In [11]: generate_bq_schema(df)
Out[11]:
{'fields': [{'name': 'A', 'type': 'FLOAT'},
{'name': 'B', 'type': 'FLOAT'},
{'name': 'C', 'type': 'STRING'},
{'name': 'D', 'type': 'TIMESTAMP'}]}
```
and with a named index, that could be added to the schema as well. For now, we could stick to requiring non-hierarchical/MultiIndex, but maybe we could use record types for an index that's MultiIndex in the future?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8325/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8325/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8326 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8326/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8326/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8326/events | https://github.com/pandas-dev/pandas/pull/8326 | 43,284,549 | MDExOlB1bGxSZXF1ZXN0MjE1MjQ5Mjg= | 8,326 | ENH: Numerically stable Cython functions `roll_cov` and `roll_corr` | {
"avatar_url": "https://avatars.githubusercontent.com/u/3343990?v=4",
"events_url": "https://api.github.com/users/jaimefrio/events{/privacy}",
"followers_url": "https://api.github.com/users/jaimefrio/followers",
"following_url": "https://api.github.com/users/jaimefrio/following{/other_user}",
"gists_url": "https://api.github.com/users/jaimefrio/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jaimefrio",
"id": 3343990,
"login": "jaimefrio",
"node_id": "MDQ6VXNlcjMzNDM5OTA=",
"organizations_url": "https://api.github.com/users/jaimefrio/orgs",
"received_events_url": "https://api.github.com/users/jaimefrio/received_events",
"repos_url": "https://api.github.com/users/jaimefrio/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jaimefrio/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jaimefrio/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jaimefrio"
} | [
{
"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": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 13 | 2014-09-19T21:26:31Z | 2015-05-09T16:00:41Z | 2015-05-09T16:00:41Z | 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/8326/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8326/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8326.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8326",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8326.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8326"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/8327 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8327/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8327/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8327/events | https://github.com/pandas-dev/pandas/issues/8327 | 43,288,083 | MDU6SXNzdWU0MzI4ODA4Mw== | 8,327 | GBQ: Handle deprecation of oauth2client.tools.run() | {
"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": "0052cc",
"default": false,
"description": "pandas-gbq compatability",
"id": 57351315,
"name": "IO Google",
"node_id": "MDU6TGFiZWw1NzM1MTMxNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google"
}
]
| closed | false | null | []
| {
"closed_at": "2015-05-11T15:46:03Z",
"closed_issues": 237,
"created_at": "2014-10-07T14:39:07Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.16.0 of course!",
"due_on": "2015-05-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/29",
"id": 816810,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODEw",
"number": 29,
"open_issues": 0,
"state": "closed",
"title": "0.16.1",
"updated_at": "2017-04-16T08:39:48Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29"
} | 14 | 2014-09-19T22:09:37Z | 2015-05-01T16:45:35Z | 2015-05-01T16:45:35Z | CONTRIBUTOR | null | Right now, when you use GbqConnector, you get the following warning:
> WARNING:root:This function, oauth2client.tools.run(), and the use of the gflags library are deprecated and will be removed in a future version of the library.
I'm not sure how quickly this deprecation will happen or if there are alternatives to keep things the way that they are; but at least worthwhile to have an issue here to address it (in the future).
As an aside, I've been glancing at the source for the `bq` client that Google provides as part of Google Cloud SDK and I'm wondering how public the methods are (i.e., if we could adapt some of the code or functions that `bq.py` uses to authenticate and be able to get credentials set up from `gcloud auth login` rather than requiring a separate oauth flow). Not sure though.
Again, cc @jacobschaer , I'd be interested in your opinion on whether this is worth investigating at all. I've been finding `read_gbq` and `to_gbq` quite useful - thanks for putting it together!
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8327/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8327/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8328 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8328/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8328/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8328/events | https://github.com/pandas-dev/pandas/pull/8328 | 43,289,747 | MDExOlB1bGxSZXF1ZXN0MjE1MjgwNzI= | 8,328 | BUG: to_clipboard output formatting | {
"avatar_url": "https://avatars.githubusercontent.com/u/361447?v=4",
"events_url": "https://api.github.com/users/klonuo/events{/privacy}",
"followers_url": "https://api.github.com/users/klonuo/followers",
"following_url": "https://api.github.com/users/klonuo/following{/other_user}",
"gists_url": "https://api.github.com/users/klonuo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/klonuo",
"id": 361447,
"login": "klonuo",
"node_id": "MDQ6VXNlcjM2MTQ0Nw==",
"organizations_url": "https://api.github.com/users/klonuo/orgs",
"received_events_url": "https://api.github.com/users/klonuo/received_events",
"repos_url": "https://api.github.com/users/klonuo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/klonuo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/klonuo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/klonuo"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 3 | 2014-09-19T22:39:36Z | 2014-09-23T14:40:59Z | 2014-09-23T14:40:47Z | CONTRIBUTOR | null | closes https://github.com/pydata/pandas/issues/8305
@jreback I made the simple patch as you suggested for fixing truncated columns, although problem seems to be https://github.com/pydata/pandas/blob/master/pandas/core/format.py#L2118 called from https://github.com/pydata/pandas/blob/master/pandas/core/format.py#L411
Perhaps `conf_max` should respect if caller passes `minimum` argument so it wont truncate?
Second issue, where `index=False` was ignored (or just any other argument when `excel=False`) was because arguments were not passed to underlying function `obj.to_string()` and that was easy fix.
I added test for checking if column width greater then `max_colwidth` passes clipboard test.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8328/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8328/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8328.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8328",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8328.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8328"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8329 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8329/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8329/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8329/events | https://github.com/pandas-dev/pandas/issues/8329 | 43,304,019 | MDU6SXNzdWU0MzMwNDAxOQ== | 8,329 | CLN: start using numpy-1.7 API | {
"avatar_url": "https://avatars.githubusercontent.com/u/579798?v=4",
"events_url": "https://api.github.com/users/immerrr/events{/privacy}",
"followers_url": "https://api.github.com/users/immerrr/followers",
"following_url": "https://api.github.com/users/immerrr/following{/other_user}",
"gists_url": "https://api.github.com/users/immerrr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/immerrr",
"id": 579798,
"login": "immerrr",
"node_id": "MDQ6VXNlcjU3OTc5OA==",
"organizations_url": "https://api.github.com/users/immerrr/orgs",
"received_events_url": "https://api.github.com/users/immerrr/received_events",
"repos_url": "https://api.github.com/users/immerrr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/immerrr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/immerrr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/immerrr"
} | [
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
},
{
"color": "d93f0b",
"default": false,
"description": "Required and optional dependencies",
"id": 527603109,
"name": "Dependencies",
"node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 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"
} | 22 | 2014-09-20T07:40:02Z | 2018-07-13T02:44:29Z | 2018-07-13T00:36:14Z | CONTRIBUTOR | null | Now that numpy-1.6 support is dropped we could proceed to use np-1.7 API.
This involves fixing a macro or two deep down in pandas internals, but otherwise should be pretty straightforward. As a bonus we can get rid of these annoying build warnings:
```
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ipandas/src/klib -Ipandas/src -I/home/immerrr/.conda/envs/pandas/lib/python2.7/site-packages/numpy/core/include -I/home/immerrr/.conda/envs/pandas/include/python2.7 -c pandas/index.c -o build/temp.linux-x86_64-2.7/pandas/index.o
In file included from /home/immerrr/.conda/envs/pandas/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0,
from /home/immerrr/.conda/envs/pandas/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /home/immerrr/.conda/envs/pandas/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from pandas/index.c:244:
/home/immerrr/.conda/envs/pandas/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
```
xref https://github.com/pydata/numexpr/pull/228/files
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8329/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8329/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8330 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8330/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8330/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8330/events | https://github.com/pandas-dev/pandas/pull/8330 | 43,312,458 | MDExOlB1bGxSZXF1ZXN0MjE1MzgzMzY= | 8,330 | ENH: add chunksize argument to read_sql (GH2908) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 3 | 2014-09-20T15:23:47Z | 2014-10-07T00:15:24Z | 2014-10-07T00:15:24Z | MEMBER | null | Closes #2908
Should probably add this also to `read_sql_table`. And try to reduce some repetitions (`_wrap_result` can maybe be a top-level (in the file) helper 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/8330/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8330/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8330.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8330",
"merged_at": "2014-10-07T00:15:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8330.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8330"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8331 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8331/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8331/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8331/events | https://github.com/pandas-dev/pandas/pull/8331 | 43,313,208 | MDExOlB1bGxSZXF1ZXN0MjE1Mzg2Njg= | 8,331 | PERF: add copy=True argument to pd.concat to enable pass-thru concats with complete blocks (GH8252) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 0 | 2014-09-20T16:00:41Z | 2014-09-20T16:50:06Z | 2014-09-20T16:50:06Z | CONTRIBUTOR | null | closes #8252
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8331/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8331/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8331.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8331",
"merged_at": "2014-09-20T16:50:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8331.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8331"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8332 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8332/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8332/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8332/events | https://github.com/pandas-dev/pandas/issues/8332 | 43,318,578 | MDU6SXNzdWU0MzMxODU3OA== | 8,332 | API: add astype coerce argument / remove raise_on_error | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "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": "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"
} | 2 | 2014-09-20T20:12:05Z | 2020-02-11T23:11:38Z | 2018-07-06T22:10:45Z | CONTRIBUTOR | null | http://stackoverflow.com/questions/25952790/convert-pandas-series-from-dtype-object-to-float-and-errors-to-nans/25952844#25952844
maybe remove`raise_on_error` and rename to `coerce` (more inline with the rest of pandas API)
```
In [30]: pd.Series([1,2,3,4,'.']).convert_objects(convert_numeric=True)
Out[30]:
0 1
1 2
2 3
3 4
4 NaN
dtype: float64
```
I suspect this might make a nice API as well
```
s = pd.Series([1,2,3,4,'.'])
s.astype('float64', coerce=True)
```
maybe `coerce=True|None|'raise'` make sense
| {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8332/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8332/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8333 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8333/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8333/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8333/events | https://github.com/pandas-dev/pandas/issues/8333 | 43,318,585 | MDU6SXNzdWU0MzMxODU4NQ== | 8,333 | to_json() Flat Output | {
"avatar_url": "https://avatars.githubusercontent.com/u/3118036?v=4",
"events_url": "https://api.github.com/users/r-barnes/events{/privacy}",
"followers_url": "https://api.github.com/users/r-barnes/followers",
"following_url": "https://api.github.com/users/r-barnes/following{/other_user}",
"gists_url": "https://api.github.com/users/r-barnes/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/r-barnes",
"id": 3118036,
"login": "r-barnes",
"node_id": "MDQ6VXNlcjMxMTgwMzY=",
"organizations_url": "https://api.github.com/users/r-barnes/orgs",
"received_events_url": "https://api.github.com/users/r-barnes/received_events",
"repos_url": "https://api.github.com/users/r-barnes/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/r-barnes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/r-barnes/subscriptions",
"type": "User",
"url": "https://api.github.com/users/r-barnes"
} | [
{
"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": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "207de5",
"default": false,
"description": "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 | 2014-09-20T20:12:18Z | 2017-09-18T13:10:38Z | 2017-09-18T10:57:28Z | NONE | null | The to_json() I/O command current provides the following output:
```
split dict like {index -> [index], columns -> [columns], data -> [values]}
records list like [{column -> value}, ... , {column -> value}]
index dict like {index -> {column -> value}}
columns dict like {column -> {index -> value}}
values just the values array
```
It would be handy if the output could also be provided in the format:
```
mdarray [ [index1,value1a,value1b,...] , [index2,value2a,value2b,...], ... ]
```
This format is, for instance, used by the DyGraphs JS library for plotting data.
The following command provides the output I am looking for:
```
np.column_stack((df.index,df.as_matrix())).tolist()
```
(where `df` is a DataFrame)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8333/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8333/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8334 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8334/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8334/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8334/events | https://github.com/pandas-dev/pandas/issues/8334 | 43,319,646 | MDU6SXNzdWU0MzMxOTY0Ng== | 8,334 | Drop Rows with Missing Values Between an Array of DataFrames | {
"avatar_url": "https://avatars.githubusercontent.com/u/2454080?v=4",
"events_url": "https://api.github.com/users/calben/events{/privacy}",
"followers_url": "https://api.github.com/users/calben/followers",
"following_url": "https://api.github.com/users/calben/following{/other_user}",
"gists_url": "https://api.github.com/users/calben/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/calben",
"id": 2454080,
"login": "calben",
"node_id": "MDQ6VXNlcjI0NTQwODA=",
"organizations_url": "https://api.github.com/users/calben/orgs",
"received_events_url": "https://api.github.com/users/calben/received_events",
"repos_url": "https://api.github.com/users/calben/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/calben/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/calben/subscriptions",
"type": "User",
"url": "https://api.github.com/users/calben"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
]
| closed | false | null | []
| null | 3 | 2014-09-20T21:06:09Z | 2014-10-02T12:22:52Z | 2014-10-02T12:22:52Z | NONE | null | I've needed this feature 3 or 4 times recently.
The way I've typically done it is by making a new dataframe, concatenating the many dataframes after renaming their columns to identify to which dataframe they originally belonged, dropping all NA from the concatenated dataframe, and then splitting up this dataframe and assigning it to the individual dataframes from before.
What is a better, less hacky way of doing this?
Can it already be done easily with an existing function in Pandas?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8334/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8334/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8335 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8335/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8335/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8335/events | https://github.com/pandas-dev/pandas/pull/8335 | 43,320,917 | MDExOlB1bGxSZXF1ZXN0MjE1NDIyMTU= | 8,335 | TST: Fixed precision test error for read_csv | {
"avatar_url": "https://avatars.githubusercontent.com/u/6729036?v=4",
"events_url": "https://api.github.com/users/mdmueller/events{/privacy}",
"followers_url": "https://api.github.com/users/mdmueller/followers",
"following_url": "https://api.github.com/users/mdmueller/following{/other_user}",
"gists_url": "https://api.github.com/users/mdmueller/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mdmueller",
"id": 6729036,
"login": "mdmueller",
"node_id": "MDQ6VXNlcjY3MjkwMzY=",
"organizations_url": "https://api.github.com/users/mdmueller/orgs",
"received_events_url": "https://api.github.com/users/mdmueller/received_events",
"repos_url": "https://api.github.com/users/mdmueller/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mdmueller/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mdmueller/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mdmueller"
} | []
| closed | false | null | []
| null | 5 | 2014-09-20T22:06:35Z | 2014-09-21T17:24:56Z | 2014-09-21T17:23:11Z | CONTRIBUTOR | null | This should hopefully fix #8324.
@jreback
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8335/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8335/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8335.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8335",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8335.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8335"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8336 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8336/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8336/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8336/events | https://github.com/pandas-dev/pandas/issues/8336 | 43,321,047 | MDU6SXNzdWU0MzMyMTA0Nw== | 8,336 | to_latex with MI column and index names | {
"avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4",
"events_url": "https://api.github.com/users/hayd/events{/privacy}",
"followers_url": "https://api.github.com/users/hayd/followers",
"following_url": "https://api.github.com/users/hayd/following{/other_user}",
"gists_url": "https://api.github.com/users/hayd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hayd",
"id": 1931852,
"login": "hayd",
"node_id": "MDQ6VXNlcjE5MzE4NTI=",
"organizations_url": "https://api.github.com/users/hayd/orgs",
"received_events_url": "https://api.github.com/users/hayd/received_events",
"repos_url": "https://api.github.com/users/hayd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hayd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hayd"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "006b75",
"default": false,
"description": "to_latex",
"id": 251382258,
"name": "IO LaTeX",
"node_id": "MDU6TGFiZWwyNTEzODIyNTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX"
}
]
| closed | false | null | []
| {
"closed_at": "2015-05-11T15:46:03Z",
"closed_issues": 237,
"created_at": "2014-10-07T14:39:07Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.16.0 of course!",
"due_on": "2015-05-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/29",
"id": 816810,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODEw",
"number": 29,
"open_issues": 0,
"state": "closed",
"title": "0.16.1",
"updated_at": "2017-04-16T08:39:48Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29"
} | 3 | 2014-09-20T22:12:29Z | 2017-04-16T08:39:48Z | 2017-04-16T08:39:40Z | CONTRIBUTOR | null | I introduced/uncovered a bug here with #8219.
If you pass in DataFrame with MI index and col names it doesn't output correctly (and never did). Should be able to fix pretty easily, since it's my fault am assigning myself!
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8336/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8336/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8337 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8337/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8337/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8337/events | https://github.com/pandas-dev/pandas/pull/8337 | 43,324,431 | MDExOlB1bGxSZXF1ZXN0MjE1NDM4MTk= | 8,337 | ENH: allow axis argument to append / move append code to generic.py (GH8295) | {
"avatar_url": "https://avatars.githubusercontent.com/u/6189096?v=4",
"events_url": "https://api.github.com/users/htkm/events{/privacy}",
"followers_url": "https://api.github.com/users/htkm/followers",
"following_url": "https://api.github.com/users/htkm/following{/other_user}",
"gists_url": "https://api.github.com/users/htkm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/htkm",
"id": 6189096,
"login": "htkm",
"node_id": "MDQ6VXNlcjYxODkwOTY=",
"organizations_url": "https://api.github.com/users/htkm/orgs",
"received_events_url": "https://api.github.com/users/htkm/received_events",
"repos_url": "https://api.github.com/users/htkm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/htkm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/htkm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/htkm"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 5 | 2014-09-21T01:46:08Z | 2015-05-09T16:07:26Z | 2015-05-09T16:07:26Z | CONTRIBUTOR | null | closes #8295
- [x] Extract `append` method in `frame.py` into `generic.py`
- I left the original code just commented.
- [x] Extract test cases in `test_frame.py` into `test_generic.py`
- [x] Extract test cases in `test_series.py` into `test_generic.py`
- [x] Specific test case for testing `axis=1` in `test_generic.py`
- [x] Generic method `append` in `generic.py`
- [x] `NotImeplementedError` for `Panel`
- [ ] Docstring for generic `append`
- [ ] Release note
- [ ] Documentation
- [ ] CI pass
One more thing, could `Series.append` use `axis=1` as well ?
``` python
pd.Series([1,2,3]).append(pd.Series(['a','b','c']), axis=1)
0 1
0 1 a
1 2 b
2 3 c
# just like below
# pd.concat((pd.Series([1,2,3]), pd.Series(['a','b','c'])), axis=1)
```
It would be awesome if I could get your guidance to close this issue under the project's convention. Thank you !
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8337/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8337/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8337.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8337",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8337.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8337"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8338 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8338/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8338/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8338/events | https://github.com/pandas-dev/pandas/issues/8338 | 43,336,764 | MDU6SXNzdWU0MzMzNjc2NA== | 8,338 | interpolate() crashes with limit argument | {
"avatar_url": "https://avatars.githubusercontent.com/u/8851056?v=4",
"events_url": "https://api.github.com/users/weatherfrog/events{/privacy}",
"followers_url": "https://api.github.com/users/weatherfrog/followers",
"following_url": "https://api.github.com/users/weatherfrog/following{/other_user}",
"gists_url": "https://api.github.com/users/weatherfrog/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/weatherfrog",
"id": 8851056,
"login": "weatherfrog",
"node_id": "MDQ6VXNlcjg4NTEwNTY=",
"organizations_url": "https://api.github.com/users/weatherfrog/orgs",
"received_events_url": "https://api.github.com/users/weatherfrog/received_events",
"repos_url": "https://api.github.com/users/weatherfrog/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/weatherfrog/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/weatherfrog/subscriptions",
"type": "User",
"url": "https://api.github.com/users/weatherfrog"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 3 | 2014-09-21T14:47:59Z | 2014-09-21T16:10:43Z | 2014-09-21T16:10:43Z | NONE | null | Hi,
Pandas' `interpolate()` method crashes if the `limit` parameter is passed and the underlying data frame or series does not contain NaN values, i.e., if there is nothing to interpolate. I think this is a bug.
The following code was tested with Pandas 0.14.1 (NumPy 1.9.0):
```
import pandas as pd
import numpy as np
x = pd.Series(np.arange(4))
x[2] = np.nan
# x looks like this:
#0 0
#1 1
#2 NaN
#3 3
xx = x.interpolate(method='linear', limit=1)
# calling interpolate() a second time...
xx.interpolate(method='linear', limit=1)
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
[...]
/.../python2.7/site-packages/pandas/core/common.pyc in _interp_limit(invalid, limit)
1437 violate = [invalid[x:x + limit + 1] for x in all_nans]
1438 violate = np.array([x.all() & (x.size > limit) for x in violate])
-> 1439 return all_nans[violate] + limit
1440
1441 xvalues = getattr(xvalues, 'values', xvalues)
IndexError: arrays used as indices must be of integer (or boolean) type
```
It seems that – since `all_nans` is empty – the dtype of `violate` is set to float (NumPy default). And float arrays cannot be used for indexing. It's probably safe to replace line `1438` with the following:
```
violate = np.array([x.all() & (x.size > limit) for x in violate], dtype=np.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/8338/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8338/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8339 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8339/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8339/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8339/events | https://github.com/pandas-dev/pandas/issues/8339 | 43,337,863 | MDU6SXNzdWU0MzMzNzg2Mw== | 8,339 | Multithreaded access to Series multiply (or division) operator causes segmentation fault | {
"avatar_url": "https://avatars.githubusercontent.com/u/3604830?v=4",
"events_url": "https://api.github.com/users/sjlnk/events{/privacy}",
"followers_url": "https://api.github.com/users/sjlnk/followers",
"following_url": "https://api.github.com/users/sjlnk/following{/other_user}",
"gists_url": "https://api.github.com/users/sjlnk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sjlnk",
"id": 3604830,
"login": "sjlnk",
"node_id": "MDQ6VXNlcjM2MDQ4MzA=",
"organizations_url": "https://api.github.com/users/sjlnk/orgs",
"received_events_url": "https://api.github.com/users/sjlnk/received_events",
"repos_url": "https://api.github.com/users/sjlnk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sjlnk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sjlnk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sjlnk"
} | [
{
"color": "ededed",
"default": false,
"description": "Parallelism in pandas",
"id": 34423912,
"name": "Multithreading",
"node_id": "MDU6TGFiZWwzNDQyMzkxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Multithreading"
}
]
| closed | false | null | []
| null | 5 | 2014-09-21T15:40:14Z | 2014-09-21T20:43:59Z | 2014-09-21T16:09:55Z | NONE | null | I have run across some really weird situation where I get segmentation fault only when multiple threads access the same code simultaneously (problems with re-entrancy?). Also this only occurs with certain datasets and I couldn't reproduce it with toydata.
The data.p file required can be downloaded from here:
https://copy.com/WMQ6UP1tHjdE
This is the sample code:
```
import pickle
import concurrent.futures
import pandas as pd
import numpy as np
data = pickle.load(open('data.p', 'rb'))
# cannot reproduce the bug with toy data!
# data_l = pd.Series(np.random.randn(100))
# data_l.index = pd.tseries.index.DatetimeIndex(start='1901-01-01', periods=100, freq='D')
# data_r = pd.Series(np.random.randn(1000))
# data_r.index = pd.tseries.index.DatetimeIndex(start='1900-01-01', periods=1000, freq='D')
# data_r['1900-01-01':'1900-06-30'] = np.nan
def myfun():
return data[0]['AdjClose(GBP)'] * data[1]
# return data_l * data_r
# if using only one thread (ThreadPoolExecutor(1)) everything works...
with concurrent.futures.ThreadPoolExecutor(25) as executor:
futures = []
for _ in range(100000):
futures.append(executor.submit(myfun))
for fut in concurrent.futures.as_completed(futures):
if fut.exception():
print(fut.exception())
else:
print("Success!")
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8339/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8339/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8340 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8340/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8340/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8340/events | https://github.com/pandas-dev/pandas/pull/8340 | 43,338,330 | MDExOlB1bGxSZXF1ZXN0MjE1NDk1MjE= | 8,340 | CLN: pep8 clean up of sql.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 8 | 2014-09-21T15:59:08Z | 2014-09-21T23:29:18Z | 2014-09-21T17:25:41Z | 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/8340/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8340/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8340.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8340",
"merged_at": "2014-09-21T17:25:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8340.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8340"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/8341 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8341/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8341/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8341/events | https://github.com/pandas-dev/pandas/issues/8341 | 43,342,817 | MDU6SXNzdWU0MzM0MjgxNw== | 8,341 | BUG: to_sql fails with datetime.time values with sqlite fallback mode | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
]
| closed | false | null | []
| {
"closed_at": "2016-03-12T16:19:08Z",
"closed_issues": 469,
"created_at": "2015-07-19T20:18:45Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2016-03-13T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/36",
"id": 1214851,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36/labels",
"node_id": "MDk6TWlsZXN0b25lMTIxNDg1MQ==",
"number": 36,
"open_issues": 0,
"state": "closed",
"title": "0.18.0",
"updated_at": "2016-12-06T21:34:41Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36"
} | 8 | 2014-09-21T19:14:23Z | 2016-02-24T12:55:26Z | 2016-02-24T12:55:26Z | MEMBER | null | Columns of `datetime.time` were not yet supported in sqlite fallback mode (as noted in #7567, and do work for sqlalchemy), but it now seems to fail silently with master (instead of raising an error).
Using:
```
import sqlite3
con = sqlite3.connect(':memory:')
dt = pd.date_range('2014-01-01', periods=10, freq='10h')
df = pd.DataFrame({'date':dt.date, 'time':dt.time})
df.to_sql('test_datetime', con, index=False, if_exists='replace')
```
gives:
```
In [37]: pd.read_sql_query('select * from test_datetime', con)
Out[37]:
Empty DataFrame
Columns: [date, time]
Index: []
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8341/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8341/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8342 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8342/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8342/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8342/events | https://github.com/pandas-dev/pandas/issues/8342 | 43,343,283 | MDU6SXNzdWU0MzM0MzI4Mw== | 8,342 | API: integrate with openpyxl 2.0-2.1 changes | {
"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": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 31 | 2014-09-21T19:33:47Z | 2015-09-21T15:35:47Z | 2015-09-21T15:35:47Z | CONTRIBUTOR | null | Builds are failing on Travis due to some issue with Excel (weirdly passed on merge but then started failing a few commits later). Currently investigating. C.f. https://travis-ci.org/pydata/pandas/jobs/35873580
@neirbowj - any idea why these tests stopped passing?
It's all some variation on the following:
```
======================================================================
ERROR: test_tsframe (pandas.io.tests.test_excel.OpenpyxlTests_NoMerge)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/virtualenv/python3.4.1/lib/python3.4/site-packages/pandas/io/tests/test_excel.py", line 562, in test_tsframe
df.to_excel(path, 'test1')
File "/home/travis/virtualenv/python3.4.1/lib/python3.4/site-packages/pandas/util/decorators.py", line 88, in wrapper
return func(*args, **kwargs)
File "/home/travis/virtualenv/python3.4.1/lib/python3.4/site-packages/pandas/core/frame.py", line 1228, in to_excel
startrow=startrow, startcol=startcol)
File "/home/travis/virtualenv/python3.4.1/lib/python3.4/site-packages/pandas/io/excel.py", line 687, in write_cells
'number_format':{'format_code': self.datetime_format}}))
File "/home/travis/virtualenv/python3.4.1/lib/python3.4/site-packages/pandas/io/excel.py", line 757, in _convert_to_style_kwargs
new_v = _conv_to_x(v)
File "/home/travis/virtualenv/python3.4.1/lib/python3.4/site-packages/pandas/io/excel.py", line 1043, in _convert_to_number_format
from openpyxl.styles import NumberFormat
ImportError: cannot import name 'NumberFormat'
----------------------------------------------------------------------
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8342/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8342/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8343 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8343/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8343/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8343/events | https://github.com/pandas-dev/pandas/issues/8343 | 43,343,445 | MDU6SXNzdWU0MzM0MzQ0NQ== | 8,343 | API/ENH/COMPAT: compat for datetime.time via Timedelta | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "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": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": 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 | 2014-09-21T19:41:06Z | 2018-07-06T22:08:27Z | 2018-07-06T22:08:15Z | CONTRIBUTOR | null | Now that `Timedelta` is a full fledged type. It is quite trivial to convert a `datetime.time` to a `Timedelta`.
pros:
- highly performant
- very similar output
- no need to create a `TimeBlock`
cons:
- no longer a `datetime.time` instance (instead its a sub-class of `datetime.timedelta`)
- doesn't support `tz`(anyone actually use this 'feature')?
- negative times would be allowed (eg. I think this is not allowed for `datetime.time`).
So either we go full-fledged and create a `Time` scalar and `TimeBlock` (though `TimeIndex` could work w/o these.). Its possible to also create a `TimeBlock` and NOT create a `Time` scalar.
That said creating a `Time` scalar is very easy and much simpler than `Timedelta` and shares a lot of code.
```
In [28]: s = Series([datetime.time(12,0,0),datetime.time(14,1,2),datetime.time(2,0,1)])
In [29]: s
Out[29]:
0 12:00:00
1 14:01:02
2 02:00:01
dtype: object
In [30]: pd.lib.infer_dtype(s)
Out [30]: 'time'
In [31]: s.iloc[0]
Out[31]: datetime.time(12, 0)
In [32]: s.apply(lambda x: pd.Timedelta(seconds=x.hour*3600+x.minute*60+x.second,microseconds=x.microsecond))
Out[32]:
0 12:00:00
1 14:01:02
2 02:00:01
dtype: timedelta64[ns]
In [32]: s.apply(lambda x: pd.Timedelta(seconds=x.hour*3600+x.minute*60+x.second,microseconds=x.microsecond)).iloc[0]
Out[32]: Timedelta('0 days 12:00:00')
```
thoughts?
Is `datetime.time` really THAT different from `datetime.timedelta` that it SHOULD be a full-fledged type?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8343/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8343/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8344 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8344/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8344/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8344/events | https://github.com/pandas-dev/pandas/issues/8344 | 43,344,682 | MDU6SXNzdWU0MzM0NDY4Mg== | 8,344 | Panel.clip() doesn't accept (even) scalar values | {
"avatar_url": "https://avatars.githubusercontent.com/u/1119641?v=4",
"events_url": "https://api.github.com/users/skycaptain/events{/privacy}",
"followers_url": "https://api.github.com/users/skycaptain/followers",
"following_url": "https://api.github.com/users/skycaptain/following{/other_user}",
"gists_url": "https://api.github.com/users/skycaptain/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/skycaptain",
"id": 1119641,
"login": "skycaptain",
"node_id": "MDQ6VXNlcjExMTk2NDE=",
"organizations_url": "https://api.github.com/users/skycaptain/orgs",
"received_events_url": "https://api.github.com/users/skycaptain/received_events",
"repos_url": "https://api.github.com/users/skycaptain/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/skycaptain/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/skycaptain/subscriptions",
"type": "User",
"url": "https://api.github.com/users/skycaptain"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 2 | 2014-09-21T20:35:22Z | 2018-07-06T20:21:05Z | 2017-07-11T09:56:32Z | CONTRIBUTOR | null | Let's take the following example:
``` python
d = {'Item1' : pandas.DataFrame(numpy.random.randn(4, 3)),
'Item2' : pandas.DataFrame(numpy.random.randn(4, 2))}
p = pandas.Panel(d)
p.clip(0,1)
```
If I run the script with pandas 0.14.1 on both python 2.7.8 and 3.4.1 I'm getting the following error:
```
Traceback (most recent call last):
File "Untitled.py", line 11, in <module>
p.clip(0,1)
File "/usr/local/lib/python2.7/site-packages/pandas/core/generic.py", line 2684, in clip
result = result.clip_lower(lower)
File "/usr/local/lib/python2.7/site-packages/pandas/core/generic.py", line 2722, in clip_lower
return self.where((self >= threshold) | isnull(self), threshold)
File "/usr/local/lib/python2.7/site-packages/pandas/core/ops.py", line 934, in f
self._constructor.__name__)
ValueError: Simple arithmetic with Panel can only be done with scalar values
```
Digging a little bit deeper showed that the following line (the | operator to be precise) raises the error:
https://github.com/pydata/pandas/blob/1d65bc89d64c71f8d36f3ca92dd57db2efad7fdb/pandas/core/generic.py#L2796
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8344/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8344/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8345 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8345/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8345/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8345/events | https://github.com/pandas-dev/pandas/pull/8345 | 43,347,649 | MDExOlB1bGxSZXF1ZXN0MjE1NTM0Mjc= | 8,345 | ENH/BUG: allow timedelta resamples | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
},
{
"color": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 0 | 2014-09-21T22:28:34Z | 2014-09-22T19:34:15Z | 2014-09-22T19:29:24Z | CONTRIBUTOR | null | - [x] docs
```
In [4]: pd.set_option('max_rows',10)
In [5]: df = DataFrame({'A' : np.arange(1480)},index=pd.to_timedelta(np.arange(1480),unit='T'))
In [6]: df
Out[6]:
A
0 days 00:00:00 0
0 days 00:01:00 1
0 days 00:02:00 2
0 days 00:03:00 3
0 days 00:04:00 4
... ...
1 days 00:35:00 1475
1 days 00:36:00 1476
1 days 00:37:00 1477
1 days 00:38:00 1478
1 days 00:39:00 1479
[1480 rows x 1 columns]
In [7]: df.resample('30T',how='sum')
Out[7]:
A
0 days 00:00:00 435
0 days 00:30:00 1335
0 days 01:00:00 2235
0 days 01:30:00 3135
0 days 02:00:00 4035
... ...
0 days 22:30:00 40935
0 days 23:00:00 41835
0 days 23:30:00 42735
1 days 00:00:00 43635
1 days 00:30:00 14745
[50 rows x 1 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/8345/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8345/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8345.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8345",
"merged_at": "2014-09-22T19:29:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8345.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8345"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8346 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8346/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8346/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8346/events | https://github.com/pandas-dev/pandas/issues/8346 | 43,348,024 | MDU6SXNzdWU0MzM0ODAyNA== | 8,346 | RLS: 0.15.0 release schedule | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "006b75",
"default": false,
"description": null,
"id": 131473665,
"name": "Release",
"node_id": "MDU6TGFiZWwxMzE0NzM2NjU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Release"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 28 | 2014-09-21T22:46:47Z | 2014-10-21T11:42:23Z | 2014-10-19T21:39:41Z | CONTRIBUTOR | null | Going to push the schedule at least a week (from end of sept).
Let's try for end of 1st week of oct for RC, and end of 2nd week for final.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8346/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8346/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8347 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8347/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8347/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8347/events | https://github.com/pandas-dev/pandas/issues/8347 | 43,348,629 | MDU6SXNzdWU0MzM0ODYyOQ== | 8,347 | DOC: Specialities wiki | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 2 | 2014-09-21T23:17:17Z | 2014-10-01T09:27:36Z | 2014-09-23T14:32:45Z | CONTRIBUTOR | null | I created this wiki page: https://github.com/pydata/pandas/wiki/Specialities
feel free to add/update/change if you think you should (or not) be tagged in a particular category.
This is really for the core-devs reference as to know whom to cc when an issue comes 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/8347/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8347/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8348 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8348/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8348/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8348/events | https://github.com/pandas-dev/pandas/pull/8348 | 43,352,856 | MDExOlB1bGxSZXF1ZXN0MjE1NTU2MDk= | 8,348 | BUG: _Openpyxl2Writer mishandles merged cell style | {
"avatar_url": "https://avatars.githubusercontent.com/u/1879063?v=4",
"events_url": "https://api.github.com/users/neirbowj/events{/privacy}",
"followers_url": "https://api.github.com/users/neirbowj/followers",
"following_url": "https://api.github.com/users/neirbowj/following{/other_user}",
"gists_url": "https://api.github.com/users/neirbowj/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/neirbowj",
"id": 1879063,
"login": "neirbowj",
"node_id": "MDQ6VXNlcjE4NzkwNjM=",
"organizations_url": "https://api.github.com/users/neirbowj/orgs",
"received_events_url": "https://api.github.com/users/neirbowj/received_events",
"repos_url": "https://api.github.com/users/neirbowj/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/neirbowj/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/neirbowj/subscriptions",
"type": "User",
"url": "https://api.github.com/users/neirbowj"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 5 | 2014-09-22T01:45:34Z | 2014-10-15T17:55:49Z | 2014-10-15T17:55:49Z | CONTRIBUTOR | null | Thanks to @jtratner for catching this.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8348/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8348/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8348.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8348",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8348.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8348"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8349 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8349/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8349/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8349/events | https://github.com/pandas-dev/pandas/issues/8349 | 43,421,560 | MDU6SXNzdWU0MzQyMTU2MA== | 8,349 | Bug on pivot_table with margins and dict aggfunc | {
"avatar_url": "https://avatars.githubusercontent.com/u/8857606?v=4",
"events_url": "https://api.github.com/users/RenzoBertocchi/events{/privacy}",
"followers_url": "https://api.github.com/users/RenzoBertocchi/followers",
"following_url": "https://api.github.com/users/RenzoBertocchi/following{/other_user}",
"gists_url": "https://api.github.com/users/RenzoBertocchi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/RenzoBertocchi",
"id": 8857606,
"login": "RenzoBertocchi",
"node_id": "MDQ6VXNlcjg4NTc2MDY=",
"organizations_url": "https://api.github.com/users/RenzoBertocchi/orgs",
"received_events_url": "https://api.github.com/users/RenzoBertocchi/received_events",
"repos_url": "https://api.github.com/users/RenzoBertocchi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/RenzoBertocchi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RenzoBertocchi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/RenzoBertocchi"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 8 | 2014-09-22T07:01:38Z | 2014-09-30T16:05:42Z | 2014-09-30T16:05:42Z | CONTRIBUTOR | null | I think there is a bug on pandas 0.14.1 pivot_table using dictionary aggfunc and margins.
Test code:
<code>df=pandas.DataFrame([
{'JOB':'Worker','NAME':'Bob' ,'YEAR':2013,'MONTH':12,'DAYS': 3,'SALARY': 17},
{'JOB':'Employ','NAME':'Mary','YEAR':2013,'MONTH':12,'DAYS': 5,'SALARY': 23},
{'JOB':'Worker','NAME':'Bob' ,'YEAR':2014,'MONTH': 1,'DAYS':10,'SALARY':100},
{'JOB':'Worker','NAME':'Bob' ,'YEAR':2014,'MONTH': 1,'DAYS':11,'SALARY':110},
{'JOB':'Employ','NAME':'Mary','YEAR':2014,'MONTH': 1,'DAYS':15,'SALARY':200},
{'JOB':'Worker','NAME':'Bob' ,'YEAR':2014,'MONTH': 2,'DAYS': 8,'SALARY': 80},
{'JOB':'Employ','NAME':'Mary','YEAR':2014,'MONTH': 2,'DAYS': 5,'SALARY':190}
])</code>
<code>df=df.set_index(['JOB','NAME','YEAR','MONTH'],drop=False,append=False)</code>
<code>df=df.pivot_table(index=['JOB','NAME'],columns=['YEAR','MONTH'],values=['DAYS','SALARY'],aggfunc={'DAYS':'mean','SALARY':'sum'})</code>
All works fine but raise error using margins:
<code>df=df.pivot_table(index=['JOB','NAME'],columns=['YEAR','MONTH'],values=['DAYS','SALARY'],aggfunc={'DAYS':'mean','SALARY':'sum'},margins=True)
df=df.pivot_table(index=['JOB','NAME'],columns=['YEAR','MONTH'],values=['DAYS','SALARY'],aggfunc={'DAYS':'mean','SALARY':'sum'},margins=True)
File "/usr/local/lib/python2.7/site-packages/pandas-0.14.1-py2.7-linux-x86_64.egg/pandas/util/decorators.py", line 60, in wrapper
return func(_args, *_kwargs)
File "/usr/local/lib/python2.7/site-packages/pandas-0.14.1-py2.7-linux-x86_64.egg/pandas/util/decorators.py", line 60, in wrapper
return func(_args, *_kwargs)
File "/usr/local/lib/python2.7/site-packages/pandas-0.14.1-py2.7-linux-x86_64.egg/pandas/tools/pivot.py", line 147, in pivot_table
cols=columns, aggfunc=aggfunc)
File "/usr/local/lib/python2.7/site-packages/pandas-0.14.1-py2.7-linux-x86_64.egg/pandas/tools/pivot.py", line 191, in _add_margins
row_margin[k] = grand_margin[k[0]]
KeyError: 'SALARY'
</code>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8349/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8349/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8350 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8350/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8350/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8350/events | https://github.com/pandas-dev/pandas/issues/8350 | 43,427,084 | MDU6SXNzdWU0MzQyNzA4NA== | 8,350 | Why does pandas work around numpy limitations with custom dtypes instead of fixing them upstream? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1217238?v=4",
"events_url": "https://api.github.com/users/shoyer/events{/privacy}",
"followers_url": "https://api.github.com/users/shoyer/followers",
"following_url": "https://api.github.com/users/shoyer/following{/other_user}",
"gists_url": "https://api.github.com/users/shoyer/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/shoyer",
"id": 1217238,
"login": "shoyer",
"node_id": "MDQ6VXNlcjEyMTcyMzg=",
"organizations_url": "https://api.github.com/users/shoyer/orgs",
"received_events_url": "https://api.github.com/users/shoyer/received_events",
"repos_url": "https://api.github.com/users/shoyer/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/shoyer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shoyer/subscriptions",
"type": "User",
"url": "https://api.github.com/users/shoyer"
} | []
| closed | false | null | []
| null | 17 | 2014-09-22T07:26:30Z | 2015-10-20T22:42:35Z | 2015-10-20T22:42:35Z | MEMBER | null | I was thinking particularly of cases like `datetime64`, `Categorical` and `GeoSeries` (from geopandas).
I recently posted on the numpy discussion mailing to try to get a sense of what solutions exist for writing custom dtypes without writing C. Unfortunately, it appears there's not much hope!
http://mail.scipy.org/pipermail/numpy-discussion/2014-September/071231.html
@njsmith suggested that I really should ask pandas developers to chime in to find out why they choose to work around numpy's limitations rather than enhance it. I would love it if someone who understands the "why" for the choices pandas made could add their perspective to that thread.
@jreback @JanSchulz any thoughts to add? or did a sum it up well enough with "nobody wants to write C"?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8350/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8350/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8351 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8351/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8351/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8351/events | https://github.com/pandas-dev/pandas/issues/8351 | 43,480,723 | MDU6SXNzdWU0MzQ4MDcyMw== | 8,351 | DOC: move Trellis plotting under Plotting | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 7 | 2014-09-22T13:14:35Z | 2014-09-29T13:06:34Z | 2014-09-22T21:46:12Z | CONTRIBUTOR | null | As this is not really a fleshed out section, kind of odd to have it as a top-level
@TomAugspurger
@jorisvandenbossche
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8351/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8351/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8352 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8352/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8352/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8352/events | https://github.com/pandas-dev/pandas/pull/8352 | 43,494,777 | MDExOlB1bGxSZXF1ZXN0MjE1ODM5NDY= | 8,352 | BUG: Work-around openpyxl-2.1.0 NumberFormat removal | {
"avatar_url": "https://avatars.githubusercontent.com/u/1879063?v=4",
"events_url": "https://api.github.com/users/neirbowj/events{/privacy}",
"followers_url": "https://api.github.com/users/neirbowj/followers",
"following_url": "https://api.github.com/users/neirbowj/following{/other_user}",
"gists_url": "https://api.github.com/users/neirbowj/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/neirbowj",
"id": 1879063,
"login": "neirbowj",
"node_id": "MDQ6VXNlcjE4NzkwNjM=",
"organizations_url": "https://api.github.com/users/neirbowj/orgs",
"received_events_url": "https://api.github.com/users/neirbowj/received_events",
"repos_url": "https://api.github.com/users/neirbowj/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/neirbowj/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/neirbowj/subscriptions",
"type": "User",
"url": "https://api.github.com/users/neirbowj"
} | [
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 4 | 2014-09-22T14:43:41Z | 2014-09-23T12:54:55Z | 2014-09-22T15:55:24Z | CONTRIBUTOR | null | See #8342. This patch should allow all tests to pass with any supported openpyxl v1, and with openpyxl 2.1.0. Consider this an interim measure, not a complete fix.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8352/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8352/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8352.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8352",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8352.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8352"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8353 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8353/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8353/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8353/events | https://github.com/pandas-dev/pandas/pull/8353 | 43,497,119 | MDExOlB1bGxSZXF1ZXN0MjE1ODQ4ODU= | 8,353 | DOC: move trellis under visualization.rst | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 4 | 2014-09-22T14:57:08Z | 2017-05-15T21:16:01Z | 2014-09-22T21:46:12Z | CONTRIBUTOR | null | Closes https://github.com/pydata/pandas/issues/8351
Just moved it and changed a few heading levels. I could add a note about considering seaborn. I've never used rplot.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8353/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8353/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8353.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8353",
"merged_at": "2014-09-22T21:46:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8353.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8353"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8354 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8354/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8354/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8354/events | https://github.com/pandas-dev/pandas/pull/8354 | 43,500,902 | MDExOlB1bGxSZXF1ZXN0MjE1ODY1NDI= | 8,354 | Bug on pivot_table with margins and dict aggfunc | {
"avatar_url": "https://avatars.githubusercontent.com/u/8857606?v=4",
"events_url": "https://api.github.com/users/RenzoBertocchi/events{/privacy}",
"followers_url": "https://api.github.com/users/RenzoBertocchi/followers",
"following_url": "https://api.github.com/users/RenzoBertocchi/following{/other_user}",
"gists_url": "https://api.github.com/users/RenzoBertocchi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/RenzoBertocchi",
"id": 8857606,
"login": "RenzoBertocchi",
"node_id": "MDQ6VXNlcjg4NTc2MDY=",
"organizations_url": "https://api.github.com/users/RenzoBertocchi/orgs",
"received_events_url": "https://api.github.com/users/RenzoBertocchi/received_events",
"repos_url": "https://api.github.com/users/RenzoBertocchi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/RenzoBertocchi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RenzoBertocchi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/RenzoBertocchi"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 9 | 2014-09-22T15:19:37Z | 2014-09-30T16:05:42Z | 2014-09-30T16:05:15Z | CONTRIBUTOR | null | closes #8349
bug on pandas 0.14.1 pivot_table using dictionary aggfunc and margins.
Test code:
<pre>
<code>
df=pandas.DataFrame([
{'JOB':'Worker','NAME':'Bob' ,'YEAR':2013,'MONTH':12,'DAYS': 3,'SALARY': 17},
{'JOB':'Employ','NAME':'Mary','YEAR':2013,'MONTH':12,'DAYS': 5,'SALARY': 23},
{'JOB':'Worker','NAME':'Bob' ,'YEAR':2014,'MONTH': 1,'DAYS':10,'SALARY':100},
{'JOB':'Worker','NAME':'Bob' ,'YEAR':2014,'MONTH': 1,'DAYS':11,'SALARY':110},
{'JOB':'Employ','NAME':'Mary','YEAR':2014,'MONTH': 1,'DAYS':15,'SALARY':200},
{'JOB':'Worker','NAME':'Bob' ,'YEAR':2014,'MONTH': 2,'DAYS': 8,'SALARY': 80},
{'JOB':'Employ','NAME':'Mary','YEAR':2014,'MONTH': 2,'DAYS': 5,'SALARY':190} ])
df=df.set_index(['JOB','NAME','YEAR','MONTH'],drop=False,append=False)
df=df.pivot_table(index=['JOB','NAME'],
columns=['YEAR','MONTH'],
values=['DAYS','SALARY'],
aggfunc={'DAYS':'mean','SALARY':'sum'})
</code>
</pre>
All works fine but raise error using margins:
<pre>
<code>
df=df.pivot_table(index=['JOB','NAME'],
columns=['YEAR','MONTH'],
values=['DAYS','SALARY'],
aggfunc={'DAYS':'mean','SALARY':'sum'},
margins=True)
</code>
</pre>
df=df.pivot_table(index=['JOB','NAME'],columns=['YEAR','MONTH'],values=['DAYS','SALARY'],aggfunc={'DAYS':'mean','SALARY':'sum'},margins=True)
File "/usr/local/lib/python2.7/site-packages/pandas-0.14.1-py2.7-linux-x86_64.egg/pandas/util/decorators.py", line 60, in wrapper
return func(_args, *_kwargs)
File "/usr/local/lib/python2.7/site-packages/pandas-0.14.1-py2.7-linux-x86_64.egg/pandas/util/decorators.py", line 60, in wrapper
return func(_args, *_kwargs)
File "/usr/local/lib/python2.7/site-packages/pandas-0.14.1-py2.7-linux-x86_64.egg/pandas/tools/pivot.py", line 147, in pivot_table
cols=columns, aggfunc=aggfunc)
File "/usr/local/lib/python2.7/site-packages/pandas-0.14.1-py2.7-linux-x86_64.egg/pandas/tools/pivot.py", line 191, in _add_margins
row_margin[k] = grand_margin[k[0]]
KeyError: 'SALARY'
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8354/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8354/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8354.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8354",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8354.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8354"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8355 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8355/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8355/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8355/events | https://github.com/pandas-dev/pandas/pull/8355 | 43,503,231 | MDExOlB1bGxSZXF1ZXN0MjE1ODc1MTI= | 8,355 | Test margins with dictionary aggfunc | {
"avatar_url": "https://avatars.githubusercontent.com/u/8857606?v=4",
"events_url": "https://api.github.com/users/RenzoBertocchi/events{/privacy}",
"followers_url": "https://api.github.com/users/RenzoBertocchi/followers",
"following_url": "https://api.github.com/users/RenzoBertocchi/following{/other_user}",
"gists_url": "https://api.github.com/users/RenzoBertocchi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/RenzoBertocchi",
"id": 8857606,
"login": "RenzoBertocchi",
"node_id": "MDQ6VXNlcjg4NTc2MDY=",
"organizations_url": "https://api.github.com/users/RenzoBertocchi/orgs",
"received_events_url": "https://api.github.com/users/RenzoBertocchi/received_events",
"repos_url": "https://api.github.com/users/RenzoBertocchi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/RenzoBertocchi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RenzoBertocchi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/RenzoBertocchi"
} | []
| closed | false | null | []
| null | 0 | 2014-09-22T15:33:12Z | 2014-09-23T12:26:37Z | 2014-09-23T07:50:42Z | 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/8355/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8355/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8355.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8355",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8355.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8355"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/8356 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8356/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8356/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8356/events | https://github.com/pandas-dev/pandas/pull/8356 | 43,506,927 | MDExOlB1bGxSZXF1ZXN0MjE1ODkwNjc= | 8,356 | BUG: Work-around openpyxl-2.1.0 NumberFormat removal | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 0 | 2014-09-22T15:54:57Z | 2014-09-22T16:39:26Z | 2014-09-22T16:39:26Z | CONTRIBUTOR | null | xref #8342
compat for openpyxl: 2.0.0 thru 2.1.0, but a bit hacky
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8356/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8356/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8356.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8356",
"merged_at": "2014-09-22T16:39:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8356.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8356"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8357 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8357/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8357/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8357/events | https://github.com/pandas-dev/pandas/pull/8357 | 43,509,183 | MDExOlB1bGxSZXF1ZXN0MjE1OTAwMTQ= | 8,357 | Changed round_trip converter to Python converter instead of strtod | {
"avatar_url": "https://avatars.githubusercontent.com/u/6729036?v=4",
"events_url": "https://api.github.com/users/mdmueller/events{/privacy}",
"followers_url": "https://api.github.com/users/mdmueller/followers",
"following_url": "https://api.github.com/users/mdmueller/following{/other_user}",
"gists_url": "https://api.github.com/users/mdmueller/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mdmueller",
"id": 6729036,
"login": "mdmueller",
"node_id": "MDQ6VXNlcjY3MjkwMzY=",
"organizations_url": "https://api.github.com/users/mdmueller/orgs",
"received_events_url": "https://api.github.com/users/mdmueller/received_events",
"repos_url": "https://api.github.com/users/mdmueller/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mdmueller/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mdmueller/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mdmueller"
} | [
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 8 | 2014-09-22T16:08:17Z | 2014-09-28T16:24:39Z | 2014-09-27T01:48:08Z | CONTRIBUTOR | null | As @mdickinson noted in #8044.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8357/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8357/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8357.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8357",
"merged_at": "2014-09-27T01:48:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8357.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8357"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8358 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8358/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8358/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8358/events | https://github.com/pandas-dev/pandas/issues/8358 | 43,510,528 | MDU6SXNzdWU0MzUxMDUyOA== | 8,358 | API/BUG: Indexing a DatetimeIndex by Period | {
"avatar_url": "https://avatars.githubusercontent.com/u/7441788?v=4",
"events_url": "https://api.github.com/users/seth-p/events{/privacy}",
"followers_url": "https://api.github.com/users/seth-p/followers",
"following_url": "https://api.github.com/users/seth-p/following{/other_user}",
"gists_url": "https://api.github.com/users/seth-p/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/seth-p",
"id": 7441788,
"login": "seth-p",
"node_id": "MDQ6VXNlcjc0NDE3ODg=",
"organizations_url": "https://api.github.com/users/seth-p/orgs",
"received_events_url": "https://api.github.com/users/seth-p/received_events",
"repos_url": "https://api.github.com/users/seth-p/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/seth-p/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/seth-p/subscriptions",
"type": "User",
"url": "https://api.github.com/users/seth-p"
} | [
{
"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": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "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 | []
| null | 5 | 2014-09-22T16:16:24Z | 2014-09-22T16:39:15Z | 2014-09-22T16:19:20Z | CONTRIBUTOR | null | Curiously one can index a DatetimeIndex by the string representation of a Period, but not by an actual Period object. Is this intentional?
```
Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:45:13) [MSC v.1600 64 bit (AMD64)]
Type "copyright", "credits" or "license" for more information.
IPython 2.2.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: from pandas import Series, date_range, Period
In [2]: s = Series(range(365), index=date_range('2001-01-01', periods=365))
In [3]: s[str(Period('2001-03', 'M'))]
Out[3]:
2001-03-01 59
2001-03-02 60
2001-03-03 61
2001-03-04 62
2001-03-05 63
2001-03-06 64
2001-03-07 65
2001-03-08 66
2001-03-09 67
2001-03-10 68
2001-03-11 69
2001-03-12 70
2001-03-13 71
2001-03-14 72
2001-03-15 73
2001-03-16 74
2001-03-17 75
2001-03-18 76
2001-03-19 77
2001-03-20 78
2001-03-21 79
2001-03-22 80
2001-03-23 81
2001-03-24 82
2001-03-25 83
2001-03-26 84
2001-03-27 85
2001-03-28 86
2001-03-29 87
2001-03-30 88
2001-03-31 89
Freq: D, dtype: int32
In [4]: s[Period('2001-03', 'M')]
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-4-64d0668f17a9> in <module>()
----> 1 s[Period('2001-03', 'M')]
C:\Python34\lib\site-packages\pandas\core\series.py in __getitem__(self, key)
482 def __getitem__(self, key):
483 try:
--> 484 result = self.index.get_value(self, key)
485
486 if not np.isscalar(result):
C:\Python34\lib\site-packages\pandas\tseries\index.py in get_value(self, series, key)
1256 return self.get_value_maybe_box(series, key)
1257 except (TypeError, ValueError, KeyError):
-> 1258 raise KeyError(key)
1259
1260 def get_value_maybe_box(self, series, key):
KeyError: Period('2001-03', 'M')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8358/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8358/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8359 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8359/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8359/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8359/events | https://github.com/pandas-dev/pandas/issues/8359 | 43,529,903 | MDU6SXNzdWU0MzUyOTkwMw== | 8,359 | COMPAT/CLN: remove need for core/array.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 0 | 2014-09-22T18:25:17Z | 2014-09-29T13:21:50Z | 2014-09-29T13:21:50Z | CONTRIBUTOR | null | https://github.com/pydata/pandas/blob/master/pandas/core/array.py
not necessary and clutters the code ATM.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8359/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8359/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8360 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8360/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8360/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8360/events | https://github.com/pandas-dev/pandas/pull/8360 | 43,535,811 | MDExOlB1bGxSZXF1ZXN0MjE2MDExMDU= | 8,360 | BUG: OLS with clustering and nw_lags does not error | {
"avatar_url": "https://avatars.githubusercontent.com/u/4183570?v=4",
"events_url": "https://api.github.com/users/jessefarnham/events{/privacy}",
"followers_url": "https://api.github.com/users/jessefarnham/followers",
"following_url": "https://api.github.com/users/jessefarnham/following{/other_user}",
"gists_url": "https://api.github.com/users/jessefarnham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jessefarnham",
"id": 4183570,
"login": "jessefarnham",
"node_id": "MDQ6VXNlcjQxODM1NzA=",
"organizations_url": "https://api.github.com/users/jessefarnham/orgs",
"received_events_url": "https://api.github.com/users/jessefarnham/received_events",
"repos_url": "https://api.github.com/users/jessefarnham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jessefarnham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jessefarnham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jessefarnham"
} | [
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 5 | 2014-09-22T19:03:23Z | 2014-09-23T14:38:37Z | 2014-09-23T14:24:16Z | CONTRIBUTOR | null | Added statement to raise ValueError when OLS is run with clustering and
Newey-West adjustments. Closes #5884. This is a re-attempt at
GH8170.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8360/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8360/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8360.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8360",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8360.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8360"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8361 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8361/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8361/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8361/events | https://github.com/pandas-dev/pandas/issues/8361 | 43,551,237 | MDU6SXNzdWU0MzU1MTIzNw== | 8,361 | Use airspeed velocity for benchmarking | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 1 | 2014-09-22T20:54:05Z | 2016-07-25T09:43:06Z | 2015-08-19T00:32:16Z | MEMBER | null | Since `vbench` was (at least in part) an inspiration for [Airspeed Velocity](https://github.com/spacetelescope/asv/) (`asv`), I think getting something like this set up for `pandas` would be useful and extremely helpful for us and for `asv`. We have a _ton_ of `vbench` code and we'd probably be a great project for pushing the boundaries of and finding edge cases in `asv`. This would also be a great for someone to get to know the scale of datasets for which pandas was designed.
Here's a nice demo of `astropy` using `asv`: http://mdboom.github.io/astropy-benchmark
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8361/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8361/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8362 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8362/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8362/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8362/events | https://github.com/pandas-dev/pandas/issues/8362 | 43,557,695 | MDU6SXNzdWU0MzU1NzY5NQ== | 8,362 | Index.intersection bug? | {
"avatar_url": "https://avatars.githubusercontent.com/u/8483583?v=4",
"events_url": "https://api.github.com/users/tom-alcorn/events{/privacy}",
"followers_url": "https://api.github.com/users/tom-alcorn/followers",
"following_url": "https://api.github.com/users/tom-alcorn/following{/other_user}",
"gists_url": "https://api.github.com/users/tom-alcorn/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tom-alcorn",
"id": 8483583,
"login": "tom-alcorn",
"node_id": "MDQ6VXNlcjg0ODM1ODM=",
"organizations_url": "https://api.github.com/users/tom-alcorn/orgs",
"received_events_url": "https://api.github.com/users/tom-alcorn/received_events",
"repos_url": "https://api.github.com/users/tom-alcorn/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tom-alcorn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tom-alcorn/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tom-alcorn"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 6 | 2014-09-22T21:40:52Z | 2014-09-29T14:28:06Z | 2014-09-29T14:28:06Z | CONTRIBUTOR | null | I ran into an odd behaviour when taking the intersection of two Indexes. Specifically,
``` python
left = pd.Index(['A','B','A','C'])
right = pd.Index(['B','D'])
left.intersection(right)
```
returns
``` python
Index(['B', 'C'], dtype='object')
```
However, I would expect this to return
``` python
Index(['B'], dtype='object')
```
If `Index(['B', 'C'], dtype='object')` is the intended behaviour, can someone explain the rationale behind it?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8362/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8362/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8363 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8363/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8363/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8363/events | https://github.com/pandas-dev/pandas/issues/8363 | 43,559,604 | MDU6SXNzdWU0MzU1OTYwNA== | 8,363 | BUG: datetime ops with non-unique indexes is buggy | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 1 | 2014-09-22T21:56:11Z | 2014-09-23T01:05:32Z | 2014-09-23T01:05:32Z | CONTRIBUTOR | null | from [SO](http://stackoverflow.com/questions/25963622/column-operations-with-pandas-dataframe-objects-with-non-unique-indices/25964177?noredirect=1#comment40684868_25964177)
```
In [3]: df = DataFrame({'A' : np.arange(5), 'B' : np.arange(1,6)},index=[2,2,3,3,4])
In [4]: df.B-df.A
Out[4]:
2 1
2 1
3 1
3 1
4 1
dtype: int64
In [5]: df = DataFrame({'A' : date_range('20130101',periods=5), 'B' : date_range('20130101 09:00:00', periods=5)},index=[2,2,3,3,4])
In [6]: df.B-df.A
Out[6]:
2 0 days 09:00:00
2 -1 days +09:00:00
2 1 days 09:00:00
2 0 days 09:00:00
3 0 days 09:00:00
3 -1 days +09:00:00
3 1 days 09:00:00
3 0 days 09:00:00
4 0 days 09:00:00
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/8363/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8363/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8364 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8364/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8364/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8364/events | https://github.com/pandas-dev/pandas/pull/8364 | 43,561,087 | MDExOlB1bGxSZXF1ZXN0MjE2MTI4NjQ= | 8,364 | BUG: Bug in alignment with TimeOps and non-unique indexes (GH8363) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 0 | 2014-09-22T22:07:36Z | 2014-09-23T01:05:32Z | 2014-09-23T01:05:32Z | CONTRIBUTOR | null | closes #8363
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8364/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8364/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8364.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8364",
"merged_at": "2014-09-23T01:05:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8364.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8364"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8365 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8365/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8365/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8365/events | https://github.com/pandas-dev/pandas/issues/8365 | 43,568,197 | MDU6SXNzdWU0MzU2ODE5Nw== | 8,365 | Series/DataFrame.rank() doesn't handle certain floats properly | {
"avatar_url": "https://avatars.githubusercontent.com/u/82713?v=4",
"events_url": "https://api.github.com/users/sandbox/events{/privacy}",
"followers_url": "https://api.github.com/users/sandbox/followers",
"following_url": "https://api.github.com/users/sandbox/following{/other_user}",
"gists_url": "https://api.github.com/users/sandbox/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sandbox",
"id": 82713,
"login": "sandbox",
"node_id": "MDQ6VXNlcjgyNzEz",
"organizations_url": "https://api.github.com/users/sandbox/orgs",
"received_events_url": "https://api.github.com/users/sandbox/received_events",
"repos_url": "https://api.github.com/users/sandbox/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sandbox/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sandbox/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sandbox"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "006b75",
"default": false,
"description": "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"
} | 2 | 2014-09-22T23:15:24Z | 2015-03-03T01:15:35Z | 2015-03-03T01:15:35Z | NONE | null | There appears to be an issue with floats that are close together in series.rank(), pandas version 0.14. For reference this test worked in pandas 0.12.0.
### Current Behavior
```
>>> series = pd.Series([1000.000669 , 1000.000041 , 1000.000059 , 1000.000063 , 1000.000121 , 1000.000104 , 1000.000040 , 1000.000062 , 1000.000095 , 1000.000091 , 1000.000050 , 1000.000074 , 1000.000063 , 1000.000076 , 1000.000083 , 1000.000061 , 1000.000030 , 1000.000069 , 1000.000090 , 1000.000116 , 1000.000058 , 1000.000074 , 1000.000035 , 1000.000084 , 1000.000067 , 1000.000072 , 1000.000105 , 1000.000091 , 1000.000077 , 1000.000040 , 1000.000108 , 1000.000117 , 1000.000114 , 1000.000117 , 1000.000099 , 1000.000039 , 1000.000046 , 1000.000105 , 1000.000057])
>>> series.rank()
0 39.0
1 19.5
2 19.5
3 19.5
4 19.5
5 19.5
6 19.5
7 19.5
8 19.5
9 19.5
10 19.5
11 19.5
12 19.5
13 19.5
14 19.5
15 19.5
16 19.5
17 19.5
18 19.5
19 19.5
20 19.5
21 19.5
22 19.5
23 19.5
24 19.5
25 19.5
26 19.5
27 19.5
28 19.5
29 19.5
30 19.5
31 19.5
32 19.5
33 19.5
34 19.5
35 19.5
36 19.5
37 19.5
38 19.5
dtype: float64
```
### Expected Behavior
```
>>> from scipy import stats
>>> stats.rankdata(series)
array([ 39. , 6. , 11. , 14.5, 38. , 30. , 4.5, 13. , 28. ,
26.5, 8. , 19.5, 14.5, 21. , 23. , 12. , 1. , 17. ,
25. , 35. , 10. , 19.5, 2. , 24. , 16. , 18. , 31.5,
26.5, 22. , 4.5, 33. , 36.5, 34. , 36.5, 29. , 3. ,
7. , 31.5, 9. ])
```
### System Information
```
>>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.6.final.0
python-bits: 64
OS: Darwin
OS-release: 13.3.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.14.1
nose: 1.3.4
Cython: 0.21
numpy: 1.8.1
scipy: 0.14.0
statsmodels: 0.5.0
IPython: None
sphinx: None
patsy: 0.3.0
scikits.timeseries: None
dateutil: 2.2
pytz: 2014.7
bottleneck: 0.8.0
tables: 3.0.0
numexpr: 2.4
matplotlib: None
openpyxl: 2.1.0
xlrd: 0.9.3
xlwt: 0.7.5
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
rpy2: None
sqlalchemy: 0.8.0
pymysql: None
psycopg2: 2.5.4 (dt dec pq3 ext)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8365/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8365/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8366 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8366/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8366/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8366/events | https://github.com/pandas-dev/pandas/pull/8366 | 43,580,711 | MDExOlB1bGxSZXF1ZXN0MjE2MjEyNTE= | 8,366 | DataFrame.dropna bug fix | {
"avatar_url": "https://avatars.githubusercontent.com/u/6242856?v=4",
"events_url": "https://api.github.com/users/mcjcode/events{/privacy}",
"followers_url": "https://api.github.com/users/mcjcode/followers",
"following_url": "https://api.github.com/users/mcjcode/following{/other_user}",
"gists_url": "https://api.github.com/users/mcjcode/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mcjcode",
"id": 6242856,
"login": "mcjcode",
"node_id": "MDQ6VXNlcjYyNDI4NTY=",
"organizations_url": "https://api.github.com/users/mcjcode/orgs",
"received_events_url": "https://api.github.com/users/mcjcode/received_events",
"repos_url": "https://api.github.com/users/mcjcode/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mcjcode/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mcjcode/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mcjcode"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 3 | 2014-09-23T01:44:39Z | 2014-09-25T00:38:15Z | 2014-09-25T00:05:35Z | CONTRIBUTOR | null | Bug fix for #8303. Now raise KeyError if any non-existent columns are passed in the subset argument.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8366/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8366/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8366.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8366",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8366.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8366"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8367 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8367/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8367/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8367/events | https://github.com/pandas-dev/pandas/issues/8367 | 43,598,418 | MDU6SXNzdWU0MzU5ODQxOA== | 8,367 | Timezone info is lost when pickling datetime indices | {
"avatar_url": "https://avatars.githubusercontent.com/u/1845771?v=4",
"events_url": "https://api.github.com/users/edrevo/events{/privacy}",
"followers_url": "https://api.github.com/users/edrevo/followers",
"following_url": "https://api.github.com/users/edrevo/following{/other_user}",
"gists_url": "https://api.github.com/users/edrevo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/edrevo",
"id": 1845771,
"login": "edrevo",
"node_id": "MDQ6VXNlcjE4NDU3NzE=",
"organizations_url": "https://api.github.com/users/edrevo/orgs",
"received_events_url": "https://api.github.com/users/edrevo/received_events",
"repos_url": "https://api.github.com/users/edrevo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/edrevo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/edrevo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/edrevo"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 8 | 2014-09-23T07:23:20Z | 2014-09-23T15:12:58Z | 2014-09-23T14:58:45Z | NONE | null | ``` python
>>> c.head(3)
end_time
location_id sensor_id view_id start_time
54 1000305 0 2014-07-21 07:00:00+00:00 2014-07-21 07:15:00+00:00
2014-07-21 07:15:00+00:00 2014-07-21 07:30:00+00:00
2014-07-21 07:30:00+00:00 2014-07-21 07:45:00+00:00
>>> c.to_pickle(r"C:\temp\fff")
>>> pd.read_pickle(r"C:\temp\fff").head(3)
end_time
location_id sensor_id view_id start_time
54 1000305 0 2014-07-21 07:00:00 2014-07-21 07:15:00+00:00
2014-07-21 07:15:00 2014-07-21 07:30:00+00:00
2014-07-21 07:30:00 2014-07-21 07:45:00+00:00
```
Please note that the timezone is lost from `start_time`.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8367/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8367/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8368 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8368/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8368/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8368/events | https://github.com/pandas-dev/pandas/issues/8368 | 43,600,448 | MDU6SXNzdWU0MzYwMDQ0OA== | 8,368 | DatetimeIndex.to_series loses timezone information | {
"avatar_url": "https://avatars.githubusercontent.com/u/1845771?v=4",
"events_url": "https://api.github.com/users/edrevo/events{/privacy}",
"followers_url": "https://api.github.com/users/edrevo/followers",
"following_url": "https://api.github.com/users/edrevo/following{/other_user}",
"gists_url": "https://api.github.com/users/edrevo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/edrevo",
"id": 1845771,
"login": "edrevo",
"node_id": "MDQ6VXNlcjE4NDU3NzE=",
"organizations_url": "https://api.github.com/users/edrevo/orgs",
"received_events_url": "https://api.github.com/users/edrevo/received_events",
"repos_url": "https://api.github.com/users/edrevo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/edrevo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/edrevo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/edrevo"
} | [
{
"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 | 2 | 2014-09-23T07:56:45Z | 2014-09-23T11:39:58Z | 2014-09-23T11:39:50Z | NONE | null | ``` python
>> f
<class 'pandas.tseries.index.DatetimeIndex'>
[2014-07-25 07:00:37+00:00, ..., 2014-07-26 07:50:17+00:00]
Length: 53304, Freq: None, Timezone: UTC
>> f.to_series()
datetime
2014-07-25 07:00:37+00:00 2014-07-25 07:00:37
2014-07-25 07:11:36+00:00 2014-07-25 07:11:36
2014-07-25 08:01:48+00:00 2014-07-25 08:01:48
2014-07-23 07:00:31+00:00 2014-07-23 07:00:31
2014-07-23 07:00:40+00:00 2014-07-23 07:00:40
2014-07-23 17:27:36+00:00 2014-07-23 17:27:36
2014-07-23 17:33:00+00:00 2014-07-23 17:33:00
2014-07-23 19:44:10+00:00 2014-07-23 19:44:10
2014-07-23 20:10:50+00:00 2014-07-23 20:10:50
2014-07-21 07:10:18+00:00 2014-07-21 07:10:18
2014-07-21 07:49:06+00:00 2014-07-21 07:49:06
2014-07-21 21:54:48+00:00 2014-07-21 21:54:48
2014-07-25 07:00:23+00:00 2014-07-25 07:00:23
2014-07-25 07:00:23+00:00 2014-07-25 07:00:23
2014-07-25 08:06:16+00:00 2014-07-25 08:06:16
...
2014-07-27 19:49:12+00:00 2014-07-27 19:49:12
2014-07-27 19:49:28+00:00 2014-07-27 19:49:28
2014-07-27 19:50:10+00:00 2014-07-27 19:50:10
2014-07-27 19:51:51+00:00 2014-07-27 19:51:51
2014-07-27 19:51:52+00:00 2014-07-27 19:51:52
2014-07-27 19:52:52+00:00 2014-07-27 19:52:52
2014-07-26 12:52:46+00:00 2014-07-26 12:52:46
2014-07-26 12:52:46+00:00 2014-07-26 12:52:46
2014-07-26 12:52:46+00:00 2014-07-26 12:52:46
2014-07-23 16:04:22+00:00 2014-07-23 16:04:22
2014-07-23 16:04:22+00:00 2014-07-23 16:04:22
2014-07-23 16:04:22+00:00 2014-07-23 16:04:22
2014-07-26 07:50:07+00:00 2014-07-26 07:50:07
2014-07-26 07:50:16+00:00 2014-07-26 07:50:16
2014-07-26 07:50:17+00:00 2014-07-26 07:50:17
Name: datetime, Length: 53304
>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.7.final.0
python-bits: 64
OS: Windows
OS-release: 8
machine: AMD64
processor: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.14.0
nose: 1.3.3
Cython: 0.20.1
numpy: 1.8.1
scipy: 0.14.0
statsmodels: 0.5.0
IPython: 2.1.0
sphinx: 1.2.2
patsy: 0.2.1
scikits.timeseries: None
dateutil: 1.5
pytz: 2014.3
bottleneck: None
tables: 3.1.1
numexpr: 2.3.1
matplotlib: 1.3.1
openpyxl: 1.8.5
xlrd: 0.9.3
xlwt: 0.7.5
xlsxwriter: 0.5.5
lxml: 3.3.5
bs4: 4.3.1
html5lib: None
bq: None
apiclient: None
rpy2: None
sqlalchemy: 0.9.4
pymysql: None
psycopg2: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8368/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8368/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8369 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8369/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8369/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8369/events | https://github.com/pandas-dev/pandas/issues/8369 | 43,603,920 | MDU6SXNzdWU0MzYwMzkyMA== | 8,369 | DataFrame.set_value() raise Exception | {
"avatar_url": "https://avatars.githubusercontent.com/u/8779801?v=4",
"events_url": "https://api.github.com/users/cyyang81/events{/privacy}",
"followers_url": "https://api.github.com/users/cyyang81/followers",
"following_url": "https://api.github.com/users/cyyang81/following{/other_user}",
"gists_url": "https://api.github.com/users/cyyang81/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cyyang81",
"id": 8779801,
"login": "cyyang81",
"node_id": "MDQ6VXNlcjg3Nzk4MDE=",
"organizations_url": "https://api.github.com/users/cyyang81/orgs",
"received_events_url": "https://api.github.com/users/cyyang81/received_events",
"repos_url": "https://api.github.com/users/cyyang81/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cyyang81/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cyyang81/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cyyang81"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
]
| closed | false | null | []
| null | 1 | 2014-09-23T08:46:11Z | 2014-09-23T11:37:18Z | 2014-09-23T11:37:08Z | NONE | null | In [97]:df=pd.DataFrame({'x':['A','B','C'],'y':['0','0','0']})
```
x y
```
0 A 0
1 B 0
2 C 0
In [99]:df.set_value(index=df.x.str.startswith('A'),col='y',value='1')
---
TypeError Traceback (most recent call last)
<ipython-input-99-08195440f2b8> in <module>()
----> 1 df.set_value(index=df.x.str.startswith('A'),col='y',value='1')
D:\winpython\WinPython-32bit-2.7.6.4\python-2.7.6\lib\site-packages\pandas\core\frame.pyc in set_value(self, index, col, value, takeable)
1572 series = self._get_item_cache(col)
1573 engine = self.index._engine
-> 1574 engine.set_value(series.values, index, value)
1575 return self
1576 except KeyError:
D:\winpython\WinPython-32bit-2.7.6.4\python-2.7.6\lib\site-packages\pandas\index.pyd in pandas.index.IndexEngine.set_value (pandas\index.c:3231)()
D:\winpython\WinPython-32bit-2.7.6.4\python-2.7.6\lib\site-packages\pandas\index.pyd in pandas.index.IndexEngine.set_value (pandas\index.c:3064)()
D:\winpython\WinPython-32bit-2.7.6.4\python-2.7.6\lib\site-packages\pandas\index.pyd in pandas.index.IndexEngine.get_loc (pandas\index.c:3324)()
TypeError:
In [100]:df.set_value(index=df.x.str.startswith('A'),col='z',value='1')
```
x y z
```
0 A 0 1
1 B 0 NaN
2 C 0 NaN
why the parameter 'col' must set as a new column will be ok?
## INSTALLED VERSIONS
commit: None
python: 2.7.6.final.0
python-bits: 32
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.14.0
nose: 1.3.1
Cython: 0.20.1
numpy: 1.8.1
scipy: 0.13.3
statsmodels: 0.5.0
IPython: 2.0.0
sphinx: 1.2.2
patsy: 0.2.1
scikits.timeseries: None
dateutil: 2.2
pytz: 2013.9
bottleneck: None
tables: 3.1.1
numexpr: 2.3.1
matplotlib: 1.3.1
openpyxl: 1.6.1
xlrd: 0.9.3
xlwt: 0.7.5
xlsxwriter: None
lxml: 3.3.5
bs4: 4.3.2
html5lib: None
bq: None
apiclient: None
rpy2: None
sqlalchemy: 0.9.4
pymysql: None
psycopg2: None
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8369/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8369/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8370 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8370/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8370/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8370/events | https://github.com/pandas-dev/pandas/pull/8370 | 43,634,526 | MDExOlB1bGxSZXF1ZXN0MjE2NDgyODY= | 8,370 | BUG/COMPAT: set tz on DatetimeIndex on pickle reconstruction (GH8367) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 0 | 2014-09-23T14:17:10Z | 2014-09-23T14:58:45Z | 2014-09-23T14:58:45Z | CONTRIBUTOR | null | closes #8367
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8370/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8370/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8370.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8370",
"merged_at": "2014-09-23T14:58:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8370.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8370"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8371 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8371/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8371/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8371/events | https://github.com/pandas-dev/pandas/issues/8371 | 43,650,746 | MDU6SXNzdWU0MzY1MDc0Ng== | 8,371 | Resample method doesn't round timestamps with prime numbers frequency | {
"avatar_url": "https://avatars.githubusercontent.com/u/1236375?v=4",
"events_url": "https://api.github.com/users/mapsa/events{/privacy}",
"followers_url": "https://api.github.com/users/mapsa/followers",
"following_url": "https://api.github.com/users/mapsa/following{/other_user}",
"gists_url": "https://api.github.com/users/mapsa/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mapsa",
"id": 1236375,
"login": "mapsa",
"node_id": "MDQ6VXNlcjEyMzYzNzU=",
"organizations_url": "https://api.github.com/users/mapsa/orgs",
"received_events_url": "https://api.github.com/users/mapsa/received_events",
"repos_url": "https://api.github.com/users/mapsa/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mapsa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mapsa/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mapsa"
} | [
{
"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": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 1 | 2014-09-23T16:22:27Z | 2014-09-26T15:57:37Z | 2014-09-26T15:57:37Z | NONE | null | Hi,
I've found this issue when I tried to resample at different frequencies. When the frequency is a prime number, the first timestamp is not rounded and it takes the first timestamp in the file. Do I need an extra parameter to round timestamps?
``` python
csv = r"""Date,Time,Ask,Bid,AskVolume,BidVolume
11-08-2014,00:00:01.093,1.34046,1.34042,1.25,1.69
11-08-2014,00:00:02.159,1.34047,1.34043,4.69,1
11-08-2014,00:00:02.667,1.34046,1.34042,1.32,2.44
11-08-2014,00:00:03.175,1.34046,1.34043,1.32,1
11-08-2014,00:00:07.058,1.34046,1.34043,3.75,1.69
11-08-2014,00:00:07.362,1.34043,1.34041,2.25,1
11-08-2014,00:00:08.324,1.34043,1.34042,1.5,1
11-08-2014,00:00:08.830,1.34045,1.34043,2.44,1
11-08-2014,00:00:08.982,1.34043,1.34041,3,1.69
11-08-2014,00:00:09.815,1.34042,1.34041,1,1
11-08-2014,00:00:10.540,1.34043,1.34041,2.63,1
11-08-2014,00:00:11.061,1.34043,1.3404,7.99,2.25
11-08-2014,00:00:11.617,1.34042,1.34041,1.13,1
11-08-2014,00:00:13.607,1.34043,1.3404,7.5,3.19
11-08-2014,00:00:14.535,1.34043,1.34041,5.25,1
11-08-2014,00:00:15.525,1.34043,1.34041,3.38,1.25
11-08-2014,00:00:17.960,1.34043,1.34041,4.5,1.25
11-08-2014,00:00:20.674,1.34042,1.3404,1.13,2.07
11-08-2014,00:00:21.191,1.34041,1.3404,1,1"""
filename = 'sample.csv'
f = open(filename, 'w')
f.write(csv)
f.close()
df = pd.read_csv(filename, parse_dates={'Timestamp': ['Date', 'Time']}, index_col='Timestamp')
print df.resample('6s', fill_method='bfill')
print df.resample('7s', fill_method='bfill')
print df.resample('11s', fill_method='bfill')
print df.resample('13s', fill_method='bfill')
print df.resample('17s', fill_method='bfill')
```
Thanks,
Paola
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8371/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8371/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8372 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8372/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8372/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8372/events | https://github.com/pandas-dev/pandas/pull/8372 | 43,662,528 | MDExOlB1bGxSZXF1ZXN0MjE2NjQxODE= | 8,372 | BUG: bug in non-evently divisible offsets when resampling (e.g. '7s') (GH8371) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 0 | 2014-09-23T18:02:55Z | 2014-09-26T15:57:37Z | 2014-09-26T15:57:37Z | CONTRIBUTOR | null | closes #8371
```
In [1]: data = """date,time,value
...: 11-08-2014,00:00:01.093,1
...: 11-08-2014,00:00:02.159,1
...: 11-08-2014,00:00:02.667,1
...: 11-08-2014,00:00:03.175,1
...: 11-08-2014,00:00:07.058,1
...: 11-08-2014,00:00:07.362,1
...: 11-08-2014,00:00:08.324,1
...: 11-08-2014,00:00:08.830,1
...: 11-08-2014,00:00:08.982,1
...: 11-08-2014,00:00:09.815,1
...: 11-08-2014,00:00:10.540,1
...: 11-08-2014,00:00:11.061,1
...: 11-08-2014,00:00:11.617,1
...: 11-08-2014,00:00:13.607,1
...: 11-08-2014,00:00:14.535,1
...: 11-08-2014,00:00:15.525,1
...: 11-08-2014,00:00:17.960,1
...: 11-08-2014,00:00:20.674,1
...: 11-08-2014,00:00:21.191,1"""
In [2]: df = pd.read_csv(StringIO(data), parse_dates={'timestamp': ['date', 'time']}, index_col='timestamp')
In [3]: df
Out[3]:
value
timestamp
2014-11-08 00:00:01.093000 1
2014-11-08 00:00:02.159000 1
2014-11-08 00:00:02.667000 1
2014-11-08 00:00:03.175000 1
2014-11-08 00:00:07.058000 1
2014-11-08 00:00:07.362000 1
2014-11-08 00:00:08.324000 1
2014-11-08 00:00:08.830000 1
2014-11-08 00:00:08.982000 1
2014-11-08 00:00:09.815000 1
2014-11-08 00:00:10.540000 1
2014-11-08 00:00:11.061000 1
2014-11-08 00:00:11.617000 1
2014-11-08 00:00:13.607000 1
2014-11-08 00:00:14.535000 1
2014-11-08 00:00:15.525000 1
2014-11-08 00:00:17.960000 1
2014-11-08 00:00:20.674000 1
2014-11-08 00:00:21.191000 1
In [4]: df.resample('6s', how='sum')
Out[4]:
value
timestamp
2014-11-08 00:00:00 4
2014-11-08 00:00:06 9
2014-11-08 00:00:12 4
2014-11-08 00:00:18 2
In [5]: df.resample('7s', how='sum')
Out[5]:
value
timestamp
2014-11-08 00:00:00 4
2014-11-08 00:00:07 10
2014-11-08 00:00:14 4
2014-11-08 00:00:21 1
In [6]: df.resample('11s', how='sum')
Out[6]:
value
timestamp
2014-11-08 00:00:00 11
2014-11-08 00:00:11 8
In [7]: df.resample('13s', how='sum')
Out[7]:
value
timestamp
2014-11-08 00:00:00 13
2014-11-08 00:00:13 6
In [8]: df.resample('17s', how='sum')
Out[8]:
value
timestamp
2014-11-08 00:00:00 16
2014-11-08 00:00:17 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/8372/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8372/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8372.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8372",
"merged_at": "2014-09-26T15:57:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8372.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8372"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8373 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8373/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8373/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8373/events | https://github.com/pandas-dev/pandas/pull/8373 | 43,669,300 | MDExOlB1bGxSZXF1ZXN0MjE2NjgwMjQ= | 8,373 | ENH: Added file path existence check for read_hdf | {
"avatar_url": "https://avatars.githubusercontent.com/u/2265497?v=4",
"events_url": "https://api.github.com/users/jbradish/events{/privacy}",
"followers_url": "https://api.github.com/users/jbradish/followers",
"following_url": "https://api.github.com/users/jbradish/following{/other_user}",
"gists_url": "https://api.github.com/users/jbradish/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbradish",
"id": 2265497,
"login": "jbradish",
"node_id": "MDQ6VXNlcjIyNjU0OTc=",
"organizations_url": "https://api.github.com/users/jbradish/orgs",
"received_events_url": "https://api.github.com/users/jbradish/received_events",
"repos_url": "https://api.github.com/users/jbradish/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbradish/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbradish/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbradish"
} | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 8 | 2014-09-23T19:00:22Z | 2014-09-26T22:06:29Z | 2014-09-26T22:06:18Z | CONTRIBUTOR | null | closes #7715
Added simple check for file path existence. It might be more advisable to deprecate this function and separate file buffer and file path read functionality, but the current form matches the rest of the API.
I wasn't sure if there was any tests I needed to add, but if there is, let me know.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8373/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8373/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8373.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8373",
"merged_at": "2014-09-26T22:06:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8373.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8373"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8374 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8374/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8374/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8374/events | https://github.com/pandas-dev/pandas/pull/8374 | 43,669,400 | MDExOlB1bGxSZXF1ZXN0MjE2NjgwODI= | 8,374 | BUG: Intersection buggy for non-monotonic non-unique indices (GH8362) | {
"avatar_url": "https://avatars.githubusercontent.com/u/8483583?v=4",
"events_url": "https://api.github.com/users/tom-alcorn/events{/privacy}",
"followers_url": "https://api.github.com/users/tom-alcorn/followers",
"following_url": "https://api.github.com/users/tom-alcorn/following{/other_user}",
"gists_url": "https://api.github.com/users/tom-alcorn/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tom-alcorn",
"id": 8483583,
"login": "tom-alcorn",
"node_id": "MDQ6VXNlcjg0ODM1ODM=",
"organizations_url": "https://api.github.com/users/tom-alcorn/orgs",
"received_events_url": "https://api.github.com/users/tom-alcorn/received_events",
"repos_url": "https://api.github.com/users/tom-alcorn/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tom-alcorn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tom-alcorn/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tom-alcorn"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 5 | 2014-09-23T19:01:12Z | 2014-09-29T14:28:06Z | 2014-09-29T14:27:54Z | CONTRIBUTOR | null | Fixes intersection bug in the case of non-monotonic non-unique indexes.
closes #8362
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8374/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8374/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8374.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8374",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8374.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8374"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8375 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8375/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8375/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8375/events | https://github.com/pandas-dev/pandas/issues/8375 | 43,688,271 | MDU6SXNzdWU0MzY4ODI3MQ== | 8,375 | categorical fixup 3 | {
"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": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 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"
} | 12 | 2014-09-23T21:44:14Z | 2018-07-06T22:06:48Z | 2018-07-06T22:06:37Z | CONTRIBUTOR | null | - [ ] check that plot does the right thing, i.e. ordering of the categories
- [ ] Make a utils.testing.makeCategorical() `Series(np.array(list('abcdefghij')).take(np.random.randint(0,10,size=len(df)))).astype('category')` + NaN + type + size + unique kword?
- [ ] check for `self.values.xxx` in `Series` and check that the methods using such call work when values is a `Categorical`. See https://github.com/pydata/pandas/pull/7447
- [ ] Apply and Categoricals: https://github.com/pydata/pandas/issues/8065
- [ ] Categorical.searchsorted() #8420
- [x] docs: "[...] number of possible values (categories; -categories-+levels+ in R). " https://github.com/pydata/pandas/pull/8561
- [x] move assert_categorical_equal to testing.py and fix "categories" failure msg
- [x] check whatsnew: In the note change "levels" to "categories" and `s/Schultz/Schulz/`
- [x] docstring in #8077 (comment)
- [x] add a link to "comparison with R" section from http://pandas-docs.github.io/pandas-docs-travis/comparison_with_r.html
- [x] check that the memory info is doing the right thing for categorical (https://github.com/pydata/pandas/pull/7619)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8375/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8375/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8376 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8376/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8376/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8376/events | https://github.com/pandas-dev/pandas/issues/8376 | 43,689,367 | MDU6SXNzdWU0MzY4OTM2Nw== | 8,376 | Deprecations of levels in categorical in 2017/ after 0.18 | {
"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": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 6 | 2014-09-23T21:54:53Z | 2016-07-15T10:30:26Z | 2016-07-15T10:28:35Z | CONTRIBUTOR | null | `levels` was renamed to `categories`. Take out the deprecated property, the proerty in the Series.cat accessor, and the attribute in the constructor
Look for `TODO: Remove after deprecation period in 2017/ after 0.18` and `TODO: remove levels after the deprecation period`.
Should be added to #6581
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8376/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8376/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8377 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8377/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8377/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8377/events | https://github.com/pandas-dev/pandas/issues/8377 | 43,694,863 | MDU6SXNzdWU0MzY5NDg2Mw== | 8,377 | ERR/BUG: df2.fillna(df1) should raise NotImplementedError | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 0 | 2014-09-23T22:56:51Z | 2014-09-26T15:19:39Z | 2014-09-26T15:19:39Z | CONTRIBUTOR | null | from [SO](http://stackoverflow.com/questions/26002564/pandas-fillna-method-with-multiindex-nans-are-filled-with-wrong-columns)
`df2.fillna(df1)` should be implemented by:
`df2.where(df2.notnull(),df2,df1)`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8377/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8377/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8378 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8378/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8378/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8378/events | https://github.com/pandas-dev/pandas/pull/8378 | 43,696,979 | MDExOlB1bGxSZXF1ZXN0MjE2ODMzMjA= | 8,378 | API: .fillna will now raise a NotImplementedError when passed a DataFrame (GH8377) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 0 | 2014-09-23T23:24:28Z | 2014-09-24T11:59:42Z | 2014-09-24T11:59:42Z | CONTRIBUTOR | null | xref #8377
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8378/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8378/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8378.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8378",
"merged_at": "2014-09-24T11:59:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8378.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8378"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8379 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8379/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8379/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8379/events | https://github.com/pandas-dev/pandas/pull/8379 | 43,705,143 | MDExOlB1bGxSZXF1ZXN0MjE2ODc2Nzc= | 8,379 | BUG: floats cannot be ranked with tolerance | {
"avatar_url": "https://avatars.githubusercontent.com/u/1288998?v=4",
"events_url": "https://api.github.com/users/behzadnouri/events{/privacy}",
"followers_url": "https://api.github.com/users/behzadnouri/followers",
"following_url": "https://api.github.com/users/behzadnouri/following{/other_user}",
"gists_url": "https://api.github.com/users/behzadnouri/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/behzadnouri",
"id": 1288998,
"login": "behzadnouri",
"node_id": "MDQ6VXNlcjEyODg5OTg=",
"organizations_url": "https://api.github.com/users/behzadnouri/orgs",
"received_events_url": "https://api.github.com/users/behzadnouri/received_events",
"repos_url": "https://api.github.com/users/behzadnouri/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/behzadnouri/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/behzadnouri/subscriptions",
"type": "User",
"url": "https://api.github.com/users/behzadnouri"
} | [
{
"color": "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"
} | 37 | 2014-09-24T01:40:16Z | 2015-03-05T12:47:34Z | 2015-03-03T01:15:35Z | CONTRIBUTOR | null | closes https://github.com/pydata/pandas/issues/8365
using tolerance in ranking floats can result in inconsistent behavior; currently on master:
```
>>> pd.Series([1001, 1001.0002]).rank()
0 1
1 2
dtype: float64
>>> pd.Series([1001, 1001.0001, 1001.0002]).rank()
0 2
1 2
2 2
dtype: float64
```
so, in effect `1001 == 1001.0002` if one takes small steps in between.
on branch:
```
>>> pd.Series([1001, 1001.0002]).rank()
0 1
1 2
dtype: float64
>>> pd.Series([1001, 1001.0001, 1001.0002]).rank()
0 1
1 2
2 3
dtype: float64
```
original issue(https://github.com/pydata/pandas/issues/8365):
```
>>> from scipy import stats
>>> ts = pd.Series([1000.000669 , 1000.000041 , 1000.000059 , 1000.000063 , 1000.000121 , 1000.000104 , 1000.000040 , 1000.000062 , 1000.000095 , 1000.000091 , 1000.000050 , 1000.000074 , 1000.000063 , 1000.000076 , 1000.000083 , 1000.000061 , 1000.000030 , 1000.000069 , 1000.000090 , 1000.000116 , 1000.000058 , 1000.000074 , 1000.000035 , 1000.000084 , 1000.000067 , 1000.000072 , 1000.000105 , 1000.000091 , 1000.000077 , 1000.000040 , 1000.000108 , 1000.000117 , 1000.000114 , 1000.000117 , 1000.000099 , 1000.000039 , 1000.000046 , 1000.000105 , 1000.000057])
>>> np.all(ts.rank() == stats.rankdata(ts))
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/8379/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8379/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8379.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8379",
"merged_at": "2015-03-03T01:15:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8379.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8379"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8380 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8380/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8380/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8380/events | https://github.com/pandas-dev/pandas/issues/8380 | 43,725,830 | MDU6SXNzdWU0MzcyNTgzMA== | 8,380 | Read_csv not correctly opening file | {
"avatar_url": "https://avatars.githubusercontent.com/u/8894894?v=4",
"events_url": "https://api.github.com/users/ChrisLeahy/events{/privacy}",
"followers_url": "https://api.github.com/users/ChrisLeahy/followers",
"following_url": "https://api.github.com/users/ChrisLeahy/following{/other_user}",
"gists_url": "https://api.github.com/users/ChrisLeahy/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ChrisLeahy",
"id": 8894894,
"login": "ChrisLeahy",
"node_id": "MDQ6VXNlcjg4OTQ4OTQ=",
"organizations_url": "https://api.github.com/users/ChrisLeahy/orgs",
"received_events_url": "https://api.github.com/users/ChrisLeahy/received_events",
"repos_url": "https://api.github.com/users/ChrisLeahy/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ChrisLeahy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ChrisLeahy/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ChrisLeahy"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| closed | false | null | []
| null | 2 | 2014-09-24T07:00:46Z | 2015-10-20T23:11:12Z | 2015-10-20T23:11:12Z | NONE | null | I'm trying to open part of a csv file using pandas read_csv. The section I am opening has a header on line 746, and goes to line 1120.
``` python
df = read_csv(inputfile,header=746,nrows=374,index_col=False)
```
I then get an error
CParserError: Error tokenizing data. C error: Expected 9 fields in line 1121, saw 17
The error makes sense, because in line 1121 of the file, the data changes from 9 fields to 17. What doesn't make sense is why it is trying to read line 1121, as the nrows and header should only open lines up to 1120.
I can get it to work by decreasing the number of rows to below 232. This still works even if I increase the header number so it starts further down the file (eg increase it to 800).
There doesn't seem to be anything special about the last line it will read, and it will read lines further in the file if I increase the header number. Other similar files work fine.
The file is available at http://filedropper.com/lowerove
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8380/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8380/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8381 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8381/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8381/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8381/events | https://github.com/pandas-dev/pandas/issues/8381 | 43,770,150 | MDU6SXNzdWU0Mzc3MDE1MA== | 8,381 | groupby, as_index=False, with pandas.Series.count() as an agg | {
"avatar_url": "https://avatars.githubusercontent.com/u/7581592?v=4",
"events_url": "https://api.github.com/users/marctollin/events{/privacy}",
"followers_url": "https://api.github.com/users/marctollin/followers",
"following_url": "https://api.github.com/users/marctollin/following{/other_user}",
"gists_url": "https://api.github.com/users/marctollin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/marctollin",
"id": 7581592,
"login": "marctollin",
"node_id": "MDQ6VXNlcjc1ODE1OTI=",
"organizations_url": "https://api.github.com/users/marctollin/orgs",
"received_events_url": "https://api.github.com/users/marctollin/received_events",
"repos_url": "https://api.github.com/users/marctollin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/marctollin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/marctollin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/marctollin"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 16 | 2014-09-24T14:19:15Z | 2015-09-30T11:37:42Z | 2015-09-30T11:26:27Z | NONE | null | Why doesn't the pandas.Series.count() method work as a valid aggregation with groupby when as_index=False?
``` python
df=pd.DataFrame([['foo','foo','bar','bar','bar','oats'],[1.0,2.0,3.0,4.0,4.0,5.0],[2.0,3.0,4.0,5.0,1.0,5.0]]).T
df.columns=['mycat','var1','var2']
df.var1=df.var1.astype('int64')
df.var2=df.var2.astype('int64')
df
```

Now, if I try to do a group by
``` python
df.groupby('mycat', as_index=False).var1.count()
```
Here is the error I get:
```
ValueError Traceback (most recent call last)
<ipython-input-383-27b244bccb8b> in <module>()
----> 1 df.groupby('mycat', as_index=False).var1.count()
/usr/local/lib/python2.7/dist-packages/pandas/core/groupby.pyc in count(self, axis)
740
741 def count(self, axis=0):
--> 742 return self._count().astype('int64')
743
744 def ohlc(self):
/usr/local/lib/python2.7/dist-packages/pandas/core/generic.pyc in astype(self, dtype, copy, raise_on_error)
2096
2097 mgr = self._data.astype(
-> 2098 dtype=dtype, copy=copy, raise_on_error=raise_on_error)
2099 return self._constructor(mgr).__finalize__(self)
2100
/usr/local/lib/python2.7/dist-packages/pandas/core/internals.pyc in astype(self, dtype, **kwargs)
2235
2236 def astype(self, dtype, **kwargs):
-> 2237 return self.apply('astype', dtype=dtype, **kwargs)
2238
2239 def convert(self, **kwargs):
/usr/local/lib/python2.7/dist-packages/pandas/core/internals.pyc in apply(self, f, axes, filter, do_integrity_check, **kwargs)
2190 copy=align_copy)
2191
-> 2192 applied = getattr(b, f)(**kwargs)
2193
2194 if isinstance(applied, list):
/usr/local/lib/python2.7/dist-packages/pandas/core/internals.pyc in astype(self, dtype, copy, raise_on_error, values)
319 def astype(self, dtype, copy=False, raise_on_error=True, values=None):
320 return self._astype(dtype, copy=copy, raise_on_error=raise_on_error,
--> 321 values=values)
322
323 def _astype(self, dtype, copy=False, raise_on_error=True, values=None,
/usr/local/lib/python2.7/dist-packages/pandas/core/internals.pyc in _astype(self, dtype, copy, raise_on_error, values, klass)
337 if values is None:
338 # _astype_nansafe works fine with 1-d only
--> 339 values = com._astype_nansafe(self.values.ravel(), dtype, copy=True)
340 values = values.reshape(self.values.shape)
341 newb = make_block(values,
/usr/local/lib/python2.7/dist-packages/pandas/core/common.pyc in _astype_nansafe(arr, dtype, copy)
2410 elif arr.dtype == np.object_ and np.issubdtype(dtype.type, np.integer):
2411 # work around NumPy brokenness, #1987
-> 2412 return lib.astype_intsafe(arr.ravel(), dtype).reshape(arr.shape)
2413 elif issubclass(dtype.type, compat.string_types):
2414 return lib.astype_str(arr.ravel()).reshape(arr.shape)
/usr/local/lib/python2.7/dist-packages/pandas/lib.so in pandas.lib.astype_intsafe (pandas/lib.c:13456)()
/usr/local/lib/python2.7/dist-packages/pandas/lib.so in util.set_value_at (pandas/lib.c:55994)()
ValueError: invalid literal for long() with base 10: 'bar'
```
When i set as_index=True, I get
``` python
df.groupby('mycat', as_index=True).var1.count()
```

When I change the agg function and set_index=False, I get a weird result tooL
``` python
df.groupby('mycat', as_index=False).var1.agg(np.count_nonzero)
```

UPDATE: Realized my last result was not counting correctly and am now thoroughly confused.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8381/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8381/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8382 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8382/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8382/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8382/events | https://github.com/pandas-dev/pandas/issues/8382 | 43,807,553 | MDU6SXNzdWU0MzgwNzU1Mw== | 8,382 | TST: numpy 1.9 / matplotlib 1.4.0 on 3.4-64 bit windows | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "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": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 11 | 2014-09-24T19:54:04Z | 2014-09-27T13:08:26Z | 2014-09-27T13:08:26Z | CONTRIBUTOR | null | These passed on numpy 1.8/matplotlib 1.3.1 on 34-64 windows
just updated and now failing
```
======================================================================
ERROR: test_boxplot_empty_column (pandas.tests.test_graphics.TestDataFramePlots)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-3.4\pandas\tests\test_graphics.py", line 1980, in test_boxplot_empty_column
_check_plot_works(df.boxplot, return_type='axes')
File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-3.4\pandas\tests\test_graphics.py", line 3349, in _check_plot_works
ret = f(*args, **kwargs)
File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-3.4\pandas\core\frame.py", line 4921, in boxplot
**kwds)
File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-3.4\pandas\tools\plotting.py", line 2634, in boxplot
result = plot_group(columns, data.values.T, ax)
File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-3.4\pandas\tools\plotting.py", line 2585, in plot_group
bp = ax.boxplot(values, **kwds)
File "C:\Python34-64\lib\site-packages\matplotlib\axes\_axes.py", line 3045, in boxplot
labels=labels)
File "C:\Python34-64\lib\site-packages\matplotlib\cbook.py", line 1965, in boxplot_stats
q1, med, q3 = np.percentile(x, [25, 50, 75])
File "C:\Python34-64\lib\site-packages\numpy\lib\function_base.py", line 3042, in percentile
interpolation=interpolation)
File "C:\Python34-64\lib\site-packages\numpy\lib\function_base.py", line 2791, in _ureduce
r = func(a, **kwargs)
File "C:\Python34-64\lib\site-packages\numpy\lib\function_base.py", line 3131, in _percentile
x1 = take(ap, indices_below, axis=axis) * weights_below
File "C:\Python34-64\lib\site-packages\numpy\core\fromnumeric.py", line 121, in take
return take(indices, axis, out, mode)
IndexError: cannot do a non-empty take from an empty axes.
======================================================================
FAIL: test_boxplot (pandas.tests.test_graphics.TestDataFramePlots)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-3.4\pandas\tests\test_graphics.py", line 1794, in test_boxplot
self.assertEqual(len(ax.lines), 8 * len(numeric_cols))
AssertionError: 21 != 24
======================================================================
FAIL: test_boxplot_vertical (pandas.tests.test_graphics.TestDataFramePlots)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-3.4\pandas\tests\test_graphics.py", line 1828, in test_boxplot_vertical
self.assertEqual(len(ax.lines), 8 * len(numeric_cols))
AssertionError: 21 != 24
----------------------------------------------------------------------
Ran 7882 tests in 724.270s
FAILED (SKIP=267, errors=1, failures=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/8382/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8382/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8383 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8383/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8383/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8383/events | https://github.com/pandas-dev/pandas/issues/8383 | 43,808,377 | MDU6SXNzdWU0MzgwODM3Nw== | 8,383 | nanmin no longer works with series | {
"avatar_url": "https://avatars.githubusercontent.com/u/3595641?v=4",
"events_url": "https://api.github.com/users/rstoneback/events{/privacy}",
"followers_url": "https://api.github.com/users/rstoneback/followers",
"following_url": "https://api.github.com/users/rstoneback/following{/other_user}",
"gists_url": "https://api.github.com/users/rstoneback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rstoneback",
"id": 3595641,
"login": "rstoneback",
"node_id": "MDQ6VXNlcjM1OTU2NDE=",
"organizations_url": "https://api.github.com/users/rstoneback/orgs",
"received_events_url": "https://api.github.com/users/rstoneback/received_events",
"repos_url": "https://api.github.com/users/rstoneback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rstoneback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rstoneback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rstoneback"
} | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2018-05-16T03:09:58Z",
"closed_issues": 1645,
"created_at": "2017-10-20T10:17:09Z",
"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.22",
"due_on": "2018-05-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/53",
"id": 2853937,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53/labels",
"node_id": "MDk6TWlsZXN0b25lMjg1MzkzNw==",
"number": 53,
"open_issues": 0,
"state": "closed",
"title": "0.23.0",
"updated_at": "2018-08-20T06:48:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53"
} | 25 | 2014-09-24T20:01:52Z | 2018-02-19T13:50:57Z | 2018-02-19T13:50:57Z | NONE | null | Using NumPy's nanmin on a pandas Series worked as expected, now however the Series is returned with each element set to the minimum, rather than just getting the minimum. Not sure if this is a Numpy of Pandas issue.
```
np.nanmin(pds.Series([1,2,3,4]))
Out[14]:
0 1
1 1
2 1
3 1
dtype: int64
np.min(pds.Series([1,2,3,4]))
Out[15]: 1
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8383/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8383/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8384 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8384/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8384/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8384/events | https://github.com/pandas-dev/pandas/pull/8384 | 43,830,566 | MDExOlB1bGxSZXF1ZXN0MjE3NTQ3Njc= | 8,384 | non-existent columns in DataFrame.dropna subset argument now raises KeyError | {
"avatar_url": "https://avatars.githubusercontent.com/u/6242856?v=4",
"events_url": "https://api.github.com/users/mcjcode/events{/privacy}",
"followers_url": "https://api.github.com/users/mcjcode/followers",
"following_url": "https://api.github.com/users/mcjcode/following{/other_user}",
"gists_url": "https://api.github.com/users/mcjcode/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mcjcode",
"id": 6242856,
"login": "mcjcode",
"node_id": "MDQ6VXNlcjYyNDI4NTY=",
"organizations_url": "https://api.github.com/users/mcjcode/orgs",
"received_events_url": "https://api.github.com/users/mcjcode/received_events",
"repos_url": "https://api.github.com/users/mcjcode/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mcjcode/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mcjcode/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mcjcode"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 1 | 2014-09-25T00:31:10Z | 2014-09-26T14:35:25Z | 2014-09-26T14:35:18Z | CONTRIBUTOR | null | closes #8303.
Now instead of interpreting a bad column name as the 'last column' of the `DataFrame`, `dropna` will raise a `KeyError` instead. unit test and release note now included.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8384/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8384/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8384.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8384",
"merged_at": "2014-09-26T14:35:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8384.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8384"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8385 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8385/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8385/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8385/events | https://github.com/pandas-dev/pandas/pull/8385 | 43,889,436 | MDExOlB1bGxSZXF1ZXN0MjE3Njg2NjQ= | 8,385 | ENH: add the parameter dropna to the function to_dict. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1618971?v=4",
"events_url": "https://api.github.com/users/derDieDasJojo/events{/privacy}",
"followers_url": "https://api.github.com/users/derDieDasJojo/followers",
"following_url": "https://api.github.com/users/derDieDasJojo/following{/other_user}",
"gists_url": "https://api.github.com/users/derDieDasJojo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/derDieDasJojo",
"id": 1618971,
"login": "derDieDasJojo",
"node_id": "MDQ6VXNlcjE2MTg5NzE=",
"organizations_url": "https://api.github.com/users/derDieDasJojo/orgs",
"received_events_url": "https://api.github.com/users/derDieDasJojo/received_events",
"repos_url": "https://api.github.com/users/derDieDasJojo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/derDieDasJojo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/derDieDasJojo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/derDieDasJojo"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 10 | 2014-09-25T08:49:11Z | 2015-05-14T15:47:33Z | 2015-05-09T16:09:38Z | NONE | null | this is usefull because you cant reach the same effect by just using
dropna().to_dict() also see
http://stackoverflow.com/questions/26033301/make-pandas-dataframe-to-a-dict-and-dropna/26033302#26033302
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8385/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8385/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8385.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8385",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8385.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8385"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8386 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8386/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8386/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8386/events | https://github.com/pandas-dev/pandas/issues/8386 | 43,904,193 | MDU6SXNzdWU0MzkwNDE5Mw== | 8,386 | Not all DateOffsets are comparable | {
"avatar_url": "https://avatars.githubusercontent.com/u/1845771?v=4",
"events_url": "https://api.github.com/users/edrevo/events{/privacy}",
"followers_url": "https://api.github.com/users/edrevo/followers",
"following_url": "https://api.github.com/users/edrevo/following{/other_user}",
"gists_url": "https://api.github.com/users/edrevo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/edrevo",
"id": 1845771,
"login": "edrevo",
"node_id": "MDQ6VXNlcjE4NDU3NzE=",
"organizations_url": "https://api.github.com/users/edrevo/orgs",
"received_events_url": "https://api.github.com/users/edrevo/received_events",
"repos_url": "https://api.github.com/users/edrevo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/edrevo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/edrevo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/edrevo"
} | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "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": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 4 | 2014-09-25T10:45:54Z | 2020-03-10T05:19:05Z | 2020-03-10T05:19:05Z | NONE | null | ``` python
>>> from pandas.tseries.frequencies import to_offset as _to_offset
>>> _to_offset('D') < _to_offset('H')
False
>>> _to_offset('D') < _to_offset('W')
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-14-77799b586280> in <module>()
----> 1 _to_offset('D') < _to_offset('W')
C:\Anaconda\lib\site-packages\pandas\tseries\offsets.pyc in f(self, other)
1873 def _tick_comp(op):
1874 def f(self, other):
-> 1875 return op(self.delta, other.delta)
1876
1877 return f
AttributeError: 'Week' object has no attribute 'delta'
>>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.7.final.0
python-bits: 64
OS: Windows
OS-release: 8
machine: AMD64
processor: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.14.0
nose: 1.3.3
Cython: 0.20.1
numpy: 1.8.1
scipy: 0.14.0
statsmodels: 0.5.0
IPython: 2.1.0
sphinx: 1.2.2
patsy: 0.2.1
scikits.timeseries: None
dateutil: 1.5
pytz: 2014.3
bottleneck: None
tables: 3.1.1
numexpr: 2.3.1
matplotlib: 1.3.1
openpyxl: 1.8.5
xlrd: 0.9.3
xlwt: 0.7.5
xlsxwriter: 0.5.5
lxml: 3.3.5
bs4: 4.3.1
html5lib: None
bq: None
apiclient: None
rpy2: None
sqlalchemy: 0.9.4
pymysql: None
psycopg2: None
```
| {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8386/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8386/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8387 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8387/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8387/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8387/events | https://github.com/pandas-dev/pandas/issues/8387 | 43,906,154 | MDU6SXNzdWU0MzkwNjE1NA== | 8,387 | Pandas ignores index when assigning different dtypes. | {
"avatar_url": "https://avatars.githubusercontent.com/u/158309?v=4",
"events_url": "https://api.github.com/users/smatting/events{/privacy}",
"followers_url": "https://api.github.com/users/smatting/followers",
"following_url": "https://api.github.com/users/smatting/following{/other_user}",
"gists_url": "https://api.github.com/users/smatting/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/smatting",
"id": 158309,
"login": "smatting",
"node_id": "MDQ6VXNlcjE1ODMwOQ==",
"organizations_url": "https://api.github.com/users/smatting/orgs",
"received_events_url": "https://api.github.com/users/smatting/received_events",
"repos_url": "https://api.github.com/users/smatting/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/smatting/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/smatting/subscriptions",
"type": "User",
"url": "https://api.github.com/users/smatting"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 1 | 2014-09-25T11:06:51Z | 2014-09-29T15:19:49Z | 2014-09-29T15:19:49Z | NONE | null | Consider the following example:
``` python
import pandas
foo = pandas.Series( [ 0, 1, 2, 0 ] )
w = foo > 0
bar = foo[ w ].map( str )
print bar
foo[w] = bar
print foo
foo[w] = bar
print foo
```
gives the following output
```
1 1
2 2
dtype: object
0 0
1 NaN
2 1
3 0
dtype: object
0 0
1 1
2 2
3 0
dtype: object
```
It looks as if in the first assignemend `foo[w] = bar` the matching index of both sides is ignored.
Is this a bug or documented 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/8387/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8387/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8388 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8388/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8388/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8388/events | https://github.com/pandas-dev/pandas/pull/8388 | 43,920,874 | MDExOlB1bGxSZXF1ZXN0MjE3ODM1Nzk= | 8,388 | EHN: Allow DataFrame.fillna to accept a DataFrame as its fill value. | {
"avatar_url": "https://avatars.githubusercontent.com/u/443776?v=4",
"events_url": "https://api.github.com/users/unutbu/events{/privacy}",
"followers_url": "https://api.github.com/users/unutbu/followers",
"following_url": "https://api.github.com/users/unutbu/following{/other_user}",
"gists_url": "https://api.github.com/users/unutbu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/unutbu",
"id": 443776,
"login": "unutbu",
"node_id": "MDQ6VXNlcjQ0Mzc3Ng==",
"organizations_url": "https://api.github.com/users/unutbu/orgs",
"received_events_url": "https://api.github.com/users/unutbu/received_events",
"repos_url": "https://api.github.com/users/unutbu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/unutbu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/unutbu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/unutbu"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 1 | 2014-09-25T13:47:28Z | 2014-09-26T19:11:04Z | 2014-09-26T15:19:39Z | CONTRIBUTOR | null | Related: [SO](http://stackoverflow.com/q/26002564/190597)
Fixes #8377
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8388/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8388/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8388.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8388",
"merged_at": "2014-09-26T15:19:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8388.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8388"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8389 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8389/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8389/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8389/events | https://github.com/pandas-dev/pandas/issues/8389 | 43,937,491 | MDU6SXNzdWU0MzkzNzQ5MQ== | 8,389 | BUG: HDFStore doesn't support a Panel with MultiIndex when format='table' | {
"avatar_url": "https://avatars.githubusercontent.com/u/7441788?v=4",
"events_url": "https://api.github.com/users/seth-p/events{/privacy}",
"followers_url": "https://api.github.com/users/seth-p/followers",
"following_url": "https://api.github.com/users/seth-p/following{/other_user}",
"gists_url": "https://api.github.com/users/seth-p/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/seth-p",
"id": 7441788,
"login": "seth-p",
"node_id": "MDQ6VXNlcjc0NDE3ODg=",
"organizations_url": "https://api.github.com/users/seth-p/orgs",
"received_events_url": "https://api.github.com/users/seth-p/received_events",
"repos_url": "https://api.github.com/users/seth-p/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/seth-p/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/seth-p/subscriptions",
"type": "User",
"url": "https://api.github.com/users/seth-p"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "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"
} | 18 | 2014-09-25T16:16:15Z | 2018-07-06T20:21:05Z | 2017-07-11T09:56:19Z | CONTRIBUTOR | null | Looks like I can `append()` to an `HDFStore` object a `DataFrame` with a `MultiIndex`, but not a `Panel` with a `MultiIndex`. Similarly `put`ing the `Panel` with `format='fixed'` works, but with `format='table'` doesn't. So the problem appears to be with the table format.
```
Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:45:13) [MSC v.1600 64 bit (AMD64)]
Type "copyright", "credits" or "license" for more information.
IPython 2.2.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: from pandas import MultiIndex, DataFrame, Panel, HDFStore, show_versions
In [2]: mi = MultiIndex.from_tuples([('A','a'), ('A','b')])
In [3]: df = DataFrame([0., 1.], index=mi, columns=['X'])
In [4]: p = Panel([[[0, 1]]], items=['X'], major_axis=['Y'], minor_axis=mi)
In [5]: store = HDFStore('foo.h5')
In [6]: store.append('df', df)
In [7]: store.append('p', p)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-7-46ccb1da2f9f> in <module>()
----> 1 store.append('p', p)
C:\Python34\lib\site-packages\pandas\io\pytables.py in append(self, key, value, format, append, columns, dropna, **kwargs)
909 kwargs = self._validate_format(format, kwargs)
910 self._write_to_group(key, value, append=append, dropna=dropna,
--> 911 **kwargs)
912
913 def append_to_multiple(self, d, value, selector, data_columns=None,
C:\Python34\lib\site-packages\pandas\io\pytables.py in _write_to_group(self, key, value, format, index, append, complib, encoding, **kwargs)
1268
1269 # write the object
-> 1270 s.write(obj=value, append=append, complib=complib, **kwargs)
1271
1272 if s.is_table and index:
C:\Python34\lib\site-packages\pandas\io\pytables.py in write(self, obj, axes, append, complib, complevel, fletcher32, min_itemsize, chunksize, expectedrows, dropna, **kwargs)
3603 self.create_axes(axes=axes, obj=obj, validate=append,
3604 min_itemsize=min_itemsize,
-> 3605 **kwargs)
3606
3607 if not self.is_exists:
C:\Python34\lib\site-packages\pandas\io\pytables.py in create_axes(self, axes, obj, validate, nan_rep, data_columns, min_itemsize, **kwargs)
3168 index_axes_map[i] = _convert_index(
3169 a, self.encoding, self.format_type
-> 3170 ).set_name(name).set_axis(i)
3171 else:
3172
C:\Python34\lib\site-packages\pandas\io\pytables.py in _convert_index(index, encoding, format_type)
4082
4083 if isinstance(index, MultiIndex):
-> 4084 raise TypeError('MultiIndex not supported here!')
4085
4086 inferred_type = lib.infer_dtype(index)
TypeError: MultiIndex not supported here!
In [13]: store.put('f', p, format='fixed')
In [14]: store.put('t', p, format='table')
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-14-f6e096e264c1> in <module>()
----> 1 store.put('t', p, format='table')
C:\Python34\lib\site-packages\pandas\io\pytables.py in put(self, key, value, format, append, **kwargs)
816 format = get_option("io.hdf.default_format") or 'fixed'
817 kwargs = self._validate_format(format, kwargs)
--> 818 self._write_to_group(key, value, append=append, **kwargs)
819
820 def remove(self, key, where=None, start=None, stop=None):
C:\Python34\lib\site-packages\pandas\io\pytables.py in _write_to_group(self, key, value, format, index, append, complib, encoding, **kwargs)
1268
1269 # write the object
-> 1270 s.write(obj=value, append=append, complib=complib, **kwargs)
1271
1272 if s.is_table and index:
C:\Python34\lib\site-packages\pandas\io\pytables.py in write(self, obj, axes, append, complib, complevel, fletcher32, min_itemsize, chunksize, expectedrows, dropna, **kwargs)
3603 self.create_axes(axes=axes, obj=obj, validate=append,
3604 min_itemsize=min_itemsize,
-> 3605 **kwargs)
3606
3607 if not self.is_exists:
C:\Python34\lib\site-packages\pandas\io\pytables.py in create_axes(self, axes, obj, validate, nan_rep, data_columns, min_itemsize, **kwargs)
3168 index_axes_map[i] = _convert_index(
3169 a, self.encoding, self.format_type
-> 3170 ).set_name(name).set_axis(i)
3171 else:
3172
C:\Python34\lib\site-packages\pandas\io\pytables.py in _convert_index(index, encoding, format_type)
4082
4083 if isinstance(index, MultiIndex):
-> 4084 raise TypeError('MultiIndex not supported here!')
4085
4086 inferred_type = lib.infer_dtype(index)
TypeError: MultiIndex not supported here!
In [9]: show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 3.4.1.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.14.1
nose: 1.3.4
Cython: 0.21
numpy: 1.9.0
scipy: 0.14.0
statsmodels: 0.5.0
IPython: 2.2.0
sphinx: 1.2.3
patsy: 0.3.0
scikits.timeseries: None
dateutil: 2.2
pytz: 2014.7
bottleneck: 0.8.0
tables: 3.1.1
numexpr: 2.4
matplotlib: 1.4.0
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
rpy2: None
sqlalchemy: 0.9.7
pymysql: None
psycopg2: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8389/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8389/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8390 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8390/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8390/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8390/events | https://github.com/pandas-dev/pandas/issues/8390 | 43,941,625 | MDU6SXNzdWU0Mzk0MTYyNQ== | 8,390 | BUG/VIS: Pie Plot with subplots doesn't include NaNs in legend | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 1 | 2014-09-25T16:54:34Z | 2018-07-06T22:04:19Z | 2018-07-06T22:04:10Z | CONTRIBUTOR | null | Followup to https://github.com/pydata/pandas/pull/8307
```
In [1]: df = pd.DataFrame(np.random.rand(4, 4))
In [2]: df2 = df.copy()
In [3]: for i in range(len(df)):
...: df.iloc[i, i] = np.nan
...:
In [4]: fig, axes = plt.subplots(figsize=(16, 8), nrows=2, ncols=4)
In [5]: df.plot(kind='pie', subplots=True, ax=axes.ravel()[:4])
In [6]: df2.plot(kind='pie', subplots=True, ax=axes.ravel()[4:])
```

Right now, when `subplots=True`, the NaN/zero labels aren't being put in the legend (or they aren't showing up).
```
In [8]: df[0].plot(kind='pie', figsize=(4,4), legend=True)
```

Not a huge priority, we'll see if anyone notices and wants to implement a fix. I think it would involve refactoring all our legend and ticklabels code to be subplot aware.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8390/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8390/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8391 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8391/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8391/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8391/events | https://github.com/pandas-dev/pandas/pull/8391 | 43,942,910 | MDExOlB1bGxSZXF1ZXN0MjE3OTc0MjA= | 8,391 | DOC: Use square figsize for pie plots | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 2 | 2014-09-25T17:06:53Z | 2015-08-18T12:44:59Z | 2014-10-04T18:01:29Z | CONTRIBUTOR | null | First commit closes https://github.com/pydata/pandas/issues/8308
second closes https://github.com/pydata/pandas/issues/8312 aside from using mpl 1.4 to build the docs.
I can post any examples if you want.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8391/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8391/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8391.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8391",
"merged_at": "2014-10-04T18:01:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8391.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8391"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8392 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8392/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8392/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8392/events | https://github.com/pandas-dev/pandas/issues/8392 | 43,948,865 | MDU6SXNzdWU0Mzk0ODg2NQ== | 8,392 | ENH/BUG/DOC: HDFStore.append() on axis other than DataFrame.index or Panel.major_axis | {
"avatar_url": "https://avatars.githubusercontent.com/u/7441788?v=4",
"events_url": "https://api.github.com/users/seth-p/events{/privacy}",
"followers_url": "https://api.github.com/users/seth-p/followers",
"following_url": "https://api.github.com/users/seth-p/following{/other_user}",
"gists_url": "https://api.github.com/users/seth-p/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/seth-p",
"id": 7441788,
"login": "seth-p",
"node_id": "MDQ6VXNlcjc0NDE3ODg=",
"organizations_url": "https://api.github.com/users/seth-p/orgs",
"received_events_url": "https://api.github.com/users/seth-p/received_events",
"repos_url": "https://api.github.com/users/seth-p/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/seth-p/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/seth-p/subscriptions",
"type": "User",
"url": "https://api.github.com/users/seth-p"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 6 | 2014-09-25T18:08:51Z | 2014-09-26T18:54:21Z | null | CONTRIBUTOR | null | For DataFrames, `HDFStore.append()` works only when "appending" along the `index` direction, i.e. it expects the `columns` to be the same. See sample below. This doesn't appear to be documented. If can only append along a single axis, would be nice to be able to specify which.
Similarly for Panels, it appears to work only along the `major_axis`. I haven't checked with Panel4D.
```
Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:45:13) [MSC v.1600 64 bit (AMD64)]
Type "copyright", "credits" or "license" for more information.
IPython 2.2.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: from pandas import DataFrame, HDFStore
In [2]: df1 = DataFrame(1., index=range(2), columns=['A','B'])
In [3]: df2 = DataFrame(2., index=range(2,4), columns=['A','B'])
In [4]: store = HDFStore('bar.h5')
In [5]: store.append('df', df1)
In [6]: store.append('df', df2)
In [7]: store.append('df_transpose', df1.transpose())
In [8]: store.append('df_transpose', df2.transpose())
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-8-1d42b87002f5> in <module>()
----> 1 store.append('df_transpose', df2.transpose())
C:\Python34\lib\site-packages\pandas\io\pytables.py in append(self, key, value, format, append, columns, dropna, **kwargs)
909 kwargs = self._validate_format(format, kwargs)
910 self._write_to_group(key, value, append=append, dropna=dropna,
--> 911 **kwargs)
912
913 def append_to_multiple(self, d, value, selector, data_columns=None,
C:\Python34\lib\site-packages\pandas\io\pytables.py in _write_to_group(self, key, value, format, index, append, complib, encoding, **kwargs)
1268
1269 # write the object
-> 1270 s.write(obj=value, append=append, complib=complib, **kwargs)
1271
1272 if s.is_table and index:
C:\Python34\lib\site-packages\pandas\io\pytables.py in write(self, obj, axes, append, complib, complevel, fletcher32, min_itemsize, chunksize, expectedrows, dropna, **kwargs)
3603 self.create_axes(axes=axes, obj=obj, validate=append,
3604 min_itemsize=min_itemsize,
-> 3605 **kwargs)
3606
3607 if not self.is_exists:
C:\Python34\lib\site-packages\pandas\io\pytables.py in create_axes(self, axes, obj, validate, nan_rep, data_columns, min_itemsize, **kwargs)
3246 "cannot match existing table structure for [%s] on "
3247 "appending data" % ','.join(com.pprint_thing(item) for
-> 3248 item in items))
3249 blocks = new_blocks
3250 blk_items = new_blk_items
ValueError: cannot match existing table structure for [0,1] on appending data
In [9]: from pandas import show_versions
In [10]: show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 3.4.1.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.14.1
nose: 1.3.4
Cython: 0.21
numpy: 1.9.0
scipy: 0.14.0
statsmodels: 0.5.0
IPython: 2.2.0
sphinx: 1.2.3
patsy: 0.3.0
scikits.timeseries: None
dateutil: 2.2
pytz: 2014.7
bottleneck: 0.8.0
tables: 3.1.1
numexpr: 2.4
matplotlib: 1.4.0
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
rpy2: None
sqlalchemy: 0.9.7
pymysql: None
psycopg2: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8392/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8392/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8393 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8393/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8393/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8393/events | https://github.com/pandas-dev/pandas/pull/8393 | 43,952,317 | MDExOlB1bGxSZXF1ZXN0MjE4MDM0MTc= | 8,393 | TST: Fix failing pie plot tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | []
| closed | false | null | []
| null | 0 | 2014-09-25T18:41:16Z | 2017-04-05T02:05:56Z | 2014-09-25T19:46:38Z | CONTRIBUTOR | null | Fixes the build failures from merging https://github.com/pydata/pandas/pull/8307
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8393/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8393/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8393.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8393",
"merged_at": "2014-09-25T19:46:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8393.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8393"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8394 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8394/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8394/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8394/events | https://github.com/pandas-dev/pandas/pull/8394 | 43,995,630 | MDExOlB1bGxSZXF1ZXN0MjE4MjY3MzI= | 8,394 | BUG: apply mask to aligned new values | {
"avatar_url": "https://avatars.githubusercontent.com/u/1288998?v=4",
"events_url": "https://api.github.com/users/behzadnouri/events{/privacy}",
"followers_url": "https://api.github.com/users/behzadnouri/followers",
"following_url": "https://api.github.com/users/behzadnouri/following{/other_user}",
"gists_url": "https://api.github.com/users/behzadnouri/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/behzadnouri",
"id": 1288998,
"login": "behzadnouri",
"node_id": "MDQ6VXNlcjEyODg5OTg=",
"organizations_url": "https://api.github.com/users/behzadnouri/orgs",
"received_events_url": "https://api.github.com/users/behzadnouri/received_events",
"repos_url": "https://api.github.com/users/behzadnouri/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/behzadnouri/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/behzadnouri/subscriptions",
"type": "User",
"url": "https://api.github.com/users/behzadnouri"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 5 | 2014-09-26T03:27:22Z | 2014-10-01T00:32:59Z | 2014-09-29T15:19:28Z | CONTRIBUTOR | null | closes https://github.com/pydata/pandas/issues/8387
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8394/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8394/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8394.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8394",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8394.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8394"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8395 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8395/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8395/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8395/events | https://github.com/pandas-dev/pandas/pull/8395 | 44,003,117 | MDExOlB1bGxSZXF1ZXN0MjE4MjkyNDU= | 8,395 | BUG: fix Panel.fillna() ignoring axis parameter | {
"avatar_url": "https://avatars.githubusercontent.com/u/7545449?v=4",
"events_url": "https://api.github.com/users/stahlous/events{/privacy}",
"followers_url": "https://api.github.com/users/stahlous/followers",
"following_url": "https://api.github.com/users/stahlous/following{/other_user}",
"gists_url": "https://api.github.com/users/stahlous/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/stahlous",
"id": 7545449,
"login": "stahlous",
"node_id": "MDQ6VXNlcjc1NDU0NDk=",
"organizations_url": "https://api.github.com/users/stahlous/orgs",
"received_events_url": "https://api.github.com/users/stahlous/received_events",
"repos_url": "https://api.github.com/users/stahlous/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/stahlous/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stahlous/subscriptions",
"type": "User",
"url": "https://api.github.com/users/stahlous"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
]
| closed | false | null | []
| {
"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"
} | 18 | 2014-09-26T05:26:38Z | 2015-10-26T22:40:03Z | 2015-07-12T14:58:11Z | CONTRIBUTOR | null | This fixes #8251. It may need some more comprehensive tests but before I go too much farther I want to make sure the axis numbering scheme makes sense . The default behavior of `fillna` is to fill along `axis=0`. In the case of a DataFrame this fills along the columns. However, in the case of a Panel, filling along `axis=0` means you're filling along items. I'm not sure if that's the behavior that most users would think is the default. You might note that I also removed the references to what the behavior of each axis value is in the docstring since it gets a bit arbitrary when you consider both DataFrames and Panels.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8395/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8395/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8395.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8395",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8395.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8395"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8396 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8396/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8396/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8396/events | https://github.com/pandas-dev/pandas/pull/8396 | 44,065,155 | MDExOlB1bGxSZXF1ZXN0MjE4NTA0NDc= | 8,396 | BUG: maintain order in excluding categories | {
"avatar_url": "https://avatars.githubusercontent.com/u/1288998?v=4",
"events_url": "https://api.github.com/users/behzadnouri/events{/privacy}",
"followers_url": "https://api.github.com/users/behzadnouri/followers",
"following_url": "https://api.github.com/users/behzadnouri/following{/other_user}",
"gists_url": "https://api.github.com/users/behzadnouri/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/behzadnouri",
"id": 1288998,
"login": "behzadnouri",
"node_id": "MDQ6VXNlcjEyODg5OTg=",
"organizations_url": "https://api.github.com/users/behzadnouri/orgs",
"received_events_url": "https://api.github.com/users/behzadnouri/received_events",
"repos_url": "https://api.github.com/users/behzadnouri/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/behzadnouri/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/behzadnouri/subscriptions",
"type": "User",
"url": "https://api.github.com/users/behzadnouri"
} | []
| closed | true | null | []
| null | 8 | 2014-09-26T14:05:10Z | 2014-09-26T18:32:01Z | 2014-09-26T14:44:05Z | CONTRIBUTOR | null | should fix current travis fails on master branch.
i cannot add tests right now because `test_remove_categories` in `test_categorical.py` does not fail on my machine. it also passes on a number of travis builds, and fails only on a couple.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8396/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8396/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8396.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8396",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/8396.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8396"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8397 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8397/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8397/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8397/events | https://github.com/pandas-dev/pandas/issues/8397 | 44,070,608 | MDU6SXNzdWU0NDA3MDYwOA== | 8,397 | TST: Catch Warnings in tests | {
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
]
| closed | false | null | []
| {
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
} | 7 | 2014-09-26T14:59:06Z | 2017-03-23T13:46:36Z | 2017-03-23T13:46:36Z | CONTRIBUTOR | null | If only to have nicer looking test output.
```
.../Users/tom/Envs/py3/lib/python3.4/site-packages/pandas/pandas/tools/plotting.py:3229: UserWarning: To output multiple subplots, the figure containing the passed axes is being cleared
"is being cleared", UserWarning)
../Users/tom/Envs/py3/lib/python3.4/site-packages/pandas/pandas/tools/plotting.py:3212: UserWarning: When passing multiple axes, sharex and sharey are ignored.These settings must be specified when creating axes
"These settings must be specified when creating axes", UserWarning)
............................S..S.../Users/tom/Envs/py3/lib/python3.4/site-packages/matplotlib-1.5.x-py3.4-macosx-10.9-x86_64.egg/matplotlib/axes/_axes.py:475: UserWarning: No labelled objects found. Use label='...' kwarg on individual plots.
warnings.warn("No labelled objects found. "
.S.............................................../Users/tom/Envs/py3/lib/python3.4/site-packages/pandas/pandas/tools/plotting.py:3209: UserWarning: When passing multiple axes, layout keyword is ignored
warnings.warn("When passing multiple axes, layout keyword is ignored", UserWarning)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8397/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8397/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8398 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8398/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8398/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8398/events | https://github.com/pandas-dev/pandas/pull/8398 | 44,070,788 | MDExOlB1bGxSZXF1ZXN0MjE4NTM5Mjg= | 8,398 | TST: Skip failing boxplot tests on mpl 1.4+ | {
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 1 | 2014-09-26T15:00:41Z | 2017-04-05T02:05:56Z | 2014-09-27T13:08:26Z | CONTRIBUTOR | null | Closes https://github.com/pydata/pandas/issues/8382
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8398/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8398/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8398.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8398",
"merged_at": "2014-09-27T13:08:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8398.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8398"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8399 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8399/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8399/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8399/events | https://github.com/pandas-dev/pandas/pull/8399 | 44,115,939 | MDExOlB1bGxSZXF1ZXN0MjE4ODE4MjQ= | 8,399 | BUG: inconsisten panel indexing with aligning frame (GH7763) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 0 | 2014-09-26T23:36:27Z | 2014-09-26T23:36:40Z | 2014-09-26T23:36:40Z | CONTRIBUTOR | null | closes #7763
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8399/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8399/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8399.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8399",
"merged_at": "2014-09-26T23:36:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8399.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8399"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/8400 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8400/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8400/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8400/events | https://github.com/pandas-dev/pandas/pull/8400 | 44,116,397 | MDExOlB1bGxSZXF1ZXN0MjE4ODIwNzQ= | 8,400 | add support for numpy 1.8+ data types for conversion to r dataframe | {
"avatar_url": "https://avatars.githubusercontent.com/u/660712?v=4",
"events_url": "https://api.github.com/users/benjschiller/events{/privacy}",
"followers_url": "https://api.github.com/users/benjschiller/followers",
"following_url": "https://api.github.com/users/benjschiller/following{/other_user}",
"gists_url": "https://api.github.com/users/benjschiller/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/benjschiller",
"id": 660712,
"login": "benjschiller",
"node_id": "MDQ6VXNlcjY2MDcxMg==",
"organizations_url": "https://api.github.com/users/benjschiller/orgs",
"received_events_url": "https://api.github.com/users/benjschiller/received_events",
"repos_url": "https://api.github.com/users/benjschiller/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/benjschiller/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/benjschiller/subscriptions",
"type": "User",
"url": "https://api.github.com/users/benjschiller"
} | [
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2014-10-23T11:43:09Z",
"closed_issues": 530,
"created_at": "2014-07-06T18:44:54Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.14.1 of course!",
"due_on": "2014-10-19T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/28",
"id": 711567,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels",
"node_id": "MDk6TWlsZXN0b25lNzExNTY3",
"number": 28,
"open_issues": 0,
"state": "closed",
"title": "0.15.0",
"updated_at": "2017-11-24T10:50:44Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28"
} | 6 | 2014-09-26T23:47:03Z | 2014-09-29T21:42:52Z | 2014-09-29T21:42:44Z | NONE | null | Numpy changed the names of their data types in 1.8
http://docs.scipy.org/doc/numpy-dev/user/basics.types.html
specifically, bool, int, float, and complex are now bool_, int_, float_ and complex_
this requires changing the VECTOR_TYPES and NA_TYPES dictionaries used by convert_to_r_dataframe in pandas/rpy/common.py
numpy 1.7 isn't feasible to include as a project dependency (too many packages require 1.8)
Unfortunately, bool_ etc don't exist in numpy < 1.8, so you'll have to try/except that bit. I can change it and submit a pull request if you like
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8400/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8400/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/8400.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/8400",
"merged_at": "2014-09-29T21:42:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/8400.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8400"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.