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/36417
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36417/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36417/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36417/events
|
https://github.com/pandas-dev/pandas/pull/36417
| 703,304,273
|
MDExOlB1bGxSZXF1ZXN0NDg4NDM2MTYy
| 36,417
|
REF: use BlockManager.to_native_types in formatting code
|
{
"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-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-09-17T06:21:39Z
| 2020-09-17T18:40:47Z
| 2020-09-17T16:07:49Z
|
MEMBER
| null |
Small follow-up on https://github.com/pandas-dev/pandas/pull/36150
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36417/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36417/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36417.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36417",
"merged_at": "2020-09-17T16:07:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36417.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36417"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36418
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36418/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36418/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36418/events
|
https://github.com/pandas-dev/pandas/pull/36418
| 703,316,573
|
MDExOlB1bGxSZXF1ZXN0NDg4NDQ2MjEx
| 36,418
|
DEPR: Index.to_native_types
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
},
{
"color": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
}
] |
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"
}
| 3
| 2020-09-17T06:46:25Z
| 2020-09-19T07:38:07Z
| 2020-09-19T02:13:31Z
|
MEMBER
| null |
Closes #28867
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36418/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36418/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36418.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36418",
"merged_at": "2020-09-19T02:13:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36418.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36418"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36419
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36419/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36419/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36419/events
|
https://github.com/pandas-dev/pandas/issues/36419
| 703,329,499
|
MDU6SXNzdWU3MDMzMjk0OTk=
| 36,419
|
ENH: I wish add a parameter to adjust bar function's height in Styler
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/36298417?v=4",
"events_url": "https://api.github.com/users/slsongge/events{/privacy}",
"followers_url": "https://api.github.com/users/slsongge/followers",
"following_url": "https://api.github.com/users/slsongge/following{/other_user}",
"gists_url": "https://api.github.com/users/slsongge/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/slsongge",
"id": 36298417,
"login": "slsongge",
"node_id": "MDQ6VXNlcjM2Mjk4NDE3",
"organizations_url": "https://api.github.com/users/slsongge/orgs",
"received_events_url": "https://api.github.com/users/slsongge/received_events",
"repos_url": "https://api.github.com/users/slsongge/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/slsongge/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/slsongge/subscriptions",
"type": "User",
"url": "https://api.github.com/users/slsongge"
}
|
[
{
"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": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
}
| 11
| 2020-09-17T07:08:43Z
| 2021-09-11T04:09:56Z
| 2021-07-13T12:02:03Z
|
NONE
| null |
#### Is your feature request related to a problem?
I have a 'Styler' object, I wish add a parameter that can adjust bar's spacing to the [bar function](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.io.formats.style.Styler.bar.html).
eg:
now the bar example like bottom:

but I wish like bottom:

Thx!!!
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36419/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36419/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36420
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36420/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36420/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36420/events
|
https://github.com/pandas-dev/pandas/issues/36420
| 703,366,513
|
MDU6SXNzdWU3MDMzNjY1MTM=
| 36,420
|
Occuring error when trying to install with setup.py (from source code) and tar file from pypi is not working
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/56256685?v=4",
"events_url": "https://api.github.com/users/nithinreddyy/events{/privacy}",
"followers_url": "https://api.github.com/users/nithinreddyy/followers",
"following_url": "https://api.github.com/users/nithinreddyy/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinreddyy/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nithinreddyy",
"id": 56256685,
"login": "nithinreddyy",
"node_id": "MDQ6VXNlcjU2MjU2Njg1",
"organizations_url": "https://api.github.com/users/nithinreddyy/orgs",
"received_events_url": "https://api.github.com/users/nithinreddyy/received_events",
"repos_url": "https://api.github.com/users/nithinreddyy/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nithinreddyy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinreddyy/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nithinreddyy"
}
|
[
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "d93f0b",
"default": false,
"description": "Required and optional dependencies",
"id": 527603109,
"name": "Dependencies",
"node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 1
| 2020-09-17T08:08:25Z
| 2020-09-17T11:10:56Z
| 2020-09-17T11:10:56Z
|
NONE
| null |
[16/40] Cythonizing pandas\_libs/reduction.pyx
Error compiling Cython file:
------------------------------------------------------------
...
self.orig_data = self.buf.data
self.orig_len = self.buf.shape[0]
self.orig_stride = self.buf.strides[0]
self.buf.data = self.values.data
^
------------------------------------------------------------
pandas\_libs\reduction.pyx:318:16: Assignment to a read-only property
Error compiling Cython file:
------------------------------------------------------------
...
cdef move(self, int start, int end):
"""
For slicing
"""
self.buf.data = self.values.data + self.stride * start
^
------------------------------------------------------------
pandas\_libs\reduction.pyx:325:16: Assignment to a read-only property
Error compiling Cython file:
------------------------------------------------------------
...
self.buf.shape[0] = end - start
cdef reset(self):
self.buf.shape[0] = self.orig_len
self.buf.data = self.orig_data
^
------------------------------------------------------------
pandas\_libs\reduction.pyx:331:16: Assignment to a read-only property
Error compiling Cython file:
------------------------------------------------------------
...
# move blocks
for i in range(self.nblocks):
arr = self.blocks[i]
# axis=1 is the frame's axis=0
arr.data = self.base_ptrs[i] + arr.strides[1] * start
^
------------------------------------------------------------
pandas\_libs\reduction.pyx:452:15: Assignment to a read-only property
Error compiling Cython file:
------------------------------------------------------------
...
# reset blocks
for i in range(self.nblocks):
arr = self.blocks[i]
# axis=1 is the frame's axis=0
arr.data = self.base_ptrs[i]
^
------------------------------------------------------------
pandas\_libs\reduction.pyx:472:15: Assignment to a read-only property
Traceback (most recent call last):
File "setup.py", line 791, in <module>
setup_package()
File "setup.py", line 761, in setup_package
ext_modules=maybe_cythonize(extensions, compiler_directives=directives),
File "setup.py", line 540, in maybe_cythonize
return cythonize(extensions, *args, **kwargs)
File "D:\Pickle Examples\examples_aix\example_aix\lib\site-packages\Cython\Build\Dependencies.py", line 1110, in cythonize
cythonize_one(*args)
File "D:\Pickle Examples\examples_aix\example_aix\lib\site-packages\Cython\Build\Dependencies.py", line 1277, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: pandas\_libs/reduction.pyx
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36420/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36420/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36421
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36421/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36421/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36421/events
|
https://github.com/pandas-dev/pandas/issues/36421
| 703,417,701
|
MDU6SXNzdWU3MDM0MTc3MDE=
| 36,421
|
BUG: Pandas doesn't build with Cython3.0 pre-release
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/17513912?v=4",
"events_url": "https://api.github.com/users/realead/events{/privacy}",
"followers_url": "https://api.github.com/users/realead/followers",
"following_url": "https://api.github.com/users/realead/following{/other_user}",
"gists_url": "https://api.github.com/users/realead/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/realead",
"id": 17513912,
"login": "realead",
"node_id": "MDQ6VXNlcjE3NTEzOTEy",
"organizations_url": "https://api.github.com/users/realead/orgs",
"received_events_url": "https://api.github.com/users/realead/received_events",
"repos_url": "https://api.github.com/users/realead/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/realead/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/realead/subscriptions",
"type": "User",
"url": "https://api.github.com/users/realead"
}
|
[
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "d93f0b",
"default": false,
"description": "Required and optional dependencies",
"id": 527603109,
"name": "Dependencies",
"node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 1
| 2020-09-17T09:22:47Z
| 2020-09-17T11:07:04Z
| 2020-09-17T11:07:04Z
|
CONTRIBUTOR
| null |
This [line ](https://github.com/pandas-dev/pandas/blob/20569007ea256d3126214ab845190d08f88c73a9/pandas/_libs/reduction.pyx#L318):
```python
self.buf.data = self.values.data
```
will no longer build once Cython3.0 is released, due to this change: https://github.com/cython/cython/commit/22a49f403b6f00f1674664e01ee0f8212c06ef13#diff-24bcfc3298e43281fed97318a554550dL247.
`data` is no longer
```
ctypedef class numpy.ndarray [object PyArrayObject, check_size ignore]:
....
char * data
```
but
```
ctypedef class numpy.ndarray [object PyArrayObject, check_size ignore]:
...
@property
cdef inline char* data(self) nogil:
"""The pointer to the data buffer as a char*.
This is provided for legacy reasons to avoid direct struct field access.
For new code that needs this access, you probably want to cast the result
of `PyArray_DATA()` instead.
"""
return PyArray_BYTES(self)
```
#### Error:
```
Error compiling Cython file:
------------------------------------------------------------
...
self.buf.data = self.values.data
pandas\_libs\reduction.pyx:472:15: Assignment to a read-only property
```
#### Expected:
Should build.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36421/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36421/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36422
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36422/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36422/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36422/events
|
https://github.com/pandas-dev/pandas/issues/36422
| 703,431,738
|
MDU6SXNzdWU3MDM0MzE3Mzg=
| 36,422
|
CLN: infer_dtype has no skipna argument
|
{
"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"
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2020-09-17T09:42:55Z
| 2020-09-21T18:26:55Z
| 2020-09-21T18:26:55Z
|
CONTRIBUTOR
| null |
infer_dtype function in `lib.py` has no `skipna` argument, although it is documented in the docstring:
```python
def infer_dtype(foo=None, bar=None): # real signature unknown; restored from __doc__
"""
Efficiently infer the type of a passed val, or list-like
array of values. Return a string describing the type.
Parameters
----------
value : scalar, list, ndarray, or pandas type
skipna : bool, default True
Ignore NaN values when inferring the type.
Returns
-------
str
Describing the common type of the input data.
Results can include:
```
The method is called a couple times with the `skipna=True` argument. For example in:
- `pandas/core/algorithms.py` line 220
- `pandas/core/dtypes/cast.py` line 131
Is this expected behaviour? Should I rename `foo -> value` and `bar -> skipna`?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36422/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36422/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36423
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36423/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36423/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36423/events
|
https://github.com/pandas-dev/pandas/issues/36423
| 703,443,064
|
MDU6SXNzdWU3MDM0NDMwNjQ=
| 36,423
|
ENH: Multiple dataframe groupby/apply
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/12170287?v=4",
"events_url": "https://api.github.com/users/mickvanhulst/events{/privacy}",
"followers_url": "https://api.github.com/users/mickvanhulst/followers",
"following_url": "https://api.github.com/users/mickvanhulst/following{/other_user}",
"gists_url": "https://api.github.com/users/mickvanhulst/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mickvanhulst",
"id": 12170287,
"login": "mickvanhulst",
"node_id": "MDQ6VXNlcjEyMTcwMjg3",
"organizations_url": "https://api.github.com/users/mickvanhulst/orgs",
"received_events_url": "https://api.github.com/users/mickvanhulst/received_events",
"repos_url": "https://api.github.com/users/mickvanhulst/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mickvanhulst/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mickvanhulst/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mickvanhulst"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 1
| 2020-09-17T09:58:37Z
| 2020-09-17T12:21:07Z
| 2020-09-17T12:20:54Z
|
NONE
| null |
#### Is your feature request related to a problem?
When working with larger separate data frames, it may be computationally more efficient to not join them. However, in scenarios I have personally encountered, I might still want to perform a group by/apply to both data frames while accessing both subframes based
#### Describe the solution you'd like
An example solution would be:
```python
def func(df_sub1, df_sub2):
# perform computations.
return df_sub1, df_sub2
df1, df2 = pd.grouped_apply([df1, df2], on='key', func)
```
Or if results from a single data frame are only of importance:
```python
def func(df_sub1, df_sub2):
# perform computations.
return df_sub1
df1 = df.groupby(by='key', dfs=[df2]).apply(func)
```
#### API breaking implications
Some constraints might have to be in place such as treating this as a left join, where df2 may potentially not have any values for a given key.
#### Describe alternatives you've considered
Standard merge/join/etc, which consumes a large number of resources. Can also do the following:
```python
dict1 = dict(tuple(df1.groupby('Date_A')))
dict2 = dict(tuple(df2.groupby('Date_A')))
for k, df_sub1 in dict1.items():
df_sub2 = dict2[k]
dict1[k], dict2[k] = func(df_sub1, df_sub2)
```
#### Additional context
Please forgive me if this makes no sense whatsoever :)!
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36423/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36423/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36424
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36424/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36424/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36424/events
|
https://github.com/pandas-dev/pandas/issues/36424
| 703,542,734
|
MDU6SXNzdWU3MDM1NDI3MzQ=
| 36,424
|
QST: Replace subset of DataFrame by another subset of DataFrame
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/30388627?v=4",
"events_url": "https://api.github.com/users/zxdawn/events{/privacy}",
"followers_url": "https://api.github.com/users/zxdawn/followers",
"following_url": "https://api.github.com/users/zxdawn/following{/other_user}",
"gists_url": "https://api.github.com/users/zxdawn/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zxdawn",
"id": 30388627,
"login": "zxdawn",
"node_id": "MDQ6VXNlcjMwMzg4NjI3",
"organizations_url": "https://api.github.com/users/zxdawn/orgs",
"received_events_url": "https://api.github.com/users/zxdawn/received_events",
"repos_url": "https://api.github.com/users/zxdawn/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zxdawn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zxdawn/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zxdawn"
}
|
[
{
"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": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
},
{
"color": "f2f074",
"default": false,
"description": "Warnings that appear or should be added to pandas",
"id": 1628184320,
"name": "Warnings",
"node_id": "MDU6TGFiZWwxNjI4MTg0MzIw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Warnings"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61546990?v=4",
"events_url": "https://api.github.com/users/samilAyoub/events{/privacy}",
"followers_url": "https://api.github.com/users/samilAyoub/followers",
"following_url": "https://api.github.com/users/samilAyoub/following{/other_user}",
"gists_url": "https://api.github.com/users/samilAyoub/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/samilAyoub",
"id": 61546990,
"login": "samilAyoub",
"node_id": "MDQ6VXNlcjYxNTQ2OTkw",
"organizations_url": "https://api.github.com/users/samilAyoub/orgs",
"received_events_url": "https://api.github.com/users/samilAyoub/received_events",
"repos_url": "https://api.github.com/users/samilAyoub/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/samilAyoub/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/samilAyoub/subscriptions",
"type": "User",
"url": "https://api.github.com/users/samilAyoub"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/61546990?v=4",
"events_url": "https://api.github.com/users/samilAyoub/events{/privacy}",
"followers_url": "https://api.github.com/users/samilAyoub/followers",
"following_url": "https://api.github.com/users/samilAyoub/following{/other_user}",
"gists_url": "https://api.github.com/users/samilAyoub/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/samilAyoub",
"id": 61546990,
"login": "samilAyoub",
"node_id": "MDQ6VXNlcjYxNTQ2OTkw",
"organizations_url": "https://api.github.com/users/samilAyoub/orgs",
"received_events_url": "https://api.github.com/users/samilAyoub/received_events",
"repos_url": "https://api.github.com/users/samilAyoub/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/samilAyoub/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/samilAyoub/subscriptions",
"type": "User",
"url": "https://api.github.com/users/samilAyoub"
}
] |
{
"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"
}
| 7
| 2020-09-17T12:29:07Z
| 2020-09-22T23:24:01Z
| 2020-09-22T23:24:01Z
|
NONE
| null |
- [x] 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
import numpy as np
import pandas as pd
dic = {'A': [1, 4, 1, 4], 'B': [9, 2, 5, 3], 'C': [0, 0, 5, 3]}
df = pd.DataFrame(dic)
df.index = [0, 0, 1, 1]
df1 = df.copy()
df1[:] = np.nan
df1.loc[0]['A'] = df.loc[0]['A']
```
original `df`:
```
A B C
0 1 9 0
0 4 2 0
1 1 5 5
1 4 3 3
```
I want to replace the subset of the copy with the subset of original `df`:
```
A B C
0 1 NaN NaN
0 4 NaN NaN
1 NaN NaN NaN
1 NaN NaN NaN
```
However, it shows no change at all:
```
A B C
0 NaN NaN NaN
0 NaN NaN NaN
1 NaN NaN NaN
1 NaN NaN NaN
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36424/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36424/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36425
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36425/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36425/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36425/events
|
https://github.com/pandas-dev/pandas/issues/36425
| 703,558,621
|
MDU6SXNzdWU3MDM1NTg2MjE=
| 36,425
|
BUG: If a dataframe element is a list, using `.extend()` method affects the whole column
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/11142944?v=4",
"events_url": "https://api.github.com/users/eric-downes/events{/privacy}",
"followers_url": "https://api.github.com/users/eric-downes/followers",
"following_url": "https://api.github.com/users/eric-downes/following{/other_user}",
"gists_url": "https://api.github.com/users/eric-downes/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/eric-downes",
"id": 11142944,
"login": "eric-downes",
"node_id": "MDQ6VXNlcjExMTQyOTQ0",
"organizations_url": "https://api.github.com/users/eric-downes/orgs",
"received_events_url": "https://api.github.com/users/eric-downes/received_events",
"repos_url": "https://api.github.com/users/eric-downes/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/eric-downes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eric-downes/subscriptions",
"type": "User",
"url": "https://api.github.com/users/eric-downes"
}
|
[
{
"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 | 1
| 2020-09-17T12:51:38Z
| 2020-09-17T13:56:42Z
| 2020-09-17T13:56:41Z
|
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
in pandas 1.1.1:
```python
import pandas as pd
df = pd.DataFrame({'a': [[]]*10}, index = range(10))
df.loc[0,'a'].extend([1])
assert (df.a.str.len()).sum() == 1 # fails
```
#### Problem description
The entire `a` column should not be filled when using `.loc` to reference a single element. Instead, we get this
```python
>>> df
a
0 [1]
1 [1]
2 [1]
3 [1]
4 [1]
5 [1]
6 [1]
7 [1]
8 [1]
9 [1]
```
I am not aware of another way of doing this, now that `.ix` has been removed. It is inelegant to store iterables inside of df elements, but often necessary (e.g. temporary records of inconsistent length) or when `result_type='expand'` is not appropriate.
#### Expected Output
The script at the top should not trigger the assert; `df` should be:
```python
>>> df
a
0 [1]
1 []
2 []
3 []
4 []
5 []
6 []
7 []
8 []
9 []
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f2ca0a2665b2d169c97de87b8e778dbed86aea07
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.1
numpy : 1.19.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.2.3
setuptools : 47.1.0
Cython : 0.29.20
pytest : 6.0.1
hypothesis : 5.33.1
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.5.1
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.18.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.0
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.17.1
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : None
tables : None
tabulate : 0.8.7
xarray : 0.15.1
xlrd : None
xlwt : 1.3.0
numba : 0.51.2
</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/36425/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36425/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36426
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36426/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36426/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36426/events
|
https://github.com/pandas-dev/pandas/issues/36426
| 703,560,898
|
MDU6SXNzdWU3MDM1NjA4OTg=
| 36,426
|
BUG: Inconsistent lint environments
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8995328?v=4",
"events_url": "https://api.github.com/users/clbarnes/events{/privacy}",
"followers_url": "https://api.github.com/users/clbarnes/followers",
"following_url": "https://api.github.com/users/clbarnes/following{/other_user}",
"gists_url": "https://api.github.com/users/clbarnes/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/clbarnes",
"id": 8995328,
"login": "clbarnes",
"node_id": "MDQ6VXNlcjg5OTUzMjg=",
"organizations_url": "https://api.github.com/users/clbarnes/orgs",
"received_events_url": "https://api.github.com/users/clbarnes/received_events",
"repos_url": "https://api.github.com/users/clbarnes/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/clbarnes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/clbarnes/subscriptions",
"type": "User",
"url": "https://api.github.com/users/clbarnes"
}
|
[
{
"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": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] | null | 5
| 2020-09-17T12:54:27Z
| 2021-02-14T11:38:42Z
| 2021-02-14T11:38:42Z
|
CONTRIBUTOR
| null |
As of https://github.com/pandas-dev/pandas/blob/3a15e47374762cbc89a6742c4239a069414dbbfc/.pre-commit-config.yaml#L8 , pre-commit uses flake8 3.8, where the other checks use 3.7.
As of https://github.com/pandas-dev/pandas/blob/11d5fc9e89ad8e238ece42890482bae875d9de98/environment.yml#L23 , conda environments use isort 5.2, where pre-commit uses 4.3.
This makes it impossible to create a commit which passes pre-commit and CI.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36426/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36426/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36427
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36427/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36427/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36427/events
|
https://github.com/pandas-dev/pandas/pull/36427
| 703,605,311
|
MDExOlB1bGxSZXF1ZXN0NDg4NjgxMjc2
| 36,427
|
DOC: Fix typo in docstring 'handler' --> 'handle'
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6101677?v=4",
"events_url": "https://api.github.com/users/y2kbugger/events{/privacy}",
"followers_url": "https://api.github.com/users/y2kbugger/followers",
"following_url": "https://api.github.com/users/y2kbugger/following{/other_user}",
"gists_url": "https://api.github.com/users/y2kbugger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/y2kbugger",
"id": 6101677,
"login": "y2kbugger",
"node_id": "MDQ6VXNlcjYxMDE2Nzc=",
"organizations_url": "https://api.github.com/users/y2kbugger/orgs",
"received_events_url": "https://api.github.com/users/y2kbugger/received_events",
"repos_url": "https://api.github.com/users/y2kbugger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/y2kbugger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/y2kbugger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/y2kbugger"
}
|
[
{
"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-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"
}
| 3
| 2020-09-17T13:46:49Z
| 2020-09-17T21:20:13Z
| 2020-09-17T21:20:06Z
|
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/36427/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36427/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36427.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36427",
"merged_at": "2020-09-17T21:20:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36427.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36427"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36428
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36428/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36428/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36428/events
|
https://github.com/pandas-dev/pandas/pull/36428
| 703,623,672
|
MDExOlB1bGxSZXF1ZXN0NDg4Njk1OTg4
| 36,428
|
Update isort version in pre-commit config
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8995328?v=4",
"events_url": "https://api.github.com/users/clbarnes/events{/privacy}",
"followers_url": "https://api.github.com/users/clbarnes/followers",
"following_url": "https://api.github.com/users/clbarnes/following{/other_user}",
"gists_url": "https://api.github.com/users/clbarnes/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/clbarnes",
"id": 8995328,
"login": "clbarnes",
"node_id": "MDQ6VXNlcjg5OTUzMjg=",
"organizations_url": "https://api.github.com/users/clbarnes/orgs",
"received_events_url": "https://api.github.com/users/clbarnes/received_events",
"repos_url": "https://api.github.com/users/clbarnes/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/clbarnes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/clbarnes/subscriptions",
"type": "User",
"url": "https://api.github.com/users/clbarnes"
}
|
[
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-09-17T14:06:12Z
| 2020-09-17T16:34:16Z
| 2020-09-17T16:34:11Z
|
CONTRIBUTOR
| null |
Previously, a mismatch between the isort versions specified by
pre-commit and by the files used on CI made it impossible to make a
commit which passed both pre-commit and CI lints.
See #36426 . This is not a complete solution as the flake8 version differences are intentional and hopefully temporary (see https://github.com/pandas-dev/pandas/pull/36412#issuecomment-694072443 ), but it should resolve the current breakage.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36428/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36428/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36428.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36428",
"merged_at": "2020-09-17T16:34:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36428.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36428"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36429
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36429/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36429/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36429/events
|
https://github.com/pandas-dev/pandas/issues/36429
| 703,679,952
|
MDU6SXNzdWU3MDM2Nzk5NTI=
| 36,429
|
test_c_parser_only on linux py_3.8_32 failing on MacPython.pandas-wheels
|
{
"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": "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": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "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"
},
{
"color": "0e8a16",
"default": false,
"description": "32-bit systems",
"id": 563047854,
"name": "32bit",
"node_id": "MDU6TGFiZWw1NjMwNDc4NTQ=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/32bit"
}
] |
open
| false
| null |
[] | null | 11
| 2020-09-17T15:14:10Z
| 2020-11-27T15:05:49Z
| null |
MEMBER
| null |
https://dev.azure.com/pandas-dev/pandas-wheels/_build/results?buildId=42365&view=logs&j=bb1c2637-64c6-57bd-9ea6-93823b2df951&t=9c62e7ff-391e-517d-ede1-af63bc6a25da
```
=========================== short test summary info ============================
FAILED ../../venv/lib/python3.8/site-packages/pandas/tests/io/parser/test_c_parser_only.py::test_float_precision_options[c_high]
FAILED ../../venv/lib/python3.8/site-packages/pandas/tests/io/parser/test_c_parser_only.py::test_float_precision_options[c_low]
= 2 failed, 66511 passed, 7439 skipped, 1144 xfailed, 6 xpassed, 15 warnings in 434.87s (0:07:14) =
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36429/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36429/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36430
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36430/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36430/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36430/events
|
https://github.com/pandas-dev/pandas/issues/36430
| 703,691,858
|
MDU6SXNzdWU3MDM2OTE4NTg=
| 36,430
|
REGR: period_range giving incorrect values for large datetimes
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"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.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 2
| 2020-09-17T15:29:36Z
| 2020-09-22T22:08:21Z
| 2020-09-22T22:08:21Z
|
MEMBER
| null |
From the pandas-dev mailing list:
> I encountered a bug in pandas 1.1.0 after updating from 1.0.5 that I wanted to pass along. If a period range is created that extends past the maximum timestamp date of 2262-04-11, then the period range is shifted back by an hour after this date. The screenshots below show an example with the shifted times highlighted in yellow.
```python
import pandas as pd
from datetime import datetime
start = datetime(2000, 1, 1)
end = datetime(2500, 1, 1)
idx = pd.period_range(start, end, freq="6H")
assert idx[-1].hour % 2 == 0 # raises
idx
# PeriodIndex(['2000-01-01 00:00', '2000-01-01 06:00', '2000-01-01 12:00',
# '2000-01-01 18:00', '2000-01-02 00:00', '2000-01-02 06:00',
# '2000-01-02 12:00', '2000-01-02 18:00', '2000-01-03 00:00',
# '2000-01-03 06:00',
# ...
# '2499-12-29 17:00', '2499-12-30 23:00', '2499-12-30 05:00',
# '2499-12-30 11:00', '2499-12-30 17:00', '2499-12-31 23:00',
# '2499-12-31 05:00', '2499-12-31 11:00', '2499-12-31 17:00',
# '2500-01-01 23:00'],
# dtype='period[6H]', length=730489, freq='6H')
pd.__version__
# '1.1.0'
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36430/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36430/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36431
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36431/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36431/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36431/events
|
https://github.com/pandas-dev/pandas/pull/36431
| 703,741,796
|
MDExOlB1bGxSZXF1ZXN0NDg4Nzk1MTY0
| 36,431
|
BUG: get_indexer returned dtype
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/24970830?v=4",
"events_url": "https://api.github.com/users/alexhlim/events{/privacy}",
"followers_url": "https://api.github.com/users/alexhlim/followers",
"following_url": "https://api.github.com/users/alexhlim/following{/other_user}",
"gists_url": "https://api.github.com/users/alexhlim/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alexhlim",
"id": 24970830,
"login": "alexhlim",
"node_id": "MDQ6VXNlcjI0OTcwODMw",
"organizations_url": "https://api.github.com/users/alexhlim/orgs",
"received_events_url": "https://api.github.com/users/alexhlim/received_events",
"repos_url": "https://api.github.com/users/alexhlim/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alexhlim/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alexhlim/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alexhlim"
}
|
[
{
"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": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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"
}
| 3
| 2020-09-17T16:35:37Z
| 2020-09-19T20:24:21Z
| 2020-09-19T19:56:06Z
|
MEMBER
| null |
- [x] closes #36359
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Changed the return dtype of IndexEngine’s `get_indexer()` and `get_indexer_non_unique()`. I decided to not include tests because dtypes are already implicitly tested in the following:
- pandas/tests/indexes/test_base.py (TestIndex.test_get_indexer)
- pandas/tests/base/test_misc.py (test_get_indexer_non_unique_dtype_mismatch)
Also, I ran the asv benchmarks:
```
asv continuous -f 1.1 upstream/master HEAD -b ^indexing_engines
BENCHMARKS NOT SIGNIFICANTLY 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/36431/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36431/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36431.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36431",
"merged_at": "2020-09-19T19:56:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36431.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36431"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36432
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36432/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36432/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36432/events
|
https://github.com/pandas-dev/pandas/pull/36432
| 703,800,131
|
MDExOlB1bGxSZXF1ZXN0NDg4ODQxODM3
| 36,432
|
PERF: construct DataFrame with string array and dtype=str
|
{
"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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
] |
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"
}
| 5
| 2020-09-17T18:06:58Z
| 2020-09-19T20:06:51Z
| 2020-09-19T19:54:17Z
|
CONTRIBUTOR
| null |
Avoid inefficient call to `arr.astype()` when dtype is `str`, and use ensure_string_array instead.
Performance example:
```python
>>> x = np.array([str(u) for u in range(1_000_000)], dtype=object).reshape(500_000, 2)
>>> %timeit pd.DataFrame(x, dtype=str)
391 ms ± 17.7 ms per loop # master
11.9 ms ± 131 µs per loop # after this PR
```
xref #35519, #36304 & #36317.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36432/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36432/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36432.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36432",
"merged_at": "2020-09-19T19:54:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36432.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36432"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36433
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36433/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36433/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36433/events
|
https://github.com/pandas-dev/pandas/pull/36433
| 703,827,903
|
MDExOlB1bGxSZXF1ZXN0NDg4ODY0NTg0
| 36,433
|
[DOC]: Add warning about rolling sums with large values
|
{
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"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"
}
] |
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-09-17T18:53:37Z
| 2020-09-18T22:11:36Z
| 2020-09-18T21:59:25Z
|
MEMBER
| null |
- [x] closes #11645
- [x] closes #28244 (probably closes that one too)
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Added a warning within the user guide.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36433/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36433/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36433.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36433",
"merged_at": "2020-09-18T21:59:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36433.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36433"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36434
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36434/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36434/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36434/events
|
https://github.com/pandas-dev/pandas/pull/36434
| 703,855,779
|
MDExOlB1bGxSZXF1ZXN0NDg4ODg2Nzkz
| 36,434
|
REF: pandas/io/formats/format.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
}
|
[
{
"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": "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-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-09-17T19:34:09Z
| 2020-09-25T19:10:18Z
| 2020-09-19T22:05:38Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Partially addresses https://github.com/pandas-dev/pandas/issues/36407
Before splitting ``DataFrameFormatter`` into more dedicated classes, I decided to refactor the class itself, to make the outstanding refactoring more manageable.
As suggested by @jreback, I made this refactor small, trying to split big functions into smaller ones and find some better naming.
Yet, rather small changes are done so far, just to keep diffs readable.
Once approved, I will move on to further refactor.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36434/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36434/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36434.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36434",
"merged_at": "2020-09-19T22:05:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36434.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36434"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36435
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36435/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36435/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36435/events
|
https://github.com/pandas-dev/pandas/issues/36435
| 703,910,147
|
MDU6SXNzdWU3MDM5MTAxNDc=
| 36,435
|
DOC: read_excel supports skiprows argument like read_csv, but tests and docs needed
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4",
"events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}",
"followers_url": "https://api.github.com/users/Dr-Irv/followers",
"following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}",
"gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Dr-Irv",
"id": 15113894,
"login": "Dr-Irv",
"node_id": "MDQ6VXNlcjE1MTEzODk0",
"organizations_url": "https://api.github.com/users/Dr-Irv/orgs",
"received_events_url": "https://api.github.com/users/Dr-Irv/received_events",
"repos_url": "https://api.github.com/users/Dr-Irv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Dr-Irv"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41098605?v=4",
"events_url": "https://api.github.com/users/ahgamut/events{/privacy}",
"followers_url": "https://api.github.com/users/ahgamut/followers",
"following_url": "https://api.github.com/users/ahgamut/following{/other_user}",
"gists_url": "https://api.github.com/users/ahgamut/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ahgamut",
"id": 41098605,
"login": "ahgamut",
"node_id": "MDQ6VXNlcjQxMDk4NjA1",
"organizations_url": "https://api.github.com/users/ahgamut/orgs",
"received_events_url": "https://api.github.com/users/ahgamut/received_events",
"repos_url": "https://api.github.com/users/ahgamut/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ahgamut/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ahgamut/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ahgamut"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/41098605?v=4",
"events_url": "https://api.github.com/users/ahgamut/events{/privacy}",
"followers_url": "https://api.github.com/users/ahgamut/followers",
"following_url": "https://api.github.com/users/ahgamut/following{/other_user}",
"gists_url": "https://api.github.com/users/ahgamut/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ahgamut",
"id": 41098605,
"login": "ahgamut",
"node_id": "MDQ6VXNlcjQxMDk4NjA1",
"organizations_url": "https://api.github.com/users/ahgamut/orgs",
"received_events_url": "https://api.github.com/users/ahgamut/received_events",
"repos_url": "https://api.github.com/users/ahgamut/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ahgamut/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ahgamut/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ahgamut"
}
] | null | 3
| 2020-09-17T21:05:54Z
| 2020-09-18T12:50:06Z
| 2020-09-18T12:50:06Z
|
CONTRIBUTOR
| null |
#### Location of the documentation
https://pandas.pydata.org/docs/reference/api/pandas.read_excel.html
https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html
#### Documentation problem
In `read_csv`, we say that we support:
**skiprows list-like, int or callable, optional**
_Line numbers to skip (0-indexed) or number of lines to skip (int) at the start of the file._
_If callable, the callable function will be evaluated against the row indices, returning True
if the row should be skipped and False otherwise. An example of a valid callable argument
would be lambda x: x in [0, 2]._
In `read_excel`, we say that we support:
**skiprows list-like**
_Rows to skip at the beginning (0-indexed)._
It turns out that the `int` and `callable` arguments work fine with `read_excel()`, so we should indicate that in the documentation.
We also need to add tests for those 2 cases.
#### Suggested fix for documentation and additional tests
- copy the `read_csv` doc for `skiprows` over to `read_excel`
- add tests to `tests/io/excel/test_readers.py` for the `int` and `callable` options
|
{
"+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/36435/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36435/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36436
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36436/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36436/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36436/events
|
https://github.com/pandas-dev/pandas/issues/36436
| 703,953,931
|
MDU6SXNzdWU3MDM5NTM5MzE=
| 36,436
|
CI: Failed Travis jobs due to GBQ
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"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-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"
}
| 3
| 2020-09-17T22:37:52Z
| 2020-09-18T21:30:42Z
| 2020-09-18T21:30:42Z
|
MEMBER
| null |
Lots of failed jobs coming from Travis lately with tracebacks like this:
```python
@pytest.fixture()
def gbq_dataset(self):
# Setup Dataset
_skip_if_no_project_id()
_skip_if_no_private_key_path()
dataset_id = "pydata_pandas_bq_testing_" + generate_rand_str()
> self.client = _get_client()
pandas/tests/io/test_gbq.py:160:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pandas/tests/io/test_gbq.py:68: in _get_client
return bigquery.Client(project=project_id, credentials=credentials)
../../../miniconda3/envs/pandas-dev/lib/python3.7/site-packages/google/cloud/bigquery/client.py:179: in __init__
project=project, credentials=credentials, _http=_http
../../../miniconda3/envs/pandas-dev/lib/python3.7/site-packages/google/cloud/client.py:250: in __init__
Client.__init__(self, credentials=credentials, client_options=client_options, _http=_http)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <google.cloud.bigquery.client.Client object at 0x7f5c46e157d0>
credentials = <google.oauth2.service_account.Credentials object at 0x7f5c46e15bd0>
_http = None
client_options = ClientOptions: {'api_endpoint': None, 'client_cert_source': None}
def __init__(self, credentials=None, _http=None, client_options=None):
if isinstance(client_options, dict):
client_options = google.api_core.client_options.from_dict(client_options)
if client_options is None:
client_options = google.api_core.client_options.ClientOptions()
> if credentials and client_options.credentials_file:
E AttributeError: 'ClientOptions' object has no attribute 'credentials_file'
```
Line that's raising:
https://github.com/pandas-dev/pandas/blob/c8b44dda08ab3a2feb2c4572be960469c3f065f7/pandas/tests/io/test_gbq.py#L160
Sample Travis log:
https://api.travis-ci.org/v3/job/728073325/log.txt
cc @tswast if any ideas
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36436/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36436/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36437
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36437/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36437/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36437/events
|
https://github.com/pandas-dev/pandas/pull/36437
| 703,987,081
|
MDExOlB1bGxSZXF1ZXN0NDg4OTkzMTQ3
| 36,437
|
DOC: read_excel skiprows documentation matches read_csv (#36435)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41098605?v=4",
"events_url": "https://api.github.com/users/ahgamut/events{/privacy}",
"followers_url": "https://api.github.com/users/ahgamut/followers",
"following_url": "https://api.github.com/users/ahgamut/following{/other_user}",
"gists_url": "https://api.github.com/users/ahgamut/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ahgamut",
"id": 41098605,
"login": "ahgamut",
"node_id": "MDQ6VXNlcjQxMDk4NjA1",
"organizations_url": "https://api.github.com/users/ahgamut/orgs",
"received_events_url": "https://api.github.com/users/ahgamut/received_events",
"repos_url": "https://api.github.com/users/ahgamut/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ahgamut/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ahgamut/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ahgamut"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] |
closed
| false
| null |
[] | null | 1
| 2020-09-18T00:08:52Z
| 2020-09-18T14:02:19Z
| 2020-09-18T12:50:06Z
|
CONTRIBUTOR
| null |
- [x] closes #36435
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Updated `read_excel` documentation to match `read_csv` for the `skiprows` parameter.
Changed `test_read_excel_skiprows_list` to `test_read_excel_skiprows`: now also tests `read_excel` with an `int` and a `callable`.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36437/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36437/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36437.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36437",
"merged_at": "2020-09-18T12:50:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36437.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36437"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36438
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36438/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36438/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36438/events
|
https://github.com/pandas-dev/pandas/pull/36438
| 704,000,405
|
MDExOlB1bGxSZXF1ZXN0NDg5MDAzODU0
| 36,438
|
REF: collect IntervalArray methods by topic
|
{
"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": "009800",
"default": false,
"description": "Interval data type",
"id": 150096370,
"name": "Interval",
"node_id": "MDU6TGFiZWwxNTAwOTYzNzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval"
},
{
"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-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-09-18T00:50:43Z
| 2020-09-18T14:27:30Z
| 2020-09-18T13:01:35Z
|
MEMBER
| null |
cosmetic edits I find myself tempted to do on a bunch of branches
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36438/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36438/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36438.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36438",
"merged_at": "2020-09-18T13:01:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36438.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36438"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36439
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36439/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36439/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36439/events
|
https://github.com/pandas-dev/pandas/pull/36439
| 704,030,441
|
MDExOlB1bGxSZXF1ZXN0NDg5MDI3ODY2
| 36,439
|
REF: share insert between DTI/TDI/PI
|
{
"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"
}
] |
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-09-18T02:25:08Z
| 2020-09-18T14:24:39Z
| 2020-09-18T13:05:10Z
|
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/36439/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36439/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36439.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36439",
"merged_at": "2020-09-18T13:05:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36439.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36439"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36440
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36440/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36440/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36440/events
|
https://github.com/pandas-dev/pandas/pull/36440
| 704,063,181
|
MDExOlB1bGxSZXF1ZXN0NDg5MDUzNTMx
| 36,440
|
REGR: Series[numeric] comparison with str raising on numexpr path
|
{
"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": "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": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"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.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 2
| 2020-09-18T03:57:06Z
| 2020-09-19T08:12:40Z
| 2020-09-18T21:55:07Z
|
MEMBER
| null |
- [x] closes #36377, closes #35700
- [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/36440/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36440/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36440.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36440",
"merged_at": "2020-09-18T21:55:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36440.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36440"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36441
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36441/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36441/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36441/events
|
https://github.com/pandas-dev/pandas/pull/36441
| 704,067,967
|
MDExOlB1bGxSZXF1ZXN0NDg5MDU3NDU5
| 36,441
|
CLN: remove trailing commas
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/19372617?v=4",
"events_url": "https://api.github.com/users/lacrosse91/events{/privacy}",
"followers_url": "https://api.github.com/users/lacrosse91/followers",
"following_url": "https://api.github.com/users/lacrosse91/following{/other_user}",
"gists_url": "https://api.github.com/users/lacrosse91/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lacrosse91",
"id": 19372617,
"login": "lacrosse91",
"node_id": "MDQ6VXNlcjE5MzcyNjE3",
"organizations_url": "https://api.github.com/users/lacrosse91/orgs",
"received_events_url": "https://api.github.com/users/lacrosse91/received_events",
"repos_url": "https://api.github.com/users/lacrosse91/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lacrosse91/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lacrosse91/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lacrosse91"
}
|
[] |
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-09-18T04:10:34Z
| 2020-09-18T08:06:31Z
| 2020-09-18T06:55:30Z
|
CONTRIBUTOR
| null |
#35925
Checked the following file to make sure they are ready for black :
- pandas/tests/groupby/transform/test_numba.py
CC @MarcoGorelli
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36441/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36441/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36441.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36441",
"merged_at": "2020-09-18T06:55:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36441.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36441"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36442
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36442/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36442/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36442/events
|
https://github.com/pandas-dev/pandas/pull/36442
| 704,089,245
|
MDExOlB1bGxSZXF1ZXN0NDg5MDc1MzEw
| 36,442
|
Update 03_subset_data.rst
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/59157112?v=4",
"events_url": "https://api.github.com/users/anishmo99/events{/privacy}",
"followers_url": "https://api.github.com/users/anishmo99/followers",
"following_url": "https://api.github.com/users/anishmo99/following{/other_user}",
"gists_url": "https://api.github.com/users/anishmo99/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/anishmo99",
"id": 59157112,
"login": "anishmo99",
"node_id": "MDQ6VXNlcjU5MTU3MTEy",
"organizations_url": "https://api.github.com/users/anishmo99/orgs",
"received_events_url": "https://api.github.com/users/anishmo99/received_events",
"repos_url": "https://api.github.com/users/anishmo99/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/anishmo99/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anishmo99/subscriptions",
"type": "User",
"url": "https://api.github.com/users/anishmo99"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-09-18T05:11:24Z
| 2020-09-18T16:50:59Z
| 2020-09-18T16:50:59Z
|
NONE
| null |
- [ ] 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/36442/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36442/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36442.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36442",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36442.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36442"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36443
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36443/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36443/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36443/events
|
https://github.com/pandas-dev/pandas/pull/36443
| 704,115,975
|
MDExOlB1bGxSZXF1ZXN0NDg5MDk4NDQ5
| 36,443
|
CI: fix gbq test #36436
|
{
"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": "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-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-09-18T06:06:52Z
| 2020-09-23T19:39:08Z
| 2020-09-18T21:30:42Z
|
MEMBER
| null |
- [x] closes #36436
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36443/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36443/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36443.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36443",
"merged_at": "2020-09-18T21:30:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36443.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36443"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36444
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36444/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36444/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36444/events
|
https://github.com/pandas-dev/pandas/pull/36444
| 704,136,802
|
MDExOlB1bGxSZXF1ZXN0NDg5MTE1Nzgw
| 36,444
|
BUG: inconsistent replace
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/32516498?v=4",
"events_url": "https://api.github.com/users/QuentinN42/events{/privacy}",
"followers_url": "https://api.github.com/users/QuentinN42/followers",
"following_url": "https://api.github.com/users/QuentinN42/following{/other_user}",
"gists_url": "https://api.github.com/users/QuentinN42/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/QuentinN42",
"id": 32516498,
"login": "QuentinN42",
"node_id": "MDQ6VXNlcjMyNTE2NDk4",
"organizations_url": "https://api.github.com/users/QuentinN42/orgs",
"received_events_url": "https://api.github.com/users/QuentinN42/received_events",
"repos_url": "https://api.github.com/users/QuentinN42/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/QuentinN42/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/QuentinN42/subscriptions",
"type": "User",
"url": "https://api.github.com/users/QuentinN42"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "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-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"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.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 19
| 2020-09-18T06:50:27Z
| 2020-09-26T08:26:17Z
| 2020-09-26T01:25:20Z
|
CONTRIBUTOR
| null |
- [x] tests added
- [x] tests passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] release note in `doc/source/whatsnew/v1.1.3.rst`
Must fix some replace in IntBlock if called with float integer (such as 1.0).
closes #35376
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36444/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36444/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36444.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36444",
"merged_at": "2020-09-26T01:25:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36444.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36444"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36445
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36445/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36445/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36445/events
|
https://github.com/pandas-dev/pandas/issues/36445
| 704,173,545
|
MDU6SXNzdWU3MDQxNzM1NDU=
| 36,445
|
import pandas doesn't work using VS Code through Anaconda.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/64059855?v=4",
"events_url": "https://api.github.com/users/ZacharyJWyman/events{/privacy}",
"followers_url": "https://api.github.com/users/ZacharyJWyman/followers",
"following_url": "https://api.github.com/users/ZacharyJWyman/following{/other_user}",
"gists_url": "https://api.github.com/users/ZacharyJWyman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ZacharyJWyman",
"id": 64059855,
"login": "ZacharyJWyman",
"node_id": "MDQ6VXNlcjY0MDU5ODU1",
"organizations_url": "https://api.github.com/users/ZacharyJWyman/orgs",
"received_events_url": "https://api.github.com/users/ZacharyJWyman/received_events",
"repos_url": "https://api.github.com/users/ZacharyJWyman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ZacharyJWyman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ZacharyJWyman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ZacharyJWyman"
}
|
[
{
"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 | 0
| 2020-09-18T07:56:58Z
| 2020-09-18T07:58:34Z
| 2020-09-18T07:58:34Z
|
NONE
| null |
- [ ] I have checked that this issue has not already been reported.
- [ ] 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
```
output:
```
PS C:\Users\19712\OneDrive\Desktop\sentiment\Scripts> & C:/Users/19712/anaconda3/python.exe c:/Users/19712/OneDrive/Desktop/sentiment/Scripts/clean.py
Traceback (most recent call last):
File "c:/Users/19712/OneDrive/Desktop/sentiment/Scripts/clean.py", line 1, in <module>
import pandas as pd
File "C:\Users\19712\anaconda3\lib\site-packages\pandas\__init__.py", line 32, in <module>
from pandas._libs import hashtable as _hashtable, lib as _lib, tslib as _tslib
File "C:\Users\19712\anaconda3\lib\site-packages\pandas\_libs\__init__.py", line 3, in <module>
from .tslibs import (
File "C:\Users\19712\anaconda3\lib\site-packages\pandas\_libs\tslibs\__init__.py", line 3, in <module>
from .conversion import localize_pydatetime, normalize_date
File "pandas\_libs\tslibs\c_timestamp.pyx", line 1, in init pandas._libs.tslibs.c_timestamp
File "pandas\_libs\tslibs\tzconversion.pyx", line 1, in init pandas._libs.tslibs.tzconversion
File "pandas\_libs\tslibs\timedeltas.pyx", line 1, in init pandas._libs.tslibs.timedeltas
File "pandas\_libs\tslibs\offsets.pyx", line 1, in init pandas._libs.tslibs.offsets
File "pandas\_libs\tslibs\ccalendar.pyx", line 12, in init pandas._libs.tslibs.ccalendar
File "C:\Users\19712\anaconda3\lib\site-packages\pandas\_config\__init__.py", line 19, in <module>
from pandas._config import dates # noqa:F401
File "C:\Users\19712\anaconda3\lib\site-packages\pandas\_config\dates.py", line 18, in <module>
cf.register_option(
File "C:\Users\19712\anaconda3\lib\site-packages\pandas\_config\config.py", line 732, in inner
return func(pkey, *args, **kwds)
File "C:\Users\19712\anaconda3\lib\site-packages\pandas\_config\config.py", line 456, in register_option
if not re.match("^" + tokenize.Name + "$", k): # type: ignore
AttributeError: module 'tokenize' has no attribute 'Name'
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36445/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36445/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36446
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36446/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36446/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36446/events
|
https://github.com/pandas-dev/pandas/pull/36446
| 704,250,992
|
MDExOlB1bGxSZXF1ZXN0NDg5MjA5NjUw
| 36,446
|
CLN: 35925 rm trailing commas
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/19372617?v=4",
"events_url": "https://api.github.com/users/lacrosse91/events{/privacy}",
"followers_url": "https://api.github.com/users/lacrosse91/followers",
"following_url": "https://api.github.com/users/lacrosse91/following{/other_user}",
"gists_url": "https://api.github.com/users/lacrosse91/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lacrosse91",
"id": 19372617,
"login": "lacrosse91",
"node_id": "MDQ6VXNlcjE5MzcyNjE3",
"organizations_url": "https://api.github.com/users/lacrosse91/orgs",
"received_events_url": "https://api.github.com/users/lacrosse91/received_events",
"repos_url": "https://api.github.com/users/lacrosse91/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lacrosse91/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lacrosse91/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lacrosse91"
}
|
[
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-09-18T09:58:06Z
| 2020-09-18T13:00:20Z
| 2020-09-18T13:00:16Z
|
CONTRIBUTOR
| null |
#35925
Checked the following files to make sure they are ready for black :
- /pandas/tests/indexes/base_class/test_indexing.py
- /pandas/tests/indexes/test_common.py
- /pandas/tests/indexes/test_numeric.py
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36446/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36446/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36446.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36446",
"merged_at": "2020-09-18T13:00:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36446.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36446"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36447
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36447/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36447/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36447/events
|
https://github.com/pandas-dev/pandas/pull/36447
| 704,299,416
|
MDExOlB1bGxSZXF1ZXN0NDg5MjUwMTUx
| 36,447
|
CLN: remove trailing commas for black update
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/71419471?v=4",
"events_url": "https://api.github.com/users/Noahlq/events{/privacy}",
"followers_url": "https://api.github.com/users/Noahlq/followers",
"following_url": "https://api.github.com/users/Noahlq/following{/other_user}",
"gists_url": "https://api.github.com/users/Noahlq/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Noahlq",
"id": 71419471,
"login": "Noahlq",
"node_id": "MDQ6VXNlcjcxNDE5NDcx",
"organizations_url": "https://api.github.com/users/Noahlq/orgs",
"received_events_url": "https://api.github.com/users/Noahlq/received_events",
"repos_url": "https://api.github.com/users/Noahlq/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Noahlq/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Noahlq/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Noahlq"
}
|
[
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-09-18T11:17:13Z
| 2020-09-19T18:40:45Z
| 2020-09-19T18:40:45Z
|
NONE
| null |
File edited:
pandas/tests/io/test_sql.py
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36447/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36447/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36447.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36447",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36447.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36447"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36448
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36448/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36448/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36448/events
|
https://github.com/pandas-dev/pandas/issues/36448
| 704,314,547
|
MDU6SXNzdWU3MDQzMTQ1NDc=
| 36,448
|
DOC: broken link in warning message
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7011110?v=4",
"events_url": "https://api.github.com/users/prhbrt/events{/privacy}",
"followers_url": "https://api.github.com/users/prhbrt/followers",
"following_url": "https://api.github.com/users/prhbrt/following{/other_user}",
"gists_url": "https://api.github.com/users/prhbrt/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/prhbrt",
"id": 7011110,
"login": "prhbrt",
"node_id": "MDQ6VXNlcjcwMTExMTA=",
"organizations_url": "https://api.github.com/users/prhbrt/orgs",
"received_events_url": "https://api.github.com/users/prhbrt/received_events",
"repos_url": "https://api.github.com/users/prhbrt/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/prhbrt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/prhbrt/subscriptions",
"type": "User",
"url": "https://api.github.com/users/prhbrt"
}
|
[
{
"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": "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"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "f2f074",
"default": false,
"description": "Warnings that appear or should be added to pandas",
"id": 1628184320,
"name": "Warnings",
"node_id": "MDU6TGFiZWwxNjI4MTg0MzIw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Warnings"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 5
| 2020-09-18T11:44:10Z
| 2020-09-21T17:08:56Z
| 2020-09-21T17:08:56Z
|
NONE
| null |
I couldn't figure out the spot in the code, sorry about that, but the link in this message is broken:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy
It should be: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36448/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36448/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36449
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36449/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36449/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36449/events
|
https://github.com/pandas-dev/pandas/pull/36449
| 704,385,812
|
MDExOlB1bGxSZXF1ZXN0NDg5MzIwNTg4
| 36,449
|
CLN upgrade to Python3.7+ syntax
|
{
"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"
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2020-09-18T13:37:11Z
| 2020-09-18T13:38:26Z
| 2020-09-18T13:38:19Z
|
MEMBER
| null |
Given that the next version will be Python3.7+, there's some nice updates we can make
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36449/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36449/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36449.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36449",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36449.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36449"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36450
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36450/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36450/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36450/events
|
https://github.com/pandas-dev/pandas/issues/36450
| 704,390,160
|
MDU6SXNzdWU3MDQzOTAxNjA=
| 36,450
|
CLN upgrade to Python3.7+ syntax
|
{
"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": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
},
{
"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": "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"
}
| 2
| 2020-09-18T13:43:02Z
| 2020-09-18T22:20:50Z
| 2020-09-18T22:20:32Z
|
MEMBER
| null |
Given that the next release will we Python3.7+, we might as well upgrade some of the syntax, e.g.
```diff
- for make_index_func in make_index_funcs:
- yield make_index_func
+ yield from make_index_funcs
```
or
```diff
- return "%s[%s, %s]" % (cls, tp_repr, metadata_reprs)
+ return f"{cls}[{tp_repr}, {metadata_reprs}]"
```
We can do this using [pyupgrade](https://github.com/asottile/pyupgrade).
Here are the files that can be upgraded:
- [ ] pandas/_config/display.py
- [ ] pandas/_testing.py
- [ ] pandas/_vendored/typing_extensions.py
- [ ] pandas/_version.py
- [x] pandas/core/arrays/datetimes.py
- [x] pandas/core/arrays/sparse/array.py
- [x] pandas/core/common.py
- [x] pandas/core/computation/expr.py
- [x] pandas/core/computation/pytables.py
- [x] pandas/core/generic.py
- [x] pandas/core/groupby/base.py
- [x] pandas/core/groupby/generic.py
- [x] pandas/core/indexes/base.py
- [x] pandas/core/indexes/datetimelike.py
- [x] pandas/core/reshape/merge.py
- [ ] pandas/io/clipboard/__init__.py
- [ ] pandas/io/formats/excel.py
- [ ] pandas/io/html.py
- [ ] pandas/io/json/_json.py
- [ ] pandas/io/pytables.py
- [ ] pandas/io/stata.py
- [ ] pandas/plotting/_matplotlib/core.py
- [ ] pandas/tests/arrays/categorical/test_constructors.py
- [ ] pandas/tests/arrays/integer/test_construction.py
- [ ] pandas/tests/extension/decimal/array.py
- [ ] pandas/tests/extension/test_categorical.py
- [ ] pandas/tests/frame/test_constructors.py
- [ ] pandas/tests/groupby/test_groupby.py
- [ ] pandas/tests/groupby/test_grouping.py
- [ ] pandas/tests/indexes/test_base.py
- [ ] pandas/tests/indexing/test_indexing.py
- [ ] pandas/tests/io/formats/test_format.py
- [ ] pandas/tests/io/formats/test_to_csv.py
- [ ] pandas/tests/io/formats/test_to_html.py
- [ ] pandas/tests/io/formats/test_to_latex.py
- [ ] pandas/tests/io/json/test_ujson.py
- [ ] pandas/tests/io/parser/test_c_parser_only.py
- [ ] pandas/tests/io/parser/test_common.py
- [ ] pandas/tests/io/parser/test_encoding.py
- [ ] pandas/tests/io/parser/test_read_fwf.py
- [ ] pandas/tests/io/pytables/common.py
- [ ] pandas/tests/io/test_common.py
- [ ] pandas/tests/io/test_html.py
- [ ] pandas/tests/io/test_sql.py
- [ ] pandas/tests/reshape/test_get_dummies.py
- [ ] pandas/tests/scalar/test_na_scalar.py
- [ ] pandas/tests/series/test_analytics.py
- [ ] pandas/tests/series/test_constructors.py
- [ ] pandas/tests/series/test_dtypes.py
- [ ] pandas/tests/series/test_io.py
- [ ] scripts/validate_rst_title_capitalization.py
- [ ] scripts/validate_unwanted_patterns.py
- [ ] setup.py
- [ ] versioneer.py
If you're intereseted in helping out, please choose a batch of 10-15 to run pyupgrade on.
Install pyupgrade with:
```
pip install pyupgrade==2.7.2
```
Then, run
```
pyupgrade <files you want to upgrade> --py37-plus
```
e.g.
```
pyupgrade pandas/tests/io/test_html.py pandas/tests/io/json/test_ujson.py --py37-plus
```
See #36453 for an example PR.
Once this is done, we can add it to pre-commit / CI.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36450/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36450/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36451
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36451/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36451/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36451/events
|
https://github.com/pandas-dev/pandas/issues/36451
| 704,445,505
|
MDU6SXNzdWU3MDQ0NDU1MDU=
| 36,451
|
BUG: conversion of float32 to string shows too much precision
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"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.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 4
| 2020-09-18T14:55:41Z
| 2020-09-21T06:47:19Z
| 2020-09-21T06:47:19Z
|
MEMBER
| null |
On master (but also on 1.1):
```
In [4]: pd.Series([0.1], dtype="float64").astype("string")
Out[4]:
0 0.1
dtype: string
In [5]: pd.Series([0.1], dtype="float32").astype("string")
Out[5]:
0 0.10000000149011612
dtype: string
```
When converting to the object-dtype string, it works as expected:
```
In [6]: pd.Series([0.1], dtype="float64").astype("str")
Out[6]:
0 0.1
dtype: object
In [7]: pd.Series([0.1], dtype="float32").astype("str")
Out[7]:
0 0.1
dtype: object
```
cc @topper-123
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36451/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36451/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36452
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36452/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36452/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36452/events
|
https://github.com/pandas-dev/pandas/pull/36452
| 704,454,740
|
MDExOlB1bGxSZXF1ZXN0NDg5Mzc3MzA4
| 36,452
|
ASV: added benchamark tests for DataFrame.to_numpy() and .values
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/19833489?v=4",
"events_url": "https://api.github.com/users/hardikpnsp/events{/privacy}",
"followers_url": "https://api.github.com/users/hardikpnsp/followers",
"following_url": "https://api.github.com/users/hardikpnsp/following{/other_user}",
"gists_url": "https://api.github.com/users/hardikpnsp/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hardikpnsp",
"id": 19833489,
"login": "hardikpnsp",
"node_id": "MDQ6VXNlcjE5ODMzNDg5",
"organizations_url": "https://api.github.com/users/hardikpnsp/orgs",
"received_events_url": "https://api.github.com/users/hardikpnsp/received_events",
"repos_url": "https://api.github.com/users/hardikpnsp/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hardikpnsp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hardikpnsp/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hardikpnsp"
}
|
[
{
"color": "ae68cc",
"default": false,
"description": "Performance (ASV) benchmarks",
"id": 732775912,
"name": "Benchmark",
"node_id": "MDU6TGFiZWw3MzI3NzU5MTI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark"
}
] |
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-09-18T15:08:47Z
| 2020-09-20T03:48:42Z
| 2020-09-19T19:55:02Z
|
CONTRIBUTOR
| null |
- [x] closes #35023
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Adds benchmarks with single dtype and mixed frames of varying sizes.
xref #34999
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36452/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36452/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36452.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36452",
"merged_at": "2020-09-19T19:55:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36452.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36452"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36453
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36453/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36453/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36453/events
|
https://github.com/pandas-dev/pandas/pull/36453
| 704,509,194
|
MDExOlB1bGxSZXF1ZXN0NDg5NDIxOTk5
| 36,453
|
CLN Upgrade pandas/core syntax
|
{
"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": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-09-18T16:32:11Z
| 2020-10-10T14:14:44Z
| 2020-09-18T19:33:01Z
|
MEMBER
| null |
xref #36450
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36453/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36453/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36453.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36453",
"merged_at": "2020-09-18T19:33:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36453.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36453"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36454
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36454/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36454/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36454/events
|
https://github.com/pandas-dev/pandas/pull/36454
| 704,513,564
|
MDExOlB1bGxSZXF1ZXN0NDg5NDI1NjY5
| 36,454
|
[TST]: Wrong Corr with Timedelta index
|
{
"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": "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"
}
] |
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"
}
| 11
| 2020-09-18T16:40:00Z
| 2020-10-26T16:50:56Z
| 2020-10-26T14:49:46Z
|
MEMBER
| null |
- [x] xref #31286 (closes the issue, if there is no way around the numerical issues)
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36454/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36454/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36454.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36454",
"merged_at": "2020-10-26T14:49:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36454.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36454"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36455
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36455/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36455/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36455/events
|
https://github.com/pandas-dev/pandas/pull/36455
| 704,539,244
|
MDExOlB1bGxSZXF1ZXN0NDg5NDQ3MDA0
| 36,455
|
CLN: Clean some formatting
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"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 |
[] | null | 4
| 2020-09-18T17:26:21Z
| 2020-09-18T20:21:59Z
| 2020-09-18T20:21:56Z
|
MEMBER
| null |
ref https://github.com/pandas-dev/pandas/issues/36450
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36455/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36455/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36455.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36455",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36455.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36455"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36456
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36456/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36456/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36456/events
|
https://github.com/pandas-dev/pandas/pull/36456
| 704,547,271
|
MDExOlB1bGxSZXF1ZXN0NDg5NDUzMjIz
| 36,456
|
DOC: replaced link to the documentation about setting a value on a co…
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/47665612?v=4",
"events_url": "https://api.github.com/users/wprazuch/events{/privacy}",
"followers_url": "https://api.github.com/users/wprazuch/followers",
"following_url": "https://api.github.com/users/wprazuch/following{/other_user}",
"gists_url": "https://api.github.com/users/wprazuch/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wprazuch",
"id": 47665612,
"login": "wprazuch",
"node_id": "MDQ6VXNlcjQ3NjY1NjEy",
"organizations_url": "https://api.github.com/users/wprazuch/orgs",
"received_events_url": "https://api.github.com/users/wprazuch/received_events",
"repos_url": "https://api.github.com/users/wprazuch/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wprazuch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wprazuch/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wprazuch"
}
|
[
{
"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 | 1
| 2020-09-18T17:41:11Z
| 2020-09-18T19:01:31Z
| 2020-09-18T18:58:49Z
|
NONE
| null |
…py of a slice from a DataFrame
- [x] closes #36448
- [ ] 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/36456/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36456/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36456.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36456",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36456.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36456"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36457
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36457/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36457/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36457/events
|
https://github.com/pandas-dev/pandas/pull/36457
| 704,585,846
|
MDExOlB1bGxSZXF1ZXN0NDg5NDg1MDgy
| 36,457
|
CLN: Update files (as per #36450) to Python 3.7+ syntax
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41098605?v=4",
"events_url": "https://api.github.com/users/ahgamut/events{/privacy}",
"followers_url": "https://api.github.com/users/ahgamut/followers",
"following_url": "https://api.github.com/users/ahgamut/following{/other_user}",
"gists_url": "https://api.github.com/users/ahgamut/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ahgamut",
"id": 41098605,
"login": "ahgamut",
"node_id": "MDQ6VXNlcjQxMDk4NjA1",
"organizations_url": "https://api.github.com/users/ahgamut/orgs",
"received_events_url": "https://api.github.com/users/ahgamut/received_events",
"repos_url": "https://api.github.com/users/ahgamut/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ahgamut/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ahgamut/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ahgamut"
}
|
[
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-09-18T18:52:33Z
| 2020-09-19T16:48:19Z
| 2020-09-18T22:20:32Z
|
CONTRIBUTOR
| null |
Ran `pyupgrade` on all files unchecked in #36450. formatter pre-commit
hook had no complaints; removed unnecessary imports from the following
to satisfy `flake8` hook:
```
pandas/tests/io/test_sql.py
pandas/test/series/test_io.py
```
- [x] closes #36450
- [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/36457/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36457/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36457.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36457",
"merged_at": "2020-09-18T22:20:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36457.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36457"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36458
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36458/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36458/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36458/events
|
https://github.com/pandas-dev/pandas/pull/36458
| 704,610,924
|
MDExOlB1bGxSZXF1ZXN0NDg5NTA0OTE2
| 36,458
|
[BUG]: Rolling.sum() calculated wrong values when axis is one and dtypes are mixed
|
{
"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": "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"
}
] |
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-09-18T19:39:19Z
| 2020-09-19T22:17:54Z
| 2020-09-19T22:04:01Z
|
MEMBER
| null |
- [x] closes #20649
- [x] closes #35596
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
In case of ``axis=1`` and mixed dtypes, the ``_apply_blockwise`` did not calculate the sum for a complete row. Through converting the obj and consolidating the blocks we can avoid this.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36458/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36458/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36458.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36458",
"merged_at": "2020-09-19T22:04:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36458.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36458"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36459
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36459/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36459/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36459/events
|
https://github.com/pandas-dev/pandas/pull/36459
| 704,653,275
|
MDExOlB1bGxSZXF1ZXN0NDg5NTM3NjU1
| 36,459
|
Align cython and python reduction code paths
|
{
"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": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-09-18T20:57:43Z
| 2020-09-19T16:46:13Z
| 2020-09-19T15:34:45Z
|
MEMBER
| null |
Get rid of a few of the small behavior differences between these
(entirely disabling the cython path leads to 4 currently-xfailed tests passing, so there is still some subtle difference after this)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36459/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36459/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36459.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36459",
"merged_at": "2020-09-19T15:34:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36459.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36459"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36460
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36460/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36460/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36460/events
|
https://github.com/pandas-dev/pandas/pull/36460
| 704,691,721
|
MDExOlB1bGxSZXF1ZXN0NDg5NTY3OTM2
| 36,460
|
CI: Revert PR template
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"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-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-09-18T22:28:42Z
| 2020-09-18T22:50:25Z
| 2020-09-18T22:50:18Z
|
MEMBER
| null |
---
labels: "Needs Review"
---
I don't know if this change had the intended effect, so opening this (partially as a test if it actually works)
Edit: Yeah, it didn't. I guess this doesn't work like the issue templates.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36460/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36460/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36460.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36460",
"merged_at": "2020-09-18T22:50:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36460.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36460"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36461
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36461/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36461/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36461/events
|
https://github.com/pandas-dev/pandas/pull/36461
| 704,708,476
|
MDExOlB1bGxSZXF1ZXN0NDg5NTgxODEw
| 36,461
|
REF: MultiIndex._validate_insert_value, IntervaArray._validate_setitem_value
|
{
"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": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "009800",
"default": false,
"description": "Interval data type",
"id": 150096370,
"name": "Interval",
"node_id": "MDU6TGFiZWwxNTAwOTYzNzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval"
},
{
"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": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
}
] |
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-09-18T23:27:35Z
| 2020-09-19T01:03:08Z
| 2020-09-19T00:58:25Z
|
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/36461/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36461/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36461.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36461",
"merged_at": "2020-09-19T00:58:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36461.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36461"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36462
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36462/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36462/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36462/events
|
https://github.com/pandas-dev/pandas/pull/36462
| 704,715,277
|
MDExOlB1bGxSZXF1ZXN0NDg5NTg3Mjc0
| 36,462
|
removed unnecessary trailing commas
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/42005691?v=4",
"events_url": "https://api.github.com/users/sm1899/events{/privacy}",
"followers_url": "https://api.github.com/users/sm1899/followers",
"following_url": "https://api.github.com/users/sm1899/following{/other_user}",
"gists_url": "https://api.github.com/users/sm1899/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sm1899",
"id": 42005691,
"login": "sm1899",
"node_id": "MDQ6VXNlcjQyMDA1Njkx",
"organizations_url": "https://api.github.com/users/sm1899/orgs",
"received_events_url": "https://api.github.com/users/sm1899/received_events",
"repos_url": "https://api.github.com/users/sm1899/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sm1899/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sm1899/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sm1899"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-09-18T23:57:33Z
| 2020-09-19T00:05:30Z
| 2020-09-19T00:04:29Z
|
CONTRIBUTOR
| null |
- [ ] 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/36462/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36462/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36462.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36462",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36462.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36462"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36463
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36463/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36463/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36463/events
|
https://github.com/pandas-dev/pandas/pull/36463
| 704,720,706
|
MDExOlB1bGxSZXF1ZXN0NDg5NTkxNjc2
| 36,463
|
Remove unnecessary trailing commas
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/42005691?v=4",
"events_url": "https://api.github.com/users/sm1899/events{/privacy}",
"followers_url": "https://api.github.com/users/sm1899/followers",
"following_url": "https://api.github.com/users/sm1899/following{/other_user}",
"gists_url": "https://api.github.com/users/sm1899/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sm1899",
"id": 42005691,
"login": "sm1899",
"node_id": "MDQ6VXNlcjQyMDA1Njkx",
"organizations_url": "https://api.github.com/users/sm1899/orgs",
"received_events_url": "https://api.github.com/users/sm1899/received_events",
"repos_url": "https://api.github.com/users/sm1899/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sm1899/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sm1899/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sm1899"
}
|
[
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-09-19T00:22:12Z
| 2020-09-19T07:36:13Z
| 2020-09-19T07:36:12Z
|
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/36463/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36463/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36463.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36463",
"merged_at": "2020-09-19T07:36:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36463.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36463"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36464
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36464/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36464/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36464/events
|
https://github.com/pandas-dev/pandas/pull/36464
| 704,724,868
|
MDExOlB1bGxSZXF1ZXN0NDg5NTk1MDc3
| 36,464
|
BUG: Fix astype from float32 to string
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"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": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"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.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 3
| 2020-09-19T00:43:45Z
| 2020-09-21T12:18:46Z
| 2020-09-21T06:47:19Z
|
MEMBER
| null |
- [x] closes #36451
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
It seems both bugs were caused by the same behavior from numpy:
```python
[ins] In [1]: import numpy as np
[ins] In [2]: arr = np.array([0.1], dtype=np.float32)
[ins] In [3]: arr
Out[3]: array([0.1], dtype=float32)
[ins] In [4]: np.asarray(arr, dtype="object")
Out[4]: array([0.10000000149011612], dtype=object)
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36464/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36464/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36464.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36464",
"merged_at": "2020-09-21T06:47:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36464.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36464"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36465
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36465/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36465/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36465/events
|
https://github.com/pandas-dev/pandas/issues/36465
| 704,729,027
|
MDU6SXNzdWU3MDQ3MjkwMjc=
| 36,465
|
CI: sql tests failures casued by pymysql
|
{
"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": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
},
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "d93f0b",
"default": false,
"description": "Required and optional dependencies",
"id": 527603109,
"name": "Dependencies",
"node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies"
}
] |
open
| false
| null |
[] | null | 1
| 2020-09-19T01:07:54Z
| 2021-06-11T12:30:46Z
| null |
MEMBER
| null |
While working on #36443, I found several sql tests failures related to the latest pymysql and sqlalchemy (could be one of them or both, not sure). See https://travis-ci.org/github/pandas-dev/pandas/jobs/728346186
```
FAILED pandas/tests/io/test_sql.py::TestMySQLAlchemy::test_to_sql_with_negative_npinf[load_iris_data0-input0]
FAILED pandas/tests/io/test_sql.py::TestMySQLAlchemy::test_to_sql_with_negative_npinf[load_iris_data0-input1]
FAILED pandas/tests/io/test_sql.py::TestMySQLAlchemy::test_to_sql_with_negative_npinf[load_iris_data0-input2]
FAILED pandas/tests/io/test_sql.py::TestMySQLAlchemyConn::test_to_sql_with_negative_npinf[load_iris_data0-input0]
FAILED pandas/tests/io/test_sql.py::TestMySQLAlchemyConn::test_to_sql_with_negative_npinf[load_iris_data0-input1]
FAILED pandas/tests/io/test_sql.py::TestMySQLAlchemyConn::test_to_sql_with_negative_npinf[load_iris_data0-input2]
= 6 failed, 76075 passed, 1025 skipped, 1209 xfailed, 6 xpassed, 264 warnings in 1626.88s
```
```
pymysql 0.10.1 pyh9f0ad1d_0 conda-forge
sqlalchemy 1.3.19 py37h8f50634_0 conda-forge
```
Now those two packages have been pinned to their minimal support versions.
```
pymysql 0.7.11 py_0 conda-forge
sqlalchemy 1.3.0 py37h14c3975_0 conda-forge
```
### Update
The problem is from pymysql. #34431 handled inf dtype for to_sql. But it failed to capture that error while using the latest pymysql as sql driver. The test failed for pymysql>=0.10
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36465/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36465/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36466
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36466/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36466/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36466/events
|
https://github.com/pandas-dev/pandas/issues/36466
| 704,735,303
|
MDU6SXNzdWU3MDQ3MzUzMDM=
| 36,466
|
API Consistency: validations on no-ops
|
{
"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": "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": "b60205",
"default": false,
"description": "Internal Consistency of API/Behavior",
"id": 1741841389,
"name": "API - Consistency",
"node_id": "MDU6TGFiZWwxNzQxODQxMzg5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency"
}
] |
open
| false
| null |
[] | null | 2
| 2020-09-19T01:38:42Z
| 2021-08-13T02:57:44Z
| null |
MEMBER
| null |
We are not consistent about whether we do validation checks on no-ops
Examples of no-ops:
- `datetimelike_array[empty_indexer] = empty_values_wrong_dtype` # <-- we do not raise
- `series_dt64[empty_indexer] = empty_object_dtype` # <-- we cast to object, meaning we did raise internally
- `arr_with_no_nas.fillna(invalid_fill_value)` # <-- we mostly dont raise, see below
- `interval_index.take(indexer_with_no_negative_ones, fill_value=something_invalid)` # <-- we do not raise
```
pd.array([1, 4, 6]).fillna("foo")
pd.array([1.0, 4.9, 6.0]).fillna("foo")
pd.IntervalIndex.from_breaks(range(3)).fillna("foo")
dti = pd.date_range("2016-01-01", periods=3)
dti.fillna("foo")
(dti - dti).fillna("foo")
dti.to_period("D").fillna("foo")
pd.Categorical(dti).fillna("foo") <-- raises
```
I think we should (with deprecation cycles where necessary) aim to be consistently strict in this genre of check.
Update: listing related issues as I find them
- [ ] #18561 BUG: drop(level=.) doesn't raise if label is absent
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36466/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36466/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36467
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36467/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36467/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36467/events
|
https://github.com/pandas-dev/pandas/issues/36467
| 704,796,489
|
MDU6SXNzdWU3MDQ3OTY0ODk=
| 36,467
|
CI: ResourceWarning in `pandas/tests/io/test_html.py`
|
{
"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": "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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-09-19T04:08:12Z
| 2020-11-13T15:26:41Z
| 2020-11-13T15:26:35Z
|
MEMBER
| null |
It occurs occasionally on the travis-37-cov build.
```
_____________ TestReadHtml.test_banklist_url_positional_match[bs4] _____________
[gw0] linux -- Python 3.7.8 /home/travis/miniconda3/envs/pandas-dev/bin/python
self = <pandas.tests.io.test_html.TestReadHtml object at 0x7f40f8fef450>
@tm.network
def test_banklist_url_positional_match(self):
url = "http://www.fdic.gov/bank/individual/failed/banklist.html"
# Passing match argument as positional should cause a FutureWarning.
with tm.assert_produces_warning(FutureWarning):
df1 = self.read_html(
> url, "First Federal Bank of Florida", attrs={"id": "table"}
)
pandas/tests/io/test_html.py:130:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <contextlib._GeneratorContextManager object at 0x7f40f9070190>
type = None, value = None, traceback = None
def __exit__(self, type, value, traceback):
if type is None:
try:
> next(self.gen)
E AssertionError: Caused unexpected warning(s): [('ResourceWarning', ResourceWarning("unclosed <ssl.SSLSocket fd=18, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.20.0.43', 54722), raddr=('172.217.204.95', 443)>"), '/home/travis/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/html5lib/_utils.py', 85), ('ResourceWarning', ResourceWarning("unclosed <ssl.SSLSocket fd=17, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.20.0.43', 54720), raddr=('172.217.204.95', 443)>"), '/home/travis/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/html5lib/_utils.py', 85), ('ResourceWarning', ResourceWarning("unclosed <ssl.SSLSocket fd=21, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.20.0.43', 52284), raddr=('142.250.97.95', 443)>"), '/home/travis/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/html5lib/_utils.py', 85), ('ResourceWarning', ResourceWarning("unclosed <ssl.SSLSocket fd=23, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.20.0.43', 54628), raddr=('173.194.210.95', 443)>"), '/home/travis/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/html5lib/_utils.py', 85), ('ResourceWarning', ResourceWarning("unclosed <ssl.SSLSocket fd=22, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.20.0.43', 37618), raddr=('173.194.215.95', 443)>"), '/home/travis/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/html5lib/_utils.py', 85), ('ResourceWarning', ResourceWarning("unclosed <ssl.SSLSocket fd=24, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.20.0.43', 38812), raddr=('173.194.217.95', 443)>"), '/home/travis/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/html5lib/_utils.py', 85), ('ResourceWarning', ResourceWarning("unclosed <ssl.SSLSocket fd=28, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.20.0.43', 38824), raddr=('173.194.217.95', 443)>"), '/home/travis/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/html5lib/_utils.py', 85), ('ResourceWarning', ResourceWarning("unclosed <ssl.SSLSocket fd=27, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.20.0.43', 54640), raddr=('173.194.210.95', 443)>"), '/home/travis/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/html5lib/_utils.py', 85)]
../../../miniconda3/envs/pandas-dev/lib/python3.7/contextlib.py:119: AssertionError
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36467/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36467/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36468
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36468/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36468/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36468/events
|
https://github.com/pandas-dev/pandas/pull/36468
| 704,797,521
|
MDExOlB1bGxSZXF1ZXN0NDg5NjYxMzY5
| 36,468
|
CI: xfail html test #36467
|
{
"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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
}
] |
closed
| false
| null |
[] | null | 6
| 2020-09-19T04:16:05Z
| 2020-09-23T19:37:34Z
| 2020-09-21T14:10:42Z
|
MEMBER
| null |
Part of #36467
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36468/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36468/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36468.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36468",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36468.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36468"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36469
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36469/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36469/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36469/events
|
https://github.com/pandas-dev/pandas/issues/36469
| 704,799,667
|
MDU6SXNzdWU3MDQ3OTk2Njc=
| 36,469
|
BUG: failed to setup dev environment (pip)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
}
|
[
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "f9c1b1",
"default": false,
"description": "Linux OS",
"id": 1233745380,
"name": "Linux",
"node_id": "MDU6TGFiZWwxMjMzNzQ1Mzgw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Linux"
}
] |
open
| false
| null |
[] | null | 8
| 2020-09-19T04:32:47Z
| 2021-08-13T02:59:27Z
| null |
MEMBER
| null |
- [x] I have checked that this issue has not already been reported.
- [ ] 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 -m pip install -r requirements-dev.txt
```
#### Problem description
I followed the guide on the setting up the dev environment.
https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#creating-a-python-environment-pip
The failure occurred when installing dependencies.
```
(venv) ~/code/pandas (master) $ git log -1
commit aed64e85eb17edb0e55013868b1aa4e44e977a36 (HEAD -> master, upstream/master)
Author: Hans <hanspagh@gmail.com>
Date: Sat Sep 19 04:14:25 2020 +0200
BUG: fix isin with nans and large arrays (#36266)
(venv) ~/code/pandas (master) $ python --version
Python 3.8.0
(venv) ~/code/pandas (master) $ python -m pip install -r requirements-dev.txt
Collecting git+https://github.com/pandas-dev/pydata-sphinx-theme.git@master (from -r requirements-dev.txt (line 77))
Cloning https://github.com/pandas-dev/pydata-sphinx-theme.git (to master) to /tmp/pip-k88ybarj-build
Collecting git+https://github.com/numpy/numpydoc (from -r requirements-dev.txt (line 78))
Cloning https://github.com/numpy/numpydoc to /tmp/pip-p42nydu6-build
Collecting numpy>=1.16.5 (from -r requirements-dev.txt (line 4))
Using cached https://files.pythonhosted.org/packages/41/6e/919522a6e1d067ddb5959c5716a659a05719e2f27487695d2a539b51d66e/numpy-1.19.2-cp38-cp38-manylinux1_x86_64.whl
Collecting python-dateutil>=2.7.3 (from -r requirements-dev.txt (line 5))
Using cached https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl
Collecting pytz (from -r requirements-dev.txt (line 6))
Using cached https://files.pythonhosted.org/packages/4f/a4/879454d49688e2fad93e59d7d4efda580b783c745fd2ec2a3adf87b0808d/pytz-2020.1-py2.py3-none-any.whl
Collecting asv (from -r requirements-dev.txt (line 7))
Using cached https://files.pythonhosted.org/packages/46/c7/a5144ca1409a4a1a8212ebdbe4a78df7ebb3758ff44dfe97c881fc08927e/asv-0.4.2.tar.gz
Collecting cython>=0.29.21 (from -r requirements-dev.txt (line 8))
Using cached https://files.pythonhosted.org/packages/9f/05/959e78f2aeade1c9e85a7adc4c376f454ecaeb4cb6b079ca7a85684b69c1/Cython-0.29.21-cp38-cp38-manylinux1_x86_64.whl
Collecting black==19.10b0 (from -r requirements-dev.txt (line 9))
Using cached https://files.pythonhosted.org/packages/fd/bb/ad34bbc93d1bea3de086d7c59e528d4a503ac8fe318bd1fa48605584c3d2/black-19.10b0-py36-none-any.whl
Collecting cpplint (from -r requirements-dev.txt (line 10))
Using cached https://files.pythonhosted.org/packages/6a/85/994ea99d07a0ea862c34d0e09707db7af50cc6650f95b524c8e2b266f488/cpplint-1.5.4-py3-none-any.whl
Collecting flake8<3.8.0 (from -r requirements-dev.txt (line 11))
Using cached https://files.pythonhosted.org/packages/f8/1f/7ea40d1e4146ea55dbab41cda1376db092a75794914169aabd7e8d7a7def/flake8-3.7.9-py2.py3-none-any.whl
Collecting flake8-comprehensions>=3.1.0 (from -r requirements-dev.txt (line 12))
Using cached https://files.pythonhosted.org/packages/79/71/70e635c3178bd42898be5171cf5dae95d1e24add061cb121327164c77643/flake8_comprehensions-3.2.3-py3-none-any.whl
Collecting flake8-rst<=0.7.0,>=0.6.0 (from -r requirements-dev.txt (line 13))
Using cached https://files.pythonhosted.org/packages/81/50/96c9207354feae7ff27dcbd5e27585bac55a1a7b539f6b15e1fced1904a8/flake8_rst-0.7.0-py3-none-any.whl
Collecting isort>=5.2.1 (from -r requirements-dev.txt (line 14))
Using cached https://files.pythonhosted.org/packages/d1/25/7ed95ccb07d3ce52598f5a57d002da6a18074ea8749991b10936cc20e539/isort-5.5.2-py3-none-any.whl
Collecting mypy==0.782 (from -r requirements-dev.txt (line 15))
Using cached https://files.pythonhosted.org/packages/c9/f8/6c3aceb57e58afce0ddef1eb6596505de635f3e785bfdbd5374c7bad9940/mypy-0.782-cp38-cp38-manylinux1_x86_64.whl
Collecting pycodestyle (from -r requirements-dev.txt (line 16))
Using cached https://files.pythonhosted.org/packages/10/5b/88879fb861ab79aef45c7e199cae3ef7af487b5603dcb363517a50602dd7/pycodestyle-2.6.0-py2.py3-none-any.whl
Collecting gitpython (from -r requirements-dev.txt (line 17))
Using cached https://files.pythonhosted.org/packages/09/bc/ae32e07e89cc25b9e5c793d19a1e5454d30a8e37d95040991160f942519e/GitPython-3.1.8-py3-none-any.whl
Collecting gitdb (from -r requirements-dev.txt (line 18))
Using cached https://files.pythonhosted.org/packages/48/11/d1800bca0a3bae820b84b7d813ad1eff15a48a64caea9c823fc8c1b119e8/gitdb-4.0.5-py3-none-any.whl
Collecting sphinx (from -r requirements-dev.txt (line 19))
Using cached https://files.pythonhosted.org/packages/63/b8/34ba32a94cb2b223b941e43b3bcab11281763b95daa8587879eec1eb9a62/Sphinx-3.2.1-py3-none-any.whl
Collecting nbconvert>=5.4.1 (from -r requirements-dev.txt (line 20))
Using cached https://files.pythonhosted.org/packages/88/0a/d50141a0db95cffaf65238bf612e1f2bc929b36cbdf0d27eba352558267b/nbconvert-6.0.3-py3-none-any.whl
Collecting nbsphinx (from -r requirements-dev.txt (line 21))
Using cached https://files.pythonhosted.org/packages/4e/2d/d26ca09ca7659e5bf6fa3334a5417ea3ed871b277ad6efeb6a38b8ac30a1/nbsphinx-0.7.1-py3-none-any.whl
Collecting pandoc (from -r requirements-dev.txt (line 22))
Using cached https://files.pythonhosted.org/packages/49/b1/d2d4b30ee81ea5cb7aee5ba3591752a637fdc49d0a42fa9683874b60b9fb/pandoc-1.0.2.tar.gz
Collecting dask (from -r requirements-dev.txt (line 23))
Using cached https://files.pythonhosted.org/packages/c4/f6/74ee12f734f5ab40d3f59f48aff91ce502e33e6d2223e62bbb5fdf921431/dask-2.27.0-py3-none-any.whl
Collecting toolz>=0.7.3 (from -r requirements-dev.txt (line 24))
Using cached https://files.pythonhosted.org/packages/22/8e/037b9ba5c6a5739ef0dcde60578c64d49f45f64c5e5e886531bfbc39157f/toolz-0.10.0.tar.gz
Collecting partd>=0.3.10 (from -r requirements-dev.txt (line 25))
Using cached https://files.pythonhosted.org/packages/44/e1/68dbe731c9c067655bff1eca5b7d40c20ca4b23fd5ec9f3d17e201a6f36b/partd-1.1.0-py3-none-any.whl
Collecting cloudpickle>=0.2.1 (from -r requirements-dev.txt (line 26))
Using cached https://files.pythonhosted.org/packages/e7/e3/898487e5dbeb612054cf2e0c188463acb358167fef749c53c8bb8918cea1/cloudpickle-1.6.0-py3-none-any.whl
Collecting markdown (from -r requirements-dev.txt (line 27))
Using cached https://files.pythonhosted.org/packages/a4/63/eaec2bd025ab48c754b55e8819af0f6a69e2b1e187611dd40cbbe101ee7f/Markdown-3.2.2-py3-none-any.whl
Collecting feedparser (from -r requirements-dev.txt (line 28))
Using cached https://files.pythonhosted.org/packages/2c/84/df6de99cba01afc82344c9cb3a79df100a00ac33396120f8aa66c72f0d84/feedparser-6.0.1-py2.py3-none-any.whl
Collecting pyyaml (from -r requirements-dev.txt (line 29))
Using cached https://files.pythonhosted.org/packages/64/c2/b80047c7ac2478f9501676c988a5411ed5572f35d1beff9cae07d321512c/PyYAML-5.3.1.tar.gz
Collecting requests (from -r requirements-dev.txt (line 30))
Using cached https://files.pythonhosted.org/packages/45/1e/0c169c6a5381e241ba7404532c16a21d86ab872c9bed8bdcd4c423954103/requests-2.24.0-py2.py3-none-any.whl
Collecting boto3 (from -r requirements-dev.txt (line 31))
Using cached https://files.pythonhosted.org/packages/50/9e/00286cb4d6ea4971870f180af23fad4ab2824ef1f3777eab1d34d3af1009/boto3-1.15.1.tar.gz
Collecting botocore>=1.11 (from -r requirements-dev.txt (line 32))
Using cached https://files.pythonhosted.org/packages/1f/57/53c57e50f74ea760101acb1efe359b4b812943640cb36e5e7589bb542def/botocore-1.18.1-py2.py3-none-any.whl
Collecting hypothesis>=3.82 (from -r requirements-dev.txt (line 33))
Using cached https://files.pythonhosted.org/packages/8e/4e/bbcc1e2e2b6bf65783c5926bc718ccdc2ac98c703d5e00fade2abeee05b2/hypothesis-5.35.3-py3-none-any.whl
Collecting moto (from -r requirements-dev.txt (line 34))
Using cached https://files.pythonhosted.org/packages/b0/59/91539ddae8e6b09c90b34a48e1abaed49fd0023fc0c2015a5ab8a7664d04/moto-1.3.16-py2.py3-none-any.whl
Collecting flask (from -r requirements-dev.txt (line 35))
Using cached https://files.pythonhosted.org/packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl
Collecting pytest>=5.0.1 (from -r requirements-dev.txt (line 36))
Using cached https://files.pythonhosted.org/packages/45/2c/7e29215cb19745ad67b6476b73fd1299872563f28329ea01d9d887713aaf/pytest-6.0.2-py3-none-any.whl
Collecting pytest-cov (from -r requirements-dev.txt (line 37))
Using cached https://files.pythonhosted.org/packages/e5/18/401594af67eda194a8b9167208621761927c937db7d60292608342bbac0a/pytest_cov-2.10.1-py2.py3-none-any.whl
Collecting pytest-xdist>=1.21 (from -r requirements-dev.txt (line 38))
Using cached https://files.pythonhosted.org/packages/02/25/85675fd82b6272ed4d87941b826cec68352dd4cdfbe49b5644946dd3da61/pytest_xdist-2.1.0-py3-none-any.whl
Collecting pytest-asyncio (from -r requirements-dev.txt (line 39))
Using cached https://files.pythonhosted.org/packages/0b/82/b62efae871e8a543295c8c280b04a2da2ef3f6dd9bb830f6a1acc7145ad2/pytest_asyncio-0.14.0-py3-none-any.whl
Collecting seaborn (from -r requirements-dev.txt (line 40))
Using cached https://files.pythonhosted.org/packages/bc/45/5118a05b0d61173e6eb12bc5804f0fbb6f196adb0a20e0b16efc2b8e98be/seaborn-0.11.0-py3-none-any.whl
Collecting statsmodels (from -r requirements-dev.txt (line 41))
Using cached https://files.pythonhosted.org/packages/d6/97/d77cc2db06ab28f207269c2b6d3958c54cb131026f4aa92a49d76af31335/statsmodels-0.12.0-cp38-cp38-manylinux1_x86_64.whl
Collecting ipywidgets (from -r requirements-dev.txt (line 42))
Using cached https://files.pythonhosted.org/packages/56/a0/dbcf5881bb2f51e8db678211907f16ea0a182b232c591a6d6f276985ca95/ipywidgets-7.5.1-py2.py3-none-any.whl
Collecting nbformat (from -r requirements-dev.txt (line 43))
Using cached https://files.pythonhosted.org/packages/4d/d1/b568bd35f95321f152f594b3647cd080e96d3347843ff2fa34dce871b8bf/nbformat-5.0.7-py3-none-any.whl
Collecting notebook>=5.7.5 (from -r requirements-dev.txt (line 44))
Using cached https://files.pythonhosted.org/packages/cc/00/0db4005f8410c0c6c598d6beecd650846e00955a3bf800ea09872a9009f1/notebook-6.1.4-py3-none-any.whl
Requirement already satisfied: pip in ./venv/lib/python3.8/site-packages (from -r requirements-dev.txt (line 45))
Collecting blosc (from -r requirements-dev.txt (line 46))
Using cached https://files.pythonhosted.org/packages/1c/89/004eeb307ba3f56fca9727f47fbde09f8ae3936a1cb0dd6b7708f846d3fd/blosc-1.9.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-jg1zwlgb/blosc/setup.py", line 18, in <module>
from skbuild import setup
ModuleNotFoundError: No module named 'skbuild'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-jg1zwlgb/blosc/
```
#### Expected Output
Successful installation.
#### Output of ``pd.show_versions()``
N/A
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36469/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36469/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36470
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36470/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36470/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36470/events
|
https://github.com/pandas-dev/pandas/issues/36470
| 704,820,821
|
MDU6SXNzdWU3MDQ4MjA4MjE=
| 36,470
|
BUG: groupby(..., dropna=False) excludes NA values when grouping on MultiIndex levels
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39277069?v=4",
"events_url": "https://api.github.com/users/hickmanw/events{/privacy}",
"followers_url": "https://api.github.com/users/hickmanw/followers",
"following_url": "https://api.github.com/users/hickmanw/following{/other_user}",
"gists_url": "https://api.github.com/users/hickmanw/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hickmanw",
"id": 39277069,
"login": "hickmanw",
"node_id": "MDQ6VXNlcjM5Mjc3MDY5",
"organizations_url": "https://api.github.com/users/hickmanw/orgs",
"received_events_url": "https://api.github.com/users/hickmanw/received_events",
"repos_url": "https://api.github.com/users/hickmanw/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hickmanw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hickmanw/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hickmanw"
}
|
[
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-09-19T06:58:30Z
| 2021-08-13T03:00:10Z
| 2021-08-13T03:00:10Z
|
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.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample
```python
In [3]: mi = pd.MultiIndex.from_tuples([('a',np.nan), ('b', 2)], names=['ltr','num'])
In [4]: df = pd.DataFrame({'foo': range(mi.size)}, index=mi)
In [5]: df
Out [5]:
foo
ltr num
a NaN 0
b 2 1
# grouping on multindex levels
In [6]: df.groupby(df.index.names, dropna=False).sum()
Out [6]:
foo
ltr num
b 2 1
# grouping on same information as columns
In [7]: df.reset_index().groupby(df.index.names, dropna=False).sum()
Out [7]:
foo
ltr num
a NaN 0
b 2.0 1
# grouping on multiindex levels for pd.Series
In [8]: df['foo'].groupby(s.index.names, dropna=False).sum()
Out [8]:
ltr num
b 2 1
Name: foo, dtype: int64
```
#### Problem description
The desired behavior of dropna=False, namely including NA values in the groups, does not work when grouping on MultiIndex levels, but does work when grouping on DataFrame columns.
#### Expected Output
```python
foo
ltr num
a NaN 0
b 2.0 1
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6
python : 3.6.7.final.0
python-bits : 64
OS : Linux
OS-release : 4.14.193-149.317.amzn2.x86_64
Version : #1 SMP Thu Sep 3 19:04:44 UTC 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : en_US.UTF-8
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.2
numpy : 1.19.0
pytz : 2020.1
dateutil : 2.7.4
pip : 20.1.1
setuptools : 40.4.3
Cython : None
pytest : 5.4.3
hypothesis : None
sphinx : 3.1.2
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10
IPython : 7.0.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.0
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : 1.2.12
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : 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/36470/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36470/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36471
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36471/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36471/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36471/events
|
https://github.com/pandas-dev/pandas/pull/36471
| 704,823,171
|
MDExOlB1bGxSZXF1ZXN0NDg5NjgyMTE5
| 36,471
|
CI: add pre-commit action, include pyupgrade
|
{
"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": "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-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"
}
| 14
| 2020-09-19T07:15:22Z
| 2020-09-25T18:27:43Z
| 2020-09-22T14:31:08Z
|
MEMBER
| null |
xref this comment https://github.com/pandas-dev/pandas/issues/36426#issuecomment-694238629 by @TomAugspurger
> I would recommend running the linting commands on CI through pre-commit. That way the versions in .pre-commit-config.yaml are used everywhere.
So, this PR does that.
It also adds pyupgrade as a pre-commit hook (xref #36450 ) and removes some unnecessary configurations from the `.pre-commit-config.yaml` file (all of these hooks already specify `language: python`, see e.g. https://github.com/psf/black/blob/master/.pre-commit-hooks.yaml )
TODO
----
update https://pandas.pydata.org/docs/development/contributing.html#code-standards (thanks Ali!)
|
{
"+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/36471/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36471/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36471.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36471",
"merged_at": "2020-09-22T14:31:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36471.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36471"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36472
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36472/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36472/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36472/events
|
https://github.com/pandas-dev/pandas/issues/36472
| 704,830,831
|
MDU6SXNzdWU3MDQ4MzA4MzE=
| 36,472
|
BUG: Regex parameter from replace function doesn't work on string dtype
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41546976?v=4",
"events_url": "https://api.github.com/users/GYHHAHA/events{/privacy}",
"followers_url": "https://api.github.com/users/GYHHAHA/followers",
"following_url": "https://api.github.com/users/GYHHAHA/following{/other_user}",
"gists_url": "https://api.github.com/users/GYHHAHA/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/GYHHAHA",
"id": 41546976,
"login": "GYHHAHA",
"node_id": "MDQ6VXNlcjQxNTQ2OTc2",
"organizations_url": "https://api.github.com/users/GYHHAHA/orgs",
"received_events_url": "https://api.github.com/users/GYHHAHA/received_events",
"repos_url": "https://api.github.com/users/GYHHAHA/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/GYHHAHA/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GYHHAHA/subscriptions",
"type": "User",
"url": "https://api.github.com/users/GYHHAHA"
}
|
[
{
"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-09-19T07:57:51Z
| 2020-09-20T04:47:44Z
| 2020-09-20T04:47:44Z
|
CONTRIBUTOR
| null |
>>>import pandas as pd
>>>print(pd.__version__)
1.1.1
>>>s1 = pd.Series(['a','b'], dtype='string')
>>>s2 = pd.Series(['a','b'], dtype='object')
>>>s1.replace(r'[a]',pd.NA,regex=True)
0 a
1 b
dtype: string
>>>s2.replace(r'[a]',pd.NA,regex=True)
0 <NA>
1 b
dtype: object
Hi, it seems that regex doesn't function well for the replace method on string dtype, but normal on object dtype.
Besides, I also find setting pd.NA as repl of str.replace method will raise error, both on string and object.
Yet I think it may be better not to raise this error because the pd.NA indeed could be a missing string value.
>>>pd.Series(['a','b'],dtype='string').str.replace('a',pd.NA)
TypeError: repl must be a string or callable
>>>pd.Series(['a','b'],dtype='object').str.replace('a',pd.NA)
TypeError: repl must be a string or callable
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/36472/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36472/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36473
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36473/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36473/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36473/events
|
https://github.com/pandas-dev/pandas/pull/36473
| 704,833,047
|
MDExOlB1bGxSZXF1ZXN0NDg5NjkwMDIy
| 36,473
|
Backport PR #36440 on branch 1.1.x (REGR: Series[numeric] comparison with str raising on numexpr path)
|
{
"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": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"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.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 1
| 2020-09-19T08:13:15Z
| 2020-09-19T10:20:14Z
| 2020-09-19T10:20:14Z
|
NONE
| null |
Backport PR #36440: REGR: Series[numeric] comparison with str raising on numexpr path
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36473/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36473/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36473.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36473",
"merged_at": "2020-09-19T10:20:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36473.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36473"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36474
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36474/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36474/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36474/events
|
https://github.com/pandas-dev/pandas/pull/36474
| 704,852,268
|
MDExOlB1bGxSZXF1ZXN0NDg5NzA0ODU3
| 36,474
|
Backport PR #36266:: BUG: fix isin with nans and large arrays
|
{
"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 |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"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.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 1
| 2020-09-19T09:57:09Z
| 2020-09-19T11:14:46Z
| 2020-09-19T11:14:40Z
|
MEMBER
| null |
#36266
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36474/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36474/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36474.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36474",
"merged_at": "2020-09-19T11:14:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36474.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36474"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36475
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36475/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36475/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36475/events
|
https://github.com/pandas-dev/pandas/issues/36475
| 704,871,016
|
MDU6SXNzdWU3MDQ4NzEwMTY=
| 36,475
|
TYP: FrameOrSeriesUnion
|
{
"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": "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": "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"
}
] |
open
| false
| null |
[] | null | 5
| 2020-09-19T12:10:19Z
| 2020-09-20T17:06:01Z
| null |
MEMBER
| null |
From the discussion in PR #36409 it was mentioned that it is undesirable to type API functions as `NDFrame` as this may be confusing from a user perspective since it shows up in the docs. Currently the difference between `NDFrame` and `FrameOrSeriesUnion = Union[DataFrame, Series]` is that the former can be used in methods of NDFrame (and those called from NDFrame methods) whereas the latter cannot.
Is there a benefit to this restriction? If not, I propose changing `FrameOrSeriesUnion` to be an alias of `NDFrame`. This would then be user-friendly for the docs.
cc @simonjayhawkins @WillAyd @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/36475/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36475/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36476
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36476/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36476/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36476/events
|
https://github.com/pandas-dev/pandas/pull/36476
| 704,883,605
|
MDExOlB1bGxSZXF1ZXN0NDg5NzI3Nzgw
| 36,476
|
Turn on stale PR GitHub action
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"color": "DDDDDD",
"default": false,
"description": "Administrative tasks related to the pandas project",
"id": 32933285,
"name": "Admin",
"node_id": "MDU6TGFiZWwzMjkzMzI4NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Admin"
}
] |
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"
}
| 2
| 2020-09-19T13:33:28Z
| 2020-09-19T20:04:59Z
| 2020-09-19T19:52:25Z
|
MEMBER
| null |
I think it makes sense to turn this on now (it's only labeling stale PRs for now, and after doing a lot of this manually it seems to have calmed down). Later can add some sort of friendly reminder to update the PR. Also rather than closing these stalled PRs I'm wondering if they could serve as starting points for new contributors who want to pick up where someone else left off.
Some recent workflows here (you can search for the string "Marking" in the logs to find PRs that would have been labeled): https://github.com/pandas-dev/pandas/actions?query=workflow%3A%22Stale+PRs%22
@simonjayhawkins You'd mentioned doing this more frequently in debug mode, would you prefer longer intervals when running live?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36476/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36476/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36476.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36476",
"merged_at": "2020-09-19T19:52:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36476.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36476"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36477
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36477/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36477/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36477/events
|
https://github.com/pandas-dev/pandas/pull/36477
| 704,888,293
|
MDExOlB1bGxSZXF1ZXN0NDg5NzMxMjIy
| 36,477
|
Backport PR #36385 on branch 1.1.x (BUG: Always cast to Categorical in lexsort_indexer)
|
{
"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": "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"
},
{
"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-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"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.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 1
| 2020-09-19T14:04:10Z
| 2020-09-19T15:07:17Z
| 2020-09-19T15:07:17Z
|
NONE
| null |
Backport PR #36385: BUG: Always cast to Categorical in lexsort_indexer
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36477/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36477/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36477.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36477",
"merged_at": "2020-09-19T15:07:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36477.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36477"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36478
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36478/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36478/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36478/events
|
https://github.com/pandas-dev/pandas/pull/36478
| 704,933,426
|
MDExOlB1bGxSZXF1ZXN0NDg5NzY3NDAy
| 36,478
|
CLN: aggregation.transform
|
{
"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": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"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-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"
}
| 9
| 2020-09-19T17:21:59Z
| 2020-10-11T13:22:02Z
| 2020-10-06T22:47:09Z
|
MEMBER
| null |
- [x] closes #36330
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Followup to #35964
- Moved whatsnew to reshaping
- Use is_list_like/is_dict_like in aggregate.transform
- Broke out dict-like and str/callable computations to own functions to split up the transform function
- Added/refined typing
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36478/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36478/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36478.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36478",
"merged_at": "2020-10-06T22:47:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36478.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36478"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36479
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36479/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36479/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36479/events
|
https://github.com/pandas-dev/pandas/issues/36479
| 704,942,054
|
MDU6SXNzdWU3MDQ5NDIwNTQ=
| 36,479
|
BUG: KeyError after groupby().size() when index is multiindex and involves nan
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7454555?v=4",
"events_url": "https://api.github.com/users/hdou/events{/privacy}",
"followers_url": "https://api.github.com/users/hdou/followers",
"following_url": "https://api.github.com/users/hdou/following{/other_user}",
"gists_url": "https://api.github.com/users/hdou/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hdou",
"id": 7454555,
"login": "hdou",
"node_id": "MDQ6VXNlcjc0NTQ1NTU=",
"organizations_url": "https://api.github.com/users/hdou/orgs",
"received_events_url": "https://api.github.com/users/hdou/received_events",
"repos_url": "https://api.github.com/users/hdou/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hdou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hdou/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hdou"
}
|
[
{
"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": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-09-19T17:30:49Z
| 2020-09-26T14:03:01Z
| 2020-09-26T14:03:01Z
|
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
data = [[pd.NA, 10], [pd.NA,10], [2, pd.NA]]
df = pd.DataFrame(data, columns=['A1', 'A2'])
print(df)
counts = df.groupby(['A1', 'A2'],dropna=False).size()
print(counts)
# If you uncomment the lines below, it works
# pk_file = 'tmp.df'
# counts.to_pickle(pk_file)
# counts = pd.read_pickle(pk_file)
idx = counts.index[0]
print(counts.loc[idx]) # KeyError: (2.0, nan)
```
#### Problem description
Unable to access the Series returned from groupby using apparently valid key
Line "print(counts.loc[idx]" raises KeyError.
If I uncomment the lines that store/load the data with pickle, then it works. No KeyError is raised.
[this should explain **why** the current behaviour is a problem and why the expected output is a better solution]
#### Expected Output
The Series returned from groupby is accessible with loc with valid keys
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag]
------------------
commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 18.7.0
Version : Darwin Kernel Version 18.7.0: Thu Jun 18 20:50:10 PDT 2020; root:xnu-4903.278.43~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.2
numpy : 1.19.1
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 47.1.0
Cython : 0.29.21
pytest : None
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
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : 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/36479/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36479/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36480
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36480/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36480/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36480/events
|
https://github.com/pandas-dev/pandas/pull/36480
| 704,952,335
|
MDExOlB1bGxSZXF1ZXN0NDg5Nzg1Mzkz
| 36,480
|
CLN: Use https for @tm.network
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4",
"events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}",
"followers_url": "https://api.github.com/users/alimcmaster1/followers",
"following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}",
"gists_url": "https://api.github.com/users/alimcmaster1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alimcmaster1",
"id": 16733618,
"login": "alimcmaster1",
"node_id": "MDQ6VXNlcjE2NzMzNjE4",
"organizations_url": "https://api.github.com/users/alimcmaster1/orgs",
"received_events_url": "https://api.github.com/users/alimcmaster1/received_events",
"repos_url": "https://api.github.com/users/alimcmaster1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alimcmaster1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alimcmaster1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alimcmaster1"
}
|
[
{
"color": "e4a5f1",
"default": false,
"description": "Local or Cloud (AWS, GCS, etc.) IO Issues",
"id": 49381477,
"name": "IO Network",
"node_id": "MDU6TGFiZWw0OTM4MTQ3Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Network"
},
{
"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-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-09-19T17:41:23Z
| 2020-09-19T19:59:15Z
| 2020-09-19T19:59:11Z
|
CONTRIBUTOR
| null |
- [x] ref #36467
AssertionError: Caused unexpected warning(s): [('ResourceWarning', ResourceWarning("unclosed <ssl.SSLSocket fd=18, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.20.0.43', 54722), raddr=('**172.217.204.95**', 443)>"), ),
**This is a google address** -> which leads me to believe this resource warning is coming from our `network` function in `_testing.py` since it calls `urllib.request.urlopen("https://www.google.com")`
Note: this doesn't solve the problem but we should use https. (Avoids a redirect)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36480/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36480/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36480.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36480",
"merged_at": "2020-09-19T19:59:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36480.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36480"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36481
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36481/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36481/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36481/events
|
https://github.com/pandas-dev/pandas/pull/36481
| 704,978,456
|
MDExOlB1bGxSZXF1ZXN0NDg5ODA5MDUx
| 36,481
|
Commas edit
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/71419471?v=4",
"events_url": "https://api.github.com/users/Noahlq/events{/privacy}",
"followers_url": "https://api.github.com/users/Noahlq/followers",
"following_url": "https://api.github.com/users/Noahlq/following{/other_user}",
"gists_url": "https://api.github.com/users/Noahlq/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Noahlq",
"id": 71419471,
"login": "Noahlq",
"node_id": "MDQ6VXNlcjcxNDE5NDcx",
"organizations_url": "https://api.github.com/users/Noahlq/orgs",
"received_events_url": "https://api.github.com/users/Noahlq/received_events",
"repos_url": "https://api.github.com/users/Noahlq/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Noahlq/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Noahlq/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Noahlq"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-09-19T18:42:22Z
| 2020-09-19T19:01:36Z
| 2020-09-19T19:01:36Z
|
NONE
| null |
- [ ] 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/36481/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36481/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36481.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36481",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36481.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36481"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36482
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36482/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36482/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36482/events
|
https://github.com/pandas-dev/pandas/pull/36482
| 704,980,849
|
MDExOlB1bGxSZXF1ZXN0NDg5ODEwNzM4
| 36,482
|
Complex Dtype Support for Hashmap Algos
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4",
"events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}",
"followers_url": "https://api.github.com/users/alimcmaster1/followers",
"following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}",
"gists_url": "https://api.github.com/users/alimcmaster1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alimcmaster1",
"id": 16733618,
"login": "alimcmaster1",
"node_id": "MDQ6VXNlcjE2NzMzNjE4",
"organizations_url": "https://api.github.com/users/alimcmaster1/orgs",
"received_events_url": "https://api.github.com/users/alimcmaster1/received_events",
"repos_url": "https://api.github.com/users/alimcmaster1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alimcmaster1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alimcmaster1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alimcmaster1"
}
|
[
{
"color": "009800",
"default": false,
"description": "Complex Numbers",
"id": 172091424,
"name": "Complex",
"node_id": "MDU6TGFiZWwxNzIwOTE0MjQ=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Complex"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
}
| 22
| 2020-09-19T18:58:54Z
| 2021-09-04T14:25:00Z
| 2021-09-04T14:25:00Z
|
CONTRIBUTOR
| null |
- [x] fixes #17927 #26475
- [x] tests added / passed
- [x] passes black pandas
- [x] passes git diff upstream/master -u -- "*.py" | flake8 --diff
Ref: https://github.com/pandas-dev/pandas/issues/18009
Based on https://github.com/pandas-dev/pandas/pull/27599
First set of tests for complex number handling + sensible results from functions that rely on hash tables.
Use generic object hashing for now.
@jbrockmendel you interested in reviewing?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36482/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36482/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36482.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36482",
"merged_at": "2021-09-04T14:25:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36482.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36482"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36483
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36483/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36483/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36483/events
|
https://github.com/pandas-dev/pandas/pull/36483
| 704,996,889
|
MDExOlB1bGxSZXF1ZXN0NDg5ODIyMTY0
| 36,483
|
REF: share IntervalArray._validate_foo
|
{
"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": "009800",
"default": false,
"description": "Interval data type",
"id": 150096370,
"name": "Interval",
"node_id": "MDU6TGFiZWwxNTAwOTYzNzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval"
}
] |
closed
| false
| null |
[] |
{
"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-09-19T20:56:14Z
| 2020-09-19T22:56:37Z
| 2020-09-19T22:53:29Z
|
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/36483/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36483/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36483.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36483",
"merged_at": "2020-09-19T22:53:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36483.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36483"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36484
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36484/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36484/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36484/events
|
https://github.com/pandas-dev/pandas/pull/36484
| 705,005,955
|
MDExOlB1bGxSZXF1ZXN0NDg5ODI4NTk4
| 36,484
|
ENH: PandasArray ops use core.ops functions
|
{
"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": "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": "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"
}
] |
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"
}
| 5
| 2020-09-19T22:10:39Z
| 2020-10-02T23:06:30Z
| 2020-10-02T21:51:24Z
|
MEMBER
| null |
Needs tests, hopefully i can tweak fixture usage in tests.arithmetic
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36484/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36484/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36484.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36484",
"merged_at": "2020-10-02T21:51:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36484.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36484"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36485
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36485/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36485/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36485/events
|
https://github.com/pandas-dev/pandas/pull/36485
| 705,008,938
|
MDExOlB1bGxSZXF1ZXN0NDg5ODMwNjE1
| 36,485
|
TYP: core.missing; PERF for needs_i8_conversion
|
{
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] |
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-09-19T22:36:42Z
| 2020-09-20T02:59:28Z
| 2020-09-20T02:13:12Z
|
MEMBER
| null |
Split off from a branch that shares `fillna` code between some of our EAs.
Preliminary to a PR that allows for an actually-inplace fillna implementation.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36485/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36485/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36485.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36485",
"merged_at": "2020-09-20T02:13:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36485.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36485"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36486
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36486/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36486/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36486/events
|
https://github.com/pandas-dev/pandas/pull/36486
| 705,010,670
|
MDExOlB1bGxSZXF1ZXN0NDg5ODMxODY5
| 36,486
|
add a test for loc method; check if a warning raise when replacing a …
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61546990?v=4",
"events_url": "https://api.github.com/users/samilAyoub/events{/privacy}",
"followers_url": "https://api.github.com/users/samilAyoub/followers",
"following_url": "https://api.github.com/users/samilAyoub/following{/other_user}",
"gists_url": "https://api.github.com/users/samilAyoub/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/samilAyoub",
"id": 61546990,
"login": "samilAyoub",
"node_id": "MDQ6VXNlcjYxNTQ2OTkw",
"organizations_url": "https://api.github.com/users/samilAyoub/orgs",
"received_events_url": "https://api.github.com/users/samilAyoub/received_events",
"repos_url": "https://api.github.com/users/samilAyoub/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/samilAyoub/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/samilAyoub/subscriptions",
"type": "User",
"url": "https://api.github.com/users/samilAyoub"
}
|
[
{
"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": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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"
}
| 10
| 2020-09-19T22:52:42Z
| 2020-09-22T23:24:07Z
| 2020-09-22T23:24:02Z
|
CONTRIBUTOR
| null |
…subframe
- [x] closes #36424
- [x] 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/36486/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36486/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36486.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36486",
"merged_at": "2020-09-22T23:24:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36486.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36486"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36487
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36487/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36487/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36487/events
|
https://github.com/pandas-dev/pandas/pull/36487
| 705,025,706
|
MDExOlB1bGxSZXF1ZXN0NDg5ODQyODA2
| 36,487
|
Don't unlabel stale PR on update
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"color": "DDDDDD",
"default": false,
"description": "Administrative tasks related to the pandas project",
"id": 32933285,
"name": "Admin",
"node_id": "MDU6TGFiZWwzMjkzMzI4NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Admin"
}
] |
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-09-20T01:25:08Z
| 2020-09-20T02:49:13Z
| 2020-09-20T02:13:55Z
|
MEMBER
| null |
Apparently the bot unlabels on any activity (not just activity from the owner), e.g., https://github.com/pandas-dev/pandas/pull/34584#issuecomment-693107104, so if you ask the person for an update and they don't respond, the PR is no longer stale. Probably better to do this manually for now.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36487/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36487/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36487.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36487",
"merged_at": "2020-09-20T02:13:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36487.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36487"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36488
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36488/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36488/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36488/events
|
https://github.com/pandas-dev/pandas/pull/36488
| 705,034,953
|
MDExOlB1bGxSZXF1ZXN0NDg5ODQ5NDI2
| 36,488
|
REF: share fillna
|
{
"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": "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-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-09-20T03:04:35Z
| 2021-02-21T22:42:04Z
| 2020-09-21T23:53:16Z
|
MEMBER
| null |
Near-identical implementations in DatetimeLikeArray and PandasArray
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36488/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36488/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36488.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36488",
"merged_at": "2020-09-21T23:53:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36488.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36488"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36489
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36489/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36489/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36489/events
|
https://github.com/pandas-dev/pandas/pull/36489
| 705,039,167
|
MDExOlB1bGxSZXF1ZXN0NDg5ODUyNDQw
| 36,489
|
Commas chaged
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/71419471?v=4",
"events_url": "https://api.github.com/users/Noahlq/events{/privacy}",
"followers_url": "https://api.github.com/users/Noahlq/followers",
"following_url": "https://api.github.com/users/Noahlq/following{/other_user}",
"gists_url": "https://api.github.com/users/Noahlq/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Noahlq",
"id": 71419471,
"login": "Noahlq",
"node_id": "MDQ6VXNlcjcxNDE5NDcx",
"organizations_url": "https://api.github.com/users/Noahlq/orgs",
"received_events_url": "https://api.github.com/users/Noahlq/received_events",
"repos_url": "https://api.github.com/users/Noahlq/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Noahlq/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Noahlq/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Noahlq"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-09-20T03:49:21Z
| 2020-09-20T03:52:17Z
| 2020-09-20T03:52:17Z
|
NONE
| null |
- [ ] 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/36489/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36489/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36489.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36489",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36489.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36489"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36490
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36490/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36490/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36490/events
|
https://github.com/pandas-dev/pandas/pull/36490
| 705,041,686
|
MDExOlB1bGxSZXF1ZXN0NDg5ODU0MzA3
| 36,490
|
Commas Edited
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/71567224?v=4",
"events_url": "https://api.github.com/users/Noahlq2657/events{/privacy}",
"followers_url": "https://api.github.com/users/Noahlq2657/followers",
"following_url": "https://api.github.com/users/Noahlq2657/following{/other_user}",
"gists_url": "https://api.github.com/users/Noahlq2657/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Noahlq2657",
"id": 71567224,
"login": "Noahlq2657",
"node_id": "MDQ6VXNlcjcxNTY3MjI0",
"organizations_url": "https://api.github.com/users/Noahlq2657/orgs",
"received_events_url": "https://api.github.com/users/Noahlq2657/received_events",
"repos_url": "https://api.github.com/users/Noahlq2657/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Noahlq2657/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Noahlq2657/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Noahlq2657"
}
|
[] |
closed
| false
| null |
[] | null | 2
| 2020-09-20T04:16:21Z
| 2020-09-23T18:45:20Z
| 2020-09-23T18:45:20Z
|
NONE
| null |
- [ ] 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/36490/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36490/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36490.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36490",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36490.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36490"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36491
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36491/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36491/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36491/events
|
https://github.com/pandas-dev/pandas/pull/36491
| 705,044,414
|
MDExOlB1bGxSZXF1ZXN0NDg5ODU2MzQ4
| 36,491
|
TST: DataFrame.to_parquet accepts pathlib.Path with partition_cols defined
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
}
|
[
{
"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-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-09-20T04:44:49Z
| 2020-09-23T14:42:17Z
| 2020-09-23T11:20:14Z
|
MEMBER
| null |
- [x] closes #35902
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36491/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36491/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36491.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36491",
"merged_at": "2020-09-23T11:20:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36491.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36491"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36492
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36492/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36492/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36492/events
|
https://github.com/pandas-dev/pandas/issues/36492
| 705,045,382
|
MDU6SXNzdWU3MDUwNDUzODI=
| 36,492
|
BUG: pd.NA in str.replace raises error
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41546976?v=4",
"events_url": "https://api.github.com/users/GYHHAHA/events{/privacy}",
"followers_url": "https://api.github.com/users/GYHHAHA/followers",
"following_url": "https://api.github.com/users/GYHHAHA/following{/other_user}",
"gists_url": "https://api.github.com/users/GYHHAHA/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/GYHHAHA",
"id": 41546976,
"login": "GYHHAHA",
"node_id": "MDQ6VXNlcjQxNTQ2OTc2",
"organizations_url": "https://api.github.com/users/GYHHAHA/orgs",
"received_events_url": "https://api.github.com/users/GYHHAHA/received_events",
"repos_url": "https://api.github.com/users/GYHHAHA/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/GYHHAHA/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GYHHAHA/subscriptions",
"type": "User",
"url": "https://api.github.com/users/GYHHAHA"
}
|
[
{
"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 | 1
| 2020-09-20T04:55:11Z
| 2020-09-20T06:20:52Z
| 2020-09-20T06:20:52Z
|
CONTRIBUTOR
| null |
>>>pd.__version__
1.1.1
I find setting pd.NA as repl of str.replace method will raise error, both on string and object.
Yet I think it may be better not to raise this error because the pd.NA indeed could be a missing string value.
>>>pd.Series(['a','b'],dtype='string').str.replace('a',pd.NA)
TypeError: repl must be a string or callable
>>>pd.Series(['a','b'],dtype='object').str.replace('a',pd.NA)
TypeError: repl must be a string or callable
And also, pd.NA can't be the pat of str.replace. Maybe reasonable to allow this.
>>>pd.Series([pd.NA,'a'],dtype='string').str.replace(pd.NA,'1')
TypeError: object of type 'NAType' has no len()
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36492/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36492/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36493
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36493/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36493/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36493/events
|
https://github.com/pandas-dev/pandas/pull/36493
| 705,058,248
|
MDExOlB1bGxSZXF1ZXN0NDg5ODY2NTcy
| 36,493
|
CI: Update version of 'black'
|
{
"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": "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": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-09-20T06:57:43Z
| 2020-09-23T12:17:25Z
| 2020-09-22T13:37:59Z
|
MEMBER
| null |
closes #35925
Not many files left so am making a PR to close this off
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36493/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36493/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36493.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36493",
"merged_at": "2020-09-22T13:37:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36493.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36493"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36494
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36494/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36494/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36494/events
|
https://github.com/pandas-dev/pandas/issues/36494
| 705,060,078
|
MDU6SXNzdWU3MDUwNjAwNzg=
| 36,494
|
Update outdated instructions in scripts/generate_pip_deps_from_conda.py
|
{
"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": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "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"
}
| 3
| 2020-09-20T07:14:28Z
| 2020-09-21T21:12:09Z
| 2020-09-21T21:11:46Z
|
MEMBER
| null |
It says
```
Usage:
Generate `requirements-dev.txt`
$ ./conda_to_pip
Compare and fail (exit status != 0) if `requirements-dev.txt` has not been
generated with this script:
$ ./conda_to_pip --compare
```
but it should be
```
Usage:
Generate `requirements-dev.txt`
$ python scripts/generate_pip_deps_from_conda.py
Compare and fail (exit status != 0) if `requirements-dev.txt` has not been
generated with this script:
$ python scripts/generate_pip_deps_from_conda.py --compare
```
No need to ask if you can work on this, feel free to just submit a PR
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36494/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36494/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36495
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36495/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36495/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36495/events
|
https://github.com/pandas-dev/pandas/issues/36495
| 705,061,468
|
MDU6SXNzdWU3MDUwNjE0Njg=
| 36,495
|
REGR: fillna not filling NaNs after pivot without explicitly listing pivot values
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/4944295?v=4",
"events_url": "https://api.github.com/users/miles82/events{/privacy}",
"followers_url": "https://api.github.com/users/miles82/followers",
"following_url": "https://api.github.com/users/miles82/following{/other_user}",
"gists_url": "https://api.github.com/users/miles82/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/miles82",
"id": 4944295,
"login": "miles82",
"node_id": "MDQ6VXNlcjQ5NDQyOTU=",
"organizations_url": "https://api.github.com/users/miles82/orgs",
"received_events_url": "https://api.github.com/users/miles82/received_events",
"repos_url": "https://api.github.com/users/miles82/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/miles82/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/miles82/subscriptions",
"type": "User",
"url": "https://api.github.com/users/miles82"
}
|
[
{
"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": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "e11d21",
"default": false,
"description": "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": "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-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"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.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
}
| 5
| 2020-09-20T07:26:51Z
| 2020-11-26T17:00:20Z
| 2020-11-26T17:00: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.
---
Hi,
I have this (simplified) piece of code which seems to have stopped working correctly in Pandas 1.1:
```python
import pandas as pd
data = [
[1, 1, 1, 1.],
[2, 2, 2, 2.],
[3, 3, 3, 3.],
]
df = pd.DataFrame(data, columns=['i1', 'i2', 'i3', 'f1'])
df = df.pivot('i1', 'i2')
df = df.fillna(0)
print(df)
```
#### Problem description
This is the output in Pandas 1.1.2:
```
i3 f1
i2 1 2 3 1 2 3
i1
1 1.0 NaN NaN 1.0 0.0 0.0
2 NaN 2.0 NaN 0.0 2.0 0.0
3 NaN NaN 3.0 0.0 0.0 3.0
```
It contains NaNs after using fillna. It can be fixed by explicitly providing remaining columns as values to pivot (which should be the default):
`df = df.pivot('i1', 'i2', values=['i3', 'f1'])`
It also works if all columns are of the same type, like when I change f1 to contain ints instead of floats. In that case I don't need to specify the values.
#### Expected Output
This is the output on Pandas 1.0.5 and 0.25.3:
```
i3 f1
i2 1 2 3 1 2 3
i1
1 1.0 0.0 0.0 1.0 0.0 0.0
2 0.0 2.0 0.0 0.0 2.0 0.0
3 0.0 0.0 3.0 0.0 0.0 3.0
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6
python : 3.7.8.final.0
python-bits : 32
OS : Windows
OS-release : 10
Version : 10.0.18362
machine : AMD64
processor : Intel64 Family 6 Model 158 Stepping 9, GenuineIntel
byteorder : little
LC_ALL : None
LANG : C.UTF-8
LOCALE : None.None
pandas : 1.1.2
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 50.3.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.5.2
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.18.1
pandas_datareader: None
bs4 : 4.9.1
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : 1.3.18
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
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/36495/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36495/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36496
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36496/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36496/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36496/events
|
https://github.com/pandas-dev/pandas/pull/36496
| 705,067,680
|
MDExOlB1bGxSZXF1ZXN0NDg5ODczMzg4
| 36,496
|
Update outdated instructions in scripts/generate_pip_deps_from_conda.py #36494
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/29156885?v=4",
"events_url": "https://api.github.com/users/sharonwoo/events{/privacy}",
"followers_url": "https://api.github.com/users/sharonwoo/followers",
"following_url": "https://api.github.com/users/sharonwoo/following{/other_user}",
"gists_url": "https://api.github.com/users/sharonwoo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sharonwoo",
"id": 29156885,
"login": "sharonwoo",
"node_id": "MDQ6VXNlcjI5MTU2ODg1",
"organizations_url": "https://api.github.com/users/sharonwoo/orgs",
"received_events_url": "https://api.github.com/users/sharonwoo/received_events",
"repos_url": "https://api.github.com/users/sharonwoo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sharonwoo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sharonwoo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sharonwoo"
}
|
[
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-09-20T08:17:23Z
| 2020-09-21T21:11:51Z
| 2020-09-21T21:11:46Z
|
CONTRIBUTOR
| null |
- [x] closes #36494
- [x] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36496/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36496/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36496.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36496",
"merged_at": "2020-09-21T21:11:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36496.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36496"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36497
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36497/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36497/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36497/events
|
https://github.com/pandas-dev/pandas/pull/36497
| 705,096,485
|
MDExOlB1bGxSZXF1ZXN0NDg5ODk0MDg0
| 36,497
|
PERF: DataFrame initialisation with dict with single key/value pair
|
{
"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-09-20T11:52:01Z
| 2020-09-20T12:02:12Z
| 2020-09-20T12:02:12Z
|
CONTRIBUTOR
| null |
Faster initialisation of DataFrames, when the data is a single-item dict:
```python
>>> x = np.arange(1_000_000)
>>> %timeit pd.DataFrame(dict(a=x))
2.16 ms ± 66.7 µs per loop # master
282 µs ± 4.63 µs per loop # this PR
>>> x = np.array([str(u) for u in range(1_000_000)], dtype=object)
>>> %timeit pd.DataFrame(dict(a=x))
29.5 ms ± 131 µs per loop # master
12.6 ms ± 55.8 µs per loop # this PR
```
I don't think it's possible to optimize the case with more than 1 key/value pair, as concatenation will always take some time to perform.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36497/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36497/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36497.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36497",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36497.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36497"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36498
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36498/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36498/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36498/events
|
https://github.com/pandas-dev/pandas/pull/36498
| 705,104,401
|
MDExOlB1bGxSZXF1ZXN0NDg5ODk5NzU1
| 36,498
|
Maintain inplace operation on series
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61546990?v=4",
"events_url": "https://api.github.com/users/samilAyoub/events{/privacy}",
"followers_url": "https://api.github.com/users/samilAyoub/followers",
"following_url": "https://api.github.com/users/samilAyoub/following{/other_user}",
"gists_url": "https://api.github.com/users/samilAyoub/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/samilAyoub",
"id": 61546990,
"login": "samilAyoub",
"node_id": "MDQ6VXNlcjYxNTQ2OTkw",
"organizations_url": "https://api.github.com/users/samilAyoub/orgs",
"received_events_url": "https://api.github.com/users/samilAyoub/received_events",
"repos_url": "https://api.github.com/users/samilAyoub/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/samilAyoub/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/samilAyoub/subscriptions",
"type": "User",
"url": "https://api.github.com/users/samilAyoub"
}
|
[
{
"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": "70e5ca",
"default": false,
"description": "",
"id": 2085877452,
"name": "Copy / view semantics",
"node_id": "MDU6TGFiZWwyMDg1ODc3NDUy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Copy%20/%20view%20semantics"
}
] |
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"
}
| 17
| 2020-09-20T12:47:33Z
| 2020-10-30T10:25:45Z
| 2020-10-30T10:25:44Z
|
CONTRIBUTOR
| null |
- [ ] closes #36373
- [ ] 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/36498/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36498/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36498.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36498",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36498.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36498"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36499
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36499/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36499/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36499/events
|
https://github.com/pandas-dev/pandas/issues/36499
| 705,127,589
|
MDU6SXNzdWU3MDUxMjc1ODk=
| 36,499
|
BUG: concat series with NA in multiindex fail to combine rows of same index
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7454555?v=4",
"events_url": "https://api.github.com/users/hdou/events{/privacy}",
"followers_url": "https://api.github.com/users/hdou/followers",
"following_url": "https://api.github.com/users/hdou/following{/other_user}",
"gists_url": "https://api.github.com/users/hdou/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hdou",
"id": 7454555,
"login": "hdou",
"node_id": "MDQ6VXNlcjc0NTQ1NTU=",
"organizations_url": "https://api.github.com/users/hdou/orgs",
"received_events_url": "https://api.github.com/users/hdou/received_events",
"repos_url": "https://api.github.com/users/hdou/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hdou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hdou/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hdou"
}
|
[
{
"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 | 3
| 2020-09-20T15:14:59Z
| 2021-08-13T03:02:46Z
| 2021-08-13T03:02:45Z
|
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
names=['A1','A2']
idx1 = pd.MultiIndex.from_tuples([(1,1), (2, pd.NA)], names=names)
idx2 = pd.MultiIndex.from_tuples([(2, pd.NA), (3,3)], names=names)
s1 = pd.Series([11,12], index=idx1)
s2 = pd.Series([13,14], index=idx2)
s3 = pd.concat([s1, s2], axis=1)
print (s3)
# s3 fails to combine the two rows with index (2, NaN)
# 0 1
# A1 A2
# 1 1.0 11.0 NaN
# 2 NaN 12.0 13.0
# NaN 12.0 13.0
# 3 3.0 NaN 14.0
# Workaround is to use merge after reset index
s1 = s1.reset_index()
s2 = s2.reset_index()
s3 = pd.merge(s1,s2,on=names,how='outer')
s3 = s3.set_index(names)
print (s3)
# Now the result is expected
# A1 A2
# 1 1.0 11.0 NaN
# 2 NaN 12.0 13.0
# 3 3.0 NaN 14.0
```
#### Problem description
[this should explain **why** the current behaviour is a problem and why the expected output is a better solution]
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag]
INSTALLED VERSIONS
------------------
commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 18.7.0
Version : Darwin Kernel Version 18.7.0: Thu Jun 18 20:50:10 PDT 2020; root:xnu-4903.278.43~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.2
numpy : 1.19.1
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 47.1.0
Cython : 0.29.21
pytest : None
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
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : 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/36499/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36499/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36500
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36500/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36500/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36500/events
|
https://github.com/pandas-dev/pandas/issues/36500
| 705,129,277
|
MDU6SXNzdWU3MDUxMjkyNzc=
| 36,500
|
BUG: concat series returns error result when indexes use tuples with NA in them
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7454555?v=4",
"events_url": "https://api.github.com/users/hdou/events{/privacy}",
"followers_url": "https://api.github.com/users/hdou/followers",
"following_url": "https://api.github.com/users/hdou/following{/other_user}",
"gists_url": "https://api.github.com/users/hdou/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hdou",
"id": 7454555,
"login": "hdou",
"node_id": "MDQ6VXNlcjc0NTQ1NTU=",
"organizations_url": "https://api.github.com/users/hdou/orgs",
"received_events_url": "https://api.github.com/users/hdou/received_events",
"repos_url": "https://api.github.com/users/hdou/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hdou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hdou/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hdou"
}
|
[
{
"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 | 3
| 2020-09-20T15:25:27Z
| 2021-08-13T03:03:53Z
| 2021-08-13T03:03:52Z
|
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
names=['A1','A2']
idx1 = [(1,1), (2, pd.NA)]
idx2 = [(2, pd.NA), (3,3)]
s1 = pd.Series([11,12], index=idx1)
s2 = pd.Series([13,14], index=idx2)
s3 = pd.concat([s1, s2], axis=1)
print (s3)
# 0 1
# 1 1 11.0 NaN
# 2 NaN NaN NaN <= expect 12.0 13.0 as the values
# 3 3 NaN 14.0
```
#### Problem description
[this should explain **why** the current behaviour is a problem and why the expected output is a better solution]
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag]
INSTALLED VERSIONS
------------------
commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 18.7.0
Version : Darwin Kernel Version 18.7.0: Thu Jun 18 20:50:10 PDT 2020; root:xnu-4903.278.43~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.2
numpy : 1.19.1
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 47.1.0
Cython : 0.29.21
pytest : None
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
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : 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/36500/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36500/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36501
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36501/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36501/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36501/events
|
https://github.com/pandas-dev/pandas/pull/36501
| 705,152,241
|
MDExOlB1bGxSZXF1ZXN0NDg5OTMzOTYy
| 36,501
|
Modify doc/source/whatsnew7
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/24496267?v=4",
"events_url": "https://api.github.com/users/cleconte987/events{/privacy}",
"followers_url": "https://api.github.com/users/cleconte987/followers",
"following_url": "https://api.github.com/users/cleconte987/following{/other_user}",
"gists_url": "https://api.github.com/users/cleconte987/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cleconte987",
"id": 24496267,
"login": "cleconte987",
"node_id": "MDQ6VXNlcjI0NDk2MjY3",
"organizations_url": "https://api.github.com/users/cleconte987/orgs",
"received_events_url": "https://api.github.com/users/cleconte987/received_events",
"repos_url": "https://api.github.com/users/cleconte987/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cleconte987/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cleconte987/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cleconte987"
}
|
[
{
"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": "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-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-09-20T17:41:27Z
| 2020-10-07T02:42:07Z
| 2020-10-07T02:42:03Z
|
CONTRIBUTOR
| null |
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] modify files in doc/source/whatsnew 'v0.25.0.rst' 'v0.25.1.rst' 'v0.25.2.rst' 'v0.25.3.rst' 'v1.0.0.rst' 'v1.0.1.rst' 'v1.0.2.rst' 'v1.0.3.rst' 'v1.0.4.rst' 'v1.05.rst' 'v1.1.0.rst'
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36501/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36501/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36501.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36501",
"merged_at": "2020-10-07T02:42:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36501.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36501"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36502
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36502/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36502/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36502/events
|
https://github.com/pandas-dev/pandas/issues/36502
| 705,154,323
|
MDU6SXNzdWU3MDUxNTQzMjM=
| 36,502
|
BUG: to_numeric casts floats incorrectly
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/54766615?v=4",
"events_url": "https://api.github.com/users/dcsaba89/events{/privacy}",
"followers_url": "https://api.github.com/users/dcsaba89/followers",
"following_url": "https://api.github.com/users/dcsaba89/following{/other_user}",
"gists_url": "https://api.github.com/users/dcsaba89/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dcsaba89",
"id": 54766615,
"login": "dcsaba89",
"node_id": "MDQ6VXNlcjU0NzY2NjE1",
"organizations_url": "https://api.github.com/users/dcsaba89/orgs",
"received_events_url": "https://api.github.com/users/dcsaba89/received_events",
"repos_url": "https://api.github.com/users/dcsaba89/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dcsaba89/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dcsaba89/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dcsaba89"
}
|
[
{
"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 | 3
| 2020-09-20T17:54:30Z
| 2020-09-20T23:46:53Z
| 2020-09-20T23:46:53Z
|
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
df = pd.DataFrame({'A': ['0.09', '0.63', '0.121909', '0.117863']})
df['B'] = pd.to_numeric(df['A'])
df['C'] = df['A'].astype(float)
```
#### Problem description
When floats as strings are passed to a column of a DataFrame, pd.to_numeric casts some of the given strings incorrectly.
In the above case df['C'] and df['A'] should have exactly the same values, but they differ in some decimals:
df['B'] = (0, 0.09) (1, 0.63) (2, 0.12190899999999999) (3, 0.11786300000000001)
df['C'] = (0, 0.09) (1, 0.63) (2, 0.121909) (3, 0.117863)
df['C'] is correct but df['B'] is incorrect.
The above issue does not occur when the same input is passed as list
w = pd.to_numeric(['0.09', '0.63', '0.121909', '0.117863'])
[0.09 0.63 0.121909 0.117863]
[this should explain **why** the current behaviour is a problem and why the expected output is a better solution]
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6
python : 3.8.5.final.0
python-bits : 32
OS : Windows
OS-release : 10
Version : 10.0.19041
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 12, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United States.1252
pandas : 1.1.2
</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/36502/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36502/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36503
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36503/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36503/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36503/events
|
https://github.com/pandas-dev/pandas/pull/36503
| 705,156,566
|
MDExOlB1bGxSZXF1ZXN0NDg5OTM3MDIx
| 36,503
|
BUG: alignment changing index on input series
|
{
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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"
}
| 3
| 2020-09-20T18:08:38Z
| 2020-09-25T00:33:21Z
| 2020-09-25T00:31:58Z
|
MEMBER
| null |
- [x] closes #33671
- [x] 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/36503/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36503/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36503.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36503",
"merged_at": "2020-09-25T00:31:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36503.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36503"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36504
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36504/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36504/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36504/events
|
https://github.com/pandas-dev/pandas/pull/36504
| 705,158,483
|
MDExOlB1bGxSZXF1ZXN0NDg5OTM4NDU0
| 36,504
|
CLN: Unify Series case in _wrap_applied_output
|
{
"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": "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-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"
}
| 3
| 2020-09-20T18:19:53Z
| 2020-09-26T12:00:06Z
| 2020-09-21T21:59:47Z
|
MEMBER
| null |
One block of _wrap_applied_output is only executed when `first_not_none` is a Series; moved it to the else clause.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36504/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36504/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36504.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36504",
"merged_at": "2020-09-21T21:59:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36504.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36504"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36505
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36505/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36505/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36505/events
|
https://github.com/pandas-dev/pandas/issues/36505
| 705,160,347
|
MDU6SXNzdWU3MDUxNjAzNDc=
| 36,505
|
QST: Wish to know how to properly avoid SettingwithCopyWarning without changing dtype
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/70171938?v=4",
"events_url": "https://api.github.com/users/DOH-Manada/events{/privacy}",
"followers_url": "https://api.github.com/users/DOH-Manada/followers",
"following_url": "https://api.github.com/users/DOH-Manada/following{/other_user}",
"gists_url": "https://api.github.com/users/DOH-Manada/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DOH-Manada",
"id": 70171938,
"login": "DOH-Manada",
"node_id": "MDQ6VXNlcjcwMTcxOTM4",
"organizations_url": "https://api.github.com/users/DOH-Manada/orgs",
"received_events_url": "https://api.github.com/users/DOH-Manada/received_events",
"repos_url": "https://api.github.com/users/DOH-Manada/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DOH-Manada/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DOH-Manada/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DOH-Manada"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 4
| 2020-09-20T18:30:27Z
| 2020-09-20T23:32:54Z
| 2020-09-20T23:30:57Z
|
NONE
| null |
- [X] 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
The data dataframe's label column is dtype: float64, and consists of four numbers, `[ 0., 2., 1., 3., nan]`.
```python
data[label_column][data[label_column] != 2] = 0
```
produces a SettingWithCopyWarning as it should. However,
```python
data.loc[data[label_column] != 2, label_column] = 0
```
does not produce a SettingWithCopyWarning, but changes the column to dtype: object.
I recognize `.loc` tries to cast back to the original dtype on assignment and `[]` does not based on [the getting started docs](http://pandas-docs.github.io/pandas-docs-travis/getting_started/basics.html), but I would like to know if the expected behaviour in this situation is expected and what the proper syntax I should use to avoid the warning but preserve the dtype.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36505/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36505/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36506
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36506/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36506/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36506/events
|
https://github.com/pandas-dev/pandas/pull/36506
| 705,169,046
|
MDExOlB1bGxSZXF1ZXN0NDg5OTQ2MTQ3
| 36,506
|
DOC: Update generate_pip_deps_from_conda.py #36494
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/59788425?v=4",
"events_url": "https://api.github.com/users/dishak331/events{/privacy}",
"followers_url": "https://api.github.com/users/dishak331/followers",
"following_url": "https://api.github.com/users/dishak331/following{/other_user}",
"gists_url": "https://api.github.com/users/dishak331/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dishak331",
"id": 59788425,
"login": "dishak331",
"node_id": "MDQ6VXNlcjU5Nzg4NDI1",
"organizations_url": "https://api.github.com/users/dishak331/orgs",
"received_events_url": "https://api.github.com/users/dishak331/received_events",
"repos_url": "https://api.github.com/users/dishak331/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dishak331/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dishak331/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dishak331"
}
|
[
{
"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 | 2
| 2020-09-20T19:22:38Z
| 2020-09-21T19:12:29Z
| 2020-09-21T19:12:29Z
|
NONE
| null |
- [x] closes #36494
- [ ] 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/36506/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36506/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36506.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36506",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36506.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36506"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36507
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36507/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36507/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36507/events
|
https://github.com/pandas-dev/pandas/issues/36507
| 705,170,169
|
MDU6SXNzdWU3MDUxNzAxNjk=
| 36,507
|
ENH: Allow as_index=False on SeriesGroupBy
|
{
"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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "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"
}
] |
open
| false
| null |
[] | null | 11
| 2020-09-20T19:29:31Z
| 2020-10-19T21:15:11Z
| null |
MEMBER
| null |
Would make the code:
s.to_frame(s.name).groupby(groups, as_index=False).sum()
Become:
s.groupby(groups, as_index=False).sum()
The change should just amount to calling a function like:
```
def adjust_for_as_index(self, result: FrameOrSeries) -> DataFrame:
if result.ndim == 1:
result = result.to_frame(result.name)
self._insert_inaxis_grouper_inplace(result)
result.index = np.arange(len(result))
```
in various methods of SeriesGroupBy (and could be used in DataFrameGroupBy).
This would close #13666 and make #35443 to be just about error reporting for the `axis=1` case.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36507/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36507/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36508
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36508/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36508/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36508/events
|
https://github.com/pandas-dev/pandas/issues/36508
| 705,178,163
|
MDU6SXNzdWU3MDUxNzgxNjM=
| 36,508
|
BUG: aggfunc use different default arguments in pivot_table
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/54766615?v=4",
"events_url": "https://api.github.com/users/dcsaba89/events{/privacy}",
"followers_url": "https://api.github.com/users/dcsaba89/followers",
"following_url": "https://api.github.com/users/dcsaba89/following{/other_user}",
"gists_url": "https://api.github.com/users/dcsaba89/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dcsaba89",
"id": 54766615,
"login": "dcsaba89",
"node_id": "MDQ6VXNlcjU0NzY2NjE1",
"organizations_url": "https://api.github.com/users/dcsaba89/orgs",
"received_events_url": "https://api.github.com/users/dcsaba89/received_events",
"repos_url": "https://api.github.com/users/dcsaba89/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dcsaba89/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dcsaba89/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dcsaba89"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
open
| false
| null |
[] | null | 4
| 2020-09-20T20:19:47Z
| 2021-08-13T03:05:47Z
| 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.
---
**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
import numpy as np
df = pd.DataFrame({'A': ['a', 'a'], 'X': [5, 9]})
# standard deviation of X:
np.std(df['X'])
# 2.0
# aggfunc returns the same standard deviation as np.std as expected with this trick
pd.pivot_table(df, index='A', values='X', aggfunc=lambda x: np.std(x))
# X
# A
# a 2
# aggfunc returns the unbiased standard deviation unexpectedly
pd.pivot_table(df, index='A', values='X', aggfunc=np.std)
# X
# A
# a 2.828427
```
#### Problem description
The default value of ddof for np.std is 0:
numpy.std(a, axis=None, dtype=None, out=None, ddof=0, keepdims=<no value>)
When np,std passed to aggfunc to calculate the standard deviation of X it returns the unbiased standard deviation, because it picks different ddof =1 and does not pick up the default ddof = 0.
On the other hand the expected behavior if we have a function f, when we pass it to aggfunc:
aggfunc=f and aggfunc=lambda x: f(x) must return exactly the same result.
#### Expected Output
1) When np.std is passed to aggfunc directly it picks up ddof=1 by default (this is unexpected as the default ddof for np.std is 0).
2) When np.std is passed to aggfunc by using lambda x: np.std(x), it picks up correctly the default ddof=0 from numpy as expected.
To summerize, the expected behavior is to use the function's default arguments when it is passed to aggregate values in pd.pivot_table.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6
python : 3.8.5.final.0
python-bits : 32
OS : Windows
OS-release : 10
Version : 10.0.19041
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 12, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United States.1252
pandas : 1.1.2
numpy : 1.19.2
</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/36508/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36508/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36509
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36509/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36509/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36509/events
|
https://github.com/pandas-dev/pandas/issues/36509
| 705,184,986
|
MDU6SXNzdWU3MDUxODQ5ODY=
| 36,509
|
MultiIndex.from_product could accept MultiIndex
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10563614?v=4",
"events_url": "https://api.github.com/users/ghislainp/events{/privacy}",
"followers_url": "https://api.github.com/users/ghislainp/followers",
"following_url": "https://api.github.com/users/ghislainp/following{/other_user}",
"gists_url": "https://api.github.com/users/ghislainp/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghislainp",
"id": 10563614,
"login": "ghislainp",
"node_id": "MDQ6VXNlcjEwNTYzNjE0",
"organizations_url": "https://api.github.com/users/ghislainp/orgs",
"received_events_url": "https://api.github.com/users/ghislainp/received_events",
"repos_url": "https://api.github.com/users/ghislainp/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghislainp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghislainp/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghislainp"
}
|
[
{
"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": 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-09-20T20:58:36Z
| 2021-08-13T03:06:16Z
| null |
NONE
| null |
#### Is your feature request related to a problem?
The problem is in xarray.DataArray.to_dataframe() which uses MultiIndex.from_product() to build the index based on the array coordinates.
When an xarray has a MultiIndex as one of the coordinates, from_product is called with a Multiindex as one of the iterable. This raises an exception, as discussed here https://github.com/pydata/xarray/issues/3008
#### Describe the solution you'd like
I've implemented a solution in xarray [PR ##4442], this close the issue for xarray.
However, the solution could be ported to from_product to allow this method to accept MultiIndex. I'm not sure it is of great interest for the users, but at least the solution exists and is relatively simple.
#### API breaking implications
none breaking
#### Describe alternatives you've considered
none
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36509/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36509/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36510
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36510/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36510/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36510/events
|
https://github.com/pandas-dev/pandas/pull/36510
| 705,186,552
|
MDExOlB1bGxSZXF1ZXN0NDg5OTU5MjA3
| 36,510
|
REF: dataframe formatters/outputs
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
}
|
[
{
"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": "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": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
},
{
"color": "006b75",
"default": false,
"description": "to_latex",
"id": 251382258,
"name": "IO LaTeX",
"node_id": "MDU6TGFiZWwyNTEzODIyNTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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"
}
| 11
| 2020-09-20T21:09:09Z
| 2020-10-20T23:19:04Z
| 2020-10-20T23:18:59Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Partially addresses #36407
This is a continuation of https://github.com/pandas-dev/pandas/pull/36434.
- Separated ``StringFormatter`` (or better ``ConsoleFormatter``?) from ``DataFrameFormatter``. Placed it into the new module (subject to discussion).
- Used composition of ``DataFrameFormatter`` in ``HTMLFormatter``, ``LatexFormatter``, ``CSVFormatter`` and ``StringFormatter``. It turned out that the inheritance of each of the formatters from the base ``DataFrameFormatter`` was too complicated to comprehend. The composition seems to suit here better.
- Created new class ``DataFrameRenderer`` to keep methods for outputs in each of the formats.
This is not the ultimate refactoring, but just one more step.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36510/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36510/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36510.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36510",
"merged_at": "2020-10-20T23:18:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36510.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36510"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36511
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36511/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36511/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36511/events
|
https://github.com/pandas-dev/pandas/pull/36511
| 705,189,170
|
MDExOlB1bGxSZXF1ZXN0NDg5OTYxMjA3
| 36,511
|
CI: troubleshoot segfault
|
{
"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": "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-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-09-20T21:25:49Z
| 2021-11-20T23:21:19Z
| 2020-09-21T12:28:24Z
|
MEMBER
| null |
I can't reproduce the CI failures locally, so just rolling back a few commits to narrow it down.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36511/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36511/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36511.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36511",
"merged_at": "2020-09-21T12:28:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36511.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36511"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36512
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36512/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36512/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36512/events
|
https://github.com/pandas-dev/pandas/issues/36512
| 705,233,260
|
MDU6SXNzdWU3MDUyMzMyNjA=
| 36,512
|
DOC: default value for pd.DateOffset() is 24 hours instead of 1 calendar day
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41546976?v=4",
"events_url": "https://api.github.com/users/GYHHAHA/events{/privacy}",
"followers_url": "https://api.github.com/users/GYHHAHA/followers",
"following_url": "https://api.github.com/users/GYHHAHA/following{/other_user}",
"gists_url": "https://api.github.com/users/GYHHAHA/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/GYHHAHA",
"id": 41546976,
"login": "GYHHAHA",
"node_id": "MDQ6VXNlcjQxNTQ2OTc2",
"organizations_url": "https://api.github.com/users/GYHHAHA/orgs",
"received_events_url": "https://api.github.com/users/GYHHAHA/received_events",
"repos_url": "https://api.github.com/users/GYHHAHA/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/GYHHAHA/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GYHHAHA/subscriptions",
"type": "User",
"url": "https://api.github.com/users/GYHHAHA"
}
|
[
{
"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": "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-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"
}
| 7
| 2020-09-21T01:43:17Z
| 2020-10-31T23:00:18Z
| 2020-10-31T23:00:18Z
|
CONTRIBUTOR
| null |
```python
>>>pd.__version__
1.1.1
>>>ts = pd.Timestamp('2011-3-27 00:00:00', tz='Europe/Helsinki')
>>>ts + pd.DateOffset(days=1)
Timestamp('2011-03-28 00:00:00+0300', tz='Europe/Helsinki')
>>>ts + pd.DateOffset()
Timestamp('2011-03-28 01:00:00+0300', tz='Europe/Helsinki')
>>>ts + pd.DateOffset(hours=24)
Timestamp('2011-03-28 01:00:00+0300', tz='Europe/Helsinki')
```
The default action for pd.DateOffset seems to be equal to pd.DateOffset(hours=24) instead of pd.DateOffset(days=1).
But the user guide says DateOffset object defaults to 1 calendar day.
<img width="611" alt="捕获" src="https://user-images.githubusercontent.com/41546976/93727690-db677480-fbee-11ea-9439-24979ebb85ce.PNG">
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36512/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36512/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36513
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36513/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36513/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36513/events
|
https://github.com/pandas-dev/pandas/issues/36513
| 705,239,726
|
MDU6SXNzdWU3MDUyMzk3MjY=
| 36,513
|
BUG: Series.replace does not work as intended when replacing values with None
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/20770895?v=4",
"events_url": "https://api.github.com/users/zzztpppp/events{/privacy}",
"followers_url": "https://api.github.com/users/zzztpppp/followers",
"following_url": "https://api.github.com/users/zzztpppp/following{/other_user}",
"gists_url": "https://api.github.com/users/zzztpppp/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zzztpppp",
"id": 20770895,
"login": "zzztpppp",
"node_id": "MDQ6VXNlcjIwNzcwODk1",
"organizations_url": "https://api.github.com/users/zzztpppp/orgs",
"received_events_url": "https://api.github.com/users/zzztpppp/received_events",
"repos_url": "https://api.github.com/users/zzztpppp/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zzztpppp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zzztpppp/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zzztpppp"
}
|
[
{
"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 | 3
| 2020-09-21T02:15:15Z
| 2020-09-21T16:33:26Z
| 2020-09-21T16:33:26Z
|
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
>>> pd.Series([1, 2,2 ,3, 3])
>>> s.replace(2, None)
0 1
1 1
2 1
3 3
4 3
dtype: int64
```
#### Problem description
This should replace all the 2's with None.
#### Expected Output
```
0 1.0
1 NaN
2 NaN
3 3.0
4 3.0
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : d9fff2792bf16178d4e450fe7384244e50635733
python : 3.7.7.final.0
python-bits : 64
OS : Linux
OS-release : 3.10.0-957.el7.x86_64
Version : #1 SMP Thu Nov 8 23:39:32 UTC 2018
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.0
numpy : 1.18.5
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 49.1.0.post20200710
Cython : 0.29.20
pytest : 5.4.3
hypothesis : 5.18.3
sphinx : 3.1.2
blosc : None
feather : None
xlsxwriter : 1.2.9
lxml.etree : 4.5.1
html5lib : 1.1
pymysql : 0.10.1
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.16.1
pandas_datareader: None
bs4 : 4.9.1
bottleneck : 1.3.2
fsspec : 0.7.4
fastparquet : None
gcsfs : None
matplotlib : 3.2.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.4
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.18
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
numba : 0.50.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/36513/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36513/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36514
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36514/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36514/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36514/events
|
https://github.com/pandas-dev/pandas/pull/36514
| 705,248,999
|
MDExOlB1bGxSZXF1ZXN0NDkwMDA3MzMw
| 36,514
|
CI/CLN: update travis
|
{
"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": "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-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"
}
| 5
| 2020-09-21T02:55:11Z
| 2020-10-03T05:41:40Z
| 2020-09-24T14:58:54Z
|
MEMBER
| null |
update and cleanup Travis
closes #36601
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36514/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36514/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36514.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36514",
"merged_at": "2020-09-24T14:58:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36514.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36514"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36515
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36515/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36515/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36515/events
|
https://github.com/pandas-dev/pandas/pull/36515
| 705,253,577
|
MDExOlB1bGxSZXF1ZXN0NDkwMDEwOTUx
| 36,515
|
Update outdated instructions in scripts/generate_pip_deps_from_conda.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/42005691?v=4",
"events_url": "https://api.github.com/users/sm1899/events{/privacy}",
"followers_url": "https://api.github.com/users/sm1899/followers",
"following_url": "https://api.github.com/users/sm1899/following{/other_user}",
"gists_url": "https://api.github.com/users/sm1899/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sm1899",
"id": 42005691,
"login": "sm1899",
"node_id": "MDQ6VXNlcjQyMDA1Njkx",
"organizations_url": "https://api.github.com/users/sm1899/orgs",
"received_events_url": "https://api.github.com/users/sm1899/received_events",
"repos_url": "https://api.github.com/users/sm1899/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sm1899/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sm1899/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sm1899"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-09-21T03:14:37Z
| 2020-09-21T04:28:19Z
| 2020-09-21T04:28: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/36515/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36515/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36515.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36515",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36515.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36515"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36516
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36516/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36516/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36516/events
|
https://github.com/pandas-dev/pandas/pull/36516
| 705,271,026
|
MDExOlB1bGxSZXF1ZXN0NDkwMDI1MTMy
| 36,516
|
DOC: Correct inconsistent description on default DateOffset setting
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41546976?v=4",
"events_url": "https://api.github.com/users/GYHHAHA/events{/privacy}",
"followers_url": "https://api.github.com/users/GYHHAHA/followers",
"following_url": "https://api.github.com/users/GYHHAHA/following{/other_user}",
"gists_url": "https://api.github.com/users/GYHHAHA/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/GYHHAHA",
"id": 41546976,
"login": "GYHHAHA",
"node_id": "MDQ6VXNlcjQxNTQ2OTc2",
"organizations_url": "https://api.github.com/users/GYHHAHA/orgs",
"received_events_url": "https://api.github.com/users/GYHHAHA/received_events",
"repos_url": "https://api.github.com/users/GYHHAHA/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/GYHHAHA/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GYHHAHA/subscriptions",
"type": "User",
"url": "https://api.github.com/users/GYHHAHA"
}
|
[
{
"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": "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-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"
}
| 21
| 2020-09-21T04:20:50Z
| 2020-10-31T23:50:19Z
| 2020-10-31T23:00:19Z
|
CONTRIBUTOR
| null |
correct inconsistent doc description on default DateOffset setting
- [x] closes #36512
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36516/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36516/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36516.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36516",
"merged_at": "2020-10-31T23:00:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36516.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36516"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.