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/34717
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34717/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34717/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34717/events
|
https://github.com/pandas-dev/pandas/issues/34717
| 637,293,432
|
MDU6SXNzdWU2MzcyOTM0MzI=
| 34,717
|
PERF: pd.Series.map too slow for huge dictionary
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4",
"events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}",
"followers_url": "https://api.github.com/users/charlesdong1991/followers",
"following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}",
"gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/charlesdong1991",
"id": 9269816,
"login": "charlesdong1991",
"node_id": "MDQ6VXNlcjkyNjk4MTY=",
"organizations_url": "https://api.github.com/users/charlesdong1991/orgs",
"received_events_url": "https://api.github.com/users/charlesdong1991/received_events",
"repos_url": "https://api.github.com/users/charlesdong1991/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions",
"type": "User",
"url": "https://api.github.com/users/charlesdong1991"
}
|
[
{
"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": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-06-11T20:14:17Z
| 2020-09-13T20:28:44Z
| 2020-09-13T20:28:44Z
|
MEMBER
| null |
Just found out a performance issue with `pd.Series.map`, seems it is very slow when the input is a huge dictionary.
I noticed a similar issue reported before: #21278 and indeed for `Series` input, the first run might be slow and then for the later runs, they are very fast because hashable indexing is built. However, it doesn't seem to apply to `dict` input.
I slightly changed the example in #21278, and the runtime doesn't change if being run multiple times. And it is much faster using `apply` and `dict.get`.
So I am curious if this performance issue is being aware , and i would expect performance when a dict is assigned between `pd.Series.map` and `pd.Series.apply(lambda x: blabla)` is quite similar.
```python
n = 1000000
domain = np.arange(0, n)
ranges = domain+10
maptable = pd.Series(ranges, index=domain).sort_index().to_dict()
query_vals = pd.Series([1,2,3])
%timeit query_vals.map(maptable)
```
while much faster if doing below:
```python
query_vals.apply(lambda x: maptable.get(x))
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34717/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34717/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34718
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34718/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34718/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34718/events
|
https://github.com/pandas-dev/pandas/pull/34718
| 637,302,742
|
MDExOlB1bGxSZXF1ZXN0NDMzMzE3ODY0
| 34,718
|
Removed __div__ impls from Cython
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
}
|
[
{
"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": "2020-06-18T13:09:32Z",
"closed_issues": 28,
"created_at": "2020-05-30T13:59:46Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-06-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/74",
"id": 5480671,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==",
"number": 74,
"open_issues": 0,
"state": "closed",
"title": "1.0.5",
"updated_at": "2020-06-18T13:09:32Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74"
}
| 8
| 2020-06-11T20:32:36Z
| 2020-06-15T16:20:31Z
| 2020-06-14T15:57:50Z
|
MEMBER
| null |
Alternate to #34711 which may close #34704
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34718/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34718/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34718.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34718",
"merged_at": "2020-06-14T15:57:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34718.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34718"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34719
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34719/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34719/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34719/events
|
https://github.com/pandas-dev/pandas/issues/34719
| 637,323,823
|
MDU6SXNzdWU2MzczMjM4MjM=
| 34,719
|
CI: Failing TestDtype.test_check_dtype on master
|
{
"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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] | null | 4
| 2020-06-11T21:15:44Z
| 2020-09-29T11:20:51Z
| 2020-09-29T11:20:51Z
|
CONTRIBUTOR
| null | ERROR: type should be string, got "https://travis-ci.org/github/pandas-dev/pandas/jobs/697381484#L3750\r\n\r\n```\r\n____________________ TestDtype.test_check_dtype[Int64Dtype] ____________________\r\n\r\n[gw1] linux -- Python 3.9.0 /home/travis/virtualenv/python3.9-dev/bin/python\r\n\r\nself = <pandas.tests.extension.test_integer.TestDtype object at 0x7f1440e52280>\r\n\r\ndata = <IntegerArray>\r\n\r\n[ 1, 2, 3, 4, 5, 6, 7, 8, <NA>, 10, 11, 12, 13,\r\n\r\n 14, 15, 16, 17,...5, 86, 87, 88, 89, 90, 91,\r\n\r\n 92, 93, 94, 95, 96, 97, <NA>, 99, 100]\r\n\r\nLength: 100, dtype: Int64\r\n\r\n def test_check_dtype(self, data):\r\n\r\n dtype = data.dtype\r\n\r\n \r\n\r\n # check equivalency for using .dtypes\r\n\r\n df = pd.DataFrame(\r\n\r\n {\"A\": pd.Series(data, dtype=dtype), \"B\": data, \"C\": \"foo\", \"D\": 1}\r\n\r\n )\r\n\r\n \r\n\r\n # np.dtype('int64') == 'Int64' == 'int64'\r\n\r\n # so can't distinguish\r\n\r\n if dtype.name == \"Int64\":\r\n\r\n expected = pd.Series([True, True, False, True], index=list(\"ABCD\"))\r\n\r\n else:\r\n\r\n expected = pd.Series([True, True, False, False], index=list(\"ABCD\"))\r\n\r\n \r\n\r\n # FIXME: This should probably be *fixed* not ignored.\r\n\r\n # See libops.scalar_compare\r\n\r\n with warnings.catch_warnings():\r\n\r\n warnings.simplefilter(\"ignore\", DeprecationWarning)\r\n\r\n result = df.dtypes == str(dtype)\r\n\r\n \r\n\r\n> self.assert_series_equal(result, expected)\r\n\r\npandas/tests/extension/base/dtype.py:84: \r\n\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \r\n\r\npandas/tests/extension/base/base.py:13: in assert_series_equal\r\n\r\n return tm.assert_series_equal(left, right, *args, **kwargs)\r\n\r\npandas/_libs/testing.pyx:68: in pandas._libs.testing.assert_almost_equal\r\n\r\n cpdef assert_almost_equal(a, b,\r\n\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \r\n\r\n> raise_assert_detail(obj, msg, lobj, robj, index_values=index_values)\r\n\r\nE AssertionError: Series are different\r\n\r\nE \r\n\r\nE Series values are different (25.0 %)\r\n\r\nE [index]: [A, B, C, D]\r\n\r\nE [left]: [True, True, False, False]\r\n\r\nE [right]: [True, True, False, True]\r\n\r\npandas/_libs/testing.pyx:183: AssertionError\r\n```\r\n\r\nThere's a note there about not ignoring the warning. I wonder if that's been changed."
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34719/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34719/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34720
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34720/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34720/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34720/events
|
https://github.com/pandas-dev/pandas/pull/34720
| 637,327,297
|
MDExOlB1bGxSZXF1ZXN0NDMzMzM4NTQ3
| 34,720
|
BUG #34621 added nanosecond support to class Period
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/59281854?v=4",
"events_url": "https://api.github.com/users/OlivierLuG/events{/privacy}",
"followers_url": "https://api.github.com/users/OlivierLuG/followers",
"following_url": "https://api.github.com/users/OlivierLuG/following{/other_user}",
"gists_url": "https://api.github.com/users/OlivierLuG/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/OlivierLuG",
"id": 59281854,
"login": "OlivierLuG",
"node_id": "MDQ6VXNlcjU5MjgxODU0",
"organizations_url": "https://api.github.com/users/OlivierLuG/orgs",
"received_events_url": "https://api.github.com/users/OlivierLuG/received_events",
"repos_url": "https://api.github.com/users/OlivierLuG/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/OlivierLuG/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/OlivierLuG/subscriptions",
"type": "User",
"url": "https://api.github.com/users/OlivierLuG"
}
|
[
{
"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
| 2020-06-11T21:23:01Z
| 2021-01-02T08:31:58Z
| 2020-11-30T05:47:57Z
|
CONTRIBUTOR
| null |
Closes #34621
Closes #17053
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
The class Period do not support nanosecond. I've made a quick and dirty code to support nanoseconds. I have struggled to find an alternative to dateutil.parser, but I didn't found an alternative.
The PR may be a performance issue as I've add a Timestamp constructor to the dateutil.parser. There is for sure a better solution. Please 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/34720/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34720/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34720.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34720",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/34720.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34720"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34721
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34721/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34721/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34721/events
|
https://github.com/pandas-dev/pandas/pull/34721
| 637,354,950
|
MDExOlB1bGxSZXF1ZXN0NDMzMzYwODkz
| 34,721
|
Debug CI Issue
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 15
| 2020-06-11T22:17:59Z
| 2020-06-15T09:25:07Z
| 2020-06-12T20:54:56Z
|
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/34721/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34721/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34721.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34721",
"merged_at": "2020-06-12T20:54:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34721.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34721"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/34722
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34722/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34722/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34722/events
|
https://github.com/pandas-dev/pandas/pull/34722
| 637,370,579
|
MDExOlB1bGxSZXF1ZXN0NDMzMzczOTEy
| 34,722
|
CLN: remove verbose and private_key reference #34640
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/51802673?v=4",
"events_url": "https://api.github.com/users/lathamri/events{/privacy}",
"followers_url": "https://api.github.com/users/lathamri/followers",
"following_url": "https://api.github.com/users/lathamri/following{/other_user}",
"gists_url": "https://api.github.com/users/lathamri/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lathamri",
"id": 51802673,
"login": "lathamri",
"node_id": "MDQ6VXNlcjUxODAyNjcz",
"organizations_url": "https://api.github.com/users/lathamri/orgs",
"received_events_url": "https://api.github.com/users/lathamri/received_events",
"repos_url": "https://api.github.com/users/lathamri/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lathamri/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lathamri/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lathamri"
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2020-06-11T22:59:41Z
| 2020-06-12T06:52:13Z
| 2020-06-12T06:52:13Z
|
NONE
| null |
- [ ] closes #34640
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34722/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34722/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34722.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34722",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/34722.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34722"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34723
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34723/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34723/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34723/events
|
https://github.com/pandas-dev/pandas/issues/34723
| 637,371,357
|
MDU6SXNzdWU2MzczNzEzNTc=
| 34,723
|
QST:Need to stop converting my regular values to date formats
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/31453971?v=4",
"events_url": "https://api.github.com/users/amansani/events{/privacy}",
"followers_url": "https://api.github.com/users/amansani/followers",
"following_url": "https://api.github.com/users/amansani/following{/other_user}",
"gists_url": "https://api.github.com/users/amansani/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/amansani",
"id": 31453971,
"login": "amansani",
"node_id": "MDQ6VXNlcjMxNDUzOTcx",
"organizations_url": "https://api.github.com/users/amansani/orgs",
"received_events_url": "https://api.github.com/users/amansani/received_events",
"repos_url": "https://api.github.com/users/amansani/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/amansani/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amansani/subscriptions",
"type": "User",
"url": "https://api.github.com/users/amansani"
}
|
[
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "207de5",
"default": false,
"description": "Clarification about behavior needed to assess issue",
"id": 307649777,
"name": "Needs Info",
"node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info"
}
] |
closed
| false
| null |
[] | null | 7
| 2020-06-11T23:01:58Z
| 2020-06-24T17:55:06Z
| 2020-06-24T17:55:05Z
|
NONE
| null |
- [ ] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions.
- [ ] I have asked my usage related question on [StackOverflow](https://stackoverflow.com).
---
#### Question about pandas
**Note**: If you'd still like to submit a question, please read [this guide](
https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your question.
```python
# Your code here, if applicable
I have values in my tables as 5-7, 3-5, 5-6, these values are converting into date formats like 07-May, 05-Mar, 06-May. But those values are related to length, width and height, so i want to leave the values the way it is and to convert into date format only to date values. This is happening only when saving the data in 'to_csv' method and working properly in 'to_excel' method.
Also hyphen(—) values in csv are converted to — and working properly in excel.
Any help in any of the issues are much appreciated.
Thanks.
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34723/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34723/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34724
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34724/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34724/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34724/events
|
https://github.com/pandas-dev/pandas/issues/34724
| 637,395,052
|
MDU6SXNzdWU2MzczOTUwNTI=
| 34,724
|
CI: window 37_141 jobs needs to update numpy version
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "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
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13381361?v=4",
"events_url": "https://api.github.com/users/Bharat123rox/events{/privacy}",
"followers_url": "https://api.github.com/users/Bharat123rox/followers",
"following_url": "https://api.github.com/users/Bharat123rox/following{/other_user}",
"gists_url": "https://api.github.com/users/Bharat123rox/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Bharat123rox",
"id": 13381361,
"login": "Bharat123rox",
"node_id": "MDQ6VXNlcjEzMzgxMzYx",
"organizations_url": "https://api.github.com/users/Bharat123rox/orgs",
"received_events_url": "https://api.github.com/users/Bharat123rox/received_events",
"repos_url": "https://api.github.com/users/Bharat123rox/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Bharat123rox/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Bharat123rox/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Bharat123rox"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/13381361?v=4",
"events_url": "https://api.github.com/users/Bharat123rox/events{/privacy}",
"followers_url": "https://api.github.com/users/Bharat123rox/followers",
"following_url": "https://api.github.com/users/Bharat123rox/following{/other_user}",
"gists_url": "https://api.github.com/users/Bharat123rox/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Bharat123rox",
"id": 13381361,
"login": "Bharat123rox",
"node_id": "MDQ6VXNlcjEzMzgxMzYx",
"organizations_url": "https://api.github.com/users/Bharat123rox/orgs",
"received_events_url": "https://api.github.com/users/Bharat123rox/received_events",
"repos_url": "https://api.github.com/users/Bharat123rox/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Bharat123rox/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Bharat123rox/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Bharat123rox"
}
] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-06-11T23:58:43Z
| 2020-06-14T14:29:35Z
| 2020-06-14T14:29:35Z
|
CONTRIBUTOR
| null |
https://github.com/pandas-dev/pandas/blob/master/ci/deps/azure-windows-37.yaml
we no longer support this, I guess it *still* works ok. But we should advance this job to be numpy 1.15* at least, i would say we should actually test numpy 1.18* here.
might also need to actually rename the job to reflect the update.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34724/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34724/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34725
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34725/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34725/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34725/events
|
https://github.com/pandas-dev/pandas/issues/34725
| 637,417,899
|
MDU6SXNzdWU2Mzc0MTc4OTk=
| 34,725
|
BUG: fillna(method="ffill") and ffill() on DataFrameGroupBy gives different results
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/20901614?v=4",
"events_url": "https://api.github.com/users/anjanibhat/events{/privacy}",
"followers_url": "https://api.github.com/users/anjanibhat/followers",
"following_url": "https://api.github.com/users/anjanibhat/following{/other_user}",
"gists_url": "https://api.github.com/users/anjanibhat/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/anjanibhat",
"id": 20901614,
"login": "anjanibhat",
"node_id": "MDQ6VXNlcjIwOTAxNjE0",
"organizations_url": "https://api.github.com/users/anjanibhat/orgs",
"received_events_url": "https://api.github.com/users/anjanibhat/received_events",
"repos_url": "https://api.github.com/users/anjanibhat/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/anjanibhat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anjanibhat/subscriptions",
"type": "User",
"url": "https://api.github.com/users/anjanibhat"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "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
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/3813175?v=4",
"events_url": "https://api.github.com/users/smithto1/events{/privacy}",
"followers_url": "https://api.github.com/users/smithto1/followers",
"following_url": "https://api.github.com/users/smithto1/following{/other_user}",
"gists_url": "https://api.github.com/users/smithto1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/smithto1",
"id": 3813175,
"login": "smithto1",
"node_id": "MDQ6VXNlcjM4MTMxNzU=",
"organizations_url": "https://api.github.com/users/smithto1/orgs",
"received_events_url": "https://api.github.com/users/smithto1/received_events",
"repos_url": "https://api.github.com/users/smithto1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/smithto1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/smithto1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/smithto1"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/3813175?v=4",
"events_url": "https://api.github.com/users/smithto1/events{/privacy}",
"followers_url": "https://api.github.com/users/smithto1/followers",
"following_url": "https://api.github.com/users/smithto1/following{/other_user}",
"gists_url": "https://api.github.com/users/smithto1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/smithto1",
"id": 3813175,
"login": "smithto1",
"node_id": "MDQ6VXNlcjM4MTMxNzU=",
"organizations_url": "https://api.github.com/users/smithto1/orgs",
"received_events_url": "https://api.github.com/users/smithto1/received_events",
"repos_url": "https://api.github.com/users/smithto1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/smithto1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/smithto1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/smithto1"
}
] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-06-12T01:17:02Z
| 2020-10-10T22:32:29Z
| 2020-10-10T22:32:29Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
# Your code here
import numpy as np
import pandas as pd
df = pd.DataFrame({'a':[1, 1, np.NaN, np.NaN], 'b':[10, np.NaN, 40, np.NaN]})
```
```
df
a b
0 1.0 10.0
1 1.0 NaN
2 NaN 40.0
3 NaN NaN
```
```
# Case 1 - Forward fill using fillna
df.groupby(["a"]).fillna(method="ffill")
df
b
0 10.0
1 10.0
2 NaN
3 NaN
```
```
# Case 2 - Forward fill using ffill
df.groupby(["a"]).ffill()
df
b
0 10.0
1 10.0
2 40.0
3 40.0
```
#### Problem description
`df.groupby(["a"]).ffill()` is not ignoring the NaN group while performing forward fill.
#### Expected Output
`df.groupby(["a"]).ffill()` should give the same output as `df.groupby(["a"]).fillna(method="ffill")` since NaN groups are ignored as per https://pandas.pydata.org/pandas-docs/stable/user_guide/missing_data.html#na-values-in-groupby.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.3.final.0
python-bits : 64
OS : Darwin
OS-release : 16.7.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : en_US.UTF-8
pandas : 1.0.4
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 44.0.0.post20200106
Cython : None
pytest : 5.4.3
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.2
numexpr : None
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : 0.17.0
pytables : None
pytest : 5.4.3
pyxlsb : None
s3fs : 0.4.2
scipy : None
sqlalchemy : None
tables : None
tabulate : 0.8.6
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34725/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34725/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34726
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34726/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34726/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34726/events
|
https://github.com/pandas-dev/pandas/pull/34726
| 637,532,582
|
MDExOlB1bGxSZXF1ZXN0NDMzNTAyNTQ3
| 34,726
|
DOC: changed 'providing' to 'that provides'
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/47667852?v=4",
"events_url": "https://api.github.com/users/ObliviousParadigm/events{/privacy}",
"followers_url": "https://api.github.com/users/ObliviousParadigm/followers",
"following_url": "https://api.github.com/users/ObliviousParadigm/following{/other_user}",
"gists_url": "https://api.github.com/users/ObliviousParadigm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ObliviousParadigm",
"id": 47667852,
"login": "ObliviousParadigm",
"node_id": "MDQ6VXNlcjQ3NjY3ODUy",
"organizations_url": "https://api.github.com/users/ObliviousParadigm/orgs",
"received_events_url": "https://api.github.com/users/ObliviousParadigm/received_events",
"repos_url": "https://api.github.com/users/ObliviousParadigm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ObliviousParadigm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ObliviousParadigm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ObliviousParadigm"
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2020-06-12T07:01:20Z
| 2020-06-12T08:47:26Z
| 2020-06-12T08:47:26Z
|
CONTRIBUTOR
| null |
Changed this as it sounds more clear.
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34726/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34726/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34726.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34726",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/34726.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34726"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34727
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34727/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34727/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34727/events
|
https://github.com/pandas-dev/pandas/pull/34727
| 637,556,654
|
MDExOlB1bGxSZXF1ZXN0NDMzNTIxMjI1
| 34,727
|
PERF: remove use of Python sets for interpolate
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"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": "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 |
[] | null | 5
| 2020-06-12T07:46:31Z
| 2020-07-24T16:22:43Z
| 2020-07-24T16:22:42Z
|
MEMBER
| null |
have been investigating avoiding internals for interpolation. xref #34628
This PR address the issue of using Python sets, which is responsible for the bulk of the time in our current asv.
There are other improvements (will raise other PRs), but would need new benchmarks to show a benefit such as different index types and unsorted indexes. so this PR is targeting our current benchmark first.
prelim results (will post asv results if tests pass)
```
N = 10000
# this is the worst case, where every column has NaNs.
df = pd.DataFrame(np.random.randn(N, 100))
df.values[::2] = np.nan
df
%timeit df.interpolate()
# 189 ms ± 24.1 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) <-- master
# 65.1 ms ± 635 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) <-- PR
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34727/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34727/timeline
| null | 1
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34727.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34727",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/34727.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34727"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34728
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34728/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34728/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34728/events
|
https://github.com/pandas-dev/pandas/pull/34728
| 637,583,429
|
MDExOlB1bGxSZXF1ZXN0NDMzNTQyOTM1
| 34,728
|
PERF: interpolate_1d returns function to apply columnwise
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"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": "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 |
[] | null | 1
| 2020-06-12T08:32:14Z
| 2020-07-07T14:41:52Z
| 2020-07-07T14:41:52Z
|
MEMBER
| null |
This doesn't provide a significant improvement for the existing asv due to the bulk of the time creating python sets which is in the function applied columnwise. see #34727
even without #34727 this could provide perf improvements for other index types ( and for unsorted indexes with creating a column-wise function for the numpy call.
will look at adding asvs for these cases.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34728/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34728/timeline
| null | 1
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34728.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34728",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/34728.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34728"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34729
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34729/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34729/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34729/events
|
https://github.com/pandas-dev/pandas/pull/34729
| 637,591,953
|
MDExOlB1bGxSZXF1ZXN0NDMzNTQ5NzMy
| 34,729
|
Changed the way a few sentences were written
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/47667852?v=4",
"events_url": "https://api.github.com/users/ObliviousParadigm/events{/privacy}",
"followers_url": "https://api.github.com/users/ObliviousParadigm/followers",
"following_url": "https://api.github.com/users/ObliviousParadigm/following{/other_user}",
"gists_url": "https://api.github.com/users/ObliviousParadigm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ObliviousParadigm",
"id": 47667852,
"login": "ObliviousParadigm",
"node_id": "MDQ6VXNlcjQ3NjY3ODUy",
"organizations_url": "https://api.github.com/users/ObliviousParadigm/orgs",
"received_events_url": "https://api.github.com/users/ObliviousParadigm/received_events",
"repos_url": "https://api.github.com/users/ObliviousParadigm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ObliviousParadigm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ObliviousParadigm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ObliviousParadigm"
}
|
[
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 5
| 2020-06-12T08:46:42Z
| 2020-06-12T21:05:20Z
| 2020-06-12T20:57:24Z
|
CONTRIBUTOR
| null |
Added comma before 'and'
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34729/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34729/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34729.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34729",
"merged_at": "2020-06-12T20:57:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34729.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34729"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34730
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34730/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34730/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34730/events
|
https://github.com/pandas-dev/pandas/issues/34730
| 637,713,516
|
MDU6SXNzdWU2Mzc3MTM1MTY=
| 34,730
|
RLS: 1.1
|
{
"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": "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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 29
| 2020-06-12T12:25:07Z
| 2020-07-28T19:38:31Z
| 2020-07-28T18:13:32Z
|
CONTRIBUTOR
| null |
Tracking issue for the 1.1 release. I've set the target for July 15th. https://github.com/pandas-dev/pandas/milestone/68
Planning a release candidate for sometime in early July, 1-2 weeks before the final release.
List of open regressions: https://github.com/pandas-dev/pandas/issues?q=is%3Aopen+is%3Aissue+label%3ARegression
List of open blockers: https://github.com/pandas-dev/pandas/issues?q=is%3Aopen+is%3Aissue+label%3Ablocker+
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34730/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34730/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34731
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34731/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34731/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34731/events
|
https://github.com/pandas-dev/pandas/issues/34731
| 637,738,006
|
MDU6SXNzdWU2Mzc3MzgwMDY=
| 34,731
|
BUG: DataFrame.melt gives unexpected result when column "value" already exists
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4",
"events_url": "https://api.github.com/users/erfannariman/events{/privacy}",
"followers_url": "https://api.github.com/users/erfannariman/followers",
"following_url": "https://api.github.com/users/erfannariman/following{/other_user}",
"gists_url": "https://api.github.com/users/erfannariman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/erfannariman",
"id": 34067903,
"login": "erfannariman",
"node_id": "MDQ6VXNlcjM0MDY3OTAz",
"organizations_url": "https://api.github.com/users/erfannariman/orgs",
"received_events_url": "https://api.github.com/users/erfannariman/received_events",
"repos_url": "https://api.github.com/users/erfannariman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/erfannariman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/erfannariman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/erfannariman"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 4
| 2020-06-12T13:08:17Z
| 2020-07-02T15:26:44Z
| 2020-07-02T15:26:44Z
|
CONTRIBUTOR
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
df = pd.DataFrame({'col':list('ABC'),
'value':range(10,16,2)})
print(df, '\n')
dfm = df.melt(id_vars='value')
print(dfm)
col value
0 A 10
1 B 12
2 C 14
value variable value
0 A col A
1 B col B
2 C col C
```
#### Problem description
When the column `value` already exists, and we set it as index with `id_vars` it copies the `value` column of the melted dataframe and does not set the "old" `value` column of the original dataframe as `id_vars`
#### Expected Output
```python
# note change of column name 'val' instead of 'value'
df = pd.DataFrame({'col':list('ABC'),
'val':range(10,16,2)})
dfm = df.melt(id_vars='val')
print(dfm)
val variable value
0 10 col A
1 12 col B
2 14 col C
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.3.final.0
python-bits : 64
OS : Darwin
OS-release : 19.5.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.UTF-8
pandas : 1.0.3
numpy : 1.18.1
pytz : 2020.1
dateutil : 2.8.1
pip : 20.0.2
setuptools : 47.1.1.post20200604
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.13.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34731/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34731/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34732
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34732/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34732/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34732/events
|
https://github.com/pandas-dev/pandas/issues/34732
| 637,843,898
|
MDU6SXNzdWU2Mzc4NDM4OTg=
| 34,732
|
BUG: Skiprows with seperator within rows being skipped
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/44447819?v=4",
"events_url": "https://api.github.com/users/RobertMouncer/events{/privacy}",
"followers_url": "https://api.github.com/users/RobertMouncer/followers",
"following_url": "https://api.github.com/users/RobertMouncer/following{/other_user}",
"gists_url": "https://api.github.com/users/RobertMouncer/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/RobertMouncer",
"id": 44447819,
"login": "RobertMouncer",
"node_id": "MDQ6VXNlcjQ0NDQ3ODE5",
"organizations_url": "https://api.github.com/users/RobertMouncer/orgs",
"received_events_url": "https://api.github.com/users/RobertMouncer/received_events",
"repos_url": "https://api.github.com/users/RobertMouncer/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/RobertMouncer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RobertMouncer/subscriptions",
"type": "User",
"url": "https://api.github.com/users/RobertMouncer"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] |
open
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/21248584?v=4",
"events_url": "https://api.github.com/users/erekevan/events{/privacy}",
"followers_url": "https://api.github.com/users/erekevan/followers",
"following_url": "https://api.github.com/users/erekevan/following{/other_user}",
"gists_url": "https://api.github.com/users/erekevan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/erekevan",
"id": 21248584,
"login": "erekevan",
"node_id": "MDQ6VXNlcjIxMjQ4NTg0",
"organizations_url": "https://api.github.com/users/erekevan/orgs",
"received_events_url": "https://api.github.com/users/erekevan/received_events",
"repos_url": "https://api.github.com/users/erekevan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/erekevan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/erekevan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/erekevan"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/21248584?v=4",
"events_url": "https://api.github.com/users/erekevan/events{/privacy}",
"followers_url": "https://api.github.com/users/erekevan/followers",
"following_url": "https://api.github.com/users/erekevan/following{/other_user}",
"gists_url": "https://api.github.com/users/erekevan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/erekevan",
"id": 21248584,
"login": "erekevan",
"node_id": "MDQ6VXNlcjIxMjQ4NTg0",
"organizations_url": "https://api.github.com/users/erekevan/orgs",
"received_events_url": "https://api.github.com/users/erekevan/received_events",
"repos_url": "https://api.github.com/users/erekevan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/erekevan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/erekevan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/erekevan"
}
] |
{
"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
| 2020-06-12T15:46:48Z
| 2020-06-15T21:47:42Z
| null |
NONE
| null |
- [x] I have checked that this issue has not already been reported.
**This may be linked to issue #23067**
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
from io import StringIO
import pandas as pd
text='''# 1: 5
# 3: x
# F: 5.
# ID: 001
# No.: 2
# No.: 4
# Time: 20191216T122109
# Value: ";"
# Time: 4
# Time: ""
# Time ms: ""
# Date: ""
# Time separator: "T"
# J: 1000000
# Silent: false
# mode: true
Timestamp;T;ID;P
16T122109957;0;6;0006'''
pd.read_csv(StringIO(text),skiprows=11,sep=';')
pd.read_csv(StringIO(text),skiprows=16,sep=';')
```
#### Problem description
The seperator `sep` is causing issues when skiprows is requested to skip over rows that contain the seperator. Using 16 (the correct number of rows to skip) causes an `EmptyDataError`.
Instead the number of rows needs to be worked out by trial and error, in this case the skiprows value needs to be 11.
Using the call below without sep does not cause issues (in terms of skipping the correct number of rows):
`pd.read_csv(StringIO(text),skiprows=16)`
#### Expected Output
```
pd.read_csv('test.TXT',skiprows=16,sep=';')
Timestamp T ID P
0 16T122109957 0 6 6
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.1.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 9, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United Kingdom.1252
pandas : 1.0.4
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.1.1
setuptools : 41.2.0
Cython : None
pytest : 5.4.2
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.5.0
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.15.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.5.0
matplotlib : 3.2.1
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 5.4.2
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : None
xlsxwriter : None
numba : 0.49.1
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34732/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34732/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34733
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34733/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34733/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34733/events
|
https://github.com/pandas-dev/pandas/pull/34733
| 637,874,359
|
MDExOlB1bGxSZXF1ZXN0NDMzNzgwMDc5
| 34,733
|
BUG: Fixed Series.replace for EA with casting
|
{
"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": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
},
{
"color": "01a886",
"default": false,
"description": "replace method",
"id": 1652721180,
"name": "replace",
"node_id": "MDU6TGFiZWwxNjUyNzIxMTgw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/replace"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-06-18T13:09:32Z",
"closed_issues": 28,
"created_at": "2020-05-30T13:59:46Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-06-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/74",
"id": 5480671,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==",
"number": 74,
"open_issues": 0,
"state": "closed",
"title": "1.0.5",
"updated_at": "2020-06-18T13:09:32Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74"
}
| 5
| 2020-06-12T16:30:49Z
| 2020-06-16T09:46:26Z
| 2020-06-15T19:21:21Z
|
CONTRIBUTOR
| null |
Closes https://github.com/pandas-dev/pandas/issues/34530
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34733/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34733/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34733.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34733",
"merged_at": "2020-06-15T19:21:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34733.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34733"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34734
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34734/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34734/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34734/events
|
https://github.com/pandas-dev/pandas/pull/34734
| 637,888,940
|
MDExOlB1bGxSZXF1ZXN0NDMzNzkxODg3
| 34,734
|
PERF: Fixed perf regression in TimedeltaIndex.get_loc
|
{
"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": "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": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-06-12T16:59:19Z
| 2020-06-15T14:39:04Z
| 2020-06-15T14:38:54Z
|
CONTRIBUTOR
| null |
Closes https://github.com/pandas-dev/pandas/issues/34510
1.0.3
```python
In [10]: index = pd.timedelta_range(start="1985", periods=1000, freq="D")
...: timedelta = index[500]
...:
...: %timeit index.get_loc(timedelta)
3.7 µs ± 275 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)
```
This PR
```
3.25 µs ± 67.7 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34734/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34734/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34734.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34734",
"merged_at": "2020-06-15T14:38:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34734.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34734"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34735
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34735/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34735/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34735/events
|
https://github.com/pandas-dev/pandas/issues/34735
| 637,957,833
|
MDU6SXNzdWU2Mzc5NTc4MzM=
| 34,735
|
API: Remove PeriodDtype.dtype_code from public API
|
{
"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": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "e11d21",
"default": false,
"description": "Blocking issue or pull request for an upcoming release",
"id": 77550281,
"name": "Blocker",
"node_id": "MDU6TGFiZWw3NzU1MDI4MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Blocker"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-12T19:22:15Z
| 2020-06-15T14:24:12Z
| 2020-06-15T14:24:12Z
|
CONTRIBUTOR
| null |
On master PeriodDtype has a `.dtype_code` attribute.
```python
In [5]: pd.PeriodDtype('D').dtype_code
Out[5]: 6000
```
That wasn't there in 1.0.x. I think we want it to be private.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34735/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34735/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34736
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34736/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34736/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34736/events
|
https://github.com/pandas-dev/pandas/pull/34736
| 637,976,756
|
MDExOlB1bGxSZXF1ZXN0NDMzODYyNjk0
| 34,736
|
BUG: Fixed regression in PeriodIndex loc
|
{
"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": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-12T20:04:21Z
| 2020-06-14T16:40:03Z
| 2020-06-14T16:39:59Z
|
CONTRIBUTOR
| null |
Closes https://github.com/pandas-dev/pandas/issues/33964.
This is the smallest change I could get. I'm not sure what a more comprehensive fix would look like.
Regression only on master, so no need for a whatsnew.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34736/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34736/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34736.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34736",
"merged_at": "2020-06-14T16:39:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34736.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34736"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34737
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34737/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34737/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34737/events
|
https://github.com/pandas-dev/pandas/pull/34737
| 638,005,576
|
MDExOlB1bGxSZXF1ZXN0NDMzODg2NDg3
| 34,737
|
PERF: avoid copy in replace
|
{
"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": "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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-12T21:11:45Z
| 2020-06-14T14:34:41Z
| 2020-06-14T14:34:36Z
|
CONTRIBUTOR
| null |
Closes #34136.
Hopefully this preserves the right behavior. I could imagine breaking something if a caller was relying on `putmask(., inplace=False)` returning a copy.
```
import pandas as pd
import numpy as np
df = pd.DataFrame({"A": 0, "B": 0}, index=range(4 * 10 ** 7))
# the 1 can be held in self._df.blocks[0], while the inf and -inf cant
%timeit df.replace([np.inf, -np.inf, 1], np.nan, inplace=False)
# 1.0.3
483 ms ± 10.5 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
# master
900 ms ± 18.8 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
# PR
490 ms ± 8.64 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34737/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34737/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34737.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34737",
"merged_at": "2020-06-14T14:34:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34737.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34737"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34738
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34738/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34738/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34738/events
|
https://github.com/pandas-dev/pandas/pull/34738
| 638,018,181
|
MDExOlB1bGxSZXF1ZXN0NDMzODk3MDQ0
| 34,738
|
BUG: pd.NA in format strings with formatting parameters
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2020-06-12T21:44:49Z
| 2020-06-12T22:06:31Z
| 2020-06-12T22:06:31Z
|
CONTRIBUTOR
| null |
``pd.NA`` raises if passed to a format string and format parameters are supplied. This is different behaviour than ``np.nan`` and makes converting arrays containing ``pd.NA`` to strings very brittle and annoying.
Examples:
```python
>>> format(pd.NA)
'<NA>' # master and PR, ok
>>> format(pd.NA, ".1f")
TypeError # master
'<NA>' # this PR
>>> format(pd.NA, ">5")
TypeError # master
' <NA>' # this PR, tries to behave like a string, then falls back to '<NA>', like np.na
```
The new behaviour mirrors the behaviour of ``np.nan``.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34738/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34738/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34738.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34738",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/34738.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34738"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34739
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34739/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34739/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34739/events
|
https://github.com/pandas-dev/pandas/pull/34739
| 638,082,027
|
MDExOlB1bGxSZXF1ZXN0NDMzOTQ4Mzc5
| 34,739
|
DOC: updated files for SS06 errors
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26743548?v=4",
"events_url": "https://api.github.com/users/willpeppo/events{/privacy}",
"followers_url": "https://api.github.com/users/willpeppo/followers",
"following_url": "https://api.github.com/users/willpeppo/following{/other_user}",
"gists_url": "https://api.github.com/users/willpeppo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/willpeppo",
"id": 26743548,
"login": "willpeppo",
"node_id": "MDQ6VXNlcjI2NzQzNTQ4",
"organizations_url": "https://api.github.com/users/willpeppo/orgs",
"received_events_url": "https://api.github.com/users/willpeppo/received_events",
"repos_url": "https://api.github.com/users/willpeppo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/willpeppo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willpeppo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/willpeppo"
}
|
[
{
"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 |
[] | null | 4
| 2020-06-13T02:46:48Z
| 2020-07-24T12:38:48Z
| 2020-07-24T12:38:48Z
|
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/34739/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34739/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34739.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34739",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/34739.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34739"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/34740
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34740/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34740/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34740/events
|
https://github.com/pandas-dev/pandas/pull/34740
| 638,121,158
|
MDExOlB1bGxSZXF1ZXN0NDMzOTc3MTYy
| 34,740
|
BUG: pd.NA.__format__ fails with format_specs
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
}
|
[
{
"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": "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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 8
| 2020-06-13T08:22:28Z
| 2020-06-15T22:34:22Z
| 2020-06-15T21:36:37Z
|
CONTRIBUTOR
| null |
``pd.NA`` fails if passed to a format string and format parameters are supplied. This is different behaviour than ``np.nan`` and makes converting arrays containing ``pd.NA`` to strings very brittle and annoying.
Examples:
```python
>>> format(pd.NA)
'<NA>' # master and PR, ok
>>> format(pd.NA, ".1f")
TypeError # master
'<NA>' # this PR
>>> format(pd.NA, ">5")
TypeError # master
' <NA>' # this PR, tries to behave like a string, then falls back to '<NA>', like np.na
```
The new behaviour mirrors the behaviour of ``np.nan``.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34740/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34740/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34740.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34740",
"merged_at": "2020-06-15T21:36:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34740.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34740"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34741
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34741/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34741/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34741/events
|
https://github.com/pandas-dev/pandas/issues/34741
| 638,130,683
|
MDU6SXNzdWU2MzgxMzA2ODM=
| 34,741
|
REGR: merge no longer accepts a list for suffixes keyword
|
{
"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": "e11d21",
"default": false,
"description": "Blocking issue or pull request for an upcoming release",
"id": 77550281,
"name": "Blocker",
"node_id": "MDU6TGFiZWw3NzU1MDI4MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Blocker"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 15
| 2020-06-13T09:34:01Z
| 2020-06-30T20:58:43Z
| 2020-06-30T20:58:43Z
|
MEMBER
| null |
see https://github.com/pandas-dev/pandas/pull/34208#issuecomment-643598091
The linked PR changed the `merge` routines to now only accept tuples for the `suffixes` keyword, and no longer general sequence.
This is a breaking change (eg it breaks some GeoPandas functions), but actually also changing documented behaviour: the `merge` docstring indeed says "tuple", but eg `merge_asof` still says "tuple or list". And in our user guide, we were ourselves using a list in one example, and it explicitly says "tuple or list" (see https://pandas.pydata.org/pandas-docs/version/1.0/user_guide/merging.html#overlapping-value-columns)
In general, I am certainly fine with restricting the set of accepted types (eg to avoid the confusing issue with sets, the original report), but this is 1) breaking a documented behaviour and 2) a change that could also easily be done with a deprecation warning.
And given our versioning policy, if it is easy to do a change with a deprecation, then we should try to do that, IMO.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34741/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34741/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34742
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34742/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34742/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34742/events
|
https://github.com/pandas-dev/pandas/pull/34742
| 638,135,612
|
MDExOlB1bGxSZXF1ZXN0NDMzOTg3Mzgz
| 34,742
|
CLN: remove the old 'nature_with_gtoc' sphinx doc theme
|
{
"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": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-13T10:11:10Z
| 2020-06-13T18:31:48Z
| 2020-06-13T17:06:51Z
|
MEMBER
| null |
Noticed we still have the old theme customizations in the doc sources.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34742/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34742/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34742.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34742",
"merged_at": "2020-06-13T17:06:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34742.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34742"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34743
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34743/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34743/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34743/events
|
https://github.com/pandas-dev/pandas/pull/34743
| 638,136,703
|
MDExOlB1bGxSZXF1ZXN0NDMzOTg4MTc3
| 34,743
|
CLN: make Info and DataFrameInfo subclasses
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
}
|
[
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 4
| 2020-06-13T10:19:10Z
| 2020-10-10T14:14:45Z
| 2020-06-29T23:19:45Z
|
MEMBER
| null |
precursor to #31796
Makes Info class and DataFrameInfo subclass so there's no need for all the
```python
if isinstance(data, ABCDataFrame)
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34743/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34743/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34743.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34743",
"merged_at": "2020-06-29T23:19:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34743.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34743"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34744
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34744/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34744/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34744/events
|
https://github.com/pandas-dev/pandas/pull/34744
| 638,140,466
|
MDExOlB1bGxSZXF1ZXN0NDMzOTkwODMz
| 34,744
|
CLN: clean and deduplicate in core.missing.interpolate_1d
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-13T10:48:26Z
| 2020-06-13T20:34:32Z
| 2020-06-13T20:12:53Z
|
MEMBER
| null |
broken-off #34728
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34744/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34744/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34744.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34744",
"merged_at": "2020-06-13T20:12:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34744.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34744"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34745
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34745/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34745/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34745/events
|
https://github.com/pandas-dev/pandas/pull/34745
| 638,155,864
|
MDExOlB1bGxSZXF1ZXN0NDM0MDAxOTQ1
| 34,745
|
DOC: updated strings.py for SS06 errors
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26743548?v=4",
"events_url": "https://api.github.com/users/willpeppo/events{/privacy}",
"followers_url": "https://api.github.com/users/willpeppo/followers",
"following_url": "https://api.github.com/users/willpeppo/following{/other_user}",
"gists_url": "https://api.github.com/users/willpeppo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/willpeppo",
"id": 26743548,
"login": "willpeppo",
"node_id": "MDQ6VXNlcjI2NzQzNTQ4",
"organizations_url": "https://api.github.com/users/willpeppo/orgs",
"received_events_url": "https://api.github.com/users/willpeppo/received_events",
"repos_url": "https://api.github.com/users/willpeppo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/willpeppo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willpeppo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/willpeppo"
}
|
[
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-06-13T12:43:38Z
| 2020-06-13T17:04:18Z
| 2020-06-13T17:04:13Z
|
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/34745/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34745/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34745.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34745",
"merged_at": "2020-06-13T17:04:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34745.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34745"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/34746
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34746/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34746/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34746/events
|
https://github.com/pandas-dev/pandas/pull/34746
| 638,160,241
|
MDExOlB1bGxSZXF1ZXN0NDM0MDA1MDMz
| 34,746
|
API: validate `limit_direction` parameter of NDFrame.interpolate
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-06-13T13:14:10Z
| 2020-06-14T18:43:12Z
| 2020-06-14T18:06:41Z
|
MEMBER
| null |
broken off #31048
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34746/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34746/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34746.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34746",
"merged_at": "2020-06-14T18:06:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34746.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34746"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34747
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34747/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34747/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34747/events
|
https://github.com/pandas-dev/pandas/issues/34747
| 638,165,012
|
MDU6SXNzdWU2MzgxNjUwMTI=
| 34,747
|
BUG: read_excel issue - 1
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1063219?v=4",
"events_url": "https://api.github.com/users/kuraga/events{/privacy}",
"followers_url": "https://api.github.com/users/kuraga/followers",
"following_url": "https://api.github.com/users/kuraga/following{/other_user}",
"gists_url": "https://api.github.com/users/kuraga/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kuraga",
"id": 1063219,
"login": "kuraga",
"node_id": "MDQ6VXNlcjEwNjMyMTk=",
"organizations_url": "https://api.github.com/users/kuraga/orgs",
"received_events_url": "https://api.github.com/users/kuraga/received_events",
"repos_url": "https://api.github.com/users/kuraga/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kuraga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kuraga/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kuraga"
}
|
[
{
"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"
}
] |
open
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 1
| 2020-06-13T13:47:02Z
| 2021-01-19T14:44:44Z
| null |
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
See Problem description.
#### Problem description
```python
import pandas as pd
pd.read_excel('test.xlsx', header=[0, 1], index_col=0, engine='openpyxl')
```
produces
```
Traceback (most recent call last):
File "test.py", line 3, in <module>
pd.read_excel('test.xlsx', header=[0, 1], index_col=0, engine='openpyxl')
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 334, in read_excel
**kwds,
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 888, in parse
**kwds,
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 521, in parse
].columns.set_names(header_names)
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 1325, in set_names
idx._set_names(names, level=level)
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 1239, in _set_names
raise ValueError(f"Length of new names must be 1, got {len(values)}")
ValueError: Length of new names must be 1, got 2
```
```python
import pandas as pd
pd.read_excel('test.xlsx', header=[0, 1], index_col=0, engine='xlrd')
```
produces
```
Traceback (most recent call last):
File "test.py", line 3, in <module>
pd.read_excel('test.xlsx', header=[0, 1], index_col=0, engine='xlrd')
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 334, in read_excel
**kwds,
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 888, in parse
**kwds,
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 512, in parse
**kwds,
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 2201, in TextParser
return TextFileReader(*args, **kwds)
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 880, in __init__
self._make_engine(self.engine)
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 1126, in _make_engine
self._engine = klass(self.f, **self.options)
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 2298, in __init__
self.columns, self.index_names, self.col_names
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 1495, in _extract_multi_indexer_columns
for n in range(len(columns[0])):
IndexError: list index out of range
```

[test.xlsx](https://github.com/pandas-dev/pandas/files/4774703/test.xlsx)
#### Expected Output
No exceptions.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.7.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.42-calculate
machine : x86_64
processor : Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
byteorder : little
LC_ALL : None
LANG : ru_RU.utf8
LOCALE : ru_RU.UTF-8
pandas : 1.0.3
numpy : 1.18.1
pytz : 2020.1
dateutil : 2.8.1
pip : 20.0.2
setuptools : 46.4.0.post20200518
Cython : 0.29.17
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : 1.2.8
lxml.etree : 4.5.0
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.13.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.5.0
matplotlib : 3.1.3
numexpr : None
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : None
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : None
xlsxwriter : 1.2.8
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34747/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34747/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34748
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34748/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34748/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34748/events
|
https://github.com/pandas-dev/pandas/issues/34748
| 638,166,868
|
MDU6SXNzdWU2MzgxNjY4Njg=
| 34,748
|
BUG: read_excel issue - 2 (when "column name" is a date/time)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1063219?v=4",
"events_url": "https://api.github.com/users/kuraga/events{/privacy}",
"followers_url": "https://api.github.com/users/kuraga/followers",
"following_url": "https://api.github.com/users/kuraga/following{/other_user}",
"gists_url": "https://api.github.com/users/kuraga/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kuraga",
"id": 1063219,
"login": "kuraga",
"node_id": "MDQ6VXNlcjEwNjMyMTk=",
"organizations_url": "https://api.github.com/users/kuraga/orgs",
"received_events_url": "https://api.github.com/users/kuraga/received_events",
"repos_url": "https://api.github.com/users/kuraga/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kuraga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kuraga/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kuraga"
}
|
[
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-13T13:59:23Z
| 2020-07-08T22:03:48Z
| 2020-07-08T22:03:48Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
pd.read_excel('test.xlsx', header=[0, 1], index_col=0, engine='openpyxl')
```
(`engine` could be `xlrd` or `openpyxl`, doesn't matter.)
[test.xlsx](https://github.com/pandas-dev/pandas/files/4774723/test.xlsx)
#### Problem description
Exception:
```
Traceback (most recent call last):
File "test.py", line 3, in <module>
pd.read_excel('test.xlsx', header=[0, 1], index_col=0, engine='xlrd')
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 334, in read_excel
**kwds,
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 888, in parse
**kwds,
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 512, in parse
**kwds,
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 2201, in TextParser
return TextFileReader(*args, **kwds)
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 880, in __init__
self._make_engine(self.engine)
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 1126, in _make_engine
self._engine = klass(self.f, **self.options)
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 2298, in __init__
self.columns, self.index_names, self.col_names
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 1508, in _extract_multi_indexer_columns
for r in header
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 1508, in <listcomp>
for r in header
TypeError: object of type 'datetime.datetime' has no len()
```
#### Expected Output
No exceptions.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.7.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.42-calculate
machine : x86_64
processor : Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
byteorder : little
LC_ALL : None
LANG : ru_RU.utf8
LOCALE : ru_RU.UTF-8
pandas : 1.0.3
numpy : 1.18.1
pytz : 2020.1
dateutil : 2.8.1
pip : 20.0.2
setuptools : 46.4.0.post20200518
Cython : 0.29.17
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : 1.2.8
lxml.etree : 4.5.0
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.13.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.5.0
matplotlib : 3.1.3
numexpr : None
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : None
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : None
xlsxwriter : 1.2.8
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34748/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34748/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34749
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34749/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34749/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34749/events
|
https://github.com/pandas-dev/pandas/pull/34749
| 638,197,243
|
MDExOlB1bGxSZXF1ZXN0NDM0MDMxNTg0
| 34,749
|
[WIP] fork of #31048 for CI testing DO NOT MERGE
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-06-13T17:10:22Z
| 2020-06-14T17:03:52Z
| 2020-06-14T17:03:52Z
|
MEMBER
| null |
fork of #31048 for CI testing
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34749/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34749/timeline
| null | 1
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34749.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34749",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/34749.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34749"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34750
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34750/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34750/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34750/events
|
https://github.com/pandas-dev/pandas/pull/34750
| 638,197,873
|
MDExOlB1bGxSZXF1ZXN0NDM0MDMyMDc1
| 34,750
|
Bump up minimum numpy version in windows37 job
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13381361?v=4",
"events_url": "https://api.github.com/users/Bharat123rox/events{/privacy}",
"followers_url": "https://api.github.com/users/Bharat123rox/followers",
"following_url": "https://api.github.com/users/Bharat123rox/following{/other_user}",
"gists_url": "https://api.github.com/users/Bharat123rox/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Bharat123rox",
"id": 13381361,
"login": "Bharat123rox",
"node_id": "MDQ6VXNlcjEzMzgxMzYx",
"organizations_url": "https://api.github.com/users/Bharat123rox/orgs",
"received_events_url": "https://api.github.com/users/Bharat123rox/received_events",
"repos_url": "https://api.github.com/users/Bharat123rox/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Bharat123rox/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Bharat123rox/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Bharat123rox"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 5
| 2020-06-13T17:14:27Z
| 2020-06-14T16:04:55Z
| 2020-06-14T14:29:35Z
|
CONTRIBUTOR
| null |
- [x] closes #34724
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34750/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34750/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34750.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34750",
"merged_at": "2020-06-14T14:29:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34750.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34750"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34751
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34751/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34751/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34751/events
|
https://github.com/pandas-dev/pandas/issues/34751
| 638,204,037
|
MDU6SXNzdWU2MzgyMDQwMzc=
| 34,751
|
BUG: Hypothesis test failure - test_on_offset_implementations
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"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": "5319e7",
"default": false,
"description": "Unit tests that occasionally fail",
"id": 76939933,
"name": "Unreliable Test",
"node_id": "MDU6TGFiZWw3NjkzOTkzMw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unreliable%20Test"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-06-13T17:54:45Z
| 2020-10-24T02:55:20Z
| 2020-10-24T02:55:20Z
|
MEMBER
| null |
https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=37199&view=logs&j=76104ccd-8dcc-5006-a17c-28bcdd709542&t=cd420693-444f-5c55-14e0-1be238e189a1
```
2020-06-13T14:27:46.0206662Z ================================== FAILURES ===================================
2020-06-13T14:27:46.0207049Z _______________________ test_on_offset_implementations ________________________
2020-06-13T14:27:46.0207455Z [gw2] win32 -- Python 3.7.7 C:\Miniconda\envs\pandas-dev\python.exe
2020-06-13T14:27:46.0207694Z
2020-06-13T14:27:46.0207905Z @given(gen_random_datetime, gen_yqm_offset)
2020-06-13T14:27:46.0208239Z > def test_on_offset_implementations(dt, offset):
2020-06-13T14:27:46.0208612Z
2020-06-13T14:27:46.0208902Z pandas\tests\tseries\offsets\test_offsets_properties.py:89:
2020-06-13T14:27:46.0209414Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2020-06-13T14:27:46.0209969Z pandas\tests\tseries\offsets\test_offsets_properties.py:94: in test_on_offset_implementations
2020-06-13T14:27:46.0210468Z compare = (dt + offset) - offset
2020-06-13T14:27:46.0210950Z pandas\_libs\tslibs\offsets.pyx:438: in pandas._libs.tslibs.offsets.BaseOffset.__add__
2020-06-13T14:27:46.0211305Z return other.__add__(self)
2020-06-13T14:27:46.0211774Z pandas\_libs\tslibs\offsets.pyx:440: in pandas._libs.tslibs.offsets.BaseOffset.__add__
2020-06-13T14:27:46.0212253Z return self.apply(other)
2020-06-13T14:27:46.0212687Z pandas\_libs\tslibs\offsets.pyx:135: in pandas._libs.tslibs.offsets.apply_wraps.wrapper
2020-06-13T14:27:46.0213172Z result = result.tz_localize(tz)
2020-06-13T14:27:46.0213673Z pandas\_libs\tslibs\timestamps.pyx:1258: in pandas._libs.tslibs.timestamps.Timestamp.tz_localize
2020-06-13T14:27:46.0215173Z value = tz_localize_to_utc(np.array([self.value], dtype='i8'), tz,
2020-06-13T14:27:46.0215769Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2020-06-13T14:27:46.0216156Z
2020-06-13T14:27:46.0216385Z > raise pytz.NonExistentTimeError(stamp)
2020-06-13T14:27:46.0216849Z E pytz.exceptions.NonExistentTimeError: 1906-01-01 00:00:00
2020-06-13T14:27:46.0217233Z
2020-06-13T14:27:46.0217489Z pandas\_libs\tslibs\tzconversion.pyx:276: NonExistentTimeError
2020-06-13T14:27:46.0217864Z --------------------------------- Hypothesis ----------------------------------
2020-06-13T14:27:46.0218223Z Falsifying example: test_on_offset_implementations(
2020-06-13T14:27:46.0218570Z dt=datetime.datetime(1900, 1, 1, 0, 0, tzinfo=tzfile('Asia/Calcutta')),
2020-06-13T14:27:46.0219018Z offset=<72 * MonthBegins>,
2020-06-13T14:27:46.0219213Z )
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34751/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34751/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34752
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34752/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34752/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34752/events
|
https://github.com/pandas-dev/pandas/pull/34752
| 638,210,839
|
MDExOlB1bGxSZXF1ZXN0NDM0MDQxNDY0
| 34,752
|
REF: refactor NDFrame.interpolate to avoid dispatching to fillna
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-13T18:41:21Z
| 2020-06-14T15:25:57Z
| 2020-06-14T14:31:07Z
|
MEMBER
| null |
xref https://github.com/pandas-dev/pandas/pull/31048#issuecomment-643658604, #33959
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34752/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34752/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34752.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34752",
"merged_at": "2020-06-14T14:31:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34752.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34752"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34753
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34753/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34753/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34753/events
|
https://github.com/pandas-dev/pandas/issues/34753
| 638,212,033
|
MDU6SXNzdWU2MzgyMTIwMzM=
| 34,753
|
BUG: build from source failed on Ubuntu 20.04
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] |
closed
| false
| null |
[] | null | 5
| 2020-06-13T18:49:51Z
| 2020-12-08T20:08:26Z
| 2020-06-14T13:58:22Z
|
MEMBER
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Output of the build script
```bash
(pandas-dev) xxx@xxx-home-office:~/Workspace/pandas-VirosaLi$ python setup.py build_ext --inplace -j 4
running build_ext
building 'pandas._libs.interval' extension
gcc -pthread -B /home/xxx/miniconda3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -Ipandas/_libs/src/klib -I/home/xxx/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/xxx/miniconda3/envs/pandas-dev/include/python3.8 -c pandas/_libs/interval.c -o build/temp.linux-x86_64-3.8/pandas/_libs/interval.o -Werror
building 'pandas._libs.tslibs.nattype' extension
gcc -pthread -B /home/xxx/miniconda3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -I/home/xxx/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/xxx/miniconda3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/nattype.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/nattype.o -Werror
pandas/_libs/tslibs/nattype.c:4998:18: error: ‘__pyx_pw_6pandas_5_libs_6tslibs_7nattype_4_NaT_11__div__’ defined but not used [-Werror=unused-function]
4998 | static PyObject *__pyx_pw_6pandas_5_libs_6tslibs_7nattype_4_NaT_11__div__(PyObject *__pyx_v_self, PyObject *__pyx_v_other) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pandas/_libs/interval.c:8301:18: error: ‘__pyx_pw_6pandas_5_libs_8interval_8Interval_25__div__’ defined but not used [-Werror=unused-function]
8301 | static PyObject *__pyx_pw_6pandas_5_libs_8interval_8Interval_25__div__(PyObject *__pyx_v_self, PyObject *__pyx_v_y) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
cc1: all warnings being treated as errors
error: command 'gcc' failed with exit status 1
```
#### Problem description
Recently I decide to try out Ubuntu 20.04. The build process failed. See the output in the section above. I replaced my user name with xxx.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34753/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34753/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34754
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34754/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34754/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34754/events
|
https://github.com/pandas-dev/pandas/issues/34754
| 638,212,831
|
MDU6SXNzdWU2MzgyMTI4MzE=
| 34,754
|
ENH: add masked algorithm for mean()
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "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": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
},
{
"color": "547c03",
"default": false,
"description": "sum, mean, min, max, etc.",
"id": 2365504383,
"name": "Reduction Operations",
"node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/32221186?v=4",
"events_url": "https://api.github.com/users/Akshatt/events{/privacy}",
"followers_url": "https://api.github.com/users/Akshatt/followers",
"following_url": "https://api.github.com/users/Akshatt/following{/other_user}",
"gists_url": "https://api.github.com/users/Akshatt/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Akshatt",
"id": 32221186,
"login": "Akshatt",
"node_id": "MDQ6VXNlcjMyMjIxMTg2",
"organizations_url": "https://api.github.com/users/Akshatt/orgs",
"received_events_url": "https://api.github.com/users/Akshatt/received_events",
"repos_url": "https://api.github.com/users/Akshatt/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Akshatt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Akshatt/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Akshatt"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/32221186?v=4",
"events_url": "https://api.github.com/users/Akshatt/events{/privacy}",
"followers_url": "https://api.github.com/users/Akshatt/followers",
"following_url": "https://api.github.com/users/Akshatt/following{/other_user}",
"gists_url": "https://api.github.com/users/Akshatt/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Akshatt",
"id": 32221186,
"login": "Akshatt",
"node_id": "MDQ6VXNlcjMyMjIxMTg2",
"organizations_url": "https://api.github.com/users/Akshatt/orgs",
"received_events_url": "https://api.github.com/users/Akshatt/received_events",
"repos_url": "https://api.github.com/users/Akshatt/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Akshatt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Akshatt/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Akshatt"
}
] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 6
| 2020-06-13T18:55:35Z
| 2021-01-01T21:46:48Z
| 2021-01-01T21:46:48Z
|
MEMBER
| null |
Similarly as we now have masked implementations for sum, prod, min and max for the nullable integer array (first PR https://github.com/pandas-dev/pandas/pull/30982, now lives at https://github.com/pandas-dev/pandas/blob/master/pandas/core/array_algos/masked_reductions.py), we can add one for the `mean` reduction as well.
Very rough check gives a nice speed-up:
```
In [27]: arr = pd.array(np.random.randint(0, 1000, 1_000_000), dtype="Int64")
In [28]: arr[np.random.randint(0, 1_000_000, 1000)] = pd.NA
In [30]: arr._reduce("mean")
Out[30]: 499.27095868772903
In [31]: %timeit arr._reduce("mean")
7.26 ms ± 335 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
In [32]: arr._data.sum(where=~arr._mask, dtype="float64") / (~arr._mask).sum()
Out[32]: 499.27095868772903
In [33]: %timeit arr._data.sum(where=~arr._mask, dtype="float64") / (~arr._mask).sum()
2.08 ms ± 6.89 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
```
The `nanmean` version lives here: https://github.com/pandas-dev/pandas/blob/master/pandas/core/nanops.py#L517
And as reference, numpy is also adding a version that accepts a mask: https://github.com/numpy/numpy/pull/15852 (which could be used in the future, and as inspiration for the implementation now).
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34754/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34754/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34755
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34755/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34755/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34755/events
|
https://github.com/pandas-dev/pandas/pull/34755
| 638,214,188
|
MDExOlB1bGxSZXF1ZXN0NDM0MDQzODkw
| 34,755
|
TST: Period with Timestamp overflow
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/59281854?v=4",
"events_url": "https://api.github.com/users/OlivierLuG/events{/privacy}",
"followers_url": "https://api.github.com/users/OlivierLuG/followers",
"following_url": "https://api.github.com/users/OlivierLuG/following{/other_user}",
"gists_url": "https://api.github.com/users/OlivierLuG/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/OlivierLuG",
"id": 59281854,
"login": "OlivierLuG",
"node_id": "MDQ6VXNlcjU5MjgxODU0",
"organizations_url": "https://api.github.com/users/OlivierLuG/orgs",
"received_events_url": "https://api.github.com/users/OlivierLuG/received_events",
"repos_url": "https://api.github.com/users/OlivierLuG/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/OlivierLuG/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/OlivierLuG/subscriptions",
"type": "User",
"url": "https://api.github.com/users/OlivierLuG"
}
|
[
{
"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": "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"
},
{
"color": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 8
| 2020-06-13T19:04:44Z
| 2021-01-02T08:31:59Z
| 2020-10-05T20:52:52Z
|
CONTRIBUTOR
| null |
- [x] closes #13346
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
The first part of the test checks that the period inside boundaries does not raise exception when calling `start_time` and `end_time` methods. The second part checks that methods raise exceptions when outside of boundaries.
The parameters are `Timestamp.min` and `Timestamp.max`, so the tests will follow any change of the boundaries.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34755/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34755/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34755.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34755",
"merged_at": "2020-10-05T20:52:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34755.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34755"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34756
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34756/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34756/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34756/events
|
https://github.com/pandas-dev/pandas/pull/34756
| 638,225,475
|
MDExOlB1bGxSZXF1ZXN0NDM0MDUyMjY5
| 34,756
|
BUG: DataFrameGroupBy.quantile raises for non-numeric dtypes rather than dropping columns
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 6
| 2020-06-13T20:17:17Z
| 2020-10-11T13:22:14Z
| 2020-07-16T22:48:30Z
|
MEMBER
| null |
- [x] closes #27892
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Unlike what is mentioned in #27892, this will raise if there are no columns to aggregate. Both mean and median raise with "No numeric types to aggregate" in such a case, so I was thinking perhaps we should be consistent with them. Any thoughts @WillAyd and @TomAugspurger?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34756/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34756/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34756.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34756",
"merged_at": "2020-07-16T22:48:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34756.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34756"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34757
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34757/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34757/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34757/events
|
https://github.com/pandas-dev/pandas/pull/34757
| 638,227,760
|
MDExOlB1bGxSZXF1ZXN0NDM0MDUzOTA4
| 34,757
|
typo: rows -> columns
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/312978?v=4",
"events_url": "https://api.github.com/users/hartzell/events{/privacy}",
"followers_url": "https://api.github.com/users/hartzell/followers",
"following_url": "https://api.github.com/users/hartzell/following{/other_user}",
"gists_url": "https://api.github.com/users/hartzell/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hartzell",
"id": 312978,
"login": "hartzell",
"node_id": "MDQ6VXNlcjMxMjk3OA==",
"organizations_url": "https://api.github.com/users/hartzell/orgs",
"received_events_url": "https://api.github.com/users/hartzell/received_events",
"repos_url": "https://api.github.com/users/hartzell/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hartzell/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hartzell/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hartzell"
}
|
[
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-13T20:32:47Z
| 2020-06-14T13:56:04Z
| 2020-06-14T01:30:27Z
|
CONTRIBUTOR
| null |
I'm new to pandas and reading the docs for the first time. By my reading of the first part of this paragraph, there's a dictionary of lists and the lists are `["Braund...", "Allen...", ...]`, `[22, 35, 58]`, and `["male", "male", "female"]`.
The original sentence says: "... and the values in each list as rows of the DataFrame", but the values in the first list (`["Baund...]`) are the values in the first **column** of the illustration. Likewise the list `[22,...]` is the second column and `["male",...]` is the third.
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34757/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34757/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34757.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34757",
"merged_at": "2020-06-14T01:30:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34757.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34757"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34758
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34758/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34758/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34758/events
|
https://github.com/pandas-dev/pandas/pull/34758
| 638,251,937
|
MDExOlB1bGxSZXF1ZXN0NDM0MDcyMDU3
| 34,758
|
typo: pivot_table -> pivot
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/312978?v=4",
"events_url": "https://api.github.com/users/hartzell/events{/privacy}",
"followers_url": "https://api.github.com/users/hartzell/followers",
"following_url": "https://api.github.com/users/hartzell/following{/other_user}",
"gists_url": "https://api.github.com/users/hartzell/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hartzell",
"id": 312978,
"login": "hartzell",
"node_id": "MDQ6VXNlcjMxMjk3OA==",
"organizations_url": "https://api.github.com/users/hartzell/orgs",
"received_events_url": "https://api.github.com/users/hartzell/received_events",
"repos_url": "https://api.github.com/users/hartzell/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hartzell/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hartzell/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hartzell"
}
|
[
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-13T23:28:48Z
| 2020-06-14T01:29:40Z
| 2020-06-14T01:29:28Z
|
CONTRIBUTOR
| null |
I'm new to pandas and reading the docs for the first time.
I believe that the reference in the *pivot* section should be to `pivot`, not `pivot_table`, to match the code in the example.
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34758/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34758/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34758.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34758",
"merged_at": "2020-06-14T01:29:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34758.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34758"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34759
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34759/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34759/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34759/events
|
https://github.com/pandas-dev/pandas/issues/34759
| 638,260,251
|
MDU6SXNzdWU2MzgyNjAyNTE=
| 34,759
|
BUG: problem converting between new dtypes ('string' and 'Int8' / 'Int64')
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/20208402?v=4",
"events_url": "https://api.github.com/users/SultanOrazbayev/events{/privacy}",
"followers_url": "https://api.github.com/users/SultanOrazbayev/followers",
"following_url": "https://api.github.com/users/SultanOrazbayev/following{/other_user}",
"gists_url": "https://api.github.com/users/SultanOrazbayev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SultanOrazbayev",
"id": 20208402,
"login": "SultanOrazbayev",
"node_id": "MDQ6VXNlcjIwMjA4NDAy",
"organizations_url": "https://api.github.com/users/SultanOrazbayev/orgs",
"received_events_url": "https://api.github.com/users/SultanOrazbayev/received_events",
"repos_url": "https://api.github.com/users/SultanOrazbayev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SultanOrazbayev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SultanOrazbayev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SultanOrazbayev"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-06-14T00:48:14Z
| 2020-08-21T17:05:15Z
| 2020-06-14T01:35:23Z
|
CONTRIBUTOR
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
---
Attempts to convert between the new nullable integer and string dtypes result in an error. This might be a different manifestation of the same underlying problem as in: https://github.com/pandas-dev/pandas/issues/32073 and https://github.com/pandas-dev/pandas/issues/32234
```python
import pandas as pd
import numpy as np
test = {
'a': [0, 1, np.nan],
'b': ['0', '1', np.nan]
}
df = pd.DataFrame(test).astype({'a': 'Int8', 'b': 'string'})
df.b.astype('Int8')
# TypeError: data type not understood
```
Here's the traceback:
<details>
---------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-13-fcd2b8190e95> in <module>
----> 1 df.b.astype('Int8')
~/myenv/lib/python3.7/site-packages/pandas/core/generic.py in astype(self, dtype, copy, errors)
5696 else:
5697 # else, only a single dtype is given
-> 5698 new_data = self._data.astype(dtype=dtype, copy=copy, errors=errors)
5699 return self._constructor(new_data).__finalize__(self)
5700
~/myenv/lib/python3.7/site-packages/pandas/core/internals/managers.py in astype(self, dtype, copy, errors)
580
581 def astype(self, dtype, copy: bool = False, errors: str = "raise"):
--> 582 return self.apply("astype", dtype=dtype, copy=copy, errors=errors)
583
584 def convert(self, **kwargs):
~/myenv/lib/python3.7/site-packages/pandas/core/internals/managers.py in apply(self, f, filter, **kwargs)
440 applied = b.apply(f, **kwargs)
441 else:
--> 442 applied = getattr(b, f)(**kwargs)
443 result_blocks = _extend_blocks(applied, result_blocks)
444
~/myenv/lib/python3.7/site-packages/pandas/core/internals/blocks.py in astype(self, dtype, copy, errors)
605 if self.is_extension:
606 # TODO: Should we try/except this astype?
--> 607 values = self.values.astype(dtype)
608 else:
609 if issubclass(dtype.type, str):
~/myenv/lib/python3.7/site-packages/pandas/core/arrays/string_.py in astype(self, dtype, copy)
258 return self.copy()
259 return self
--> 260 return super().astype(dtype, copy)
261
262 def _reduce(self, name, skipna=True, **kwargs):
~/myenv/lib/python3.7/site-packages/pandas/core/arrays/base.py in astype(self, dtype, copy)
448 NumPy ndarray with 'dtype' for its dtype.
449 """
--> 450 return np.array(self, dtype=dtype, copy=copy)
451
452 def isna(self) -> ArrayLike:
TypeError: data type not understood
</details>
#### Expected Output
It should be possible to convert between different dtypes.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.6.final.0
python-bits : 64
OS : Linux
OS-release : 3.10.0-957.12.1.el7.x86_64
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : en_GB.UTF-8
pandas : 1.0.4
numpy : 1.18.5
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 47.1.1.post20200529
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.15.0
pandas_datareader: None
bs4 : 4.9.1
bottleneck : None
fastparquet : 0.4.0
gcsfs : None
lxml.etree : None
matplotlib : 3.2.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.17.1
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : None
tables : None
tabulate : None
xarray : 0.15.1
xlrd : None
xlwt : None
xlsxwriter : None
numba : 0.48.0
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34759/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34759/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34760
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34760/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34760/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34760/events
|
https://github.com/pandas-dev/pandas/pull/34760
| 638,260,965
|
MDExOlB1bGxSZXF1ZXN0NDM0MDc4NTAw
| 34,760
|
REF: De-duplicate roll_yearday/roll_qtrday
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-06-14T00:55:42Z
| 2020-06-14T21:23:21Z
| 2020-06-14T20:47:19Z
|
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/34760/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34760/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34760.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34760",
"merged_at": "2020-06-14T20:47:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34760.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34760"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/34761
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34761/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34761/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34761/events
|
https://github.com/pandas-dev/pandas/pull/34761
| 638,264,803
|
MDExOlB1bGxSZXF1ZXN0NDM0MDgxMjU5
| 34,761
|
REF: implement shift_bday
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"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": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-06-14T01:33:30Z
| 2020-06-14T23:06:50Z
| 2020-06-14T22:55:41Z
|
MEMBER
| null |
Avoids depending on DatetimeArray/PeriodArray methods, also avoids a couple of array allocations
```
In [2]: dti = pd.date_range("2016-01-01", periods=10**5, freq="S")
In [3]: off = pd.offsets.BDay()
In [4]: %timeit dti + off
24.1 ms ± 202 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) # <-- master
20.1 ms ± 664 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # <-- PR
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34761/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34761/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34761.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34761",
"merged_at": "2020-06-14T22:55:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34761.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34761"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34762
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34762/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34762/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34762/events
|
https://github.com/pandas-dev/pandas/pull/34762
| 638,266,003
|
MDExOlB1bGxSZXF1ZXN0NDM0MDgyMTEx
| 34,762
|
CLN: day->day_opt, remove unused case in liboffsets.get_day_of_month
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-14T01:46:21Z
| 2020-06-14T15:20:08Z
| 2020-06-14T14:21:54Z
|
MEMBER
| null |
Removing this unused case turns out to be a blocker to making get_day_of_month nogil, which in turn will allow a bunch of de-duplication in this file.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34762/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34762/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34762.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34762",
"merged_at": "2020-06-14T14:21:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34762.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34762"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34763
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34763/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34763/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34763/events
|
https://github.com/pandas-dev/pandas/pull/34763
| 638,266,241
|
MDExOlB1bGxSZXF1ZXN0NDM0MDgyMjc2
| 34,763
|
REF: remove roll_check, use roll_convention
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"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": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-06-14T01:49:07Z
| 2020-06-14T17:01:22Z
| 2020-06-14T16:52:40Z
|
MEMBER
| null |
Avoid bespoke logic for these two cases. This will make it feasible to collapse shift_months down to a single case (following #34762 and the one after that that makes get_day_of_month nogil)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34763/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34763/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34763.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34763",
"merged_at": "2020-06-14T16:52:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34763.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34763"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34764
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34764/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34764/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34764/events
|
https://github.com/pandas-dev/pandas/pull/34764
| 638,273,579
|
MDExOlB1bGxSZXF1ZXN0NDM0MDg3NDU0
| 34,764
|
REF: make get_day_of_month nogil
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"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": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-06-14T03:08:24Z
| 2020-06-14T16:53:00Z
| 2020-06-14T16:39:03Z
|
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/34764/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34764/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34764.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34764",
"merged_at": "2020-06-14T16:39:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34764.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34764"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/34765
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34765/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34765/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34765/events
|
https://github.com/pandas-dev/pandas/issues/34765
| 638,328,709
|
MDU6SXNzdWU2MzgzMjg3MDk=
| 34,765
|
BUG: read_excel issue - 3 (header is a list, index_col is not range(N))
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1063219?v=4",
"events_url": "https://api.github.com/users/kuraga/events{/privacy}",
"followers_url": "https://api.github.com/users/kuraga/followers",
"following_url": "https://api.github.com/users/kuraga/following{/other_user}",
"gists_url": "https://api.github.com/users/kuraga/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kuraga",
"id": 1063219,
"login": "kuraga",
"node_id": "MDQ6VXNlcjEwNjMyMTk=",
"organizations_url": "https://api.github.com/users/kuraga/orgs",
"received_events_url": "https://api.github.com/users/kuraga/received_events",
"repos_url": "https://api.github.com/users/kuraga/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kuraga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kuraga/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kuraga"
}
|
[
{
"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"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] |
open
| false
| null |
[] | null | 2
| 2020-06-14T10:54:51Z
| 2020-09-07T03:41:09Z
| null |
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
pd.read_excel('test.xlsx', header=[0, 1], index_col=1, engine='openpyxl')
# or
pd.read_excel('test.xlsx', header=[0, 1], index_col=[0, 2], engine='openpyxl')
# or
pd.read_excel('test.xlsx', header=[0, 1], index_col=[1, 2], engine='openpyxl')
```
(`engine` could be `xlrd` or `openpyxl`, doesn't matter.)
[test.xlsx](https://github.com/pandas-dev/pandas/files/4776274/test.xlsx) (but could be different)
#### Problem description
```
Traceback (most recent call last):
File "test.py", line 3, in <module>
pd.read_excel('test.xlsx', header=[0, 1], index_col=[0, 2], engine='openpyxl')
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 334, in read_excel
**kwds,
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 888, in parse
**kwds,
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 521, in parse
].columns.set_names(header_names)
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 1325, in set_names
idx._set_names(names, level=level)
File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 1239, in _set_names
raise ValueError(f"Length of new names must be 1, got {len(values)}")
ValueError: Length of new names must be 1, got 2
```
#### Expected Output
No exceptions.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.7.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.42-calculate
machine : x86_64
processor : Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
byteorder : little
LC_ALL : None
LANG : ru_RU.utf8
LOCALE : ru_RU.UTF-8
pandas : 1.0.3
numpy : 1.18.1
pytz : 2020.1
dateutil : 2.8.1
pip : 20.0.2
setuptools : 46.4.0.post20200518
Cython : 0.29.17
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : 1.2.8
lxml.etree : 4.5.0
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.13.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.5.0
matplotlib : 3.1.3
numexpr : None
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : None
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : None
xlsxwriter : 1.2.8
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34765/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34765/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34766
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34766/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34766/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34766/events
|
https://github.com/pandas-dev/pandas/issues/34766
| 638,330,228
|
MDU6SXNzdWU2MzgzMzAyMjg=
| 34,766
|
API: read_excel's header and index_col handling rules
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1063219?v=4",
"events_url": "https://api.github.com/users/kuraga/events{/privacy}",
"followers_url": "https://api.github.com/users/kuraga/followers",
"following_url": "https://api.github.com/users/kuraga/following{/other_user}",
"gists_url": "https://api.github.com/users/kuraga/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kuraga",
"id": 1063219,
"login": "kuraga",
"node_id": "MDQ6VXNlcjEwNjMyMTk=",
"organizations_url": "https://api.github.com/users/kuraga/orgs",
"received_events_url": "https://api.github.com/users/kuraga/received_events",
"repos_url": "https://api.github.com/users/kuraga/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kuraga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kuraga/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kuraga"
}
|
[
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
},
{
"color": "b60205",
"default": false,
"description": "Internal Consistency of API/Behavior",
"id": 1741841389,
"name": "API - Consistency",
"node_id": "MDU6TGFiZWwxNzQxODQxMzg5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency"
}
] |
closed
| false
| null |
[] | null | 5
| 2020-06-14T11:05:44Z
| 2021-08-08T00:43:36Z
| 2021-08-08T00:43:35Z
|
NONE
| null |
Good day!
`read_excel`'s `header` and `index_col` handling rules I see (a little chaotic [demo_suite.zip](https://github.com/pandas-dev/pandas/files/4776287/demo_suite.zip)):
- in all cases of `header`:
- cells `(header, outside of index_col)` are used as `df.columns`.
- if `header` is a integer/one-item list:
- `df.columns.name` is untouched,
- cells `(greater than max(header), index_col)` are used for `df.index`,
- cells `(header, index_col)` are used for `df.index.name`.
- else (i.e., `header` is a (2-up-items) list):
- according to #34765, `index_col` should be `None` or `0` or `range(0, max_index_col+1, 1)`.
- if row `max(header)+1` is empty except columns `index_col`:
- cells `(greater than max(header)+1, index_col)` are used for `df.index`,
- cells `(max(header)+1, index_col)` are used for `df.index.names`,
- else:
- cells `(greater than max(header), index_col)` are used for `df.index`,
- `df.index.names` is untouched.
- cells `(header, max(index_col))` are used for `df.columns.names`.
- non-`max` columns of `index_col` aren't used for `df.index`/`df.columns`.
Other observations:
- rows above `min(header)` are omitted.
- `header` is 0-based or `skiprows-1`-based?
So,
1. Isn't it too complicated, is it?
2. Is each this rule is documented?
3. Is each this rule is tested?
Any thoughts? Thanks!
/cc @TomAugspurger @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/34766/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34766/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34767
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34767/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34767/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34767/events
|
https://github.com/pandas-dev/pandas/pull/34767
| 638,347,761
|
MDExOlB1bGxSZXF1ZXN0NDM0MTQxNDMy
| 34,767
|
BUG: Groupby with as_index=False raises error when type is Category
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-14T12:58:48Z
| 2020-07-11T16:02:03Z
| 2020-06-15T12:29:20Z
|
MEMBER
| null |
- [x] closes #32599
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This regression was a symptom of `DataFrameGroupBy.size` ignoring `as_index=False`. Fixing this now makes the result either a frame or series, so where the internals use `size()` they now use `grouper.size()` which always returns a series.
I also implemented @dsaxton's suggestion to make the column named "size" when `as_index=False` (https://github.com/pandas-dev/pandas/issues/5755#issuecomment-522321259).
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34767/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34767/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34767.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34767",
"merged_at": "2020-06-15T12:29:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34767.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34767"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34768
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34768/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34768/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34768/events
|
https://github.com/pandas-dev/pandas/pull/34768
| 638,358,167
|
MDExOlB1bGxSZXF1ZXN0NDM0MTQ5MTM5
| 34,768
|
BUG, TST: fix-_check_ticks_props
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
}
|
[
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-06-14T14:02:33Z
| 2020-06-16T19:34:12Z
| 2020-06-16T19:29:38Z
|
MEMBER
| null |
Here's something I noticed while working on #34334 : `self._check_ticks_props(ax, ylabelsize=0)` always passes!
This is because of
```python
if ylabelsize
```
instead of
```python
if ylabelsize is not None
```
being used.
The test I've added fails on master:
```python-traceback
(pandas-dev) marco@marco-Predator-PH315-52:~/pandas-dev$ pytest pandas/tests/plotting/test_frame.py::TestDataFramePlots::test_plot_with_rot
============================================================== test session starts ==============================================================
platform linux -- Python 3.8.2, pytest-5.4.1, py-1.8.1, pluggy-0.13.1
rootdir: /home/marco/pandas-dev, inifile: setup.cfg
plugins: cov-2.8.1, xdist-1.31.0, asyncio-0.10.0, hypothesis-5.8.0, forked-1.1.2
collected 1 item
pandas/tests/plotting/test_frame.py . [100%]
=============================================================== 1 passed in 0.33s ===============================================================
(pandas-dev) marco@marco-Predator-PH315-52:~/pandas-dev$ git checkout upstream/master -- pandas/tests/plotting/common.py
(pandas-dev) marco@marco-Predator-PH315-52:~/pandas-dev$ pytest pandas/tests/plotting/test_frame.py::TestDataFramePlots::test_plot_with_rot
============================================================== test session starts ==============================================================
platform linux -- Python 3.8.2, pytest-5.4.1, py-1.8.1, pluggy-0.13.1
rootdir: /home/marco/pandas-dev, inifile: setup.cfg
plugins: cov-2.8.1, xdist-1.31.0, asyncio-0.10.0, hypothesis-5.8.0, forked-1.1.2
collected 1 item
pandas/tests/plotting/test_frame.py F [100%]
=================================================================== FAILURES ====================================================================
_____________________________________________________ TestDataFramePlots.test_plot_with_rot _____________________________________________________
self = <pandas.tests.plotting.test_frame.TestDataFramePlots object at 0x7f8c7578f3a0>
def test_plot_with_rot(self):
# GH 34768
df = pd.DataFrame({"b": [0, 1, 0], "a": [1, 2, 3]})
ax = _check_plot_works(df.plot, rot=30)
ax.yaxis.set_tick_params(rotation=30)
msg = "expected 0.00000 but got "
with pytest.raises(AssertionError, match=msg):
> self._check_ticks_props(ax, xrot=0)
E Failed: DID NOT RAISE <class 'AssertionError'>
pandas/tests/plotting/test_frame.py:3360: Failed
============================================================ short test summary info ============================================================
FAILED pandas/tests/plotting/test_frame.py::TestDataFramePlots::test_plot_with_rot - Failed: DID NOT RAISE <class 'AssertionError'>
=============================================================== 1 failed in 0.46s ===============================================================
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34768/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34768/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34768.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34768",
"merged_at": "2020-06-16T19:29:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34768.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34768"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34769
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34769/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34769/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34769/events
|
https://github.com/pandas-dev/pandas/issues/34769
| 638,367,645
|
MDU6SXNzdWU2MzgzNjc2NDU=
| 34,769
|
TST: split up tests/plotting/test_frame.py into subdir & modules
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/4172290?v=4",
"events_url": "https://api.github.com/users/iahsanujunda/events{/privacy}",
"followers_url": "https://api.github.com/users/iahsanujunda/followers",
"following_url": "https://api.github.com/users/iahsanujunda/following{/other_user}",
"gists_url": "https://api.github.com/users/iahsanujunda/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/iahsanujunda",
"id": 4172290,
"login": "iahsanujunda",
"node_id": "MDQ6VXNlcjQxNzIyOTA=",
"organizations_url": "https://api.github.com/users/iahsanujunda/orgs",
"received_events_url": "https://api.github.com/users/iahsanujunda/received_events",
"repos_url": "https://api.github.com/users/iahsanujunda/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/iahsanujunda/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/iahsanujunda/subscriptions",
"type": "User",
"url": "https://api.github.com/users/iahsanujunda"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/4172290?v=4",
"events_url": "https://api.github.com/users/iahsanujunda/events{/privacy}",
"followers_url": "https://api.github.com/users/iahsanujunda/followers",
"following_url": "https://api.github.com/users/iahsanujunda/following{/other_user}",
"gists_url": "https://api.github.com/users/iahsanujunda/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/iahsanujunda",
"id": 4172290,
"login": "iahsanujunda",
"node_id": "MDQ6VXNlcjQxNzIyOTA=",
"organizations_url": "https://api.github.com/users/iahsanujunda/orgs",
"received_events_url": "https://api.github.com/users/iahsanujunda/received_events",
"repos_url": "https://api.github.com/users/iahsanujunda/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/iahsanujunda/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/iahsanujunda/subscriptions",
"type": "User",
"url": "https://api.github.com/users/iahsanujunda"
},
{
"avatar_url": "https://avatars.githubusercontent.com/u/44315225?v=4",
"events_url": "https://api.github.com/users/Mikhaylov-yv/events{/privacy}",
"followers_url": "https://api.github.com/users/Mikhaylov-yv/followers",
"following_url": "https://api.github.com/users/Mikhaylov-yv/following{/other_user}",
"gists_url": "https://api.github.com/users/Mikhaylov-yv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Mikhaylov-yv",
"id": 44315225,
"login": "Mikhaylov-yv",
"node_id": "MDQ6VXNlcjQ0MzE1MjI1",
"organizations_url": "https://api.github.com/users/Mikhaylov-yv/orgs",
"received_events_url": "https://api.github.com/users/Mikhaylov-yv/received_events",
"repos_url": "https://api.github.com/users/Mikhaylov-yv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Mikhaylov-yv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Mikhaylov-yv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Mikhaylov-yv"
}
] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 6
| 2020-06-14T14:54:47Z
| 2020-11-13T02:51:08Z
| 2020-11-13T02:51:08Z
|
CONTRIBUTOR
| null |
we should split up this test file into a separate subdir and multiple test modules for better groking. first PR should be a straight move, then can split (or all in one is ok)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34769/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34769/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34770
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34770/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34770/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34770/events
|
https://github.com/pandas-dev/pandas/pull/34770
| 638,389,167
|
MDExOlB1bGxSZXF1ZXN0NDM0MTcxODIz
| 34,770
|
CLN/TYPE: EWM
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
},
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-06-14T16:53:17Z
| 2020-06-14T18:36:26Z
| 2020-06-14T18:36:23Z
|
MEMBER
| null |
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
1. Move `min_periods` validation to constructor
2. Stronger cython type defintions
3. Typing EWM methods
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34770/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34770/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34770.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34770",
"merged_at": "2020-06-14T18:36:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34770.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34770"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34771
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34771/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34771/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34771/events
|
https://github.com/pandas-dev/pandas/issues/34771
| 638,393,222
|
MDU6SXNzdWU2MzgzOTMyMjI=
| 34,771
|
PERF: DataFrameGroupBy var and std
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"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"
}
] |
closed
| false
| null |
[] | null | 1
| 2020-06-14T17:18:24Z
| 2020-07-07T13:39:22Z
| 2020-07-07T13:39:22Z
|
MEMBER
| null |
Performance on wide and short frames decreased due to #34372, timings are in the OP there. std is computed by calling var.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34771/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34771/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34772
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34772/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34772/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34772/events
|
https://github.com/pandas-dev/pandas/pull/34772
| 638,397,714
|
MDExOlB1bGxSZXF1ZXN0NDM0MTc4MDkz
| 34,772
|
REF: inline get_day_of_month
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-06-14T17:45:56Z
| 2020-06-14T19:52:45Z
| 2020-06-14T19:45:25Z
|
MEMBER
| null |
Makes the logic in all cases of shift_months identical, same for shift_quarters. Next pass does de-duplication.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34772/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34772/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34772.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34772",
"merged_at": "2020-06-14T19:45:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34772.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34772"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34773
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34773/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34773/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34773/events
|
https://github.com/pandas-dev/pandas/issues/34773
| 638,398,330
|
MDU6SXNzdWU2MzgzOTgzMzA=
| 34,773
|
PERF: Significant speed difference between `arr.mean()` and `arr.values.mean()` for common `dtype` columns
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/273210?v=4",
"events_url": "https://api.github.com/users/ianozsvald/events{/privacy}",
"followers_url": "https://api.github.com/users/ianozsvald/followers",
"following_url": "https://api.github.com/users/ianozsvald/following{/other_user}",
"gists_url": "https://api.github.com/users/ianozsvald/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ianozsvald",
"id": 273210,
"login": "ianozsvald",
"node_id": "MDQ6VXNlcjI3MzIxMA==",
"organizations_url": "https://api.github.com/users/ianozsvald/orgs",
"received_events_url": "https://api.github.com/users/ianozsvald/received_events",
"repos_url": "https://api.github.com/users/ianozsvald/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ianozsvald/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ianozsvald/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ianozsvald"
}
|
[
{
"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 |
[] | null | 10
| 2020-06-14T17:49:29Z
| 2021-08-08T00:46:24Z
| 2021-08-08T00:46:23Z
|
CONTRIBUTOR
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
I'm seeing a significant variance in timings for common math operations (e.g. `mean`, `std`, `max`) on a large Pandas `Series` vs the underlying NumPy `array`. An code example is shown below with 1 million elements and a 10x speed difference. The screenshot below uses 10 million elements.
I've generated a testing module (https://github.com/ianozsvald/dtype_pandas_numpy_speed_test) which several people have tried on Intel & AMD hardware: https://github.com/ianozsvald/dtype_pandas_numpy_speed_test/issues/1
This module confirms the general trend that all of these operations are faster on the underlying NumPy array (not unsurprising as it avoids the despatch machinery) _but_ for float operations the speed hit using Pandas seems to be extreme:

#### Code Sample, a copy-pastable example
A Python module exists in this repo along with reports from several other users with screenshots of their graphs, the same general behaviour is seen across different machines: https://github.com/ianozsvald/dtype_pandas_numpy_speed_test
```python
# note this is copied from my README linked above.
# paste into IPython or a Notebook
import pandas as pd
import numpy as np
arr = pd.Series(np.ones(shape=1_000_000))
arr.values.dtype
Out[]: dtype('float64')
arr.values.mean() == arr.mean()
Out[]: True
# call arr.mean() vs arr.values.mean(), note circa 10* speed difference
# with 4ms vs 0.4ms
%timeit arr.mean()
4.59 ms ± 44.4 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
%timeit arr.values.mean()
485 µs ± 5.73 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)
# note that arr.values dereference is very cheap (nano seconds)
%timeit arr.values
456 ns ± 0.828 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
```
#### Problem description
Is this slow-down expected? The slowdown feels extreme but perhaps my testing methodology is flawed? I expect the float & integer math to operate at approximately the same speed but instead we see a significant slow-down for Pandas float operations vs their NumPy counterparts.
I've added some extra graphs:
* https://github.com/ianozsvald/dtype_pandas_numpy_speed_test/blob/master/timings_1e7_std.png (10M elements with `std`)
* https://github.com/ianozsvald/dtype_pandas_numpy_speed_test/blob/master/timings_1e8_mean.png (100M elements with `mean` to contrast against the picture shown above in this report)
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
In [2]: pd.show_versions()
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.3.final.0
python-bits : 64
OS : Linux
OS-release : 5.6.7-050607-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : en_GB.UTF-8
pandas : 1.0.4
numpy : 1.18.5
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 47.1.1.post20200529
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.15.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.2.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.17.1
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34773/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34773/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34774
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34774/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34774/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34774/events
|
https://github.com/pandas-dev/pandas/pull/34774
| 638,398,425
|
MDExOlB1bGxSZXF1ZXN0NDM0MTc4NTkw
| 34,774
|
CI: move arm to non-failure builds
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-06-14T17:50:10Z
| 2020-06-15T00:59:29Z
| 2020-06-15T00:59:29Z
|
CONTRIBUTOR
| null |
make pre-commit language generic
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34774/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34774/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34774.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34774",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/34774.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34774"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34775
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34775/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34775/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34775/events
|
https://github.com/pandas-dev/pandas/pull/34775
| 638,414,864
|
MDExOlB1bGxSZXF1ZXN0NDM0MTkwNzEx
| 34,775
|
DOC: updated multi.py docstring for SS06 errors
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26743548?v=4",
"events_url": "https://api.github.com/users/willpeppo/events{/privacy}",
"followers_url": "https://api.github.com/users/willpeppo/followers",
"following_url": "https://api.github.com/users/willpeppo/following{/other_user}",
"gists_url": "https://api.github.com/users/willpeppo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/willpeppo",
"id": 26743548,
"login": "willpeppo",
"node_id": "MDQ6VXNlcjI2NzQzNTQ4",
"organizations_url": "https://api.github.com/users/willpeppo/orgs",
"received_events_url": "https://api.github.com/users/willpeppo/received_events",
"repos_url": "https://api.github.com/users/willpeppo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/willpeppo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willpeppo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/willpeppo"
}
|
[
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-06-14T19:29:09Z
| 2020-06-14T22:21:51Z
| 2020-06-14T22:21:47Z
|
CONTRIBUTOR
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34775/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34775/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34775.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34775",
"merged_at": "2020-06-14T22:21:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34775.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34775"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/34776
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34776/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34776/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34776/events
|
https://github.com/pandas-dev/pandas/issues/34776
| 638,428,318
|
MDU6SXNzdWU2Mzg0MjgzMTg=
| 34,776
|
CI: move 3.6,slow or 3.6 locale builds from travis to azure
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-06-14T20:52:16Z
| 2020-07-07T13:10:07Z
| 2020-07-07T13:10:07Z
|
CONTRIBUTOR
| null |
we have capacity on azure (we are using 8/10) and slightly overloaded on travis.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34776/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34776/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34777
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34777/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34777/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34777/events
|
https://github.com/pandas-dev/pandas/issues/34777
| 638,432,682
|
MDU6SXNzdWU2Mzg0MzI2ODI=
| 34,777
|
ENH: Support Multi-Index for columns in parquet format
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13206058?v=4",
"events_url": "https://api.github.com/users/yohplala/events{/privacy}",
"followers_url": "https://api.github.com/users/yohplala/followers",
"following_url": "https://api.github.com/users/yohplala/following{/other_user}",
"gists_url": "https://api.github.com/users/yohplala/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yohplala",
"id": 13206058,
"login": "yohplala",
"node_id": "MDQ6VXNlcjEzMjA2MDU4",
"organizations_url": "https://api.github.com/users/yohplala/orgs",
"received_events_url": "https://api.github.com/users/yohplala/received_events",
"repos_url": "https://api.github.com/users/yohplala/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yohplala/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yohplala/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yohplala"
}
|
[
{
"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": "parquet, feather",
"id": 685114413,
"name": "IO Parquet",
"node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet"
},
{
"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": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 4
| 2020-06-14T21:19:18Z
| 2020-11-19T02:09:10Z
| 2020-11-19T02:09:10Z
|
NONE
| null |
#### Is your feature request related to a problem?
I would like to save DataFrame with Multi-Index used for columns into parquet format.
This is currently not possible.
```python
import pandas as pd
df = pd.DataFrame([[1,2,3],[4,5,6],[7,8,9]], columns= pd.MultiIndex.from_product([['1'],['a', 'b', 'c']]))
df.to_parquet('test.parquet')
""" doesn't work, whatever the engine """
ValueError: parquet must have string column names
```
#### Describe alternatives you've considered
To do so with actual state of library, a [piece of code has been shared on SO](https://stackoverflow.com/questions/54861430/how-do-i-save-multi-indexed-pandas-dataframes-to-parquet).
I will use it for now.
```python
import pyarrow as pa
import pyarrow.parquet as pq
table = pa.Table.from_pandas(df)
pq.write_table(table, 'test.parquet')
df_test_read = pd.read_parquet('test.parquet')
```
Thanks for your help!
Bests,
|
{
"+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/34777/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34777/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34778
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34778/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34778/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34778/events
|
https://github.com/pandas-dev/pandas/pull/34778
| 638,438,618
|
MDExOlB1bGxSZXF1ZXN0NDM0MjA4MTAw
| 34,778
|
REF: de-duplicate code in liboffsets
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-06-14T21:58:07Z
| 2020-06-15T00:59:10Z
| 2020-06-15T00:17:51Z
|
MEMBER
| null |
```
In [2]: dti = pd.date_range("2016-01-01", periods=10000, freq="S")
In [3]: off = pd.offsets.BMonthEnd(2)
In [4]: %timeit dti + off
3.36 ms ± 14 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # <-- master
998 µs ± 12.5 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # <-- PR
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34778/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34778/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34778.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34778",
"merged_at": "2020-06-15T00:17:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34778.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34778"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34779
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34779/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34779/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34779/events
|
https://github.com/pandas-dev/pandas/issues/34779
| 638,458,586
|
MDU6SXNzdWU2Mzg0NTg1ODY=
| 34,779
|
CI: gbq tests failing
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "0052cc",
"default": false,
"description": "pandas-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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 9
| 2020-06-15T00:02:51Z
| 2020-07-09T23:41:00Z
| 2020-07-09T23:41:00Z
|
CONTRIBUTOR
| null |
https://travis-ci.org/github/pandas-dev/pandas/builds/698328374
and specificallly these 2 builds: https://travis-ci.org/github/pandas-dev/pandas/jobs/698328378
cc @alimcmaster1 @tswast
if you have any insights
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34779/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34779/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34780
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34780/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34780/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34780/events
|
https://github.com/pandas-dev/pandas/pull/34780
| 638,466,789
|
MDExOlB1bGxSZXF1ZXN0NDM0MjI5Mzk2
| 34,780
|
TST: remove super slow cases on upsample_nearest_limit
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-06-15T00:42:37Z
| 2020-06-15T02:19:40Z
| 2020-06-15T02:19:39Z
|
CONTRIBUTOR
| null |
make multi_thread csv parsing test slow
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34780/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34780/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34780.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34780",
"merged_at": "2020-06-15T02:19:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34780.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34780"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34781
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34781/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34781/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34781/events
|
https://github.com/pandas-dev/pandas/pull/34781
| 638,475,156
|
MDExOlB1bGxSZXF1ZXN0NDM0MjM1Nzkw
| 34,781
|
REF: reuse roll_qtrday in liboffsets
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-15T01:18:58Z
| 2020-06-15T03:13:37Z
| 2020-06-15T02:19:54Z
|
MEMBER
| null |
Last one in this sequence.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34781/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34781/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34781.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34781",
"merged_at": "2020-06-15T02:19:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34781.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34781"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34782
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34782/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34782/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34782/events
|
https://github.com/pandas-dev/pandas/pull/34782
| 638,479,760
|
MDExOlB1bGxSZXF1ZXN0NDM0MjM5NDcy
| 34,782
|
REF: avoid using DTA/PA methods in Week.apply_index
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-15T01:35:35Z
| 2020-06-15T03:14:31Z
| 2020-06-15T02:20:08Z
|
MEMBER
| null |
We avoid a couple of array allocations in the process.
```
In [2]: dti = pd.date_range("2016-01-01", periods=10000, freq="S")
In [3]: off = pd.offsets.Week(1, False, 3)
In [4]: %timeit dti + off
3.22 ms ± 30.7 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # <-- master
344 µs ± 4.97 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # <-- PR
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34782/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34782/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34782.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34782",
"merged_at": "2020-06-15T02:20:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34782.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34782"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34783
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34783/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34783/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34783/events
|
https://github.com/pandas-dev/pandas/pull/34783
| 638,514,230
|
MDExOlB1bGxSZXF1ZXN0NDM0MjY0OTk5
| 34,783
|
REF: avoid DTA/PA methods in SemiMonthOffset.apply_index
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-06-15T03:31:47Z
| 2020-06-15T15:00:32Z
| 2020-06-15T12:23:06Z
|
MEMBER
| null |
I think this gets the last implicit-external-dependencies in tslibs.
```
In [2]: dti = pd.date_range("2016-01-01", periods=10000, freq="S")
In [3]: off = pd.offsets.SemiMonthEnd(-2)
In [4]: %timeit dti + off
3.08 ms ± 108 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # <-- master
486 µs ± 7.16 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # <-- PR
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34783/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34783/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34783.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34783",
"merged_at": "2020-06-15T12:23:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34783.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34783"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34784
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34784/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34784/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34784/events
|
https://github.com/pandas-dev/pandas/issues/34784
| 638,627,528
|
MDU6SXNzdWU2Mzg2Mjc1Mjg=
| 34,784
|
BUG: pd.Series.rolling - center=True doesnt work when using numba engine
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/58287354?v=4",
"events_url": "https://api.github.com/users/PeterLuenenschloss/events{/privacy}",
"followers_url": "https://api.github.com/users/PeterLuenenschloss/followers",
"following_url": "https://api.github.com/users/PeterLuenenschloss/following{/other_user}",
"gists_url": "https://api.github.com/users/PeterLuenenschloss/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/PeterLuenenschloss",
"id": 58287354,
"login": "PeterLuenenschloss",
"node_id": "MDQ6VXNlcjU4Mjg3MzU0",
"organizations_url": "https://api.github.com/users/PeterLuenenschloss/orgs",
"received_events_url": "https://api.github.com/users/PeterLuenenschloss/received_events",
"repos_url": "https://api.github.com/users/PeterLuenenschloss/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/PeterLuenenschloss/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/PeterLuenenschloss/subscriptions",
"type": "User",
"url": "https://api.github.com/users/PeterLuenenschloss"
}
|
[
{
"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": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
},
{
"color": "5319e7",
"default": false,
"description": "numba-accelerated operations",
"id": 2138993554,
"name": "numba",
"node_id": "MDU6TGFiZWwyMTM4OTkzNTU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/numba"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-06-15T07:53:59Z
| 2020-06-16T12:47:57Z
| 2020-06-16T12:47:57Z
|
NONE
| null |
**Rolling over a Series with center=True gives different results depending on the engine used:**
```python
import pandas as pd
test_ser = pd.Series(np.arange(0,10))
rolled_without_numba =test_ser.rolling(3, center=True).apply(lambda x:x[1],raw=True)
rolled_with_numba = test_ser.rolling(3, center=True).apply(lambda x:x[1],raw=True, engine='numba', engine_kwargs={'no_python':True})
```
#### Problem description
wheras the result for rolling without the engine is as expected:
```python
rolled_without_numba.head()
0 NaN
1 1.0
2 2.0
3 3.0
4 4.0
```
rolling with the numba engine gives:
```python
rolled_with_numba.head()
0 NaN
1 NaN
2 1.0
3 2.0
4 3.0
```
The behavior is problematic at least because its not documented and causes frustrating bug tracing sessions. That the use of numba engine may change the result numerically, is not the first guess.
.
Since rolling with offset is not possible when using numba engine anyway, finding the center labels after rolling is not too big a problem - so maybe instead of a fix, a documentation or a warning would be sufficient.
#### Expected Output
```python
rolled_with_numba.equals(rolled_without_numba)
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.6.8.final.0
python-bits : 64
OS : Linux
OS-release : 5.3.0-53-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : de_DE.UTF-8
LOCALE : de_DE.UTF-8
pandas : 1.0.4
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 19.0.3
setuptools : 46.1.3
Cython : 0.29.17
pytest : 5.3.5
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.2.1
html5lib : 0.999999999
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : 4.6.0
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.2.1
matplotlib : 3.1.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.16.0
pytables : None
pytest : 5.3.5
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : None
tables : None
tabulate : 0.8.3
xarray : None
xlrd : 1.2.0
xlwt : None
xlsxwriter : None
numba : 0.48.0
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34784/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34784/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34785
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34785/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34785/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34785/events
|
https://github.com/pandas-dev/pandas/pull/34785
| 638,636,406
|
MDExOlB1bGxSZXF1ZXN0NDM0MzYzMzE3
| 34,785
|
DOC: add release note about revert for 1.0.5
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-06-18T13:09:32Z",
"closed_issues": 28,
"created_at": "2020-05-30T13:59:46Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-06-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/74",
"id": 5480671,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==",
"number": 74,
"open_issues": 0,
"state": "closed",
"title": "1.0.5",
"updated_at": "2020-06-18T13:09:32Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74"
}
| 3
| 2020-06-15T08:08:22Z
| 2020-06-15T13:38:02Z
| 2020-06-15T13:36:13Z
|
MEMBER
| null |
Whatsnew for https://github.com/pandas-dev/pandas/pull/34632
cc @simonjayhawkins @alimcmaster1
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34785/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34785/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34785.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34785",
"merged_at": "2020-06-15T13:36:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34785.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34785"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34786
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34786/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34786/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34786/events
|
https://github.com/pandas-dev/pandas/pull/34786
| 638,654,358
|
MDExOlB1bGxSZXF1ZXN0NDM0Mzc3OTU5
| 34,786
|
Backport PR #34667 on branch 1.0.x (BLD: pyproject.toml for Py38)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-06-18T13:09:32Z",
"closed_issues": 28,
"created_at": "2020-05-30T13:59:46Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-06-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/74",
"id": 5480671,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==",
"number": 74,
"open_issues": 0,
"state": "closed",
"title": "1.0.5",
"updated_at": "2020-06-18T13:09:32Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74"
}
| 0
| 2020-06-15T08:35:45Z
| 2020-06-15T11:23:53Z
| 2020-06-15T11:17:51Z
|
MEMBER
| null |
xref #34667
@jorisvandenbossche another set of eyes needed as this was not a clean cherry-pick
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34786/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34786/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34786.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34786",
"merged_at": "2020-06-15T11:17:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34786.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34786"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34787
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34787/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34787/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34787/events
|
https://github.com/pandas-dev/pandas/pull/34787
| 638,673,222
|
MDExOlB1bGxSZXF1ZXN0NDM0MzkzNDMy
| 34,787
|
Backport Test Only from PR #34500 on branch 1.0.x (REG: Fix read_parquet from file-like objects)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-06-18T13:09:32Z",
"closed_issues": 28,
"created_at": "2020-05-30T13:59:46Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-06-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/74",
"id": 5480671,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==",
"number": 74,
"open_issues": 0,
"state": "closed",
"title": "1.0.5",
"updated_at": "2020-06-18T13:09:32Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74"
}
| 2
| 2020-06-15T09:02:42Z
| 2020-06-15T11:25:47Z
| 2020-06-15T11:19:39Z
|
MEMBER
| null |
xref #34500
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34787/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34787/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34787.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34787",
"merged_at": "2020-06-15T11:19:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34787.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34787"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34788
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34788/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34788/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34788/events
|
https://github.com/pandas-dev/pandas/pull/34788
| 638,688,619
|
MDExOlB1bGxSZXF1ZXN0NDM0NDA2MTM4
| 34,788
|
Backport PR #34721 on branch 1.0.x (Debug CI Issue)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-06-18T13:09:32Z",
"closed_issues": 28,
"created_at": "2020-05-30T13:59:46Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-06-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/74",
"id": 5480671,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==",
"number": 74,
"open_issues": 0,
"state": "closed",
"title": "1.0.5",
"updated_at": "2020-06-18T13:09:32Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74"
}
| 0
| 2020-06-15T09:24:33Z
| 2020-06-15T09:58:01Z
| 2020-06-15T09:57:55Z
|
MEMBER
| null |
xref #34721
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34788/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34788/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34788.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34788",
"merged_at": "2020-06-15T09:57:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34788.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34788"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34789
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34789/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34789/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34789/events
|
https://github.com/pandas-dev/pandas/issues/34789
| 638,706,497
|
MDU6SXNzdWU2Mzg3MDY0OTc=
| 34,789
|
BUG: Replace raises TypeError if to_replace is Dict with numeric DataFrame and key of Dict is String
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"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": "01a886",
"default": false,
"description": "replace method",
"id": 1652721180,
"name": "replace",
"node_id": "MDU6TGFiZWwxNjUyNzIxMTgw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/replace"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-06-15T09:47:46Z
| 2020-09-05T03:21:50Z
| 2020-09-05T03:21:50Z
|
MEMBER
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import pandas as pd
df = pd.DataFrame({"Y0": [1, 2], "Y1": [3, 4]})
df = df.replace({"replace_string": "test"})
```
#### Problem description
This raises a TypeError with the following Traceback:
```python
Traceback (most recent call last):
File "/home/developer/.config/JetBrains/PyCharmCE2020.1/scratches/scratch_1.py", line 7, in <module>
df = df.replace({"replace_string": "test"})
File "/home/developer/PycharmProjects/pandas/pandas/core/frame.py", line 4277, in replace
return super().replace(
File "/home/developer/PycharmProjects/pandas/pandas/core/generic.py", line 6598, in replace
return self.replace(
File "/home/developer/PycharmProjects/pandas/pandas/core/frame.py", line 4277, in replace
return super().replace(
File "/home/developer/PycharmProjects/pandas/pandas/core/generic.py", line 6641, in replace
new_data = self._mgr.replace_list(
File "/home/developer/PycharmProjects/pandas/pandas/core/internals/managers.py", line 616, in replace_list
masks = [comp(s, regex) for s in src_list]
File "/home/developer/PycharmProjects/pandas/pandas/core/internals/managers.py", line 616, in <listcomp>
masks = [comp(s, regex) for s in src_list]
File "/home/developer/PycharmProjects/pandas/pandas/core/internals/managers.py", line 614, in comp
return _compare_or_regex_search(values, s, regex)
File "/home/developer/PycharmProjects/pandas/pandas/core/internals/managers.py", line 1946, in _compare_or_regex_search
_check_comparison_types(False, a, b)
File "/home/developer/PycharmProjects/pandas/pandas/core/internals/managers.py", line 1925, in _check_comparison_types
raise TypeError(
TypeError: Cannot compare types 'ndarray(dtype=int64)' and 'str'
Process finished with exit code 1
```
#### Expected Output
The original DataFrame.
If at least one column is from dtype object, the replace works, for example the following works:
```python
import pandas as pd
df = pd.DataFrame({"Y0": [1, "2"], "Y1": [3, 4]})
df = df.replace({"replace_string": "test"})
```
Unexpectedly the following Code works:
```python
import pandas as pd
df = pd.DataFrame({"Y0": [1, 2], "Y1": [3, 4]})
df = df.replace(to_replace="replace_string", value="test")
```
This is probably related to #16784
Tested on master.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34789/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34789/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34790
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34790/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34790/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34790/events
|
https://github.com/pandas-dev/pandas/issues/34790
| 638,741,871
|
MDU6SXNzdWU2Mzg3NDE4NzE=
| 34,790
|
BUG: `DataFrame.to_parquet` does not correctly write index information if `partition_cols` are provided
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/685082?v=4",
"events_url": "https://api.github.com/users/athrpf/events{/privacy}",
"followers_url": "https://api.github.com/users/athrpf/followers",
"following_url": "https://api.github.com/users/athrpf/following{/other_user}",
"gists_url": "https://api.github.com/users/athrpf/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/athrpf",
"id": 685082,
"login": "athrpf",
"node_id": "MDQ6VXNlcjY4NTA4Mg==",
"organizations_url": "https://api.github.com/users/athrpf/orgs",
"received_events_url": "https://api.github.com/users/athrpf/received_events",
"repos_url": "https://api.github.com/users/athrpf/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/athrpf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/athrpf/subscriptions",
"type": "User",
"url": "https://api.github.com/users/athrpf"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] |
closed
| false
| null |
[] | null | 6
| 2020-06-15T10:35:53Z
| 2020-09-04T14:02:05Z
| 2020-09-04T14:02:05Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
---
#### Code Sample, a copy-pastable example
```python
df = pd.DataFrame({'Data': [1, 2], 'partition': [1, 2]}, index=['2000-01-01', '2010-01-02'])
data_path_with_partitions = 'with_partitions.parquet'
df.to_parquet(data_path_with_partitions, partition_cols=['partition'])
df_read_with_partitions = pd.read_parquet(data_path_with_partitions)
pd.testing.assert_frame_equal(df, df_read_with_partitions) # <-- this fails because the index has been turned into an extra column __index_level_0
```
results in an `AssertionError`:
```
> pd.testing.assert_frame_equal(df, df_read_with_partitions) # <-- this fails because the index has been turned into an extra column __index_level_0
E AssertionError: DataFrame are different
E
E DataFrame shape mismatch
E [left]: (2, 2)
E [right]: (2, 3)
```
Because of an extra column `__index_level_0__` containing the index values
```
Data __index_level_0__ partition
0 1 2000-01-01 1
1 2 2010-01-02 2
```
On the other hand, without partitions works as expected:
```python
data_path_without_partitions = 'without_partitions.parquet'
df.to_parquet(data_path_without_partitions)
df_read_without_partitions = pd.read_parquet(data_path_without_partitions)
pd.testing.assert_frame_equal(df, df_read_without_partitions) # <-- this passes
```
#### Problem description
If serializing data with pyarrow parquet using the `partition_cols` parameter, deserializing does not correctly reset the index, even though it has been serialized.
In the above example, `df_read_with_partitions` contains an extra column `__index_level_0__`.
Debugging into this, I believe this is a problem with the pandas integration inside pyarrow. In `pyarrow/parquet.py:1723` the sub-tables for each of the partitions get generated, but the `b'pandas'` metadata incorrectly overwrites the index column information of `subschema`.
#### Expected Output
I expect `read_parquet` to yield the same output whether or not it has been written with `partition_cols`.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.4.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 158 Stepping 13, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 1.0.4
numpy : 1.17.3
pytz : 2019.3
dateutil : 2.8.1
pip : 19.0.3
setuptools : 40.8.0
Cython : None
pytest : 5.2.2
hypothesis : None
sphinx : 2.3.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10.3
IPython : 7.15.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : 0.3.2
gcsfs : None
lxml.etree : None
matplotlib : 3.1.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.17.1
pytables : None
pytest : 5.2.2
pyxlsb : None
s3fs : None
scipy : 1.3.1
sqlalchemy : 1.3.10
tables : None
tabulate : None
xarray : 0.14.1
xlrd : None
xlwt : None
xlsxwriter : None
numba : 0.46.0
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34790/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34790/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34791
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34791/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34791/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34791/events
|
https://github.com/pandas-dev/pandas/issues/34791
| 638,744,549
|
MDU6SXNzdWU2Mzg3NDQ1NDk=
| 34,791
|
ENH: Inconsistency when string refers both to index level and column label
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/66699049?v=4",
"events_url": "https://api.github.com/users/ChrisStuff/events{/privacy}",
"followers_url": "https://api.github.com/users/ChrisStuff/followers",
"following_url": "https://api.github.com/users/ChrisStuff/following{/other_user}",
"gists_url": "https://api.github.com/users/ChrisStuff/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ChrisStuff",
"id": 66699049,
"login": "ChrisStuff",
"node_id": "MDQ6VXNlcjY2Njk5MDQ5",
"organizations_url": "https://api.github.com/users/ChrisStuff/orgs",
"received_events_url": "https://api.github.com/users/ChrisStuff/received_events",
"repos_url": "https://api.github.com/users/ChrisStuff/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ChrisStuff/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ChrisStuff/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ChrisStuff"
}
|
[
{
"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": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-06-15T10:39:59Z
| 2020-09-04T14:04:01Z
| 2020-09-04T14:04:01Z
|
NONE
| null |
While [groupby](https://pandas.pydata.org/pandas-docs/stable/user_guide/groupby.html#splitting-an-object-into-groups) throws a ValueError when the string parameter refers both to an index level and column name, [query](https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html?highlight=query%20method#the-query-method) gives the column precedence in such a case:
```python
>>> df = pd.DataFrame({'a':[1,2,3,4,5], 'b':[3,3,3,3,3]})
>>> df.index.name = 'a'
>>> df.query('a < b')
a b
a
0 1 3
1 2 3
>>> df.groupby('a')
Traceback (most recent call last):
ValueError: 'a' is both an index level and a column label, which is ambiguous.
```
I am sure there are many other places where a string can refer to both an index level and column name. #27652 and #8162 are somehow linked.
Even though those issues might *not* be solved, it would be desirable to handle the above ambiguity consistently in places where both index levels and column labels can be referenced by a string 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/34791/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34791/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34792
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34792/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34792/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34792/events
|
https://github.com/pandas-dev/pandas/issues/34792
| 638,744,593
|
MDU6SXNzdWU2Mzg3NDQ1OTM=
| 34,792
|
CI: test failure, raises unexpected warning
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] | null | 3
| 2020-06-15T10:40:03Z
| 2021-08-08T00:49:10Z
| 2021-08-08T00:49:10Z
|
MEMBER
| null |
I merged master into #33247 . This results in a failing test:
`pandas/tests/plotting/test_converter.py::TestRegistration::test_pandas_plots_register`
in Windows py37_np_18
```
AssertionError: Caused unexpected warning(s): [('DeprecationWarning', DeprecationWarning("Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working")
```
Was this already detected?
[test results](https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=37342&view=logs&j=ea1e4a48-f1c1-5933-c4f7-7e56de389fce&t=967459d8-2b8b-5603-ef1c-c585363eb056&l=92)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34792/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34792/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34793
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34793/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34793/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34793/events
|
https://github.com/pandas-dev/pandas/pull/34793
| 638,758,449
|
MDExOlB1bGxSZXF1ZXN0NDM0NDYxMzIx
| 34,793
|
CI testing for s3 reads from public buckets on 1.0.x - DO NOT MERGE
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-06-18T13:09:32Z",
"closed_issues": 28,
"created_at": "2020-05-30T13:59:46Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-06-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/74",
"id": 5480671,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==",
"number": 74,
"open_issues": 0,
"state": "closed",
"title": "1.0.5",
"updated_at": "2020-06-18T13:09:32Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74"
}
| 18
| 2020-06-15T11:01:53Z
| 2020-06-17T07:29:33Z
| 2020-06-15T15:20:57Z
|
MEMBER
| null |
xref #34626
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34793/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34793/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34793.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34793",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/34793.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34793"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34794
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34794/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34794/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34794/events
|
https://github.com/pandas-dev/pandas/pull/34794
| 638,771,585
|
MDExOlB1bGxSZXF1ZXN0NDM0NDcyNTM4
| 34,794
|
Backport PR #34711 on branch 1.0.x (BLD: Pin cython for 37-locale build)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"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": "2020-06-18T13:09:32Z",
"closed_issues": 28,
"created_at": "2020-05-30T13:59:46Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-06-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/74",
"id": 5480671,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==",
"number": 74,
"open_issues": 0,
"state": "closed",
"title": "1.0.5",
"updated_at": "2020-06-18T13:09:32Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74"
}
| 4
| 2020-06-15T11:22:27Z
| 2020-06-15T17:51:00Z
| 2020-06-15T14:55:27Z
|
MEMBER
| null |
xref #34711
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34794/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34794/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34794.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34794",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/34794.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34794"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34795
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34795/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34795/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34795/events
|
https://github.com/pandas-dev/pandas/pull/34795
| 638,796,131
|
MDExOlB1bGxSZXF1ZXN0NDM0NDkyOTA5
| 34,795
|
CI: Update pipelines config to trigger on PRs on 1.0.x
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-06-18T13:09:32Z",
"closed_issues": 28,
"created_at": "2020-05-30T13:59:46Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-06-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/74",
"id": 5480671,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==",
"number": 74,
"open_issues": 0,
"state": "closed",
"title": "1.0.5",
"updated_at": "2020-06-18T13:09:32Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74"
}
| 1
| 2020-06-15T12:01:56Z
| 2020-06-15T17:52:30Z
| 2020-06-15T13:55:59Z
|
MEMBER
| null |
xref #32706
I think maybe the additions should also go in master. let's see what happens here first.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34795/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34795/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34795.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34795",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/34795.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34795"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34796
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34796/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34796/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34796/events
|
https://github.com/pandas-dev/pandas/pull/34796
| 638,822,499
|
MDExOlB1bGxSZXF1ZXN0NDM0NTE0OTAz
| 34,796
|
API: Removed PeriodDtype.dtype_code from public API
|
{
"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": "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": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-06-15T12:41:52Z
| 2020-06-15T14:24:13Z
| 2020-06-15T14:24:12Z
|
CONTRIBUTOR
| null |
Closes #34735
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34796/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34796/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34796.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34796",
"merged_at": "2020-06-15T14:24:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34796.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34796"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34797
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34797/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34797/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34797/events
|
https://github.com/pandas-dev/pandas/pull/34797
| 638,860,670
|
MDExOlB1bGxSZXF1ZXN0NDM0NTQ2MTYz
| 34,797
|
Backport PR #34785 on branch 1.0.x (DOC: add release note about revert for 1.0.5)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[
{
"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": "2020-06-18T13:09:32Z",
"closed_issues": 28,
"created_at": "2020-05-30T13:59:46Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-06-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/74",
"id": 5480671,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==",
"number": 74,
"open_issues": 0,
"state": "closed",
"title": "1.0.5",
"updated_at": "2020-06-18T13:09:32Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74"
}
| 0
| 2020-06-15T13:36:51Z
| 2020-06-15T14:20:08Z
| 2020-06-15T14:20:07Z
|
NONE
| null |
Backport PR #34785: DOC: add release note about revert for 1.0.5
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34797/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34797/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34797.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34797",
"merged_at": "2020-06-15T14:20:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34797.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34797"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34798
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34798/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34798/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34798/events
|
https://github.com/pandas-dev/pandas/pull/34798
| 638,868,213
|
MDExOlB1bGxSZXF1ZXN0NDM0NTUyNDIy
| 34,798
|
API: Make describe changes backwards compatible
|
{
"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": "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": "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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 22
| 2020-06-15T13:46:51Z
| 2020-07-14T20:30:06Z
| 2020-07-14T20:21:58Z
|
CONTRIBUTOR
| null |
Adds the new behavior as a feature flag / deprecation.
Closes https://github.com/pandas-dev/pandas/issues/33903
(Do we have a list of issues for deprecations introduced in 1.x?)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34798/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34798/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34798.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34798",
"merged_at": "2020-07-14T20:21:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34798.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34798"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34799
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34799/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34799/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34799/events
|
https://github.com/pandas-dev/pandas/issues/34799
| 638,882,434
|
MDU6SXNzdWU2Mzg4ODI0MzQ=
| 34,799
|
ENH: At top-level dataframe function for single-dispatched construction of a DataFrame
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
},
{
"color": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/pd.array Constructors",
"id": 1465286368,
"name": "Constructors",
"node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors"
}
] |
open
| false
| null |
[] | null | 3
| 2020-06-15T14:06:03Z
| 2020-10-06T01:49:01Z
| null |
CONTRIBUTOR
| null |
#### Is your feature request related to a problem?
This might help with two things
1. A coordination point for 3rd-party libraries creating objects they'd like to turn into DataFrames, and users of those libraries
2. Possibly, simplification of `DataFrame.__init__`
#### Describe the solution you'd like
A new top-level `pd.dataframe` function.
```python
def dataframe(data: Any, index: Index, columns: Index, copy: bool = False):
"""
Create a pandas DataFrame from data.
"""
@singledispatch.register(np.ndarray)
def dataframe(...):
pass
```
#### API breaking implications
None
#### Describe alternatives you've considered
xref https://github.com/pandas-dev/pandas/pull/32844. Which attempted this for `DataFrame.__init__`. That was a non-starter since it exposed our internal BlockManager too publicly. https://github.com/pandas-dev/pandas/pull/32844#issuecomment-601494850. So we'd need to do this on a top-level function instead.
|
{
"+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/34799/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34799/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34800
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34800/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34800/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34800/events
|
https://github.com/pandas-dev/pandas/pull/34800
| 638,883,923
|
MDExOlB1bGxSZXF1ZXN0NDM0NTY1MzYz
| 34,800
|
CI: Checks-and-Web-and-Docs-on-1.0.x
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-06-18T13:09:32Z",
"closed_issues": 28,
"created_at": "2020-05-30T13:59:46Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-06-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/74",
"id": 5480671,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==",
"number": 74,
"open_issues": 0,
"state": "closed",
"title": "1.0.5",
"updated_at": "2020-06-18T13:09:32Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74"
}
| 3
| 2020-06-15T14:08:05Z
| 2020-09-10T14:55:59Z
| 2020-06-16T10:08:50Z
|
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/34800/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34800/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34800.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34800",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/34800.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34800"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/34801
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34801/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34801/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34801/events
|
https://github.com/pandas-dev/pandas/issues/34801
| 638,907,428
|
MDU6SXNzdWU2Mzg5MDc0Mjg=
| 34,801
|
Check API changes in whatsnew
|
{
"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": "e11d21",
"default": false,
"description": "Blocking issue or pull request for an upcoming release",
"id": 77550281,
"name": "Blocker",
"node_id": "MDU6TGFiZWw3NzU1MDI4MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Blocker"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 11
| 2020-06-15T14:39:15Z
| 2020-07-17T16:30:02Z
| 2020-07-17T16:30:02Z
|
CONTRIBUTOR
| null |
Our whatsnew has several sections detailing API changes:
- https://pandas.pydata.org/pandas-docs/dev/whatsnew/v1.1.0.html#other-api-changes
- https://pandas.pydata.org/pandas-docs/dev/whatsnew/v1.1.0.html#backwards-incompatible-api-changes. According to our version policy we shouldn't have any API-breaking changes until 2.0
Many of these, like adding `DataFrame.value_counts` are fine and should just be moved to a different section.
Others like https://github.com/pandas-dev/pandas/pull/31905 will need to be looked at closely, and we'll need to determine if they're API breaking or bug fixes.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34801/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34801/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34802
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34802/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34802/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34802/events
|
https://github.com/pandas-dev/pandas/pull/34802
| 638,913,588
|
MDExOlB1bGxSZXF1ZXN0NDM0NTg5NTQ4
| 34,802
|
Backport PR #34718 on branch 1.0.x (Removed __div__ impls)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-06-18T13:09:32Z",
"closed_issues": 28,
"created_at": "2020-05-30T13:59:46Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-06-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/74",
"id": 5480671,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==",
"number": 74,
"open_issues": 0,
"state": "closed",
"title": "1.0.5",
"updated_at": "2020-06-18T13:09:32Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74"
}
| 2
| 2020-06-15T14:47:33Z
| 2020-06-15T17:54:07Z
| 2020-06-15T16:10:49Z
|
MEMBER
| null |
https://github.com/pandas-dev/pandas/pull/34711#issuecomment-644148383
@WillAyd on 1.0.x. we have cython>=0.29.13 and on master cython>=0.29.16. is this an issue?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34802/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34802/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34802.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34802",
"merged_at": "2020-06-15T16:10:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34802.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34802"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34803
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34803/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34803/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34803/events
|
https://github.com/pandas-dev/pandas/issues/34803
| 638,940,025
|
MDU6SXNzdWU2Mzg5NDAwMjU=
| 34,803
|
BUG: `read_parquet` gives "Passed non-file path" in v1.0.4 but works in v1.0.3
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/500073?v=4",
"events_url": "https://api.github.com/users/dmitry-kabanov/events{/privacy}",
"followers_url": "https://api.github.com/users/dmitry-kabanov/followers",
"following_url": "https://api.github.com/users/dmitry-kabanov/following{/other_user}",
"gists_url": "https://api.github.com/users/dmitry-kabanov/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dmitry-kabanov",
"id": 500073,
"login": "dmitry-kabanov",
"node_id": "MDQ6VXNlcjUwMDA3Mw==",
"organizations_url": "https://api.github.com/users/dmitry-kabanov/orgs",
"received_events_url": "https://api.github.com/users/dmitry-kabanov/received_events",
"repos_url": "https://api.github.com/users/dmitry-kabanov/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dmitry-kabanov/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dmitry-kabanov/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dmitry-kabanov"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] |
closed
| false
| null |
[] | null | 1
| 2020-06-15T15:23:13Z
| 2020-06-15T15:32:22Z
| 2020-06-15T15:32:15Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
# Your code here
import pandas as pd
pd.read_parquet("https://www.tangel.se/wind/wind_frames/wind-2018.parquet")
```
#### Problem description
There is some regression in the interaction of Pandas v1.0.4 and Pyarrow.
The above code downloads a Parquet file when Pandas is v1.0.3.
However, in v1.0.4 it generates the error:
```
File "<python-env>/lib/python3.8/site-packages/pandas/io/parquet.py", line 315, in read_parquet
return impl.read(path, columns=columns, **kwargs)
File "<python-env>/lib/python3.8/site-packages/pandas/io/parquet.py", line 130, in read
parquet_ds = self.api.parquet.ParquetDataset(
File "<python-env>/lib/python3.8/site-packages/pyarrow/parquet.py", line 1171, in __init__
self.metadata_path) = _make_manifest(
File "<python-env>/lib/python3.8/site-packages/pyarrow/parquet.py", line 1367, in _make_manifest
raise OSError('Passed non-file path: {}'
OSError: Passed non-file path: https://www.tangel.se/wind/wind_frames/wind-2018.parquet
```
I can confirm that the bug appears with Pyarrow of versions 0.15.1 and 0.17.1 on Python 3.7 and 3.8.
#### Expected Output
```
x y u v ... altitude height date time
0 361912.978162 6.139641e+06 5.338025 5.958648 ... 5 10 2018-01-01 06:00
1 361912.978162 6.139641e+06 10.008798 11.172465 ... 5 10 2018-01-01 09:00
2 361912.978162 6.139641e+06 14.252365 4.676546 ... 5 10 2018-01-01 12:00
3 361912.978162 6.139641e+06 14.107182 7.549001 ... 5 10 2018-01-01 15:00
4 361912.978162 6.139641e+06 8.650998 6.794132 ... 5 10 2018-01-01 18:00
... ... ... ... ... ... ... ... ... ...
1449984 804603.972910 7.610557e+06 -1.789940 0.190043 ... 330 10 2018-12-31 19:00
1449985 804603.972910 7.610557e+06 -1.646950 -0.947394 ... 330 10 2018-12-31 20:00
1449986 804603.972910 7.610557e+06 -1.078928 -0.725200 ... 330 10 2018-12-31 21:00
1449987 804603.972910 7.610557e+06 0.302022 -1.057725 ... 330 10 2018-12-31 22:00
1449988 804603.972910 7.610557e+06 0.920168 -0.391524 ... 330 10 2018-12-31 23:00
[1449989 rows x 9 columns]
```
#### Output of ``pd.show_versions()``
<details>
```
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.7.final.0
python-bits : 64
OS : Darwin
OS-release : 18.7.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : en_US.UTF-8
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.4
numpy : 1.18.1
pytz : 2020.1
dateutil : 2.8.1
pip : 20.0.2
setuptools : 46.4.0.post20200518
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.13.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.17.1
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.17
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : 0.49.1
```
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34803/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34803/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34804
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34804/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34804/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34804/events
|
https://github.com/pandas-dev/pandas/pull/34804
| 638,941,929
|
MDExOlB1bGxSZXF1ZXN0NDM0NjEzMDU1
| 34,804
|
TST: ensure read_parquet filter argument is correctly passed though (pyarrow engine)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "5319e7",
"default": false,
"description": "parquet, feather",
"id": 685114413,
"name": "IO Parquet",
"node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-06-18T13:09:32Z",
"closed_issues": 28,
"created_at": "2020-05-30T13:59:46Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-06-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/74",
"id": 5480671,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==",
"number": 74,
"open_issues": 0,
"state": "closed",
"title": "1.0.5",
"updated_at": "2020-06-18T13:09:32Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74"
}
| 3
| 2020-06-15T15:25:52Z
| 2020-06-16T09:24:46Z
| 2020-06-15T16:25:10Z
|
MEMBER
| null |
xref https://github.com/pandas-dev/pandas/issues/26551#issuecomment-643882543
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34804/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34804/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34804.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34804",
"merged_at": "2020-06-15T16:25:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34804.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34804"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34805
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34805/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34805/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34805/events
|
https://github.com/pandas-dev/pandas/issues/34805
| 638,986,514
|
MDU6SXNzdWU2Mzg5ODY1MTQ=
| 34,805
|
BUG: Inconsistent behavior for isin() over columns with different datatypes
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1466881?v=4",
"events_url": "https://api.github.com/users/dmarx/events{/privacy}",
"followers_url": "https://api.github.com/users/dmarx/followers",
"following_url": "https://api.github.com/users/dmarx/following{/other_user}",
"gists_url": "https://api.github.com/users/dmarx/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dmarx",
"id": 1466881,
"login": "dmarx",
"node_id": "MDQ6VXNlcjE0NjY4ODE=",
"organizations_url": "https://api.github.com/users/dmarx/orgs",
"received_events_url": "https://api.github.com/users/dmarx/received_events",
"repos_url": "https://api.github.com/users/dmarx/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dmarx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dmarx/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dmarx"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-06-15T16:32:20Z
| 2020-08-21T17:05:16Z
| 2020-06-17T18:13:20Z
|
NONE
| null |
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample
```python
s_obj = pd.Series(['1', '2', '3'])
s_int = pd.Series([1, 2, 3])
s_obj.isin(s_int).sum() # 0
s_int.isin(s_obj).sum() # 3
s_obj.astype(np.int).isin(s_int).sum() # 3
```
#### Problem description
It is not uncommon for numeric fields to be read into a dataframe column as text. The behavior of the `isin` function is inconsistent in these cases, working as expected in the `s_int.isin(s_obj)` case, but failing in the `s_obj.isin(s_int)` case unless the text field is coerced to numeric first by the user.
#### Expected Output
**Behavior should be consistent in both directions.** Either `isin()` should always fail when there is a type mismatch, or it should perform necessary coersions automatically. It would be helpful to throw a warning in either case to inform the user either that they should standardize their schemas or that a potentially costly coersion is going to happen automatically. At the very least, we could keep the current behavior and show the user a warning explaining that an empty result set could be due to a type mismatch.
Middle ground solution: add something like a `coerce_if_necessary` option to `isin()`. Defaulting to False would return the current behavior (which preserves backwards compatibility and ensures we don't surprise users with expensive coersions). We could augment this behavior with a new warning, alerting users to the type mismatch and recommending solutions. Users who aren't comfortable with datatypes (or are just feeling lazy) could then set `coerce=True` to have necessary coersions attempted for them behind the scenes.
Interested to hear other's thoughts regarding what the preferred behavior should be.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.3.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United States.1252
pandas : 1.0.3
numpy : 1.18.1
pytz : 2020.1
dateutil : 2.8.1
pip : 20.0.2
setuptools : 47.1.1.post20200604
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : 7.13.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34805/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34805/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34806
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34806/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34806/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34806/events
|
https://github.com/pandas-dev/pandas/pull/34806
| 638,986,971
|
MDExOlB1bGxSZXF1ZXN0NDM0NjQ5NjY1
| 34,806
|
Regression in to_timedelta with errors="coerce" and unit
|
{
"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": "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": "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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-15T16:33:03Z
| 2020-06-15T20:16:28Z
| 2020-06-15T17:27:29Z
|
CONTRIBUTOR
| null |
Introduced in https://github.com/pandas-dev/pandas/commit/d3f686bb50c14594087171aa0493cb07eb5a874c
In pandas 1.0.3
```python
In [2]: pd.to_timedelta([1, 2, 'error'], errors="coerce", unit="ns")
Out[2]: TimedeltaIndex(['00:00:00.000000', '00:00:00.000000', NaT], dtype='timedelta64[ns]', freq=None)
```
In master, we raise.
```pytb
In [2]: pd.to_timedelta([1, 2, 'error'], errors="coerce", unit="ns")
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-2-a3691c044041> in <module>
----> 1 pd.to_timedelta([1, 2, 'error'], errors="coerce", unit="ns")
~/Envs/dask-dev/lib/python3.7/site-packages/pandas/core/tools/timedeltas.py in to_timedelta(arg, unit, errors)
101 arg = arg.item()
102 elif is_list_like(arg) and getattr(arg, "ndim", 1) == 1:
--> 103 return _convert_listlike(arg, unit=unit, errors=errors)
104 elif getattr(arg, "ndim", 1) > 1:
105 raise TypeError(
~/Envs/dask-dev/lib/python3.7/site-packages/pandas/core/tools/timedeltas.py in _convert_listlike(arg, unit, errors, name)
140
141 try:
--> 142 value = sequence_to_td64ns(arg, unit=unit, errors=errors, copy=False)[0]
143 except ValueError:
144 if errors == "ignore":
~/Envs/dask-dev/lib/python3.7/site-packages/pandas/core/arrays/timedeltas.py in sequence_to_td64ns(data, copy, unit, errors)
927 if is_object_dtype(data.dtype) or is_string_dtype(data.dtype):
928 # no need to make a copy, need to convert if string-dtyped
--> 929 data = objects_to_td64ns(data, unit=unit, errors=errors)
930 copy = False
931
~/Envs/dask-dev/lib/python3.7/site-packages/pandas/core/arrays/timedeltas.py in objects_to_td64ns(data, unit, errors)
1037 values = np.array(data, dtype=np.object_, copy=False)
1038
-> 1039 result = array_to_timedelta64(values, unit=unit, errors=errors)
1040 return result.view("timedelta64[ns]")
1041
pandas/_libs/tslibs/timedeltas.pyx in pandas._libs.tslibs.timedeltas.array_to_timedelta64()
ValueError: unit must not be specified if the input contains a str
```
This restores the 1.0.3 behavior, and adds an additional test for `errors="ignore"`, and cleans up the `to_timedelta` docstring.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34806/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34806/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34806.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34806",
"merged_at": "2020-06-15T17:27:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34806.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34806"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34807
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34807/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34807/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34807/events
|
https://github.com/pandas-dev/pandas/pull/34807
| 639,005,392
|
MDExOlB1bGxSZXF1ZXN0NDM0NjY0NTYw
| 34,807
|
Backport PR #34804 on branch 1.0.x (TST: ensure read_parquet filter argument is correctly passed though (pyarrow engine))
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-06-18T13:09:32Z",
"closed_issues": 28,
"created_at": "2020-05-30T13:59:46Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-06-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/74",
"id": 5480671,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==",
"number": 74,
"open_issues": 0,
"state": "closed",
"title": "1.0.5",
"updated_at": "2020-06-18T13:09:32Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74"
}
| 0
| 2020-06-15T17:04:51Z
| 2020-06-15T17:49:57Z
| 2020-06-15T17:49:05Z
|
MEMBER
| null |
xref #34804
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34807/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34807/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34807.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34807",
"merged_at": "2020-06-15T17:49:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34807.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34807"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34808
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34808/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34808/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34808/events
|
https://github.com/pandas-dev/pandas/pull/34808
| 639,042,161
|
MDExOlB1bGxSZXF1ZXN0NDM0Njk0MjEy
| 34,808
|
CLN: liboffsets annotate, de-duplicate
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-06-15T18:11:49Z
| 2020-06-15T22:40:42Z
| 2020-06-15T19:19:55Z
|
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/34808/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34808/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34808.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34808",
"merged_at": "2020-06-15T19:19:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34808.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34808"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/34809
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34809/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34809/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34809/events
|
https://github.com/pandas-dev/pandas/issues/34809
| 639,060,817
|
MDU6SXNzdWU2MzkwNjA4MTc=
| 34,809
|
Inconsistent output in GroupBy.apply returning a DataFrame
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
open
| false
| null |
[] | null | 16
| 2020-06-15T18:44:17Z
| 2021-08-08T00:52:03Z
| null |
CONTRIBUTOR
| null |
This is a continuation of https://github.com/pandas-dev/pandas/issues/13056, https://github.com/pandas-dev/pandas/issues/14927, and https://github.com/pandas-dev/pandas/issues/13056, which were closed by https://github.com/pandas-dev/pandas/pull/31613. I think that PR ensured that we consistently take one of two code paths. This issue is to verify that we actually want the behavior on master.
Focusing on a specific pair of examples that differ only in whether the returned index is the same or not:
```python
# master
In [10]: def f(x):
...: return x.copy() # same index
In [11]: def g(x):
...: return x.copy().rename(lambda x: x + 1) # different index
In [12]: df = pd.DataFrame({"A": ['a', 'b'], "B": [1, 2]})
In [13]: df.groupby("A").apply(f)
Out[13]:
A B
0 a 1
1 b 2
In [14]: df.groupby("A").apply(g)
Out[14]:
A B
A
a 1 a 1
b 2 b 2
```
```python
# 1.0.4
In [8]: df.groupby("A").apply(f)
Out[8]:
A B
A
a 0 a 1
b 1 b 2
In [9]: df.groupby("A").apply(g)
Out[9]:
A B
A
a 1 a 1
b 2 b 2
```
So the 1.0.4 behavior is to always prepend the group keys to the result as an index level.
In pandas 1.1.0, whether the group keys are prepended depends on whether the udf returns a dataframe with an identical index. Do we want that kind of value-dependent behavior?
@jorisvandenbossche's [notebook](http://nbviewer.jupyter.org/gist/jorisvandenbossche/16f511fe111a8b9fa0eac74e920c5251) from https://github.com/pandas-dev/pandas/issues/13056#issuecomment-403300216 might be helpful, though it might be out of date.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34809/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34809/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34810
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34810/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34810/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34810/events
|
https://github.com/pandas-dev/pandas/pull/34810
| 639,157,546
|
MDExOlB1bGxSZXF1ZXN0NDM0NzkzMTgw
| 34,810
|
API: Allow non-tuples in pandas.merge
|
{
"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": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-15T21:03:27Z
| 2020-07-06T13:14:06Z
| 2020-06-30T20:58:44Z
|
CONTRIBUTOR
| null |
Closes https://github.com/pandas-dev/pandas/issues/34741, while
retaining the spirit of the spirit of
https://github.com/pandas-dev/pandas/pull/34208.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34810/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34810/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34810.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34810",
"merged_at": "2020-06-30T20:58:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34810.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34810"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34811
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34811/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34811/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34811/events
|
https://github.com/pandas-dev/pandas/pull/34811
| 639,159,574
|
MDExOlB1bGxSZXF1ZXN0NDM0Nzk0OTk2
| 34,811
|
BUG: reading line-format JSON from file url #27135
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
}
|
[
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-06-15T21:05:52Z
| 2020-06-29T21:51:40Z
| 2020-06-29T21:42:19Z
|
MEMBER
| null |
- [x] closes #27135
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew note entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34811/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34811/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34811.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34811",
"merged_at": "2020-06-29T21:42:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34811.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34811"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34812
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34812/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34812/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34812/events
|
https://github.com/pandas-dev/pandas/pull/34812
| 639,260,931
|
MDExOlB1bGxSZXF1ZXN0NDM0ODg1MDE5
| 34,812
|
BUG: apply() fails on some value types
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26484334?v=4",
"events_url": "https://api.github.com/users/Veronur/events{/privacy}",
"followers_url": "https://api.github.com/users/Veronur/followers",
"following_url": "https://api.github.com/users/Veronur/following{/other_user}",
"gists_url": "https://api.github.com/users/Veronur/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Veronur",
"id": 26484334,
"login": "Veronur",
"node_id": "MDQ6VXNlcjI2NDg0MzM0",
"organizations_url": "https://api.github.com/users/Veronur/orgs",
"received_events_url": "https://api.github.com/users/Veronur/received_events",
"repos_url": "https://api.github.com/users/Veronur/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Veronur/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Veronur/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Veronur"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 9
| 2020-06-15T23:47:32Z
| 2020-06-19T22:33:26Z
| 2020-06-19T22:33:21Z
|
CONTRIBUTOR
| null |
- [x] closes #34529
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34812/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34812/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34812.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34812",
"merged_at": "2020-06-19T22:33:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34812.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34812"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34813
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34813/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34813/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34813/events
|
https://github.com/pandas-dev/pandas/pull/34813
| 639,313,468
|
MDExOlB1bGxSZXF1ZXN0NDM0OTI4MzI5
| 34,813
|
REF: move Resolution to tslibs.dtypes
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-06-16T02:04:17Z
| 2020-06-16T15:51:10Z
| 2020-06-16T12:51:02Z
|
MEMBER
| null |
This is pretty much a clean move, in preparation for making FreqGroup an enum and trying to de-duplicate our 3+ enum-like classes
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34813/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34813/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34813.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34813",
"merged_at": "2020-06-16T12:51:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34813.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34813"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34814
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34814/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34814/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34814/events
|
https://github.com/pandas-dev/pandas/pull/34814
| 639,331,094
|
MDExOlB1bGxSZXF1ZXN0NDM0OTQyMjg5
| 34,814
|
ENH: add masked algorithm for mean() function
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/32221186?v=4",
"events_url": "https://api.github.com/users/Akshatt/events{/privacy}",
"followers_url": "https://api.github.com/users/Akshatt/followers",
"following_url": "https://api.github.com/users/Akshatt/following{/other_user}",
"gists_url": "https://api.github.com/users/Akshatt/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Akshatt",
"id": 32221186,
"login": "Akshatt",
"node_id": "MDQ6VXNlcjMyMjIxMTg2",
"organizations_url": "https://api.github.com/users/Akshatt/orgs",
"received_events_url": "https://api.github.com/users/Akshatt/received_events",
"repos_url": "https://api.github.com/users/Akshatt/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Akshatt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Akshatt/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Akshatt"
}
|
[
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
},
{
"color": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 29
| 2020-06-16T02:57:34Z
| 2021-01-01T21:46:52Z
| 2021-01-01T21:46:48Z
|
CONTRIBUTOR
| null |
- [x] closes #34754
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34814/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34814/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34814.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34814",
"merged_at": "2021-01-01T21:46:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34814.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34814"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34815
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34815/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34815/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34815/events
|
https://github.com/pandas-dev/pandas/pull/34815
| 639,343,611
|
MDExOlB1bGxSZXF1ZXN0NDM0OTUyMjk1
| 34,815
|
CLN: liboffsets annotations
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
},
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-06-16T03:35:11Z
| 2020-06-16T15:34:51Z
| 2020-06-16T12:49:30Z
|
MEMBER
| null |
It looks like rollforward/rollback we have some tests that pass `date` instead of `datetime`. That and a couple other outliers means there are some things that are not yet annotated.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34815/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34815/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34815.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34815",
"merged_at": "2020-06-16T12:49:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34815.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34815"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34816
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/34816/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34816/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/34816/events
|
https://github.com/pandas-dev/pandas/pull/34816
| 639,353,778
|
MDExOlB1bGxSZXF1ZXN0NDM0OTYwNDU4
| 34,816
|
BUG: Respect center=True in rolling.apply when numba engine is used
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
}
|
[
{
"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": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
},
{
"color": "5319e7",
"default": false,
"description": "numba-accelerated operations",
"id": 2138993554,
"name": "numba",
"node_id": "MDU6TGFiZWwyMTM4OTkzNTU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/numba"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-16T04:07:34Z
| 2020-06-16T15:40:30Z
| 2020-06-16T12:47:57Z
|
MEMBER
| null |
- [x] closes #34784
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34816/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/34816/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/34816.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/34816",
"merged_at": "2020-06-16T12:47:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/34816.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34816"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.