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/39819
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39819/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39819/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39819/events
https://github.com/pandas-dev/pandas/pull/39819
808,620,607
MDExOlB1bGxSZXF1ZXN0NTczNjMwNjky
39,819
[WIP] ENH: Add only_unique group-by aggregation method
{ "avatar_url": "https://avatars.githubusercontent.com/u/1047337?v=4", "events_url": "https://api.github.com/users/jamesmyatt/events{/privacy}", "followers_url": "https://api.github.com/users/jamesmyatt/followers", "following_url": "https://api.github.com/users/jamesmyatt/following{/other_user}", "gists_url": "https://api.github.com/users/jamesmyatt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jamesmyatt", "id": 1047337, "login": "jamesmyatt", "node_id": "MDQ6VXNlcjEwNDczMzc=", "organizations_url": "https://api.github.com/users/jamesmyatt/orgs", "received_events_url": "https://api.github.com/users/jamesmyatt/received_events", "repos_url": "https://api.github.com/users/jamesmyatt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jamesmyatt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jamesmyatt/subscriptions", "type": "User", "url": "https://api.github.com/users/jamesmyatt" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
closed
false
null
[]
null
4
2021-02-15T15:16:52Z
2021-02-15T19:51:46Z
2021-02-15T19:24:39Z
CONTRIBUTOR
null
I think it would be useful to have a "only unique value" aggregation method. I've implemented a straw-man version so far to get some feedback before I do any more. - [x] closes #xxxx N/A - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry Idea is that you often get data-frames where some of the columns are constant across a group-by. Usually, this is collapsed using "first" when doing a group-by, but it would be good to have a version that verifies that the columns are constant as well. For example: ```python df = pd.DataFrame({"id": [0, 0, 1, 1], "name": ["Alice", "Alice", "Bob", "Bob"], "score": [0, 1, 2, 3]}) pd.concat([ df.groupby("id")["name"].only_unique(), df.groupby("id")["score"].max(), ], axis=1) ``` ```raw name score id 0 Alice 0.5 1 Bob 2.5 ``` ```python df = pd.DataFrame({"id": [0, 0, 1, 1], "name": ["Alice", "Alice", "Bob", "Charlie"], "score": [0, 1, 2, 3]}) pd.concat([ df.groupby("id")["name"].only_unique(), df.groupby("id")["score"].max(), ], axis=1) ``` ```raw ... ValueError: Expected exactly one unique item in series, but got 2. ``` I've chosen not to drop NA values, so that the exact null value is maintained, but I'm definitely open to changing it. ```python df = pd.DataFrame({"id": [0, 0, 1, 1], "name": ["Alice", "Alice", None, None], "score": [0, 1, 2, 3]}) pd.concat([ df.groupby("id")["name"].only_unique(), df.groupby("id")["score"].max(), ], axis=1) ``` ```raw name score id 0 Alice 0.5 1 None 2.5 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39819/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39819/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39819.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39819", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/39819.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39819" }
https://api.github.com/repos/pandas-dev/pandas/issues/39820
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39820/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39820/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39820/events
https://github.com/pandas-dev/pandas/pull/39820
808,624,333
MDExOlB1bGxSZXF1ZXN0NTczNjMzNzMy
39,820
REF: call ensure_wrapped_if_datetimelike before the array arithmetic_op
{ "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": "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" }, { "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
8
2021-02-15T15:21:36Z
2021-04-22T22:34:09Z
2021-04-22T22:16:51Z
MEMBER
null
~This is on top of https://github.com/pandas-dev/pandas/pull/39772, so only the last commit needs to be looked at for now: https://github.com/pandas-dev/pandas/pull/39820/commits/bd50388e019c61559c310638186aeea57d2d2d3e~ The actual goal here is to have a version of [`array_ops.py::arithmetic_op`](https://github.com/pandas-dev/pandas/blob/9f792cd90373177bffa0e9f85a14d5d5b30fb289/pandas/core/ops/array_ops.py#L159-L191) that does *not* call `ensure_wrapped_if_datetimelike` on its arrays. Reason: when performing ops column-wise, this becomes unnecessary overhead, and so the goal is to ensure this on a higher level, before calling the `array_op`. So the experiment in this PR is to actually remove `ensure_wrapped_if_datetimelike` from `arithmetic_op`, and then add it in the places that will call `arithmetic_op`, to see how much changes this needs. This would ensure that we can keep a single shared `arithmetic_op` for use by both ArrayManager and BlockManager. The alternative would be to make a variant of `arithmetic_op` without the `ensure_wrapped_if_datetimelike`. That would require fewer code changes, but would give some duplication around `arithmetic_op` content (but it's not that it is a long function). Thoughts on which approach to prefer? cc @jbrockmendel
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39820/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39820/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39820.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39820", "merged_at": "2021-04-22T22:16:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39820.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39820" }
https://api.github.com/repos/pandas-dev/pandas/issues/39821
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39821/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39821/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39821/events
https://github.com/pandas-dev/pandas/pull/39821
808,692,953
MDExOlB1bGxSZXF1ZXN0NTczNjg5NDEw
39,821
ENH: Styler builtins: `highlight_between`
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
16
2021-02-15T16:56:49Z
2021-04-13T14:32:38Z
2021-04-13T14:16:42Z
CONTRIBUTOR
null
- [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry - [x] update docs for existing highlight functions for consistency - [x] add a new `props` argument to existing highlight functions. Will add tests if approved: Could wrap both methods into one as well, but probably easier api if two? ![Screen Shot 2021-02-15 at 17 54 23](https://user-images.githubusercontent.com/24256554/107974441-e44e4d80-6fb6-11eb-8ed0-aaadf0ba2aa2.png) ![Screen Shot 2021-02-15 at 18 20 34](https://user-images.githubusercontent.com/24256554/107976893-90456800-6fba-11eb-93be-4c8b40f8160d.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/39821/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39821/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39821.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39821", "merged_at": "2021-04-13T14:16:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39821.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39821" }
https://api.github.com/repos/pandas-dev/pandas/issues/39822
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39822/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39822/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39822/events
https://github.com/pandas-dev/pandas/pull/39822
808,717,824
MDExOlB1bGxSZXF1ZXN0NTczNzA5OTI2
39,822
CI: upload coverage report to Codecov
{ "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2021-02-15T17:38:42Z
2021-03-18T16:40:49Z
2021-02-15T23:02:44Z
MEMBER
null
After moving the coverage build from Travis to GitHub Actions #38344, coverage upload was stopped. Trying to add it back using action provided by codecov. https://github.com/codecov/codecov-action
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39822/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39822/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39822.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39822", "merged_at": "2021-02-15T23:02:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39822.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39822" }
https://api.github.com/repos/pandas-dev/pandas/issues/39823
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39823/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39823/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39823/events
https://github.com/pandas-dev/pandas/issues/39823
808,738,600
MDU6SXNzdWU4MDg3Mzg2MDA=
39,823
Raise an error on redundant definition of separator in read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/7022832?v=4", "events_url": "https://api.github.com/users/malinkallen/events{/privacy}", "followers_url": "https://api.github.com/users/malinkallen/followers", "following_url": "https://api.github.com/users/malinkallen/following{/other_user}", "gists_url": "https://api.github.com/users/malinkallen/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/malinkallen", "id": 7022832, "login": "malinkallen", "node_id": "MDQ6VXNlcjcwMjI4MzI=", "organizations_url": "https://api.github.com/users/malinkallen/orgs", "received_events_url": "https://api.github.com/users/malinkallen/received_events", "repos_url": "https://api.github.com/users/malinkallen/repos", "site_admin": false, "starred_url": "https://api.github.com/users/malinkallen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/malinkallen/subscriptions", "type": "User", "url": "https://api.github.com/users/malinkallen" }
[ { "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": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/50989807?v=4", "events_url": "https://api.github.com/users/0xpranjal/events{/privacy}", "followers_url": "https://api.github.com/users/0xpranjal/followers", "following_url": "https://api.github.com/users/0xpranjal/following{/other_user}", "gists_url": "https://api.github.com/users/0xpranjal/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/0xpranjal", "id": 50989807, "login": "0xpranjal", "node_id": "MDQ6VXNlcjUwOTg5ODA3", "organizations_url": "https://api.github.com/users/0xpranjal/orgs", "received_events_url": "https://api.github.com/users/0xpranjal/received_events", "repos_url": "https://api.github.com/users/0xpranjal/repos", "site_admin": false, "starred_url": "https://api.github.com/users/0xpranjal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/0xpranjal/subscriptions", "type": "User", "url": "https://api.github.com/users/0xpranjal" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/50989807?v=4", "events_url": "https://api.github.com/users/0xpranjal/events{/privacy}", "followers_url": "https://api.github.com/users/0xpranjal/followers", "following_url": "https://api.github.com/users/0xpranjal/following{/other_user}", "gists_url": "https://api.github.com/users/0xpranjal/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/0xpranjal", "id": 50989807, "login": "0xpranjal", "node_id": "MDQ6VXNlcjUwOTg5ODA3", "organizations_url": "https://api.github.com/users/0xpranjal/orgs", "received_events_url": "https://api.github.com/users/0xpranjal/received_events", "repos_url": "https://api.github.com/users/0xpranjal/repos", "site_admin": false, "starred_url": "https://api.github.com/users/0xpranjal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/0xpranjal/subscriptions", "type": "User", "url": "https://api.github.com/users/0xpranjal" } ]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
2021-02-15T18:18:38Z
2021-05-26T02:18:15Z
2021-05-26T02:18:15Z
NONE
null
#### Is your feature request related to a problem? When calling `read_csv` and specifying both `sep` and `delim_whitespace`, or both `delimiter` and `delim_whitespace` I get a `ValueError` in pandas 1.3.0.dev0+713.g9f792cd903. For example: `df = pd.read_csv("my_data.csv", sep=' ', delim_whitespace=True)` and `df = pd.read_csv("my_data.csv", delimiter=' ', delim_whitespace=True)` give an error. However, when I specify both `sep` and `delimiter`, for example: `df = pd.read_csv("my_data.csv", sep=' ', delimiter='.')` `sep` is just silently ignored. I think it would make sense to raise an `ValueError` in this case as well. Moreover, the error that is raised today gives the message `Specified a delimiter with both sep and delim_whitespace=True; you can only specify one.` regardless of whether I specify `sep` or `delimiter` together with `delim_whitespace`. I think it should be changed to `Specified a delimiter with both delimiter and delim_whitespace=True; you can only specify one.` when `delimiter` is used. #### Describe the solution you'd like Raise a `ValueError` when both `sep` and `delimiter` are used to specify the separator for `read_csv`. Change the message "Specified a delimiter with both *sep* and delim_whitespace=True; you can only specify one." to "Specified a delimiter with both *delimiter* and delim_whitespace=True; you can only specify one." when both `delimiter` and `delim_whitespace` are specified. #### API breaking implications This will "break" code that specify both `sep` and `delimiter`. However, it is consistent with the behavior when you specify one of those parameters together with `delim_whitespace`. Moreover, a similar change has been done at some time between pandas 0.25.3 (the latest version provided by aptitude) and the development version. In the former `pd.read_csv("my_data.csv", delim_whitespace=True, sep=',')` doesn't cause a `ValueError`, but in the latter it does. #### Describe alternatives you've considered An alternative could be to issue a warning instead of an error, but an error is more consistent with the current behavior for the combination of `delim_whitespace` and (`sep` or `delimiter`).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39823/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39823/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39824
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39824/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39824/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39824/events
https://github.com/pandas-dev/pandas/pull/39824
808,754,400
MDExOlB1bGxSZXF1ZXN0NTczNzM5NTc4
39,824
REF: remove unnecessary Block attrs
{ "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": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2021-02-15T18:52:09Z
2021-02-16T17:55:16Z
2021-02-16T16:52:18Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] 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/39824/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39824/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39824.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39824", "merged_at": "2021-02-16T16:52:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39824.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39824" }
https://api.github.com/repos/pandas-dev/pandas/issues/39825
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39825/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39825/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39825/events
https://github.com/pandas-dev/pandas/pull/39825
808,767,391
MDExOlB1bGxSZXF1ZXN0NTczNzQ5ODY1
39,825
PERF: use arr.size instead of np.prod(arr.shape) in _can_use_numexpr
{ "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": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
2021-02-15T19:19:54Z
2021-02-17T07:09:29Z
2021-02-16T22:55:57Z
MEMBER
null
xref https://github.com/pandas-dev/pandas/pull/39772 Using `np.prod` gives quite some overhead, and I *think* it's always equivalent to `.size` ? ``` In [1]: arr = np.random.randn(3, 2) In [2]: %timeit arr.size 42.8 ns ± 0.628 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) In [3]: %timeit np.prod(arr.shape) 6.63 µs ± 344 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39825/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39825/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39825.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39825", "merged_at": "2021-02-16T22:55:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39825.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39825" }
https://api.github.com/repos/pandas-dev/pandas/issues/39826
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39826/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39826/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39826/events
https://github.com/pandas-dev/pandas/pull/39826
808,839,697
MDExOlB1bGxSZXF1ZXN0NTczODA5MDMx
39,826
Dont raise exception when subattr was not found in JSON parsing
{ "avatar_url": "https://avatars.githubusercontent.com/u/34395317?v=4", "events_url": "https://api.github.com/users/yuvalmarciano/events{/privacy}", "followers_url": "https://api.github.com/users/yuvalmarciano/followers", "following_url": "https://api.github.com/users/yuvalmarciano/following{/other_user}", "gists_url": "https://api.github.com/users/yuvalmarciano/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yuvalmarciano", "id": 34395317, "login": "yuvalmarciano", "node_id": "MDQ6VXNlcjM0Mzk1MzE3", "organizations_url": "https://api.github.com/users/yuvalmarciano/orgs", "received_events_url": "https://api.github.com/users/yuvalmarciano/received_events", "repos_url": "https://api.github.com/users/yuvalmarciano/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yuvalmarciano/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yuvalmarciano/subscriptions", "type": "User", "url": "https://api.github.com/users/yuvalmarciano" }
[ { "color": "207de5", "default": false, "description": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" } ]
closed
false
null
[]
null
1
2021-02-15T21:52:43Z
2021-02-16T08:49:46Z
2021-02-16T08:49:40Z
NONE
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/39826/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39826/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39826.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39826", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/39826.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39826" }
https://api.github.com/repos/pandas-dev/pandas/issues/39827
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39827/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39827/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39827/events
https://github.com/pandas-dev/pandas/pull/39827
808,859,641
MDExOlB1bGxSZXF1ZXN0NTczODI1MDM1
39,827
Backport PR #39800 on branch 1.2.x (Regression in to_excel when setting duplicate column names)
{ "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": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
closed
false
null
[]
{ "closed_at": "2021-03-02T08:40:51Z", "closed_issues": 49, "created_at": "2021-02-07T13:58:05Z", "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.2.x\r\n\r\n", "due_on": "2021-03-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/83", "id": 6402340, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels", "node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==", "number": 83, "open_issues": 0, "state": "closed", "title": "1.2.3", "updated_at": "2021-03-02T17:15:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83" }
0
2021-02-15T22:43:06Z
2021-02-16T09:41:00Z
2021-02-16T09:41:00Z
NONE
null
Backport PR #39800: Regression in to_excel when setting duplicate column names
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39827/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39827/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39827.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39827", "merged_at": "2021-02-16T09:41:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39827.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39827" }
https://api.github.com/repos/pandas-dev/pandas/issues/39828
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39828/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39828/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39828/events
https://github.com/pandas-dev/pandas/pull/39828
808,870,784
MDExOlB1bGxSZXF1ZXN0NTczODM0MDU5
39,828
BUG: PandasArray._from_sequence with list-of-tuples
{ "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": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2021-02-15T23:15:00Z
2021-02-17T01:45:36Z
2021-02-17T01:33:01Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] 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/39828/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39828/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39828.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39828", "merged_at": "2021-02-17T01:33:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39828.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39828" }
https://api.github.com/repos/pandas-dev/pandas/issues/39829
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39829/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39829/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39829/events
https://github.com/pandas-dev/pandas/pull/39829
808,927,450
MDExOlB1bGxSZXF1ZXN0NTczODc5MjEw
39,829
BUG: DataFrame.append broken on master
{ "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": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2021-02-16T02:05:55Z
2021-02-16T04:02:37Z
2021-02-16T04:02:07Z
MEMBER
null
Should get the CI to green.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39829/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39829/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39829.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39829", "merged_at": "2021-02-16T04:02:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39829.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39829" }
https://api.github.com/repos/pandas-dev/pandas/issues/39830
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39830/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39830/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39830/events
https://github.com/pandas-dev/pandas/pull/39830
808,933,998
MDExOlB1bGxSZXF1ZXN0NTczODg0MTgx
39,830
ENH: Hand numpy-like arrays with is_list_like
{ "avatar_url": "https://avatars.githubusercontent.com/u/23625371?v=4", "events_url": "https://api.github.com/users/znicholls/events{/privacy}", "followers_url": "https://api.github.com/users/znicholls/followers", "following_url": "https://api.github.com/users/znicholls/following{/other_user}", "gists_url": "https://api.github.com/users/znicholls/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/znicholls", "id": 23625371, "login": "znicholls", "node_id": "MDQ6VXNlcjIzNjI1Mzcx", "organizations_url": "https://api.github.com/users/znicholls/orgs", "received_events_url": "https://api.github.com/users/znicholls/received_events", "repos_url": "https://api.github.com/users/znicholls/repos", "site_admin": false, "starred_url": "https://api.github.com/users/znicholls/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/znicholls/subscriptions", "type": "User", "url": "https://api.github.com/users/znicholls" }
[ { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
7
2021-02-16T02:25:41Z
2021-06-16T13:31:13Z
2021-06-16T13:31:13Z
CONTRIBUTOR
null
- [ ] follows #39852 - [x] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] 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/39830/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39830/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39830.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39830", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/39830.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39830" }
https://api.github.com/repos/pandas-dev/pandas/issues/39831
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39831/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39831/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39831/events
https://github.com/pandas-dev/pandas/pull/39831
808,936,726
MDExOlB1bGxSZXF1ZXN0NTczODg2Mjc0
39,831
TST/REF: share Series setitem tests
{ "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": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2021-02-16T02:34:46Z
2021-02-16T18:51:26Z
2021-02-16T18:49:33Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] 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/39831/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39831/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39831.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39831", "merged_at": "2021-02-16T18:49:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39831.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39831" }
https://api.github.com/repos/pandas-dev/pandas/issues/39832
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39832/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39832/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39832/events
https://github.com/pandas-dev/pandas/pull/39832
808,964,682
MDExOlB1bGxSZXF1ZXN0NTczOTA4NzM3
39,832
TST/REF: collect tests by method
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
10
2021-02-16T04:03:36Z
2021-02-16T23:34:50Z
2021-02-16T23:26:34Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] 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/39832/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39832/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39832.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39832", "merged_at": "2021-02-16T23:26:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39832.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39832" }
https://api.github.com/repos/pandas-dev/pandas/issues/39833
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39833/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39833/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39833/events
https://github.com/pandas-dev/pandas/issues/39833
808,968,326
MDU6SXNzdWU4MDg5NjgzMjY=
39,833
February 2021 Docs Meeting
{ "avatar_url": "https://avatars.githubusercontent.com/u/86842?v=4", "events_url": "https://api.github.com/users/afeld/events{/privacy}", "followers_url": "https://api.github.com/users/afeld/followers", "following_url": "https://api.github.com/users/afeld/following{/other_user}", "gists_url": "https://api.github.com/users/afeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/afeld", "id": 86842, "login": "afeld", "node_id": "MDQ6VXNlcjg2ODQy", "organizations_url": "https://api.github.com/users/afeld/orgs", "received_events_url": "https://api.github.com/users/afeld/received_events", "repos_url": "https://api.github.com/users/afeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/afeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/afeld/subscriptions", "type": "User", "url": "https://api.github.com/users/afeld" }
[ { "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": "0bbec4", "default": false, "description": "Community topics (meetings, etc.)", "id": 2187005593, "name": "Community", "node_id": "MDU6TGFiZWwyMTg3MDA1NTkz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Community" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/86842?v=4", "events_url": "https://api.github.com/users/afeld/events{/privacy}", "followers_url": "https://api.github.com/users/afeld/followers", "following_url": "https://api.github.com/users/afeld/following{/other_user}", "gists_url": "https://api.github.com/users/afeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/afeld", "id": 86842, "login": "afeld", "node_id": "MDQ6VXNlcjg2ODQy", "organizations_url": "https://api.github.com/users/afeld/orgs", "received_events_url": "https://api.github.com/users/afeld/received_events", "repos_url": "https://api.github.com/users/afeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/afeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/afeld/subscriptions", "type": "User", "url": "https://api.github.com/users/afeld" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/86842?v=4", "events_url": "https://api.github.com/users/afeld/events{/privacy}", "followers_url": "https://api.github.com/users/afeld/followers", "following_url": "https://api.github.com/users/afeld/following{/other_user}", "gists_url": "https://api.github.com/users/afeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/afeld", "id": 86842, "login": "afeld", "node_id": "MDQ6VXNlcjg2ODQy", "organizations_url": "https://api.github.com/users/afeld/orgs", "received_events_url": "https://api.github.com/users/afeld/received_events", "repos_url": "https://api.github.com/users/afeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/afeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/afeld/subscriptions", "type": "User", "url": "https://api.github.com/users/afeld" } ]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
5
2021-02-16T04:14:24Z
2021-02-25T15:10:20Z
2021-02-25T15:10:19Z
MEMBER
null
- [Thursday, February 25th at 9-10am US Eastern Time](https://everytimezone.com/s/f469edb9) - [Zoom link](https://nyu.zoom.us/j/98201283174?pwd=d0VoUy9GTDRlVVZ0cCtTK0s4NnlBZz09) - [Agenda/notes](https://docs.google.com/document/d/1JoiqTdK6gi5W1QiTWrqtTV-rNmIqU3xROgHY5iT4J5g/edit#heading=h.1obsyhexqytc) --- ~~Please [**provide your availability**](https://doodle.com/poll/inay6zfys98t49sv?utm_source=poll&utm_medium=link) in the next few days so we can find a time that works for the most people. Will comment with the date and Zoom link once finalized.~~ All are welcome. We just kicked off HackIllinois where I'm mentoring students as they contribute to pandas documentation (https://github.com/pandas-dev/pandas/issues/39349), so hoping they can make it to the meeting to see the glamorous side of open source: governance! 😉 [Agenda/notes doc](https://docs.google.com/document/d/1JoiqTdK6gi5W1QiTWrqtTV-rNmIqU3xROgHY5iT4J5g/edit#heading=h.1obsyhexqytc) — feel free to add things in advance. Thanks! - [x] Start notes doc section - [x] Finalize time - [x] Add to calendar - [x] Send invite to students @pandas-dev/pandas-core @pandas-dev/pandas-triage @pandas-dev/pydata-sphinx-theme
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39833/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39833/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39834
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39834/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39834/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39834/events
https://github.com/pandas-dev/pandas/issues/39834
808,997,944
MDU6SXNzdWU4MDg5OTc5NDQ=
39,834
DEPS: change clipboard backend to pyclip
{ "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": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "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
0
2021-02-16T05:31:24Z
2021-08-15T18:13:14Z
null
MEMBER
null
Currently, we are using a vendered version of [pyperclip](https://github.com/asweigart/pyperclip). This project was dead for a couple of years. And there were some updates in 2020. But, it's not under active development right now. Recently I found this project [pyclip](https://github.com/spyoungtech/pyclip). It looks well maintained and has identical functionalities as pyperclip does. We should investigate if we could replace the vendered pyperclip with pyclip.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39834/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39834/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39835
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39835/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39835/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39835/events
https://github.com/pandas-dev/pandas/issues/39835
809,020,700
MDU6SXNzdWU4MDkwMjA3MDA=
39,835
CI: prevent false negatives in builds for pull requests
{ "avatar_url": "https://avatars.githubusercontent.com/u/86842?v=4", "events_url": "https://api.github.com/users/afeld/events{/privacy}", "followers_url": "https://api.github.com/users/afeld/followers", "following_url": "https://api.github.com/users/afeld/following{/other_user}", "gists_url": "https://api.github.com/users/afeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/afeld", "id": 86842, "login": "afeld", "node_id": "MDQ6VXNlcjg2ODQy", "organizations_url": "https://api.github.com/users/afeld/orgs", "received_events_url": "https://api.github.com/users/afeld/received_events", "repos_url": "https://api.github.com/users/afeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/afeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/afeld/subscriptions", "type": "User", "url": "https://api.github.com/users/afeld" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "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" } ]
closed
false
null
[]
null
6
2021-02-16T06:16:21Z
2021-02-17T10:14:26Z
2021-02-17T04:38:29Z
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. --- #### Problem description This issue is a bit vague, because I'm not sure that I completely understand the problem. And/or it's multiple problems. Anyway: I have opened a handful of pull requests on pandas recently, and it seems that each time I do (or when I rebase), tests fail for a different reason…unrelated to my change. In https://github.com/pandas-dev/pandas/pull/39364, for example, the build was failing because of: 1. A failing `ipython` cell run back in the `whatsnew` entry for v0.8.0 (fixed in https://github.com/pandas-dev/pandas/pull/39801, then 2. An `AttributeError: 'float' object has no attribute 'value'` error - [GitHub Actions run](https://github.com/pandas-dev/pandas/actions/runs/570400199) - [Azure Pipeline run](https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=54282&view=logs&j=b516280a-8c75-541b-8ba0-ae13561718a7&t=88a240e0-0f0f-5fd5-6f10-d82e025ed5d5&l=288) Anyway, the point is not those specific errors, but that the pandas build is relatively fragile. Upstream issues cause builds for pull requests to fail with errors that have nothing to do with the change, which is confusing for people trying to contribute. This could be because: - Changes that break the build get merged - Builds are flaky - ? Some ideas of how to help: - Enable [branch protection](https://docs.github.com/en/github/administering-a-repository/about-protected-branches) on `master` - Make the continuous integration runs conditional, to only the part of the repository changed - Do some deeper analysis on what tests are failing most often to see if they are flaky, etc. Curious to hear ideas from maintainers about if there are patterns of things going on that could be fixed. I imagine it makes sense to split more actionable issues and close this one after some discussion; defer to maintainers on that as well. 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/39835/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39835/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39836
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39836/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39836/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39836/events
https://github.com/pandas-dev/pandas/pull/39836
809,057,446
MDExOlB1bGxSZXF1ZXN0NTczOTg1ODIz
39,836
CI: remove stale assignments
{ "avatar_url": "https://avatars.githubusercontent.com/u/86842?v=4", "events_url": "https://api.github.com/users/afeld/events{/privacy}", "followers_url": "https://api.github.com/users/afeld/followers", "following_url": "https://api.github.com/users/afeld/following{/other_user}", "gists_url": "https://api.github.com/users/afeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/afeld", "id": 86842, "login": "afeld", "node_id": "MDQ6VXNlcjg2ODQy", "organizations_url": "https://api.github.com/users/afeld/orgs", "received_events_url": "https://api.github.com/users/afeld/received_events", "repos_url": "https://api.github.com/users/afeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/afeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/afeld/subscriptions", "type": "User", "url": "https://api.github.com/users/afeld" }
[ { "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": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
8
2021-02-16T07:19:15Z
2021-06-18T01:36:13Z
2021-06-18T01:36:13Z
MEMBER
null
Use a third-party GitHub Action to handle the claiming of issues. [See it in action.](https://github.com/afeld/pandas/issues/2#issuecomment-779635007) It also handles automatically unassigning them after a period of inactivity, which is the more interesting part. The motivation here is that I bet there are a lot of issues where someone has used `take`, but the issue remains open without movement. [By default](https://github.com/JasonEtco/slash-assign-action#options), this Action will remove the assignment after 21 days. Open to suggestions about whether that should be longer or shorter. - [ ] ~~closes #xxxx~~ - [ ] ~~tests added / passed~~ - [ ] ~~Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them~~ - [ ] ~~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/39836/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39836/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39836.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39836", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/39836.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39836" }
https://api.github.com/repos/pandas-dev/pandas/issues/39837
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39837/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39837/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39837/events
https://github.com/pandas-dev/pandas/issues/39837
809,118,878
MDU6SXNzdWU4MDkxMTg4Nzg=
39,837
BUG: AttributeError: 'BlockManager' object has no attribute 'is_mixed_type' when trying to jsonify dataframe.
{ "avatar_url": "https://avatars.githubusercontent.com/u/34395317?v=4", "events_url": "https://api.github.com/users/yuvalmarciano/events{/privacy}", "followers_url": "https://api.github.com/users/yuvalmarciano/followers", "following_url": "https://api.github.com/users/yuvalmarciano/following{/other_user}", "gists_url": "https://api.github.com/users/yuvalmarciano/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yuvalmarciano", "id": 34395317, "login": "yuvalmarciano", "node_id": "MDQ6VXNlcjM0Mzk1MzE3", "organizations_url": "https://api.github.com/users/yuvalmarciano/orgs", "received_events_url": "https://api.github.com/users/yuvalmarciano/received_events", "repos_url": "https://api.github.com/users/yuvalmarciano/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yuvalmarciano/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yuvalmarciano/subscriptions", "type": "User", "url": "https://api.github.com/users/yuvalmarciano" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "207de5", "default": false, "description": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" } ]
closed
false
null
[]
{ "closed_at": "2021-04-13T15:44:36Z", "closed_issues": 46, "created_at": "2021-03-01T08:32:08Z", "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.2.x", "due_on": "2021-04-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/84", "id": 6490488, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84/labels", "node_id": "MDk6TWlsZXN0b25lNjQ5MDQ4OA==", "number": 84, "open_issues": 0, "state": "closed", "title": "1.2.4", "updated_at": "2021-04-14T14:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84" }
6
2021-02-16T09:03:28Z
2021-03-23T15:17:56Z
2021-03-23T15:17:56Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python csv_reader = pandas.read_csv( csv_file, iterator=True, chunksize=2500, sep=',', encoding=None, error_bad_lines=False ) for i, chunk in enumerate(csv_reader): rows = chunk.to_json(orient="records", lines=True) ``` #### Problem description **on pypy 7.3.3 - python 3.7.9** `to_json` execution raises an exception: ``` Traceback (most recent call last): File "<stdin>", line 2, in <module> File "/opt/pypy/site-packages/pandas/core/generic.py", line 2478, in to_json storage_options=storage_options, File "/opt/pypy/site-packages/pandas/io/json/_json.py", line 94, in to_json indent=indent, File "/opt/pypy/site-packages/pandas/io/json/_json.py", line 155, in write indent=self.indent, AttributeError: 'BlockManager' object has no attribute 'is_mixed_type' ``` I suspect this PR: https://github.com/pandas-dev/pandas/pull/36873/files @jbrockmendel do you mind explaining why the `BlockManager` no longer has the `is_mixed_type` property? #### Expected Output When I try to manually assign `is_mixed_type` to the `chunk._mgr` object, as dropped in the aforementioned PR (a `BlockManager`) it seems to be working fine: ``` for i, chunk in enumerate(csv_reader): chunk._mgr._consolidate_inplace() chunk._mgr.is_mixed_type = len(chunk._mgr.blocks) > 1 print(chunk.to_json(orient="records", lines=True)) {"@timestamp":10000000,"test_1":"something","test_2":"something2"} ``` #### Output of ``pd.show_versions()`` INSTALLED VERSIONS ------------------ commit : 7d32926db8f7541c356066dcadabf854487738de python : 3.7.9.final.0 python-bits : 64 OS : Linux OS-release : 4.19.121-linuxkit Version : #1 SMP Tue Dec 1 17:50:32 UTC 2020 machine : x86_64 processor : byteorder : little LC_ALL : None LANG : C.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.2 numpy : 1.20.1 pytz : 2021.1 dateutil : 2.8.1 pip : 20.3.4 setuptools : 53.0.0 Cython : None pytest : 6.2.2 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.11.3 IPython : 7.20.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : None sqlalchemy : 1.3.23 tables : None tabulate : 0.8.7 xarray : None xlrd : 1.2.0 xlwt : None numba : None </details>
{ "+1": 6, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 6, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39837/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39837/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39838
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39838/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39838/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39838/events
https://github.com/pandas-dev/pandas/issues/39838
809,149,307
MDU6SXNzdWU4MDkxNDkzMDc=
39,838
BUG: Problems round-tripping categoricals to/from parquet
{ "avatar_url": "https://avatars.githubusercontent.com/u/78811865?v=4", "events_url": "https://api.github.com/users/secure-mail-documentation-project/events{/privacy}", "followers_url": "https://api.github.com/users/secure-mail-documentation-project/followers", "following_url": "https://api.github.com/users/secure-mail-documentation-project/following{/other_user}", "gists_url": "https://api.github.com/users/secure-mail-documentation-project/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/secure-mail-documentation-project", "id": 78811865, "login": "secure-mail-documentation-project", "node_id": "MDQ6VXNlcjc4ODExODY1", "organizations_url": "https://api.github.com/users/secure-mail-documentation-project/orgs", "received_events_url": "https://api.github.com/users/secure-mail-documentation-project/received_events", "repos_url": "https://api.github.com/users/secure-mail-documentation-project/repos", "site_admin": false, "starred_url": "https://api.github.com/users/secure-mail-documentation-project/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/secure-mail-documentation-project/subscriptions", "type": "User", "url": "https://api.github.com/users/secure-mail-documentation-project" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "parquet, feather", "id": 685114413, "name": "IO Parquet", "node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet" }, { "color": "d8439a", "default": false, "description": "Issue related to pandas dependency", "id": 2533668378, "name": "Upstream issue", "node_id": "MDU6TGFiZWwyNTMzNjY4Mzc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Upstream%20issue" } ]
closed
false
null
[]
null
2
2021-02-16T09:43:07Z
2021-08-15T18:18:20Z
2021-08-15T18:18:20Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import os import pandas as pd fname = 'categorical_test' data = { 'int': pd.Series([0, 1] * 1000, dtype=pd.CategoricalDtype([0,1])), 'str': pd.Series(['foo', 'bar'] * 1000, dtype=pd.CategoricalDtype(['foo', 'bar'])), } df = pd.DataFrame(data) for write in ['fastparquet', 'pyarrow']: for read in ['fastparquet', 'pyarrow']: if os.path.exists(fname): os.remove(fname) df.to_parquet(fname, engine=write, compression=None) df_read = pd.read_parquet(fname, engine=read) print() print('write:', write, 'read:', read) for t in data.keys(): print(t, df[t].dtype == df_read[t].dtype) ``` #### Problem description Pandas does not reliably round-trip categorical columns to/from parquet. This problem was originally reported on the pyarrow bug tracker by @chrisroat in https://github.com/apache/arrow/issues/1688#issuecomment-751128963. I appears that it was not reported to pandas though. Output from the test-case above: ``` write: fastparquet read: fastparquet int True str True write: fastparquet read: pyarrow int False str False write: pyarrow read: fastparquet int True str True write: pyarrow read: pyarrow int False str True ``` #### Expected Output ``` write: fastparquet read: fastparquet int True str True write: fastparquet read: pyarrow int True str True write: pyarrow read: fastparquet int True str True write: pyarrow read: pyarrow int True str True ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 9d598a5e1eee26df95b3910e3f2934890d062caa python : 3.8.5.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18362 machine : AMD64 processor : Intel64 Family 6 Model 61 Stepping 4, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_Germany.1252 pandas : 1.2.1 numpy : 1.19.2 pytz : 2021.1 dateutil : 2.8.1 pip : 20.3.3 setuptools : 52.0.0.post20210125 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : 7.20.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : 0.5.0 gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 3.0.0 pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None 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/39838/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39838/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39839
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39839/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39839/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39839/events
https://github.com/pandas-dev/pandas/issues/39839
809,163,556
MDU6SXNzdWU4MDkxNjM1NTY=
39,839
BUG: When checking equality of column dtype - TypeError: Cannot interpret 'datetime64[ns, UTC]' as a data type
{ "avatar_url": "https://avatars.githubusercontent.com/u/10884874?v=4", "events_url": "https://api.github.com/users/adamerose/events{/privacy}", "followers_url": "https://api.github.com/users/adamerose/followers", "following_url": "https://api.github.com/users/adamerose/following{/other_user}", "gists_url": "https://api.github.com/users/adamerose/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/adamerose", "id": 10884874, "login": "adamerose", "node_id": "MDQ6VXNlcjEwODg0ODc0", "organizations_url": "https://api.github.com/users/adamerose/orgs", "received_events_url": "https://api.github.com/users/adamerose/received_events", "repos_url": "https://api.github.com/users/adamerose/repos", "site_admin": false, "starred_url": "https://api.github.com/users/adamerose/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/adamerose/subscriptions", "type": "User", "url": "https://api.github.com/users/adamerose" }
[ { "color": "be21f2", "default": false, "description": "May be closeable, needs more eyeballs", "id": 2365504893, "name": "Closing Candidate", "node_id": "MDU6TGFiZWwyMzY1NTA0ODkz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate" }, { "color": "d8439a", "default": false, "description": "Issue related to pandas dependency", "id": 2533668378, "name": "Upstream issue", "node_id": "MDU6TGFiZWwyNTMzNjY4Mzc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Upstream%20issue" } ]
closed
false
null
[]
null
3
2021-02-16T10:01:55Z
2021-08-15T18:20:15Z
2021-08-15T18:20:15Z
NONE
null
This code reproduces the error: ```python import pandas as pd df = pd.DataFrame([{'publish_time': pd.Timestamp('2017-11-13 17:13:01+0000', tz='UTC'), 'title': 'A'}, {'publish_time': pd.Timestamp('2017-11-13 07:30:00+0000', tz='UTC'), 'title': 'B'}, {'publish_time': pd.Timestamp('2017-11-12 19:05:24+0000', tz='UTC'), 'title': 'C'}, {'publish_time': pd.Timestamp('2017-11-13 11:00:04+0000', tz='UTC'), 'title': 'D'}, {'publish_time': pd.Timestamp('2017-11-12 18:01:41+0000', tz='UTC'), 'title': 'E'}]) # This works print(df['publish_time'].dtype == df['title'].dtype) # This throws an error print(df['title'].dtype == df['publish_time'].dtype) ``` ``` Traceback (most recent call last): File "C:\Python38\lib\site-packages\IPython\core\interactiveshell.py", line 3418, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "<ipython-input-25-1048e1cb1cf5>", line 1, in <module> print(df['title'].dtype == df['publish_time'].dtype) TypeError: Cannot interpret 'datetime64[ns, UTC]' as a data type ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 7d32926db8f7541c356066dcadabf854487738de python : 3.8.6.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : AMD64 Family 25 Model 33 Stepping 0, AuthenticAMD byteorder : little LC_ALL : None LANG : None LOCALE : English_United States.1252 pandas : 1.2.2 numpy : 1.19.3 pytz : 2020.4 dateutil : 2.8.1 pip : 20.2.1 setuptools : 49.2.1 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.3 IPython : 7.19.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.17.1 pyxlsb : None s3fs : None scipy : None sqlalchemy : 1.3.20 tables : None tabulate : None xarray : None xlrd : 2.0.1 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/39839/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39839/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39840
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39840/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39840/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39840/events
https://github.com/pandas-dev/pandas/pull/39840
809,207,038
MDExOlB1bGxSZXF1ZXN0NTc0MTA3Mzkx
39,840
TST: JSON with tz roundtrip
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "color": "207de5", "default": false, "description": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2021-02-16T10:55:40Z
2021-02-16T18:03:40Z
2021-02-16T13:51:36Z
CONTRIBUTOR
null
test was ignored previously cause `tz` not supported. was fixed by PR #35973 might as well include the test 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/39840/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39840/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39840.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39840", "merged_at": "2021-02-16T13:51:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39840.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39840" }
https://api.github.com/repos/pandas-dev/pandas/issues/39841
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39841/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39841/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39841/events
https://github.com/pandas-dev/pandas/pull/39841
809,257,191
MDExOlB1bGxSZXF1ZXN0NTc0MTQ5NTIy
39,841
[ArrayManager] Implement concat with axis=1 (merge/join)
{ "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": "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": "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
[]
null
3
2021-02-16T12:10:09Z
2021-02-23T21:21:51Z
2021-02-23T10:13:44Z
MEMBER
null
The (hopefully) "easy" part of https://github.com/pandas-dev/pandas/pull/39612 for which there seems less discussion: this separates the pieces from https://github.com/pandas-dev/pandas/pull/39612 that are needed to get `concat` with `axis=1` working (`concat_axis=0`), which at least enables the join / merge usecases.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39841/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39841/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39841.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39841", "merged_at": "2021-02-23T10:13:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39841.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39841" }
https://api.github.com/repos/pandas-dev/pandas/issues/39842
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39842/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39842/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39842/events
https://github.com/pandas-dev/pandas/pull/39842
809,331,421
MDExOlB1bGxSZXF1ZXN0NTc0MjExOTAw
39,842
Backport PR #39795 on branch 1.2.x (fix benchmark failure with numpy 1.20+)
{ "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": "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": "2021-03-02T08:40:51Z", "closed_issues": 49, "created_at": "2021-02-07T13:58:05Z", "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.2.x\r\n\r\n", "due_on": "2021-03-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/83", "id": 6402340, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels", "node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==", "number": 83, "open_issues": 0, "state": "closed", "title": "1.2.3", "updated_at": "2021-03-02T17:15:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83" }
2
2021-02-16T13:53:12Z
2021-02-16T15:34:26Z
2021-02-16T15:34:26Z
NONE
null
Backport PR #39795: fix benchmark failure with numpy 1.20+
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39842/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39842/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39842.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39842", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/39842.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39842" }
https://api.github.com/repos/pandas-dev/pandas/issues/39843
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39843/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39843/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39843/events
https://github.com/pandas-dev/pandas/issues/39843
809,340,145
MDU6SXNzdWU4MDkzNDAxNDU=
39,843
BUG: Creating empty datetime64[ns] column should not try to use cache
{ "avatar_url": "https://avatars.githubusercontent.com/u/20555592?v=4", "events_url": "https://api.github.com/users/nicolaslegrand91/events{/privacy}", "followers_url": "https://api.github.com/users/nicolaslegrand91/followers", "following_url": "https://api.github.com/users/nicolaslegrand91/following{/other_user}", "gists_url": "https://api.github.com/users/nicolaslegrand91/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nicolaslegrand91", "id": 20555592, "login": "nicolaslegrand91", "node_id": "MDQ6VXNlcjIwNTU1NTky", "organizations_url": "https://api.github.com/users/nicolaslegrand91/orgs", "received_events_url": "https://api.github.com/users/nicolaslegrand91/received_events", "repos_url": "https://api.github.com/users/nicolaslegrand91/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nicolaslegrand91/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nicolaslegrand91/subscriptions", "type": "User", "url": "https://api.github.com/users/nicolaslegrand91" }
[ { "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": "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": "d4c5f9", "default": false, "description": "Series/DataFrame/Index/pd.array Constructors", "id": 1465286368, "name": "Constructors", "node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors" }, { "color": "be21f2", "default": false, "description": "May be closeable, needs more eyeballs", "id": 2365504893, "name": "Closing Candidate", "node_id": "MDU6TGFiZWwyMzY1NTA0ODkz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate" } ]
closed
false
null
[]
null
3
2021-02-16T14:04:19Z
2021-07-28T13:39:00Z
2021-07-28T13:39:00Z
NONE
null
- [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas as pd import numpy as np import timeit df = pd.DataFrame(index=range(10000)) # Create empty float column by assigning np.nan print(timeit.timeit( "df['float_col'] = np.nan", number=10, globals=globals() )) # Create empty datetime64[ns] column by assigning pd.NaT print(timeit.timeit( "df['datetime_col_no_typing'] = pd.NaT", number=10, globals=globals() )) # Create empty datetime64[ns] column by instantiating a pd.Series print(timeit.timeit( "df['datetime_col_with_typing'] = pd.Series(dtype='datetime64[ns]')", number=10, globals=globals() )) ``` #### Output: ``` 0.003220411000000034 4.237677962999999 0.017725253000000052 ``` #### Problem description This is a performance issue : the creation of an empty column of type datetime64[ns] is very slow when instantiating it with `pd.NaT`. I have tracked the problem down to the `should_cache` method in `pandas/core/tools/datetimes.py`, where more than 99% of the time is spent in the `set` function, to determine in the end whether the cache should be used. If `df[col] = pd.NaT` is indeed a valid way to create a datetime64[ns] column, it should not try to use the cache at all. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 7d32926db8f7541c356066dcadabf854487738de python : 3.7.8.final.0 python-bits : 64 OS : Darwin OS-release : 19.6.0 Version : Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : en_US.UTF-8 LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.2 numpy : 1.19.5 pytz : 2018.5 dateutil : 2.7.3 pip : 21.0.1 setuptools : 49.6.0 Cython : 0.29.21 pytest : 5.3.0 hypothesis : None sphinx : 3.4.3 blosc : None feather : None xlsxwriter : 1.3.7 lxml.etree : 4.6.2 html5lib : None pymysql : 1.0.2 psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.10 IPython : 7.19.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.3 numexpr : None odfpy : None openpyxl : 3.0.6 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.0 sqlalchemy : 1.3.22 tables : None tabulate : None xarray : None xlrd : 2.0.1 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/39843/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39843/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39844
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39844/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39844/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39844/events
https://github.com/pandas-dev/pandas/issues/39844
809,399,877
MDU6SXNzdWU4MDkzOTk4Nzc=
39,844
CI: series_methods.IsInLongSeriesLookUpDominates.time_isin fails with NumPy 1.20+
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "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": "2021-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "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.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
0
2021-02-16T15:17:04Z
2021-07-14T18:19:04Z
2021-07-14T18:19:04Z
MEMBER
null
xref https://github.com/pandas-dev/pandas/pull/38379#discussion_r567753143, benchmarks skipped in #39795 <details> ``` [ 0.00%] ·· Benchmarking existing-py_home_simon_miniconda3_envs_numpy-types_bin_python [ 50.00%] ··· series_methods.IsInLongSeriesLookUpDominates.time_isin 16/56 failed [ 50.00%] ··· ========= =========== ============= =============== =============== ================= -- series_type --------------------- --------------------------------------------------------------- dtype MaxNumber random_hits random_misses monotone_hits monotone_misses ========= =========== ============= =============== =============== ================= int64 5 33.5±0ms 38.2±0ms 38.8±0ms 33.8±0ms int64 1000 31.5±0ms 30.7±0ms 32.0±0ms 88.0±0ms int32 5 20.3±0ms 20.1±0ms 22.0±0ms 20.6±0ms int32 1000 28.6±0ms 31.5±0ms 28.8±0ms 79.0±0ms float64 5 33.3±0ms 31.8±0ms 49.3±0ms 36.9±0ms float64 1000 103±0ms 161±0ms 67.6±0ms 156±0ms float32 5 21.0±0ms 20.3±0ms 21.7±0ms 20.1±0ms float32 1000 91.1±0ms 151±0ms 57.9±0ms 148±0ms object 5 100±0ms 172±0ms 84.5±0ms 212±0ms object 1000 149±0ms 60.9±0ms 126±0ms 265±0ms Int64 5 failed failed failed failed Int64 1000 failed failed failed failed Float64 5 failed failed failed failed Float64 1000 failed failed failed failed ========= =========== ============= =============== =============== ================= [ 50.00%] ···· For parameters: 'Int64', 5, 'random_hits' Traceback (most recent call last): File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server main_run(run_args) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run skip = benchmark.do_setup() File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup result = Benchmark.do_setup(self) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup setup(*self._current_params) File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup self.values = np.arange(MaxNumber).astype(dtype) TypeError: data type 'Int64' not understood For parameters: 'Int64', 5, 'random_misses' Traceback (most recent call last): File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server main_run(run_args) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run skip = benchmark.do_setup() File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup result = Benchmark.do_setup(self) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup setup(*self._current_params) File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup self.values = np.arange(MaxNumber).astype(dtype) TypeError: data type 'Int64' not understood For parameters: 'Int64', 5, 'monotone_hits' Traceback (most recent call last): File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server main_run(run_args) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run skip = benchmark.do_setup() File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup result = Benchmark.do_setup(self) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup setup(*self._current_params) File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup self.values = np.arange(MaxNumber).astype(dtype) TypeError: data type 'Int64' not understood For parameters: 'Int64', 5, 'monotone_misses' Traceback (most recent call last): File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server main_run(run_args) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run skip = benchmark.do_setup() File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup result = Benchmark.do_setup(self) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup setup(*self._current_params) File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup self.values = np.arange(MaxNumber).astype(dtype) TypeError: data type 'Int64' not understood For parameters: 'Int64', 1000, 'random_hits' Traceback (most recent call last): File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server main_run(run_args) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run skip = benchmark.do_setup() File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup result = Benchmark.do_setup(self) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup setup(*self._current_params) File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup self.values = np.arange(MaxNumber).astype(dtype) TypeError: data type 'Int64' not understood For parameters: 'Int64', 1000, 'random_misses' Traceback (most recent call last): File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server main_run(run_args) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run skip = benchmark.do_setup() File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup result = Benchmark.do_setup(self) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup setup(*self._current_params) File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup self.values = np.arange(MaxNumber).astype(dtype) TypeError: data type 'Int64' not understood For parameters: 'Int64', 1000, 'monotone_hits' Traceback (most recent call last): File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server main_run(run_args) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run skip = benchmark.do_setup() File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup result = Benchmark.do_setup(self) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup setup(*self._current_params) File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup self.values = np.arange(MaxNumber).astype(dtype) TypeError: data type 'Int64' not understood For parameters: 'Int64', 1000, 'monotone_misses' Traceback (most recent call last): File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server main_run(run_args) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run skip = benchmark.do_setup() File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup result = Benchmark.do_setup(self) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup setup(*self._current_params) File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup self.values = np.arange(MaxNumber).astype(dtype) TypeError: data type 'Int64' not understood For parameters: 'Float64', 5, 'random_hits' Traceback (most recent call last): File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server main_run(run_args) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run skip = benchmark.do_setup() File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup result = Benchmark.do_setup(self) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup setup(*self._current_params) File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup self.values = np.arange(MaxNumber).astype(dtype) TypeError: data type 'Float64' not understood For parameters: 'Float64', 5, 'random_misses' Traceback (most recent call last): File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server main_run(run_args) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run skip = benchmark.do_setup() File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup result = Benchmark.do_setup(self) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup setup(*self._current_params) File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup self.values = np.arange(MaxNumber).astype(dtype) TypeError: data type 'Float64' not understood For parameters: 'Float64', 5, 'monotone_hits' Traceback (most recent call last): File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server main_run(run_args) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run skip = benchmark.do_setup() File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup result = Benchmark.do_setup(self) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup setup(*self._current_params) File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup self.values = np.arange(MaxNumber).astype(dtype) TypeError: data type 'Float64' not understood For parameters: 'Float64', 5, 'monotone_misses' Traceback (most recent call last): File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server main_run(run_args) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run skip = benchmark.do_setup() File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup result = Benchmark.do_setup(self) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup setup(*self._current_params) File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup self.values = np.arange(MaxNumber).astype(dtype) TypeError: data type 'Float64' not understood For parameters: 'Float64', 1000, 'random_hits' Traceback (most recent call last): File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server main_run(run_args) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run skip = benchmark.do_setup() File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup result = Benchmark.do_setup(self) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup setup(*self._current_params) File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup self.values = np.arange(MaxNumber).astype(dtype) TypeError: data type 'Float64' not understood For parameters: 'Float64', 1000, 'random_misses' Traceback (most recent call last): File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server main_run(run_args) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run skip = benchmark.do_setup() File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup result = Benchmark.do_setup(self) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup setup(*self._current_params) File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup self.values = np.arange(MaxNumber).astype(dtype) TypeError: data type 'Float64' not understood For parameters: 'Float64', 1000, 'monotone_hits' Traceback (most recent call last): File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server main_run(run_args) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run skip = benchmark.do_setup() File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup result = Benchmark.do_setup(self) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup setup(*self._current_params) File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup self.values = np.arange(MaxNumber).astype(dtype) TypeError: data type 'Float64' not understood For parameters: 'Float64', 1000, 'monotone_misses' Traceback (most recent call last): File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server main_run(run_args) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run skip = benchmark.do_setup() File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup result = Benchmark.do_setup(self) File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup setup(*self._current_params) File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup self.values = np.arange(MaxNumber).astype(dtype) TypeError: data type 'Float64' not understood ``` </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/39844/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39844/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39845
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39845/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39845/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39845/events
https://github.com/pandas-dev/pandas/issues/39845
809,471,700
MDU6SXNzdWU4MDk0NzE3MDA=
39,845
DOC: Reindexing behaviour of dataframe column-assignment missing
{ "avatar_url": "https://avatars.githubusercontent.com/u/4138030?v=4", "events_url": "https://api.github.com/users/fish-face/events{/privacy}", "followers_url": "https://api.github.com/users/fish-face/followers", "following_url": "https://api.github.com/users/fish-face/following{/other_user}", "gists_url": "https://api.github.com/users/fish-face/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fish-face", "id": 4138030, "login": "fish-face", "node_id": "MDQ6VXNlcjQxMzgwMzA=", "organizations_url": "https://api.github.com/users/fish-face/orgs", "received_events_url": "https://api.github.com/users/fish-face/received_events", "repos_url": "https://api.github.com/users/fish-face/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fish-face/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fish-face/subscriptions", "type": "User", "url": "https://api.github.com/users/fish-face" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
6
2021-02-16T16:45:21Z
2021-08-09T06:41:55Z
null
NONE
null
#### Location of the documentation `pandas.core.indexing.IndexingMixin.loc` `pandas.DataFrame.__setitem__` #### Documentation problem When assigning a `Series` through `df[...] = ...` or `df.loc[...] = `, the `Series`' index is expanded to conform to the `DataFrame`'s, and then values are added according to the index: ```python3 In [1]: df Out[1]: a 0 1 1 2 2 3 In [2]: df['b'] = pd.Series({1: 'b'}) In [3]: df Out[3]: a b 0 1 NaN 1 2 b 2 3 NaN In [4]: se = pd.Series({2: 'zero', 1: 'one', 0: 'two'}) # NOTE: Order is preserved and reflected in the Series' order In [5]: se Out[5]: 2 zero 1 one 0 two dtype: object In [6]: df['d'] = se # NOTE: values have been reordered according to the df's index In [7]: df Out[8]: a b d 0 1 NaN two 1 2 b one 2 3 NaN zero ``` (But in contrast: ```python3 In [4]: df['c'] = {1: 'c'} <traceback omitted> ValueError: Length of values (1) does not match length of index (3) ``` ) As far as I can tell, this is not really documented. In the case of `__setitem__` there is *no* API documentation at all, and one is left only with the "Selecting and Indexing Data" guide's examples. In the case of `.loc` there is mention that if using a `Series` as *input*, "The index of the key will be aligned before masking," but this is not what we're doing here. Neither set of examples indicates the behaviour when adding a new column or part of column: the only hints I could find in the guide about [setting with enlargement](https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#setting-with-enlargement) added a series whose index was the same as the existing index. This means that it is not clear what order the data will end up in the dataframe and where `NaN`s will be added. In the case of `.loc` in general the API documentation, although it does exist, is fairly scant. There is a link to the user guide, but personally I think this is pretty important behaviour to document in the reference. #### Suggested fix for documentation * Add documentation for `__setitem__` and in particular the behaviour of reindexing `Series`. * Update documentation for `.loc` to more completely describe the behaviour obtained when *assigning* to `.loc[]`, and include at least one example of assigning to a partial column. Alternatively add this to the user guide. Perhaps something like the following, plus an example like those above: When assigning a `Series` to a `DataFrame`, either via `.loc` or via the `[]` operator, values of the `Series` will be added to the dataframe according to their index. Values in the `Series` whose label does not appear in the `DataFrame` will not be added, and labels missing from the `Series`' index will be `NaN`. This also means that the order that data appears in the resulting `DataFrame` could be different from the order in the `Series`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39845/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39845/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39846
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39846/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39846/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39846/events
https://github.com/pandas-dev/pandas/pull/39846
809,474,274
MDExOlB1bGxSZXF1ZXN0NTc0MzMwNjIy
39,846
ASV: add benchmarks for groupby cython aggregations
{ "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
7
2021-02-16T16:48:43Z
2021-02-17T10:16:26Z
2021-02-16T23:58:27Z
MEMBER
null
I noticed that we currently don't really have a groupby benchmark that specifically targets the cython aggregations. We have of course benchmarks that call those, but eg `GroupByMethods` is setup in such a way that it's mostly benchmarking the factorization and post-processing (also useful of course), while eg for sum only 7% is spent in the actual `groupby_add` algorithm. So therefore this PR is adding an additional benchmark more targetted at the cython aggregation (where 30-50% of the time is spent in the actual aggregation function, so we will more easily catch regressions/improvements there) For now I only added "float64". I could also add "float32", but not sure how useful that is (since they are all using fused types, it's the same implementation for both dtypes.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39846/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39846/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39846.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39846", "merged_at": "2021-02-16T23:58:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39846.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39846" }
https://api.github.com/repos/pandas-dev/pandas/issues/39847
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39847/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39847/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39847/events
https://github.com/pandas-dev/pandas/issues/39847
809,580,527
MDU6SXNzdWU4MDk1ODA1Mjc=
39,847
QST: Integer floordiv by nullable integer series containing zero
{ "avatar_url": "https://avatars.githubusercontent.com/u/53796099?v=4", "events_url": "https://api.github.com/users/brandon-b-miller/events{/privacy}", "followers_url": "https://api.github.com/users/brandon-b-miller/followers", "following_url": "https://api.github.com/users/brandon-b-miller/following{/other_user}", "gists_url": "https://api.github.com/users/brandon-b-miller/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/brandon-b-miller", "id": 53796099, "login": "brandon-b-miller", "node_id": "MDQ6VXNlcjUzNzk2MDk5", "organizations_url": "https://api.github.com/users/brandon-b-miller/orgs", "received_events_url": "https://api.github.com/users/brandon-b-miller/received_events", "repos_url": "https://api.github.com/users/brandon-b-miller/repos", "site_admin": false, "starred_url": "https://api.github.com/users/brandon-b-miller/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/brandon-b-miller/subscriptions", "type": "User", "url": "https://api.github.com/users/brandon-b-miller" }
[ { "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": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
3
2021-02-16T19:18:48Z
2021-02-17T08:39:59Z
2021-02-17T08:39:31Z
NONE
null
- [ ] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions. - [ ] I have asked my usage related question on [StackOverflow](https://stackoverflow.com). --- #### Question about pandas Hello Pandas, while working on cuDF binops, I noticed this edge case: ```python 1 // pd.Series([0], dtype='Int64') ``` ``` 0 0 dtype: Int64 ``` I'm not 100% sure what the right behavior here is, but we're thinking it's maybe to raise. I was wondering if anyone on the pandas side had thought about this and has strong feelings about what the answer _should_ be here. For standard division, casting to float and returning `inf` seems sensible. But with floor division the point is to return an int. Thanks so much for any thoughts.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39847/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39847/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39848
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39848/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39848/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39848/events
https://github.com/pandas-dev/pandas/pull/39848
809,603,175
MDExOlB1bGxSZXF1ZXN0NTc0NDM3Njk5
39,848
ASV: add frame ops benchmarks for varying n_rows/n_columns ratios
{ "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": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
2021-02-16T19:54:43Z
2021-02-17T21:34:38Z
2021-02-17T21:34:38Z
MEMBER
null
Currently, we have a benchmark for frame/frame ops with a wide dataframe (originating from previous (long) PR / discussion about this, xref https://github.com/pandas-dev/pandas/pull/32779) To get a better idea of the trade-offs for future changes to the ops code (eg ArrayManager related), I think it is useful to have this benchmark for a varying rows/columns ratio (it is mostly this ratio that determines how much overhead we have when performing ops column-wise). So I changed the benchmark to be parametrized over 4 different ratios, from a long to a wide dataframe, and with each case having the same number of total elements in the dataframe. The shape in the original benchmark was `(500, 2000)`, which is somewhere in between two new cases of `(10_000, 1000)` and `(1000, 10_000)`, so that should preserve the original intent of the benchmark (the last case of `(1000, 10_000)` even has a lower row/column ratio, so should even be a "worse" case for the column-wise ops perspective). cc @jbrockmendel
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39848/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39848/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39848.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39848", "merged_at": "2021-02-17T21:34:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39848.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39848" }
https://api.github.com/repos/pandas-dev/pandas/issues/39849
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39849/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39849/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39849/events
https://github.com/pandas-dev/pandas/pull/39849
809,655,320
MDExOlB1bGxSZXF1ZXN0NTc0NDgxMjAw
39,849
solved raise an error on redundant definition (#39823)
{ "avatar_url": "https://avatars.githubusercontent.com/u/50989807?v=4", "events_url": "https://api.github.com/users/0xpranjal/events{/privacy}", "followers_url": "https://api.github.com/users/0xpranjal/followers", "following_url": "https://api.github.com/users/0xpranjal/following{/other_user}", "gists_url": "https://api.github.com/users/0xpranjal/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/0xpranjal", "id": 50989807, "login": "0xpranjal", "node_id": "MDQ6VXNlcjUwOTg5ODA3", "organizations_url": "https://api.github.com/users/0xpranjal/orgs", "received_events_url": "https://api.github.com/users/0xpranjal/received_events", "repos_url": "https://api.github.com/users/0xpranjal/repos", "site_admin": false, "starred_url": "https://api.github.com/users/0xpranjal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/0xpranjal/subscriptions", "type": "User", "url": "https://api.github.com/users/0xpranjal" }
[ { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
null
2
2021-02-16T21:19:22Z
2021-02-22T06:09:35Z
2021-02-22T06:09:35Z
CONTRIBUTOR
null
- [ ] closes #39823 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] 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/39849/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39849/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39849.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39849", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/39849.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39849" }
https://api.github.com/repos/pandas-dev/pandas/issues/39850
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39850/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39850/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39850/events
https://github.com/pandas-dev/pandas/issues/39850
809,658,323
MDU6SXNzdWU4MDk2NTgzMjM=
39,850
BUG: float formatters ignore "object" extension type; Other issues in same code
{ "avatar_url": "https://avatars.githubusercontent.com/u/1515637?v=4", "events_url": "https://api.github.com/users/EmperorArthur/events{/privacy}", "followers_url": "https://api.github.com/users/EmperorArthur/followers", "following_url": "https://api.github.com/users/EmperorArthur/following{/other_user}", "gists_url": "https://api.github.com/users/EmperorArthur/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/EmperorArthur", "id": 1515637, "login": "EmperorArthur", "node_id": "MDQ6VXNlcjE1MTU2Mzc=", "organizations_url": "https://api.github.com/users/EmperorArthur/orgs", "received_events_url": "https://api.github.com/users/EmperorArthur/received_events", "repos_url": "https://api.github.com/users/EmperorArthur/repos", "site_admin": false, "starred_url": "https://api.github.com/users/EmperorArthur/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/EmperorArthur/subscriptions", "type": "User", "url": "https://api.github.com/users/EmperorArthur" }
[ { "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" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
2
2021-02-16T21:24:42Z
2021-07-02T11:30:48Z
null
NONE
null
- [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas as pd df = pd.DataFrame([0.123456789, 1.123456789, 2.123456789], columns=["value"]) df = df.astype({"value": "object"}) print(df.to_string(formatters=["{:.2f}".format])) ``` #### Problem description This probably has the same root cause as Bug #39336, except it affects object types. This matters because it is unexpected behavior to the user, and it is possible for Pandas to guess dtypes incorrectly. Without significant research and finding Bug #39336, I would have never guessed that the way to stop the default float formatter was to do `df = df.astype({"value": float})`. #### Expected Output > value > 0 0.123457 > 1 1.123457 > 2 2.123457 #### Other Information I am seeing the problem in `pandas.io.formats.format.GenericArrayFormatter._format_strings`. The `for i, v in enumerate(vals):...` loop should probably adjusted to just use `self.formatter` if it exists and bypass all the other checks. If a user has defined their own formatter, then Pandas should not try to second guess the user based on data type or if it is a NaN value. For example: ```python df = pd.DataFrame([None, "Test"], columns=["value"]) print(df.to_string(formatters=[lambda x: "The object is {}".format(type(x))])) ``` Does not do what a user expects. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 7d32926db8f7541c356066dcadabf854487738de python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-65-generic Version : #73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.2 numpy : 1.20.1 pytz : 2021.1 dateutil : 2.8.1 pip : 20.2.4 setuptools : 44.0.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : 1.0.1 pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.11.3 IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : 0.8.5 fastparquet : None gcsfs : None matplotlib : 3.3.4 numexpr : None odfpy : None openpyxl : 3.0.6 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.0 sqlalchemy : 1.3.23 tables : None tabulate : None xarray : 0.16.1 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/39850/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39850/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39851
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39851/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39851/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39851/events
https://github.com/pandas-dev/pandas/pull/39851
809,688,037
MDExOlB1bGxSZXF1ZXN0NTc0NTA4Mzgw
39,851
DOC: Add list of UDF methods to mutation gotcha
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2021-02-16T22:16:34Z
2021-02-17T22:16:26Z
2021-02-16T23:35:09Z
MEMBER
null
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them Ref: https://github.com/pandas-dev/pandas/pull/39762#discussion_r575832330
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39851/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39851/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39851.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39851", "merged_at": "2021-02-16T23:35:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39851.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39851" }
https://api.github.com/repos/pandas-dev/pandas/issues/39852
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39852/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39852/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39852/events
https://github.com/pandas-dev/pandas/pull/39852
809,699,755
MDExOlB1bGxSZXF1ZXN0NTc0NTE4MjQ5
39,852
PERF: is_list_like
{ "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": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
2021-02-16T22:38:04Z
2021-02-17T21:01:57Z
2021-02-17T20:11:52Z
MEMBER
null
``` In [3]: arr = np.array(0) In [4]: arr2 = np.array([0]) In [5]: %timeit is_list_like([]) 118 ns ± 2.21 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- PR 328 ns ± 3.3 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <-- master In [6]: %timeit is_list_like(0) 271 ns ± 5.65 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <-- PR 348 ns ± 4.17 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <-- master In [7]: %timeit is_list_like(arr) 111 ns ± 1.71 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- PR 369 ns ± 24.4 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <-- master In [8]: %timeit is_list_like(arr2) 109 ns ± 3.39 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- PR 340 ns ± 1.91 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <-- master ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39852/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39852/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39852.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39852", "merged_at": "2021-02-17T20:11:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39852.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39852" }
https://api.github.com/repos/pandas-dev/pandas/issues/39853
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39853/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39853/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39853/events
https://github.com/pandas-dev/pandas/issues/39853
809,706,637
MDU6SXNzdWU4MDk3MDY2Mzc=
39,853
BUG: array ufuncs with more than 2 inputs fails with 2 or more pd.Series and scalar arguments
{ "avatar_url": "https://avatars.githubusercontent.com/u/868027?v=4", "events_url": "https://api.github.com/users/DocOtak/events{/privacy}", "followers_url": "https://api.github.com/users/DocOtak/followers", "following_url": "https://api.github.com/users/DocOtak/following{/other_user}", "gists_url": "https://api.github.com/users/DocOtak/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DocOtak", "id": 868027, "login": "DocOtak", "node_id": "MDQ6VXNlcjg2ODAyNw==", "organizations_url": "https://api.github.com/users/DocOtak/orgs", "received_events_url": "https://api.github.com/users/DocOtak/received_events", "repos_url": "https://api.github.com/users/DocOtak/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DocOtak/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DocOtak/subscriptions", "type": "User", "url": "https://api.github.com/users/DocOtak" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "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" } ]
open
false
null
[]
null
6
2021-02-16T22:51:52Z
2021-11-02T00:59:56Z
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. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example (note that this requires the gsw library to be installed) ```python >>> import gsw >>> import pandas as pd >>> gsw.SA_from_SP(pd.Series([30,30,30]), pd.Series([1000,1000,1000]), 0, 0) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/abarna/.pyenv/versions/gsw/lib/python3.8/site-packages/gsw/_utilities.py", line 62, in wrapper ret = f(*newargs, **kw) File "/Users/abarna/.pyenv/versions/gsw/lib/python3.8/site-packages/gsw/_wrapped_ufuncs.py", line 3245, in SA_from_SP return _gsw_ufuncs.sa_from_sp(SP, p, lon, lat) File "/Users/abarna/.pyenv/versions/gsw/lib/python3.8/site-packages/pandas/core/generic.py", line 1935, in __array_ufunc__ return arraylike.array_ufunc(self, ufunc, method, *inputs, **kwargs) File "/Users/abarna/.pyenv/versions/gsw/lib/python3.8/site-packages/pandas/core/arraylike.py", line 284, in array_ufunc raise NotImplementedError( NotImplementedError: Cannot apply ufunc <ufunc 'sa_from_sp'> to mixed DataFrame and Series inputs. ``` #### Problem description My group uses pandas with the [gsw](https://github.com/TEOS-10/GSW-Python) library to do some oceanographic calculations. gsw provides ufuncs to do these calculations. When more than one pd.Series is mixed with the scalar arguments at the end, it results in the NotImplementedError you see above. Also, gsw library itself was only recently updated to defer to the input's `__array_ufunc__` method if it is present. #### Expected Output This is the result of some manual broadcasting: ```python >>> gsw.SA_from_SP(pd.Series([30,30,30]), pd.Series([1000,1000,1000]), pd.Series([0, 0, 0]), pd.Series([0, 0, 0])) 0 30.145599 1 30.145599 2 30.145599 dtype: float64 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 7d32926db8f7541c356066dcadabf854487738de python : 3.8.2.final.0 python-bits : 64 OS : Darwin OS-release : 20.3.0 Version : Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : en_US.UTF-8 LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.2 numpy : 1.20.1 pytz : 2021.1 dateutil : 2.8.1 pip : 19.2.3 setuptools : 41.2.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+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/39853/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39853/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39854
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39854/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39854/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39854/events
https://github.com/pandas-dev/pandas/issues/39854
809,709,990
MDU6SXNzdWU4MDk3MDk5OTA=
39,854
CI: 3.8 numpy_dev build failing recently
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2021-03-02T08:40:51Z", "closed_issues": 49, "created_at": "2021-02-07T13:58:05Z", "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.2.x\r\n\r\n", "due_on": "2021-03-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/83", "id": 6402340, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels", "node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==", "number": 83, "open_issues": 0, "state": "closed", "title": "1.2.3", "updated_at": "2021-03-02T17:15:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83" }
5
2021-02-16T22:58:37Z
2021-02-17T20:10:19Z
2021-02-17T20:10:19Z
CONTRIBUTOR
null
https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=54353&view=logs&j=eab14f69-13b6-5db7-daeb-7b778629410b&t=ce687173-08c6-5301-838d-71b2dda24510 ``` 2021-02-16T22:44:34.3078267Z =================================== FAILURES =================================== 2021-02-16T22:44:34.3078772Z ___________________ TestTableOrientReader.test_comprehensive ___________________ 2021-02-16T22:44:34.3079881Z [gw1] linux -- Python 3.8.5 /home/vsts/miniconda3/envs/pandas-dev/bin/python 2021-02-16T22:44:34.3080157Z 2021-02-16T22:44:34.3080536Z self = <pandas.tests.io.json.test_json_table_schema.TestTableOrientReader object at 0x7f8908515790> 2021-02-16T22:44:34.3080847Z 2021-02-16T22:44:34.3081136Z def test_comprehensive(self): 2021-02-16T22:44:34.3081478Z df = DataFrame( 2021-02-16T22:44:34.3081758Z { 2021-02-16T22:44:34.3082075Z "A": [1, 2, 3, 4], 2021-02-16T22:44:34.3082433Z "B": ["a", "b", "c", "c"], 2021-02-16T22:44:34.3083091Z "C": pd.date_range("2016-01-01", freq="d", periods=4), 2021-02-16T22:44:34.3083753Z # 'D': pd.timedelta_range('1H', periods=4, freq='T'), 2021-02-16T22:44:34.3084228Z "E": pd.Series(pd.Categorical(["a", "b", "c", "c"])), 2021-02-16T22:44:34.3084712Z "F": pd.Series(pd.Categorical(["a", "b", "c", "c"], ordered=True)), 2021-02-16T22:44:34.3085138Z "G": [1.1, 2.2, 3.3, 4.4], 2021-02-16T22:44:34.3085802Z "H": pd.date_range("2016-01-01", freq="d", periods=4, tz="US/Central"), 2021-02-16T22:44:34.3086267Z "I": [True, False, False, True], 2021-02-16T22:44:34.3086608Z }, 2021-02-16T22:44:34.3086937Z index=pd.Index(range(4), name="idx"), 2021-02-16T22:44:34.3087246Z ) 2021-02-16T22:44:34.3087499Z 2021-02-16T22:44:34.3087786Z > out = df.to_json(orient="table") 2021-02-16T22:44:34.3087971Z 2021-02-16T22:44:34.3088300Z pandas/tests/io/json/test_json_table_schema.py:772: 2021-02-16T22:44:34.3088746Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 2021-02-16T22:44:34.3089152Z pandas/core/generic.py:2499: in to_json 2021-02-16T22:44:34.3089486Z return json.to_json( 2021-02-16T22:44:34.3090018Z pandas/io/json/_json.py:115: in to_json 2021-02-16T22:44:34.3090343Z s = writer( 2021-02-16T22:44:34.3090703Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 2021-02-16T22:44:34.3090961Z 2021-02-16T22:44:34.3091280Z self = <pandas.io.json._json.JSONTableWriter object at 0x7f8908515f40> 2021-02-16T22:44:34.3091597Z 2021-02-16T22:44:34.3091857Z def write(self): 2021-02-16T22:44:34.3092200Z iso_dates = self.date_format == "iso" 2021-02-16T22:44:34.3092519Z > return dumps( 2021-02-16T22:44:34.3092827Z self.obj_to_write, 2021-02-16T22:44:34.3093139Z orient=self.orient, 2021-02-16T22:44:34.3093492Z double_precision=self.double_precision, 2021-02-16T22:44:34.3093853Z ensure_ascii=self.ensure_ascii, 2021-02-16T22:44:34.3094287Z date_unit=self.date_unit, 2021-02-16T22:44:34.3094747Z iso_dates=iso_dates, 2021-02-16T22:44:34.3095093Z default_handler=self.default_handler, 2021-02-16T22:44:34.3095449Z indent=self.indent, 2021-02-16T22:44:34.3095724Z ) 2021-02-16T22:44:34.3096244Z E DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python. 2021-02-16T22:44:34.3096661Z 2021-02-16T22:44:34.3096974Z pandas/io/json/_json.py:177: DeprecationWarning ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39854/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39854/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39855
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39855/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39855/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39855/events
https://github.com/pandas-dev/pandas/pull/39855
809,801,442
MDExOlB1bGxSZXF1ZXN0NTc0NjAwNTg2
39,855
REF/POC: DTBlock/TDBlock backed directly by DTA/TDA
{ "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" }
[]
closed
false
null
[]
null
0
2021-02-17T02:34:51Z
2021-02-17T03:04:59Z
2021-02-17T03:04:59Z
MEMBER
null
Remaining kludges in pytables and nanargminmax
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39855/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39855/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39855.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39855", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/39855.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39855" }
https://api.github.com/repos/pandas-dev/pandas/issues/39856
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39856/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39856/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39856/events
https://github.com/pandas-dev/pandas/pull/39856
809,829,080
MDExOlB1bGxSZXF1ZXN0NTc0NjIyNTY1
39,856
CLN: assorted cleanups
{ "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": "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": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2021-02-17T03:51:45Z
2021-02-21T17:23:36Z
2021-02-21T17:16:21Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] 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/39856/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39856/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39856.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39856", "merged_at": "2021-02-21T17:16:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39856.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39856" }
https://api.github.com/repos/pandas-dev/pandas/issues/39857
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39857/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39857/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39857/events
https://github.com/pandas-dev/pandas/issues/39857
809,862,249
MDU6SXNzdWU4MDk4NjIyNDk=
39,857
BUG: read_csv() does not read all the lines in a tsv file
{ "avatar_url": "https://avatars.githubusercontent.com/u/17016778?v=4", "events_url": "https://api.github.com/users/vincent6liu/events{/privacy}", "followers_url": "https://api.github.com/users/vincent6liu/followers", "following_url": "https://api.github.com/users/vincent6liu/following{/other_user}", "gists_url": "https://api.github.com/users/vincent6liu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vincent6liu", "id": 17016778, "login": "vincent6liu", "node_id": "MDQ6VXNlcjE3MDE2Nzc4", "organizations_url": "https://api.github.com/users/vincent6liu/orgs", "received_events_url": "https://api.github.com/users/vincent6liu/received_events", "repos_url": "https://api.github.com/users/vincent6liu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vincent6liu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vincent6liu/subscriptions", "type": "User", "url": "https://api.github.com/users/vincent6liu" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "be21f2", "default": false, "description": "May be closeable, needs more eyeballs", "id": 2365504893, "name": "Closing Candidate", "node_id": "MDU6TGFiZWwyMzY1NTA0ODkz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate" } ]
closed
false
null
[]
null
4
2021-02-17T05:17:30Z
2021-05-12T22:14:30Z
2021-05-12T22:14:30Z
NONE
null
**Code Sample, a copy-pastable example if possible** `snps_df = pd.read_csv('cast_chr7_snps.txt', sep='\t', header=None)` [cast_chr7_snps.txt](https://github.com/pandas-dev/pandas/files/5993376/cast_chr7_snps.txt) **Problem description** `pd.read_csv` doesn't read the entire file (30219 of the 30423 rows). I double-checked and don't think there are empty lines in the file. Setting `skip_blank_lines=True` doesn't change the result. I manually checked some of the lines missed, and they all seem consistent with other lines. Output of `pd.show_versions()` INSTALLED VERSIONS ------------------ commit : 9d598a5e1eee26df95b3910e3f2934890d062caa python : 3.8.3.final.0 python-bits : 64 OS : Darwin OS-release : 20.3.0 Version : Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~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.2.1 numpy : 1.19.1 pytz : 2021.1 dateutil : 2.8.1 pip : None setuptools : 52.0.0.post20210125 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.3 IPython : 7.17.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.4 numexpr : None odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.0 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 2.0.1 xlwt : None numba : 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/39857/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39857/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39858
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39858/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39858/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39858/events
https://github.com/pandas-dev/pandas/pull/39858
809,873,299
MDExOlB1bGxSZXF1ZXN0NTc0NjU5MTk4
39,858
DOC: Update matplotlib canonical
{ "avatar_url": "https://avatars.githubusercontent.com/u/1562854?v=4", "events_url": "https://api.github.com/users/jklymak/events{/privacy}", "followers_url": "https://api.github.com/users/jklymak/followers", "following_url": "https://api.github.com/users/jklymak/following{/other_user}", "gists_url": "https://api.github.com/users/jklymak/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jklymak", "id": 1562854, "login": "jklymak", "node_id": "MDQ6VXNlcjE1NjI4NTQ=", "organizations_url": "https://api.github.com/users/jklymak/orgs", "received_events_url": "https://api.github.com/users/jklymak/received_events", "repos_url": "https://api.github.com/users/jklymak/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jklymak/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jklymak/subscriptions", "type": "User", "url": "https://api.github.com/users/jklymak" }
[ { "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": "2021-03-02T08:40:51Z", "closed_issues": 49, "created_at": "2021-02-07T13:58:05Z", "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.2.x\r\n\r\n", "due_on": "2021-03-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/83", "id": 6402340, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels", "node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==", "number": 83, "open_issues": 0, "state": "closed", "title": "1.2.3", "updated_at": "2021-03-02T17:15:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83" }
1
2021-02-17T05:41:48Z
2021-02-17T20:10:54Z
2021-02-17T20:09:31Z
CONTRIBUTOR
null
Please see https://discourse.matplotlib.org/t/canonical-documentation-have-moved/21863
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39858/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39858/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39858.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39858", "merged_at": "2021-02-17T20:09:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39858.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39858" }
https://api.github.com/repos/pandas-dev/pandas/issues/39859
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39859/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39859/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39859/events
https://github.com/pandas-dev/pandas/issues/39859
809,889,961
MDU6SXNzdWU4MDk4ODk5NjE=
39,859
DOC: add button to edit on GitHub
{ "avatar_url": "https://avatars.githubusercontent.com/u/86842?v=4", "events_url": "https://api.github.com/users/afeld/events{/privacy}", "followers_url": "https://api.github.com/users/afeld/followers", "following_url": "https://api.github.com/users/afeld/following{/other_user}", "gists_url": "https://api.github.com/users/afeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/afeld", "id": 86842, "login": "afeld", "node_id": "MDQ6VXNlcjg2ODQy", "organizations_url": "https://api.github.com/users/afeld/orgs", "received_events_url": "https://api.github.com/users/afeld/received_events", "repos_url": "https://api.github.com/users/afeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/afeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/afeld/subscriptions", "type": "User", "url": "https://api.github.com/users/afeld" }
[ { "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": "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": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
open
false
null
[]
null
9
2021-02-17T06:13:54Z
2021-08-21T14:48:32Z
null
MEMBER
null
#### Location of the documentation https://pandas.pydata.org/docs/ #### Documentation problem I'll write it as a user story: _As a pandas user, when I come across a small problem with the documentation (like a typo), I want to be able to suggest a fix with minimal friction._ Currently, contributors need to search the repository to find the corresponding source file. #### Suggested fix for documentation Having an "Edit this page on GitHub" button would help people contribute to documentation quickly. A couple of resources explaining how to do this with Sphinx: - https://mg.pov.lt/blog/sphinx-edit-on-github.html - https://gist.github.com/mgedmin/6052926 Could limit to non-API pages to keep things simple. Possible it makes more sense to do this in [the theme](https://github.com/pydata/pydata-sphinx-theme).
{ "+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/39859/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39859/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39860
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39860/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39860/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39860/events
https://github.com/pandas-dev/pandas/issues/39860
809,985,742
MDU6SXNzdWU4MDk5ODU3NDI=
39,860
BUG: read_json() converts non-existent fields in text 'NaN'
{ "avatar_url": "https://avatars.githubusercontent.com/u/4362131?v=4", "events_url": "https://api.github.com/users/Rutrus/events{/privacy}", "followers_url": "https://api.github.com/users/Rutrus/followers", "following_url": "https://api.github.com/users/Rutrus/following{/other_user}", "gists_url": "https://api.github.com/users/Rutrus/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Rutrus", "id": 4362131, "login": "Rutrus", "node_id": "MDQ6VXNlcjQzNjIxMzE=", "organizations_url": "https://api.github.com/users/Rutrus/orgs", "received_events_url": "https://api.github.com/users/Rutrus/received_events", "repos_url": "https://api.github.com/users/Rutrus/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Rutrus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Rutrus/subscriptions", "type": "User", "url": "https://api.github.com/users/Rutrus" }
[ { "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
2
2021-02-17T08:55:04Z
2021-02-17T14:38:37Z
2021-02-17T14:35:48Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- I am reading a big JSON file with json in lines: `pandas.read_json("big_file.json", chunksize=20, lines=True)` - There are some extra keys in some lines, so non-existent keys are converted to NaN. - Dtype is object - I discovered it when I was trying to save into database because it fails to convert 'NaN' to JSON_ARRAY() - `dataframe.fillna('value')` is not working with that value - NaN is considered non-null (text) ``` RangeIndex: 20 entries, 40 to 59 Data columns (total 6 columns): # Column Non-Null Count Dtype --- ------ -------------- ----- 0 t_list 20 non-null object ... ``` #### Output of ``pd.show_versions()`` <details> ``` INSTALLED VERSIONS ------------------ commit : 7d32926db8f7541c356066dcadabf854487738de python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-65-generic Version : #73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.2 numpy : 1.20.1 pytz : 2021.1 dateutil : 2.7.3 pip : 21.0.1 setuptools : 45.2.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : 1.0.2 psycopg2 : None jinja2 : 2.11.3 IPython : 7.20.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : None sqlalchemy : 1.3.23 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/39860/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39860/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39861
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39861/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39861/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39861/events
https://github.com/pandas-dev/pandas/pull/39861
809,996,244
MDExOlB1bGxSZXF1ZXN0NTc0NzU5MjI0
39,861
[POC] PERF: 1d version of the cython grouped aggregation algorithms
{ "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": "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": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
43
2021-02-17T09:10:05Z
2021-04-26T08:19:54Z
2021-04-26T08:19:54Z
MEMBER
null
For now, this is just a small example to open discussion about how to tackle this topic (not meant for merging). Context: for a columnar dataframe (with ArrayManager), we would also perform the groupby operations column by column (instead of on the 2D blocks). Most of our custom cython aggregation algorithms are currently written for 2D arrays (eg `group_add`, `group_mean`, etc. I think only the fill/shift/any/all are 1D). But by being 2D, that means they have some performance penalty when using it for a single column. Experiment: I copied the implementation for "mean" and made a 1D version of it (exactly the same code, but removing one `for` loop over the columns, and simplifying the indices to index into 1D arrays instead of 2D arrays). And with that did some timings to see the impact: ```python N = 1_000_000 df = pd.DataFrame(np.random.randn(N, 10), columns=list("abcdefghij")) df["key"] = np.random.randint(0, 100, size=N) # below I am manually doing the aggregation part for one column of the following groupby operation expected = df.groupby("key").mean() ``` Using the existing 2D algorithm on a single column: ```python codes, uniques = pd.factorize(df["key"], sort=True) out_shape = (len(uniques), 1) out_dtype = "float64" values = df[['a']]._mgr.blocks[0].values.T result = np.empty(out_shape, out_dtype) result.fill(np.nan) counts = np.zeros(len(uniques), dtype=np.int64) pd._libs.groupby.group_mean_float64(result, counts, values, codes, min_count=-1) ``` Using the new 1D version: ```python out_shape1d = (len(uniques),) out_dtype = "float64" values1d = df['a']._mgr.blocks[0].values.copy() result1d = np.empty(out_shape1d, out_dtype) result1d.fill(np.nan) counts = np.zeros(len(uniques), dtype=np.int64) pd._libs.groupby.group_mean_1d_float64(result1d, counts, values1d, codes, min_count=-1) ``` Ensure that both give the same result: ``` In [4]: np.allclose(result.squeeze(), expected['a'].values) Out[4]: True In [5]: np.allclose(result1d, expected['a'].values) Out[5]: True ``` And timings for both: ``` In [8]: %%timeit ...: result = np.empty(out_shape, out_dtype) ...: result.fill(np.nan) ...: counts = np.zeros(len(uniques), dtype=np.int64) ...: pd._libs.groupby.group_mean_float64(result, counts, values, codes, min_count=-1) 4.15 ms ± 54.9 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) In [9]: %%timeit ...: result1d = np.empty(out_shape1d, out_dtype) ...: result1d.fill(np.nan) ...: counts = np.zeros(len(uniques), dtype=np.int64) ...: pd._libs.groupby.group_mean_1d_float64(result1d, counts, values1d, codes, min_count=-1) 2.62 ms ± 38.5 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) ``` So for a single column, the 1D version is ca 30-40% faster (increasing the size of the array with 10x, I also get 40% faster). Some notes: - The actual aggregation is only a part of the full groupby operation. But for sufficiently large data, it becomes the most significant portion. E.g. for the `df.groupby("key").mean()` example above, the `group_mean` takes ca 1.5x the time of the factorization step (that's for multiple columns, though, when profiling it for grouping a single column, the ratio becomes the other way around: ca 38% in group_mean and ca 62% in factorization) - If we want to have an optimized groupby for the ArrayManager-backed dataframe, I think we will need those 1D versions of the cython algos. Of course, what I currently did here would give a huge duplication in code (and also not easily templateable or so) on the short term. xref https://github.com/pandas-dev/pandas/issues/39146
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39861/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39861/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39861.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39861", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/39861.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39861" }
https://api.github.com/repos/pandas-dev/pandas/issues/39862
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39862/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39862/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39862/events
https://github.com/pandas-dev/pandas/issues/39862
810,041,253
MDU6SXNzdWU4MTAwNDEyNTM=
39,862
BUG: Docs website is blocked by google safe browsing
{ "avatar_url": "https://avatars.githubusercontent.com/u/3329124?v=4", "events_url": "https://api.github.com/users/nylocx/events{/privacy}", "followers_url": "https://api.github.com/users/nylocx/followers", "following_url": "https://api.github.com/users/nylocx/following{/other_user}", "gists_url": "https://api.github.com/users/nylocx/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nylocx", "id": 3329124, "login": "nylocx", "node_id": "MDQ6VXNlcjMzMjkxMjQ=", "organizations_url": "https://api.github.com/users/nylocx/orgs", "received_events_url": "https://api.github.com/users/nylocx/received_events", "repos_url": "https://api.github.com/users/nylocx/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nylocx/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nylocx/subscriptions", "type": "User", "url": "https://api.github.com/users/nylocx" }
[ { "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": "23ef97", "default": false, "description": "pandas website", "id": 1508144531, "name": "Web", "node_id": "MDU6TGFiZWwxNTA4MTQ0NTMx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Web" } ]
closed
false
null
[]
null
48
2021-02-17T10:10:15Z
2021-04-27T07:57:56Z
2021-04-27T07:57:56Z
NONE
null
I hope it's ok to skip the template as this is not a direct code bug but a website bug. Sorry for the german locales, but I guess the message is pretty clear anyways. The pandas docs are blocked by google safe browsing service. ![image](https://user-images.githubusercontent.com/3329124/108188866-64d49180-7110-11eb-8b42-b67adddd4db3.png) Hope this can be clarified quickly as there will be a a lot of support lines in companies running hot ;).
{ "+1": 21, "-1": 0, "confused": 1, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 22, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39862/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39862/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39863
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39863/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39863/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39863/events
https://github.com/pandas-dev/pandas/issues/39863
810,333,300
MDU6SXNzdWU4MTAzMzMzMDA=
39,863
DOC: fixup link for lookup example
{ "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": "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": "2021-03-02T08:40:51Z", "closed_issues": 49, "created_at": "2021-02-07T13:58:05Z", "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.2.x\r\n\r\n", "due_on": "2021-03-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/83", "id": 6402340, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels", "node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==", "number": 83, "open_issues": 0, "state": "closed", "title": "1.2.3", "updated_at": "2021-03-02T17:15:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83" }
4
2021-02-17T16:22:55Z
2021-02-18T10:46:35Z
2021-02-17T20:56:47Z
MEMBER
null
#### Location of the documentation https://pandas.pydata.org/pandas-docs/dev/reference/api/pandas.DataFrame.lookup.html?highlight=lookup#pandas.DataFrame.lookup #### Documentation problem It says > For an example see lookup() in the user guide. but the hyperlink doesn't send to the user guide #### Suggested fix for documentation link to https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#looking-up-values-by-index-column-labels instead
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39863/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39863/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39864
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39864/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39864/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39864/events
https://github.com/pandas-dev/pandas/pull/39864
810,364,460
MDExOlB1bGxSZXF1ZXN0NTc1MDY4MjMx
39,864
Update offsets.pyx
{ "avatar_url": "https://avatars.githubusercontent.com/u/7954786?v=4", "events_url": "https://api.github.com/users/Pawel-Kranzberg/events{/privacy}", "followers_url": "https://api.github.com/users/Pawel-Kranzberg/followers", "following_url": "https://api.github.com/users/Pawel-Kranzberg/following{/other_user}", "gists_url": "https://api.github.com/users/Pawel-Kranzberg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Pawel-Kranzberg", "id": 7954786, "login": "Pawel-Kranzberg", "node_id": "MDQ6VXNlcjc5NTQ3ODY=", "organizations_url": "https://api.github.com/users/Pawel-Kranzberg/orgs", "received_events_url": "https://api.github.com/users/Pawel-Kranzberg/received_events", "repos_url": "https://api.github.com/users/Pawel-Kranzberg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Pawel-Kranzberg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Pawel-Kranzberg/subscriptions", "type": "User", "url": "https://api.github.com/users/Pawel-Kranzberg" }
[]
closed
false
null
[]
null
0
2021-02-17T17:00:10Z
2021-02-17T17:13:07Z
2021-02-17T17:13:07Z
NONE
null
Fixes to year, quarter and month offsets. - [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] 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/39864/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39864/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39864.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39864", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/39864.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39864" }
https://api.github.com/repos/pandas-dev/pandas/issues/39865
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39865/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39865/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39865/events
https://github.com/pandas-dev/pandas/pull/39865
810,395,433
MDExOlB1bGxSZXF1ZXN0NTc1MDk0MjY2
39,865
TYP: @final for Block methods
{ "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": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2021-02-17T17:39:09Z
2021-02-21T17:23:00Z
2021-02-21T17:21:14Z
MEMBER
null
small optimization removing ndim kwarg from make_block_same_class
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39865/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39865/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39865.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39865", "merged_at": "2021-02-21T17:21:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39865.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39865" }
https://api.github.com/repos/pandas-dev/pandas/issues/39866
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39866/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39866/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39866/events
https://github.com/pandas-dev/pandas/issues/39866
810,402,156
MDU6SXNzdWU4MTA0MDIxNTY=
39,866
Wrong date math
{ "avatar_url": "https://avatars.githubusercontent.com/u/141126?v=4", "events_url": "https://api.github.com/users/gordio/events{/privacy}", "followers_url": "https://api.github.com/users/gordio/followers", "following_url": "https://api.github.com/users/gordio/following{/other_user}", "gists_url": "https://api.github.com/users/gordio/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gordio", "id": 141126, "login": "gordio", "node_id": "MDQ6VXNlcjE0MTEyNg==", "organizations_url": "https://api.github.com/users/gordio/orgs", "received_events_url": "https://api.github.com/users/gordio/received_events", "repos_url": "https://api.github.com/users/gordio/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gordio/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gordio/subscriptions", "type": "User", "url": "https://api.github.com/users/gordio" }
[ { "color": "be21f2", "default": false, "description": "May be closeable, needs more eyeballs", "id": 2365504893, "name": "Closing Candidate", "node_id": "MDU6TGFiZWwyMzY1NTA0ODkz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate" } ]
closed
false
null
[]
null
2
2021-02-17T17:48:26Z
2021-02-28T13:07:13Z
2021-02-28T13:07:13Z
NONE
null
Explanation: ``` d = pd.Timestamp('2017-10-31T00:00:00+00:00') d -= pd.DateOffset(months=1) d += pd.DateOffset(months=1) assert d == pd.Timestamp('2017-10-31T00:00:00+00:00'), f"Date '{d}' is not as expected" ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39866/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39866/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39867
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39867/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39867/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39867/events
https://github.com/pandas-dev/pandas/pull/39867
810,409,044
MDExOlB1bGxSZXF1ZXN0NTc1MTA1NjQx
39,867
[WIP] ENH: Groupby mode
{ "avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4", "events_url": "https://api.github.com/users/lithomas1/events{/privacy}", "followers_url": "https://api.github.com/users/lithomas1/followers", "following_url": "https://api.github.com/users/lithomas1/following{/other_user}", "gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lithomas1", "id": 47963215, "login": "lithomas1", "node_id": "MDQ6VXNlcjQ3OTYzMjE1", "organizations_url": "https://api.github.com/users/lithomas1/orgs", "received_events_url": "https://api.github.com/users/lithomas1/received_events", "repos_url": "https://api.github.com/users/lithomas1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions", "type": "User", "url": "https://api.github.com/users/lithomas1" }
[ { "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": "547c03", "default": false, "description": "sum, mean, min, max, etc.", "id": 2365504383, "name": "Reduction Operations", "node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations" } ]
closed
false
null
[]
null
2
2021-02-17T17:57:51Z
2021-04-14T18:59:47Z
2021-04-14T18:59:47Z
MEMBER
null
- [x] closes #19254 - [ ] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry Proof of concept for #19254 Is relatively fast compared to @rhshadrach method ``` In [4]: %timeit df.groupby("a").mode() 2.52 ms ± 415 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) In [5]: %timeit df.groupby("a").mode() 1.99 ms ± 60.4 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) In [6]: %timeit gb_mode(df, ['a'], 'b') 3.9 ms ± 310 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) In [7]: %timeit gb_mode(df, ['a'], 'b') 3.8 ms ± 270 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) In [8]: %timeit gb_mode(df, ['a'], 'b') 3.89 ms ± 433 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) ``` API for what to do when multimodal needs discussion though.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39867/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39867/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39867.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39867", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/39867.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39867" }
https://api.github.com/repos/pandas-dev/pandas/issues/39868
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39868/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39868/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39868/events
https://github.com/pandas-dev/pandas/pull/39868
810,411,607
MDExOlB1bGxSZXF1ZXN0NTc1MTA3NzM4
39,868
CI: filter json DeprecationWarning
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "0052cc", "default": false, "description": "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": "2021-03-02T08:40:51Z", "closed_issues": 49, "created_at": "2021-02-07T13:58:05Z", "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.2.x\r\n\r\n", "due_on": "2021-03-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/83", "id": 6402340, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels", "node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==", "number": 83, "open_issues": 0, "state": "closed", "title": "1.2.3", "updated_at": "2021-03-02T17:15:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83" }
3
2021-02-17T18:01:26Z
2021-02-17T21:01:30Z
2021-02-17T20:10:20Z
MEMBER
null
- [x] closes #39854 - [ ] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry We're already using the same filter in two other places in this file.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39868/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39868/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39868.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39868", "merged_at": "2021-02-17T20:10:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39868.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39868" }
https://api.github.com/repos/pandas-dev/pandas/issues/39869
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39869/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39869/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39869/events
https://github.com/pandas-dev/pandas/pull/39869
810,430,540
MDExOlB1bGxSZXF1ZXN0NTc1MTIzMzY3
39,869
DOC: update link to user guide
{ "avatar_url": "https://avatars.githubusercontent.com/u/26514778?v=4", "events_url": "https://api.github.com/users/morrme/events{/privacy}", "followers_url": "https://api.github.com/users/morrme/followers", "following_url": "https://api.github.com/users/morrme/following{/other_user}", "gists_url": "https://api.github.com/users/morrme/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/morrme", "id": 26514778, "login": "morrme", "node_id": "MDQ6VXNlcjI2NTE0Nzc4", "organizations_url": "https://api.github.com/users/morrme/orgs", "received_events_url": "https://api.github.com/users/morrme/received_events", "repos_url": "https://api.github.com/users/morrme/repos", "site_admin": false, "starred_url": "https://api.github.com/users/morrme/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/morrme/subscriptions", "type": "User", "url": "https://api.github.com/users/morrme" }
[ { "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": "2021-03-02T08:40:51Z", "closed_issues": 49, "created_at": "2021-02-07T13:58:05Z", "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.2.x\r\n\r\n", "due_on": "2021-03-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/83", "id": 6402340, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels", "node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==", "number": 83, "open_issues": 0, "state": "closed", "title": "1.2.3", "updated_at": "2021-03-02T17:15:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83" }
5
2021-02-17T18:29:39Z
2021-02-18T10:13:36Z
2021-02-17T20:56:47Z
CONTRIBUTOR
null
- [x] closes #39863
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39869/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39869/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39869.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39869", "merged_at": "2021-02-17T20:56:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39869.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39869" }
https://api.github.com/repos/pandas-dev/pandas/issues/39870
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39870/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39870/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39870/events
https://github.com/pandas-dev/pandas/pull/39870
810,502,883
MDExOlB1bGxSZXF1ZXN0NTc1MTgzNjU5
39,870
Backport PR #39868 on branch 1.2.x (CI: filter json DeprecationWarning)
{ "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": "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": "2021-03-02T08:40:51Z", "closed_issues": 49, "created_at": "2021-02-07T13:58:05Z", "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.2.x\r\n\r\n", "due_on": "2021-03-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/83", "id": 6402340, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels", "node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==", "number": 83, "open_issues": 0, "state": "closed", "title": "1.2.3", "updated_at": "2021-03-02T17:15:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83" }
0
2021-02-17T20:11:40Z
2021-02-18T09:42:50Z
2021-02-18T09:42:50Z
NONE
null
Backport PR #39868: CI: filter json DeprecationWarning
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39870/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39870/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39870.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39870", "merged_at": "2021-02-18T09:42:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39870.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39870" }
https://api.github.com/repos/pandas-dev/pandas/issues/39871
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39871/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39871/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39871/events
https://github.com/pandas-dev/pandas/pull/39871
810,503,025
MDExOlB1bGxSZXF1ZXN0NTc1MTgzNzc3
39,871
Backport PR #39858 on branch 1.2.x (DOC: Update matplotlib canonical)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-03-02T08:40:51Z", "closed_issues": 49, "created_at": "2021-02-07T13:58:05Z", "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.2.x\r\n\r\n", "due_on": "2021-03-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/83", "id": 6402340, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels", "node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==", "number": 83, "open_issues": 0, "state": "closed", "title": "1.2.3", "updated_at": "2021-03-02T17:15:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83" }
0
2021-02-17T20:11:52Z
2021-02-18T09:38:40Z
2021-02-18T09:38:40Z
NONE
null
Backport PR #39858: DOC: Update matplotlib canonical
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39871/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39871/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39871.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39871", "merged_at": "2021-02-18T09:38:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39871.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39871" }
https://api.github.com/repos/pandas-dev/pandas/issues/39872
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39872/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39872/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39872/events
https://github.com/pandas-dev/pandas/issues/39872
810,534,328
MDU6SXNzdWU4MTA1MzQzMjg=
39,872
BUG: pandas.core.window.rolling.Rolling.std gives all-zero output for small numbers
{ "avatar_url": "https://avatars.githubusercontent.com/u/26184899?v=4", "events_url": "https://api.github.com/users/JoschD/events{/privacy}", "followers_url": "https://api.github.com/users/JoschD/followers", "following_url": "https://api.github.com/users/JoschD/following{/other_user}", "gists_url": "https://api.github.com/users/JoschD/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/JoschD", "id": 26184899, "login": "JoschD", "node_id": "MDQ6VXNlcjI2MTg0ODk5", "organizations_url": "https://api.github.com/users/JoschD/orgs", "received_events_url": "https://api.github.com/users/JoschD/received_events", "repos_url": "https://api.github.com/users/JoschD/repos", "site_admin": false, "starred_url": "https://api.github.com/users/JoschD/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JoschD/subscriptions", "type": "User", "url": "https://api.github.com/users/JoschD" }
[ { "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
5
2021-02-17T21:00:27Z
2021-02-25T10:58:29Z
2021-02-17T23:01:50Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import numpy as np import pandas as pd np.random.seed(123) pd.Series(np.random.rand(10)*1e-7).rolling(3).std() ``` #### Problem description It seems `std()` on a rolling window in pandas 1.2.2 rounds the numbers to exact `0.0` if the result would be `< 1.0e-7`. In comparison, version 1.1.2 gave the correct result. #### Expected Output Output in Pandas 1.1.2 ``` Out: 0 NaN 1 NaN 2 3.417240e-08 3 2.321842e-08 4 2.407001e-08 5 6.857074e-09 6 1.861914e-08 7 1.343953e-08 8 2.564385e-08 9 1.901245e-08 dtype: float64 ``` <details> INSTALLED VERSIONS ------------------ commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6 python : 3.7.8.final.0 python-bits : 64 OS : Linux OS-release : 5.4.72-microsoft-standard-WSL2 Version : #1 SMP Wed Oct 28 23:40:43 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : C.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.2 numpy : 1.19.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 47.1.0 Cython : None pytest : 5.4.3 hypothesis : 5.20.3 sphinx : 3.1.2 blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.1 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.16.1 pandas_datareader: None bs4 : 4.9.3 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 : 1.5.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details> #### Actual Output Output in Pandas 1.2.2 ``` Out: 0 NaN 1 NaN 2 0.0 3 0.0 4 0.0 5 0.0 6 0.0 7 0.0 8 0.0 9 0.0 dtype: float64 ``` <details> INSTALLED VERSIONS ------------------ commit : 7d32926db8f7541c356066dcadabf854487738de python : 3.7.8.final.0 python-bits : 64 OS : Linux OS-release : 5.4.72-microsoft-standard-WSL2 Version : #1 SMP Wed Oct 28 23:40:43 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : C.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.2 numpy : 1.19.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 47.1.0 Cython : None pytest : 5.4.3 hypothesis : 5.20.3 sphinx : 3.1.2 blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.1 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.16.1 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.0 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.5.1 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/39872/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39872/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39873
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39873/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39873/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39873/events
https://github.com/pandas-dev/pandas/pull/39873
810,584,332
MDExOlB1bGxSZXF1ZXN0NTc1MjUxMDg3
39,873
TST/REF: collect Index tests by method
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2021-02-17T22:24:01Z
2021-02-21T17:23:18Z
2021-02-21T17:20:16Z
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/39873/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39873/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39873.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39873", "merged_at": "2021-02-21T17:20:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39873.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39873" }
https://api.github.com/repos/pandas-dev/pandas/issues/39874
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39874/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39874/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39874/events
https://github.com/pandas-dev/pandas/issues/39874
810,589,432
MDU6SXNzdWU4MTA1ODk0MzI=
39,874
BUG: pandas.SparseDtype from pandas.CategoricalDtype fails
{ "avatar_url": "https://avatars.githubusercontent.com/u/22570664?v=4", "events_url": "https://api.github.com/users/PetarMPetrov/events{/privacy}", "followers_url": "https://api.github.com/users/PetarMPetrov/followers", "following_url": "https://api.github.com/users/PetarMPetrov/following{/other_user}", "gists_url": "https://api.github.com/users/PetarMPetrov/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/PetarMPetrov", "id": 22570664, "login": "PetarMPetrov", "node_id": "MDQ6VXNlcjIyNTcwNjY0", "organizations_url": "https://api.github.com/users/PetarMPetrov/orgs", "received_events_url": "https://api.github.com/users/PetarMPetrov/received_events", "repos_url": "https://api.github.com/users/PetarMPetrov/repos", "site_admin": false, "starred_url": "https://api.github.com/users/PetarMPetrov/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PetarMPetrov/subscriptions", "type": "User", "url": "https://api.github.com/users/PetarMPetrov" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "009800", "default": false, "description": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" }, { "color": "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" } ]
open
false
null
[]
null
0
2021-02-17T22:33:31Z
2021-03-24T14:35:23Z
null
NONE
null
#### Code `Sample` ```python import numpy as np import pandas as pd from scipy import sparse as sp_sparse # Create categorical type and sparse type from it. custom_type = pd.CategoricalDtype(categories=['Zero', 'One']) categorical_sparse_type = pd.SparseDtype(dtype=custom_type, fill_value='Zero') # Create sparse type from string type string_sparse_type = pd.SparseDtype(dtype='str', fill_value='Zero') # Dummy Data data = np.array([['Zero', 'Zero'], ['One', 'Zero']]) # Create sparse data frame from categorical sparse type categorical_sparse_df = pd.DataFrame( data=data, columns=list('AB'), ).astype(categorical_sparse_type) # Create sparse data frame from string sparse type string_sparse_df = pd.DataFrame( data=data, columns=list('AB'), ).astype(string_sparse_type) ``` The following operation causes an error . ```python dense_df = categorical_sparse_df.sparse.to_dense() ``` ```python-traceback --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-95-364b3ddaf122> in <module> ----> 1 dense_df = categorical_sparse_df.sparse.to_dense() ~/anaconda3/lib/python3.7/site-packages/pandas/core/arrays/sparse/accessor.py in to_dense(self) 302 from pandas import DataFrame 303 --> 304 data = {k: v.array.to_dense() for k, v in self._parent.items()} 305 return DataFrame(data, index=self._parent.index, columns=self._parent.columns) 306 ~/anaconda3/lib/python3.7/site-packages/pandas/core/arrays/sparse/accessor.py in <dictcomp>(.0) 302 from pandas import DataFrame 303 --> 304 data = {k: v.array.to_dense() for k, v in self._parent.items()} 305 return DataFrame(data, index=self._parent.index, columns=self._parent.columns) 306 ~/anaconda3/lib/python3.7/site-packages/pandas/core/arrays/sparse/array.py in to_dense(self) 1132 arr : NumPy array 1133 """ -> 1134 return np.asarray(self, dtype=self.sp_values.dtype) 1135 1136 _internal_get_values = to_dense ~/anaconda3/lib/python3.7/site-packages/numpy/core/_asarray.py in asarray(a, dtype, order) 83 84 """ ---> 85 return array(a, dtype, copy=False, order=order) 86 87 TypeError: data type not understood ``` In addition, the following does not raise an error, but changes the "Zero"-only column in an unexpected way when groupby is applied. ```python string_sparse_df.groupby(level=0).apply(lambda x:x) ```   | A | B -- | -- | -- 0 | Zero | Z 1 | One | Z If the dense version of the data frame is used, the outcome is as expected. ```python string_sparse_df.sparse.to_dense().groupby(level=0).apply(lambda x:x) ```   | A | B -- | -- | -- 0 | Zero | Zero 1 | One | Zero #### Problem description From the description of `pandas.SparseDtype`, my understanding is that the `dtype` argument can be of type `ExtensionDtype`, which is consistent with `CategoricalDtype`. However, doing certain operations (example above) with a sparse data frame of such type causes an `TypeError`. In addition, replacing the `CategoricalDtype` with a `str` type seems to partially fix the problem. However, it still causes issues with groupby when a column consists of only the `fill_value`. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 7d32926db8f7541c356066dcadabf854487738de python : 3.7.3.final.0 python-bits : 64 OS : Linux OS-release : 4.18.0-22-generic Version : #23~18.04.1-Ubuntu SMP Thu Jun 6 08:37:25 UTC 2019 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.2.2 numpy : 1.18.1 pytz : 2020.4 dateutil : 2.8.1 pip : 21.0.1 setuptools : 46.4.0.post20200518 Cython : 0.29.14 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 1.1.8 lxml.etree : 4.3.4 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : 4.9.0 bottleneck : 1.2.1 fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.3 numexpr : 2.7.1 odfpy : None openpyxl : 2.6.2 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.5.4 sqlalchemy : 1.3.5 tables : 3.5.2 tabulate : None xarray : 0.16.1 xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.44.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/39874/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39874/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39875
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39875/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39875/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39875/events
https://github.com/pandas-dev/pandas/pull/39875
810,614,219
MDExOlB1bGxSZXF1ZXN0NTc1Mjc1Nzc5
39,875
Improvements to yearly, quarterly and monthly offsets
{ "avatar_url": "https://avatars.githubusercontent.com/u/7954786?v=4", "events_url": "https://api.github.com/users/Pawel-Kranzberg/events{/privacy}", "followers_url": "https://api.github.com/users/Pawel-Kranzberg/followers", "following_url": "https://api.github.com/users/Pawel-Kranzberg/following{/other_user}", "gists_url": "https://api.github.com/users/Pawel-Kranzberg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Pawel-Kranzberg", "id": 7954786, "login": "Pawel-Kranzberg", "node_id": "MDQ6VXNlcjc5NTQ3ODY=", "organizations_url": "https://api.github.com/users/Pawel-Kranzberg/orgs", "received_events_url": "https://api.github.com/users/Pawel-Kranzberg/received_events", "repos_url": "https://api.github.com/users/Pawel-Kranzberg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Pawel-Kranzberg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Pawel-Kranzberg/subscriptions", "type": "User", "url": "https://api.github.com/users/Pawel-Kranzberg" }
[]
closed
false
null
[]
null
0
2021-02-17T23:24:01Z
2021-02-17T23:38:43Z
2021-02-17T23:38:43Z
NONE
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] 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/39875/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39875/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39875.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39875", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/39875.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39875" }
https://api.github.com/repos/pandas-dev/pandas/issues/39876
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39876/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39876/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39876/events
https://github.com/pandas-dev/pandas/pull/39876
810,626,009
MDExOlB1bGxSZXF1ZXN0NTc1Mjg1NTYz
39,876
TST: collect indexing tests by method
{ "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": "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": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2021-02-17T23:51:40Z
2021-02-21T19:52:00Z
2021-02-21T18:14:57Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] 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/39876/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39876/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39876.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39876", "merged_at": "2021-02-21T18:14:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39876.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39876" }
https://api.github.com/repos/pandas-dev/pandas/issues/39877
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39877/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39877/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39877/events
https://github.com/pandas-dev/pandas/issues/39877
810,630,524
MDU6SXNzdWU4MTA2MzA1MjQ=
39,877
Why .sort_values() on column containing same values shuffles entire dataframe ?
{ "avatar_url": "https://avatars.githubusercontent.com/u/16267961?v=4", "events_url": "https://api.github.com/users/artsheiko/events{/privacy}", "followers_url": "https://api.github.com/users/artsheiko/followers", "following_url": "https://api.github.com/users/artsheiko/following{/other_user}", "gists_url": "https://api.github.com/users/artsheiko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/artsheiko", "id": 16267961, "login": "artsheiko", "node_id": "MDQ6VXNlcjE2MjY3OTYx", "organizations_url": "https://api.github.com/users/artsheiko/orgs", "received_events_url": "https://api.github.com/users/artsheiko/received_events", "repos_url": "https://api.github.com/users/artsheiko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/artsheiko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/artsheiko/subscriptions", "type": "User", "url": "https://api.github.com/users/artsheiko" }
[ { "color": "be21f2", "default": false, "description": "May be closeable, needs more eyeballs", "id": 2365504893, "name": "Closing Candidate", "node_id": "MDU6TGFiZWwyMzY1NTA0ODkz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate" } ]
closed
false
null
[]
null
5
2021-02-18T00:02:41Z
2021-02-18T14:17:01Z
2021-02-18T14:17:01Z
NONE
null
``` df = pd.DataFrame({ 'col1': ['A', 'A', 'A', 'A', 'A', 'A']*15, 'col2': [1.0, 1.0, 1.0, 1.0, 1.0, 1.0]*15, 'col3': [0, 1, 9, 4, 2, 3]*15, 'col4': ['a', 'B', 'c', 'D', 'e', 'F']*15 }) df.sort_values('col2', ascending=True) ``` Why this operation disorders the entire dataframe ? The same will be produced if the function will be applied for the col1. ![image](https://user-images.githubusercontent.com/16267961/108284112-e403ad00-7184-11eb-97b2-7e26e06d1fd0.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/39877/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39877/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39878
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39878/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39878/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39878/events
https://github.com/pandas-dev/pandas/pull/39878
810,637,147
MDExOlB1bGxSZXF1ZXN0NTc1Mjk0Njk3
39,878
Cleaning yearly, quarterly and monthly date offsets
{ "avatar_url": "https://avatars.githubusercontent.com/u/7954786?v=4", "events_url": "https://api.github.com/users/Pawel-Kranzberg/events{/privacy}", "followers_url": "https://api.github.com/users/Pawel-Kranzberg/followers", "following_url": "https://api.github.com/users/Pawel-Kranzberg/following{/other_user}", "gists_url": "https://api.github.com/users/Pawel-Kranzberg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Pawel-Kranzberg", "id": 7954786, "login": "Pawel-Kranzberg", "node_id": "MDQ6VXNlcjc5NTQ3ODY=", "organizations_url": "https://api.github.com/users/Pawel-Kranzberg/orgs", "received_events_url": "https://api.github.com/users/Pawel-Kranzberg/received_events", "repos_url": "https://api.github.com/users/Pawel-Kranzberg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Pawel-Kranzberg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Pawel-Kranzberg/subscriptions", "type": "User", "url": "https://api.github.com/users/Pawel-Kranzberg" }
[ { "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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
16
2021-02-18T00:18:33Z
2021-06-16T13:27:04Z
2021-06-16T13:27:04Z
NONE
null
- Ability to use `YearBegin` and `QuarterBegin` DateOffset classes as Period `freq`, along with offset aliases. - Ability to use three-letter month short names as `month` / `startingMonth` arguments of year- / quarter-based offset classes (as already used in their `_from_name` class method). - Expanded docstrings with, e.g., additional examples. - Partial refactorization, as a step toward combining `QuarterOffset` and `YearOffset` `__init__` (mentioned as TO DO in the code). - [ ] xref #38859 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] 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/39878/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39878/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39878.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39878", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/39878.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39878" }
https://api.github.com/repos/pandas-dev/pandas/issues/39879
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39879/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39879/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39879/events
https://github.com/pandas-dev/pandas/pull/39879
810,687,840
MDExOlB1bGxSZXF1ZXN0NTc1MzM3MDA2
39,879
Revert accidental commit
{ "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" }
[]
closed
false
null
[]
null
3
2021-02-18T02:01:31Z
2021-02-18T02:18:21Z
2021-02-18T02:18:14Z
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/39879/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39879/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39879.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39879", "merged_at": "2021-02-18T02:18:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39879.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39879" }
https://api.github.com/repos/pandas-dev/pandas/issues/39880
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39880/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39880/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39880/events
https://github.com/pandas-dev/pandas/pull/39880
810,688,451
MDExOlB1bGxSZXF1ZXN0NTc1MzM3NDkx
39,880
TST: port Dim2CompatTests
{ "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": "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": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2021-02-18T02:03:01Z
2021-02-25T01:50:25Z
2021-02-25T00:36:57Z
MEMBER
null
broken off from #38992
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39880/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39880/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39880.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39880", "merged_at": "2021-02-25T00:36:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39880.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39880" }
https://api.github.com/repos/pandas-dev/pandas/issues/39881
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39881/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39881/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39881/events
https://github.com/pandas-dev/pandas/issues/39881
810,731,813
MDU6SXNzdWU4MTA3MzE4MTM=
39,881
BUG: `df.combine_first` duplicates rows for nan index values
{ "avatar_url": "https://avatars.githubusercontent.com/u/7367411?v=4", "events_url": "https://api.github.com/users/ssche/events{/privacy}", "followers_url": "https://api.github.com/users/ssche/followers", "following_url": "https://api.github.com/users/ssche/following{/other_user}", "gists_url": "https://api.github.com/users/ssche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ssche", "id": 7367411, "login": "ssche", "node_id": "MDQ6VXNlcjczNjc0MTE=", "organizations_url": "https://api.github.com/users/ssche/orgs", "received_events_url": "https://api.github.com/users/ssche/received_events", "repos_url": "https://api.github.com/users/ssche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ssche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ssche/subscriptions", "type": "User", "url": "https://api.github.com/users/ssche" }
[ { "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": "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": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "cdea3c", "default": false, "description": "Unit test(s) needed to prevent regressions", "id": 986278782, "name": "Needs Tests", "node_id": "MDU6TGFiZWw5ODYyNzg3ODI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests" } ]
closed
false
null
[]
{ "closed_at": 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" }
5
2021-02-18T03:47:39Z
2021-08-17T13:13:49Z
2021-08-17T13:13:49Z
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. (the issue sounds familiar, but I couldn't find it anywhere...) - [ ] (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 >>> df1 = pd.DataFrame({'a': [1, 2, 3], 'b': [np.nan, 5, 6], 'x': [9, 10, 11]}) >>> df1_ = df1.set_index(['a', 'b']) >>> df1_ x a b 1 NaN 9 2 5.0 10 3 6.0 11 >>> df2 = pd.DataFrame({'a': [1, 2, 4], 'b': [np.nan, 5, 7], 'y': [12, 13, 14]}) >>> df2_ = df2.set_index(['a', 'b']) >>> df2_ y a b 1 NaN 12 2 5.0 13 4 7.0 14 >>> df1_.combine_first(df2_) x y a b 1 NaN 9.0 12.0 NaN 9.0 12.0 <--- duplicated row 2 5.0 10.0 13.0 3 6.0 11.0 NaN 4 7.0 NaN 14.0 ``` #### Problem description When combining two DataFrames with overlapping indices, the indices, which contain `nan` values but are otherwise identical, are duplicated. The problem doesn't occur when the `nan` values are substituted with say `-1`. #### Expected Output ```python >>> df1_.combine_first(df2_) x y a b 1 NaN 9.0 12.0 2 5.0 10.0 13.0 3 6.0 11.0 NaN 4 7.0 NaN 14.0 ``` It is expected that `combine_first` detects that the index `[1, NaN]` exists in both dataframes and thus does not duplicate this row in the resulting dataframe. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 7d32926db8f7541c356066dcadabf854487738de python : 3.8.7.final.0 python-bits : 64 OS : Darwin OS-release : 19.6.0 Version : Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_AU.UTF-8 LOCALE : en_AU.UTF-8 pandas : 1.2.2 numpy : 1.19.4 pytz : 2020.4 dateutil : 2.8.1 pip : 20.2.3 setuptools : 46.4.0 Cython : 0.29.21 pytest : 5.1.1 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 0.9.6 lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.3 (dt dec pq3 ext lo64) jinja2 : 2.11.2 IPython : 7.16.1 pandas_datareader: None bs4 : None bottleneck : 1.3.1 fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.0 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : 1.0.1 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.12 tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 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/39881/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39881/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39882
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39882/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39882/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39882/events
https://github.com/pandas-dev/pandas/issues/39882
810,915,761
MDU6SXNzdWU4MTA5MTU3NjE=
39,882
BUG: InvalidIndexError: Reindexing only valid with uniquely valued Index objects on to_datetime
{ "avatar_url": "https://avatars.githubusercontent.com/u/16292862?v=4", "events_url": "https://api.github.com/users/jafournier/events{/privacy}", "followers_url": "https://api.github.com/users/jafournier/followers", "following_url": "https://api.github.com/users/jafournier/following{/other_user}", "gists_url": "https://api.github.com/users/jafournier/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jafournier", "id": 16292862, "login": "jafournier", "node_id": "MDQ6VXNlcjE2MjkyODYy", "organizations_url": "https://api.github.com/users/jafournier/orgs", "received_events_url": "https://api.github.com/users/jafournier/received_events", "repos_url": "https://api.github.com/users/jafournier/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jafournier/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jafournier/subscriptions", "type": "User", "url": "https://api.github.com/users/jafournier" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2021-02-18T09:21:54Z
2021-04-20T22:49:55Z
2021-04-20T22:49:55Z
NONE
null
#### Problem description I am expriencing a weird bug while trying to convert a list to datetime. Here is a bug repro: ```python import pandas as pd s = pd.Series([None, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.Timestamp('2016-06-07 20:07:42'), pd.NaT, pd.Timestamp('2016-05-04 20:09:22'), pd.Timestamp('2016-04-12 20:07:40'), pd.Timestamp('2016-03-30 20:10:39'), pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.Timestamp('2015-12-18 20:14:06'), pd.Timestamp('2015-12-15 20:07:59'), pd.Timestamp('2015-11-17 20:09:31'), pd.Timestamp('2015-11-05 20:10:41'), pd.Timestamp('2015-10-29 20:12:12'), pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.Timestamp('2015-07-20 20:10:23'), pd.Timestamp('2015-06-16 20:07:24'), pd.Timestamp('2015-05-28 20:09:39'), pd.NaT, pd.NaT, pd.Timestamp('2015-04-15 20:12:54'), pd.NaT, pd.NaT, pd.NaT, pd.Timestamp('2015-02-20 20:12:07'), pd.Timestamp('2014-12-29 20:04:30'), pd.Timestamp('2014-12-15 20:09:24'), pd.NaT, pd.NaT, pd.Timestamp('2014-11-17 20:03:56'), pd.NaT, pd.Timestamp('2014-10-14 20:04:47'), pd.NaT, pd.NaT, pd.NaT, pd.NaT, pd.Timestamp('2014-08-21 20:06:15'), pd.NaT, pd.Timestamp('2012-07-26 00:10:29')], dtype="object") pd.to_datetime(s, errors="coerce") ``` What I got is : ``` InvalidIndexError: Reindexing only valid with uniquely valued Index objects ``` Testing on other example, the behavior is working as expected: ```python import pandas as pd s = pd.Series([None, pd.NaT, pd.Timestamp('2014-11-17 20:03:56')], dtype="object") pd.to_datetime(s, errors="coerce") ``` gives me ``` 0 NaT 1 NaT 2 2014-11-17 20:03:56 dtype: datetime64[ns] ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 7d32926db8f7541c356066dcadabf854487738de python : 3.7.4.final.0 python-bits : 64 OS : Darwin OS-release : 19.6.0 Version : Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : en_US.UTF-8 LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.2 numpy : 1.19.4 pytz : 2020.4 dateutil : 2.8.1 pip : 20.2.4 setuptools : 40.8.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : None IPython : 7.19.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : 0.8.5 fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 2.0.0 pyxlsb : None s3fs : 0.2.2 scipy : 1.5.4 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 2.0.1 xlwt : None numba : None </details> Info while scrolling a bit with pdb: ``` > /Users/jfournier/.pyenv/versions/3.7.4/lib/python3.7/site-packages/pandas/core/tools/datetimes.py(803)to_datetime() 801 cache_array = _maybe_cache(arg, format, cache, convert_listlike) 802 if not cache_array.empty: --> 803 result = arg.map(cache_array) 804 else: 805 values = convert_listlike(arg._values, format) ipdb> cache_array NaT NaT NaT NaT 2016-06-07 20:07:42 2016-06-07 20:07:42 2016-05-04 20:09:22 2016-05-04 20:09:22 2016-04-12 20:07:40 2016-04-12 20:07:40 2016-03-30 20:10:39 2016-03-30 20:10:39 2015-12-18 20:14:06 2015-12-18 20:14:06 2015-12-15 20:07:59 2015-12-15 20:07:59 2015-11-17 20:09:31 2015-11-17 20:09:31 2015-11-05 20:10:41 2015-11-05 20:10:41 2015-10-29 20:12:12 2015-10-29 20:12:12 2015-07-20 20:10:23 2015-07-20 20:10:23 2015-06-16 20:07:24 2015-06-16 20:07:24 2015-05-28 20:09:39 2015-05-28 20:09:39 2015-04-15 20:12:54 2015-04-15 20:12:54 2015-02-20 20:12:07 2015-02-20 20:12:07 2014-12-29 20:04:30 2014-12-29 20:04:30 2014-12-15 20:09:24 2014-12-15 20:09:24 2014-11-17 20:03:56 2014-11-17 20:03:56 2014-10-14 20:04:47 2014-10-14 20:04:47 2014-08-21 20:06:15 2014-08-21 20:06:15 2012-07-26 00:10:29 2012-07-26 00:10:29 dtype: datetime64[ns] ``` it seems that there is a deduplication which distinguishes `None` from `NaT`, then `None` got converted to `NaT`, and ultimately the `self.is_unique` check fails as `NaT` is present twice
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39882/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39882/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39883
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39883/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39883/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39883/events
https://github.com/pandas-dev/pandas/pull/39883
810,952,928
MDExOlB1bGxSZXF1ZXN0NTc1NTU4MDA0
39,883
Backport PR #39869 on branch 1.2.x (DOC: update link to user guide)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-03-02T08:40:51Z", "closed_issues": 49, "created_at": "2021-02-07T13:58:05Z", "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.2.x\r\n\r\n", "due_on": "2021-03-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/83", "id": 6402340, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels", "node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==", "number": 83, "open_issues": 0, "state": "closed", "title": "1.2.3", "updated_at": "2021-03-02T17:15:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83" }
0
2021-02-18T10:10:27Z
2021-02-18T13:14:47Z
2021-02-18T13:14:46Z
NONE
null
Backport PR #39869: DOC: update link to 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/39883/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39883/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39883.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39883", "merged_at": "2021-02-18T13:14:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39883.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39883" }
https://api.github.com/repos/pandas-dev/pandas/issues/39884
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39884/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39884/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39884/events
https://github.com/pandas-dev/pandas/pull/39884
811,096,313
MDExOlB1bGxSZXF1ZXN0NTc1Njc5NzEw
39,884
CLN: remove redundant code related to Styler
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "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": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
2021-02-18T13:24:27Z
2021-02-19T06:11:37Z
2021-02-19T01:32:02Z
CONTRIBUTOR
null
`non_reducing_slice` is performed within the `apply` so no need to execute twice. `maybe_numeric_slice` is a convoluted wrapper for selecting numeric columns so removed.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39884/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39884/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39884.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39884", "merged_at": "2021-02-19T01:32:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39884.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39884" }
https://api.github.com/repos/pandas-dev/pandas/issues/39885
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39885/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39885/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39885/events
https://github.com/pandas-dev/pandas/pull/39885
811,156,448
MDExOlB1bGxSZXF1ZXN0NTc1NzMwMTEy
39,885
[ArrayManager] GroupBy cython aggregations (no fallback)
{ "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
12
2021-02-18T14:35:58Z
2021-02-25T17:49:00Z
2021-02-25T13:29:09Z
MEMBER
null
xref https://github.com/pandas-dev/pandas/issues/39146/ This implements one aspect of groupby: basic cython-based aggregations (so not yet general apply, python fallback, or other methods, etc, only the basic aggregations that take the `_cython_agg_general` path). Similarly to how we currently have a `_cython_agg_blocks`, this PR adds an equivalent `_cython_agg_arrays` which calls the cython operation on each column instead of each block.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39885/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39885/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39885.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39885", "merged_at": "2021-02-25T13:29:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39885.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39885" }
https://api.github.com/repos/pandas-dev/pandas/issues/39886
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39886/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39886/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39886/events
https://github.com/pandas-dev/pandas/pull/39886
811,200,879
MDExOlB1bGxSZXF1ZXN0NTc1NzY3NDc0
39,886
correction to get time interpolation correct
{ "avatar_url": "https://avatars.githubusercontent.com/u/7228177?v=4", "events_url": "https://api.github.com/users/oricou/events{/privacy}", "followers_url": "https://api.github.com/users/oricou/followers", "following_url": "https://api.github.com/users/oricou/following{/other_user}", "gists_url": "https://api.github.com/users/oricou/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/oricou", "id": 7228177, "login": "oricou", "node_id": "MDQ6VXNlcjcyMjgxNzc=", "organizations_url": "https://api.github.com/users/oricou/orgs", "received_events_url": "https://api.github.com/users/oricou/received_events", "repos_url": "https://api.github.com/users/oricou/repos", "site_admin": false, "starred_url": "https://api.github.com/users/oricou/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/oricou/subscriptions", "type": "User", "url": "https://api.github.com/users/oricou" }
[ { "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
[]
null
4
2021-02-18T15:24:43Z
2021-04-11T01:30:13Z
2021-04-11T01:30:13Z
NONE
null
- [ ] closes #21351 - [ ] One test does not pass and I don't know why
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39886/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39886/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39886.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39886", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/39886.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39886" }
https://api.github.com/repos/pandas-dev/pandas/issues/39887
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39887/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39887/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39887/events
https://github.com/pandas-dev/pandas/pull/39887
811,266,195
MDExOlB1bGxSZXF1ZXN0NTc1ODIyNzA2
39,887
BUG: Breaking change to offsets.pyx - MonthOffset
{ "avatar_url": "https://avatars.githubusercontent.com/u/7954786?v=4", "events_url": "https://api.github.com/users/Pawel-Kranzberg/events{/privacy}", "followers_url": "https://api.github.com/users/Pawel-Kranzberg/followers", "following_url": "https://api.github.com/users/Pawel-Kranzberg/following{/other_user}", "gists_url": "https://api.github.com/users/Pawel-Kranzberg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Pawel-Kranzberg", "id": 7954786, "login": "Pawel-Kranzberg", "node_id": "MDQ6VXNlcjc5NTQ3ODY=", "organizations_url": "https://api.github.com/users/Pawel-Kranzberg/orgs", "received_events_url": "https://api.github.com/users/Pawel-Kranzberg/received_events", "repos_url": "https://api.github.com/users/Pawel-Kranzberg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Pawel-Kranzberg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Pawel-Kranzberg/subscriptions", "type": "User", "url": "https://api.github.com/users/Pawel-Kranzberg" }
[ { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
10
2021-02-18T16:37:04Z
2021-08-17T00:29:22Z
2021-08-17T00:29:21Z
NONE
null
Add ability to use class `MonthBegin` as a period. It would address #38914 and #38859. - [ ] closes #38914 #38859 - [x] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [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/39887/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39887/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39887.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39887", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/39887.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39887" }
https://api.github.com/repos/pandas-dev/pandas/issues/39888
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39888/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39888/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39888/events
https://github.com/pandas-dev/pandas/issues/39888
811,274,798
MDU6SXNzdWU4MTEyNzQ3OTg=
39,888
BUG: Relative luminance calc in Styler is wrong (and out of date)
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2021-02-18T16:46:55Z
2021-02-21T18:05:08Z
2021-02-21T18:05:08Z
CONTRIBUTOR
null
The relative luminance calculation is described here: https://www.w3.org/WAI/GL/wiki/Relative_luminance. RL is used by `Styler.background_gradient()` to determine text-color against background but the calculation is wrongly coded. In addition a new errata posted suggests that a scalar should be changed (albeit this has minimal impact). The greatest change is had through the re-engineered calculation. See below for before and after. ![Screen Shot 2021-02-18 at 17 41 17](https://user-images.githubusercontent.com/24256554/108390583-1bb83680-7211-11eb-90b1-cffc4daa4c2d.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/39888/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39888/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39889
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39889/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39889/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39889/events
https://github.com/pandas-dev/pandas/pull/39889
811,277,675
MDExOlB1bGxSZXF1ZXN0NTc1ODMyNDAw
39,889
BUG: Bg gradient map text color fix
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "006b75", "default": false, "description": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2021-02-18T16:50:29Z
2021-02-22T10:41:18Z
2021-02-21T18:05:08Z
CONTRIBUTOR
null
- [x] closes #39888
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39889/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39889/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39889.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39889", "merged_at": "2021-02-21T18:05:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39889.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39889" }
https://api.github.com/repos/pandas-dev/pandas/issues/39890
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39890/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39890/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39890/events
https://github.com/pandas-dev/pandas/pull/39890
811,291,703
MDExOlB1bGxSZXF1ZXN0NTc1ODQ0MTE4
39,890
BUG: Breaking change to offsets.pyx - quarter offset classes
{ "avatar_url": "https://avatars.githubusercontent.com/u/7954786?v=4", "events_url": "https://api.github.com/users/Pawel-Kranzberg/events{/privacy}", "followers_url": "https://api.github.com/users/Pawel-Kranzberg/followers", "following_url": "https://api.github.com/users/Pawel-Kranzberg/following{/other_user}", "gists_url": "https://api.github.com/users/Pawel-Kranzberg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Pawel-Kranzberg", "id": 7954786, "login": "Pawel-Kranzberg", "node_id": "MDQ6VXNlcjc5NTQ3ODY=", "organizations_url": "https://api.github.com/users/Pawel-Kranzberg/orgs", "received_events_url": "https://api.github.com/users/Pawel-Kranzberg/received_events", "repos_url": "https://api.github.com/users/Pawel-Kranzberg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Pawel-Kranzberg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Pawel-Kranzberg/subscriptions", "type": "User", "url": "https://api.github.com/users/Pawel-Kranzberg" }
[ { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
13
2021-02-18T17:07:42Z
2021-08-17T00:30:49Z
2021-08-17T00:30:49Z
NONE
null
Set default months for `BQuarterEnd`, `BQuarterBegin`, `QuarterEnd`, `QuarterBegin` classes in order; rename `startingMonth` parameter to `month` for those classes. Addresses #8435 and #5307 - [ ] closes #8435 #5307 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] 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/39890/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39890/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39890.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39890", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/39890.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39890" }
https://api.github.com/repos/pandas-dev/pandas/issues/39891
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39891/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39891/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39891/events
https://github.com/pandas-dev/pandas/pull/39891
811,346,643
MDExOlB1bGxSZXF1ZXN0NTc1ODkwMTY2
39,891
TST/REF: share pytables dateutil/pytz tests
{ "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": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2021-02-18T18:19:04Z
2021-02-18T23:50:20Z
2021-02-18T22:24:03Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] 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/39891/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39891/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39891.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39891", "merged_at": "2021-02-18T22:24:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39891.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39891" }
https://api.github.com/repos/pandas-dev/pandas/issues/39892
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39892/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39892/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39892/events
https://github.com/pandas-dev/pandas/pull/39892
811,353,381
MDExOlB1bGxSZXF1ZXN0NTc1ODk1Nzgy
39,892
REF: de-duplicate block_shape vs safe_reshape
{ "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": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2021-02-18T18:28:43Z
2021-02-19T01:44:00Z
2021-02-19T01:04:37Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] 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/39892/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39892/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39892.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39892", "merged_at": "2021-02-19T01:04:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39892.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39892" }
https://api.github.com/repos/pandas-dev/pandas/issues/39893
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39893/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39893/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39893/events
https://github.com/pandas-dev/pandas/pull/39893
811,356,402
MDExOlB1bGxSZXF1ZXN0NTc1ODk4MzE2
39,893
REF: share fillna TDBlock/DTBlock
{ "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": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2021-02-18T18:33:10Z
2021-02-19T01:42:22Z
2021-02-19T01:02:55Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] 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/39893/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39893/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39893.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39893", "merged_at": "2021-02-19T01:02:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39893.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39893" }
https://api.github.com/repos/pandas-dev/pandas/issues/39894
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39894/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39894/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39894/events
https://github.com/pandas-dev/pandas/issues/39894
811,415,537
MDU6SXNzdWU4MTE0MTU1Mzc=
39,894
Using 'openpyxl' engine to write in a Excel file - Handles Problem
{ "avatar_url": "https://avatars.githubusercontent.com/u/43258060?v=4", "events_url": "https://api.github.com/users/Moinch/events{/privacy}", "followers_url": "https://api.github.com/users/Moinch/followers", "following_url": "https://api.github.com/users/Moinch/following{/other_user}", "gists_url": "https://api.github.com/users/Moinch/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Moinch", "id": 43258060, "login": "Moinch", "node_id": "MDQ6VXNlcjQzMjU4MDYw", "organizations_url": "https://api.github.com/users/Moinch/orgs", "received_events_url": "https://api.github.com/users/Moinch/received_events", "repos_url": "https://api.github.com/users/Moinch/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Moinch/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Moinch/subscriptions", "type": "User", "url": "https://api.github.com/users/Moinch" }
[]
closed
false
null
[]
null
0
2021-02-18T20:01:34Z
2021-02-18T20:34:13Z
2021-02-18T20:34:13Z
NONE
null
I am having issue putting the writer.save()/writer.close() handles in the right place. I have tried it like this but this wont put the pivot tables to the excel sheet. what can i do to fix this? ``` import openpyxl import pandas as pd import numpy as np from openpyxl.workbook import Workbook wb = openpyxl.load_workbook("Test.xlsx") wb.create_sheet("Results") wb.create_sheet("sumPiv") Results = wb.get_sheet_by_name('Results') sumPiv = wb.get_sheet_by_name('sumPiv') Results['A3'] = 'Weekly Average Spend' Results['A4'] = 'Cost Per Trip' Results['A5'] = 'Average Trips Per Week' Results['A6'] = 'Total Spend' wb.create_sheet('SQLPiv') df3 = pd.read_excel("Test.xlsx","SQL") SqlPiv = pd.pivot_table(df3,index = ['Ship_Date_Year' , 'Ship_Date_Weeknum'], values = ['Customer_Amt_Excl_Fuel'], aggfunc = ('sum'), margins = True) with pd.ExcelWriter('Test.xlsx', engine="openpyxl", mode="a") as writer: SqlPiv.to_excel(writer, sheet_name="SQLPiv") df4 = pd.read_excel("Test.xlsx","SQL") Costpiv = pd.pivot_table(df4,index = ['Ship_Date_Year'], values = ['Customer_Amt_Excl_Fuel'], aggfunc = ('sum'), margins = True) with pd.ExcelWriter('Test.xlsx', engine="openpyxl", mode="a") as writer: Costpiv.to_excel(writer, sheet_name="sumPiv") writer.save() writer.close() wb.save('Test.xlsx') print(wb.get_sheet_names()) print("DONE") ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39894/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39894/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39895
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39895/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39895/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39895/events
https://github.com/pandas-dev/pandas/issues/39895
811,458,886
MDU6SXNzdWU4MTE0NTg4ODY=
39,895
BUG: groupby dropna=False doesn't work for multi index columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/17277714?v=4", "events_url": "https://api.github.com/users/deepers/events{/privacy}", "followers_url": "https://api.github.com/users/deepers/followers", "following_url": "https://api.github.com/users/deepers/following{/other_user}", "gists_url": "https://api.github.com/users/deepers/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/deepers", "id": 17277714, "login": "deepers", "node_id": "MDQ6VXNlcjE3Mjc3NzE0", "organizations_url": "https://api.github.com/users/deepers/orgs", "received_events_url": "https://api.github.com/users/deepers/received_events", "repos_url": "https://api.github.com/users/deepers/repos", "site_admin": false, "starred_url": "https://api.github.com/users/deepers/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deepers/subscriptions", "type": "User", "url": "https://api.github.com/users/deepers" }
[ { "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" } ]
open
false
null
[]
null
1
2021-02-18T21:09:13Z
2021-08-15T18:29: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. --- #### Code Sample ```python In [1]: df = pd.DataFrame(dict(a=[nan], b=[0], c=[1])) In [2]: df a b c 0 NaN 0 1 # groupby drops groups with null by default In [3]: df.groupby(['a', 'b']).first() Empty DataFrame Columns: [c] Index: [] # pass dropna=False to keep groups with nulls In [4]: df.groupby(['a', 'b'], dropna=False).first() c a b NaN 0 1 # This doesn't work if the groups are in a multi index. In [5]: df.set_index(['a', 'b']).groupby(['a', 'b'], dropna=False).first() Empty DataFrame Columns: [c] Index: [] ``` #### Problem description It seems like setting `dropna=False` in `groupby` doesn't work when the group columns are part of a multi index. I'm not sure if this is intentional, but it is certainly confusing. #### Expected Output I would expect the output of [5] above to match that of [4]. #### Output of ``pd.show_versions()`` <details> ```json { "system": { "commit": "7d32926db8f7541c356066dcadabf854487738de", "python": "3.8.5.final.0", "python-bits": 64, "OS": "Linux", "OS-release": "5.4.0-1035-aws", "Version": "#37-Ubuntu SMP Wed Jan 6 21:01:57 UTC 2021", "machine": "x86_64", "processor": "x86_64", "byteorder": "little", "LC_ALL": "C.UTF-8", "LANG": "C.UTF-8", "LOCALE": { "language-code": "en_US", "encoding": "UTF-8" } }, "dependencies": { "pandas": "1.2.2", "numpy": "1.20.1", "pytz": "2021.1", "dateutil": "2.8.1", "pip": "20.3.3", "setuptools": "51.3.3", "Cython": null, "pytest": null, "hypothesis": null, "sphinx": null, "blosc": null, "feather": null, "xlsxwriter": null, "lxml.etree": null, "html5lib": null, "pymysql": null, "psycopg2": null, "jinja2": null, "IPython": "7.20.0", "pandas_datareader": null, "bs4": "4.9.3", "bottleneck": null, "fsspec": null, "fastparquet": "0.5.0", "gcsfs": null, "matplotlib": null, "numexpr": null, "odfpy": null, "openpyxl": null, "pandas_gbq": null, "pyarrow": "3.0.0", "pyxlsb": null, "s3fs": null, "scipy": null, "sqlalchemy": null, "tables": null, "tabulate": null, "xarray": null, "xlrd": null, "xlwt": null, "numba": "0.52.0" } } ``` </details>
{ "+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/39895/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39895/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39896
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39896/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39896/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39896/events
https://github.com/pandas-dev/pandas/issues/39896
811,487,979
MDU6SXNzdWU4MTE0ODc5Nzk=
39,896
BUG: Ignore_index on concat does not ignore index
{ "avatar_url": "https://avatars.githubusercontent.com/u/23381596?v=4", "events_url": "https://api.github.com/users/mvirag2000/events{/privacy}", "followers_url": "https://api.github.com/users/mvirag2000/followers", "following_url": "https://api.github.com/users/mvirag2000/following{/other_user}", "gists_url": "https://api.github.com/users/mvirag2000/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mvirag2000", "id": 23381596, "login": "mvirag2000", "node_id": "MDQ6VXNlcjIzMzgxNTk2", "organizations_url": "https://api.github.com/users/mvirag2000/orgs", "received_events_url": "https://api.github.com/users/mvirag2000/received_events", "repos_url": "https://api.github.com/users/mvirag2000/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mvirag2000/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mvirag2000/subscriptions", "type": "User", "url": "https://api.github.com/users/mvirag2000" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
2
2021-02-18T21:40:02Z
2021-04-17T21:37:09Z
2021-02-28T12:59:59Z
NONE
null
I have this line of code which works fine in pandas 1.1.5 but not in 1.2.2: `vintable = pd.concat([vintable, data], join='inner', ignore_index=True)` I expect this to concatenate the rows, inner-join the columns, and then reindex - which it used to do in December. But now I get this error: "Reindexing only valid with uniquely valued Index objects." As I read the docs, it should not be looking at the index at all. So, I am fine sticking with 1.1.5 but I think is a bug ... TIA
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39896/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39896/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39897
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39897/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39897/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39897/events
https://github.com/pandas-dev/pandas/pull/39897
811,511,801
MDExOlB1bGxSZXF1ZXN0NTc2MDI5NzEx
39,897
TYP: indexes/base.py
{ "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": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2021-02-18T22:17:10Z
2021-02-21T21:52:10Z
2021-02-21T18:02:11Z
CONTRIBUTOR
null
Add types to `pandas/core/indexes/base.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/39897/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39897/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39897.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39897", "merged_at": "2021-02-21T18:02:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39897.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39897" }
https://api.github.com/repos/pandas-dev/pandas/issues/39898
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39898/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39898/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39898/events
https://github.com/pandas-dev/pandas/issues/39898
811,564,009
MDU6SXNzdWU4MTE1NjQwMDk=
39,898
BUG: dtype ignored in pd.read_excel
{ "avatar_url": "https://avatars.githubusercontent.com/u/599745?v=4", "events_url": "https://api.github.com/users/mvacher/events{/privacy}", "followers_url": "https://api.github.com/users/mvacher/followers", "following_url": "https://api.github.com/users/mvacher/following{/other_user}", "gists_url": "https://api.github.com/users/mvacher/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mvacher", "id": 599745, "login": "mvacher", "node_id": "MDQ6VXNlcjU5OTc0NQ==", "organizations_url": "https://api.github.com/users/mvacher/orgs", "received_events_url": "https://api.github.com/users/mvacher/received_events", "repos_url": "https://api.github.com/users/mvacher/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mvacher/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mvacher/subscriptions", "type": "User", "url": "https://api.github.com/users/mvacher" }
[ { "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": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "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
6
2021-02-18T23:52:45Z
2021-08-15T18:31:20Z
2021-08-15T18:31:13Z
NONE
null
I'm trying to read an excel file with pd.read_excel(). The excel file has 2 columns Date and Time and I want to read both columns as str not the excel dtype. Example of the excel file [test1.xlsx](https://github.com/pandas-dev/pandas/files/6006593/test1.xlsx) When using the dtype or the converters arguments the dtype of the columns remain the same ``` df = pd.read_excel('xls_test.xlsx', dtype={'Date':str,'Time':str}) df.dtypes Date object Time object dtype: object ``` ``` df.head() Date Time 0 2020-03-08 00:00:00 10:00:00 1 2020-03-09 00:00:00 11:00:00 2 2020-03-10 00:00:00 12:00:00 3 2020-03-11 00:00:00 13:00:00 4 2020-03-12 00:00:00 14:00:00 ``` Same thing when using converters ``` df = pd.read_excel('xls_test.xlsx', converters={'Date':str,'Time':str}) df.dtypes Date object Time object dtype: object ``` ``` df.head() Date Time 0 2020-03-08 00:00:00 10:00:00 1 2020-03-09 00:00:00 11:00:00 2 2020-03-10 00:00:00 12:00:00 3 2020-03-11 00:00:00 13:00:00 4 2020-03-12 00:00:00 14:00:00 ``` I have also tried to use other engine but the result is always the same. ### pd.show_versions() ``` INSTALLED VERSIONS ------------------ commit : 7d32926db8f7541c356066dcadabf854487738de python : 3.8.5.final.0 python-bits : 64 OS : Darwin OS-release : 20.2.0 Version : Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_AU.UTF-8 LOCALE : en_AU.UTF-8 pandas : 1.2.2 numpy : 1.20.1 pytz : 2020.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 50.3.1.post20201107 Cython : 0.29.21 pytest : 6.1.1 hypothesis : None sphinx : 3.2.1 blosc : None feather : None xlsxwriter : 1.3.7 lxml.etree : 4.6.1 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 0.8.3 fastparquet : None gcsfs : None matplotlib : 3.3.2 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.6 pandas_gbq : None pyarrow : None pyxlsb : 1.0.8 s3fs : None scipy : 1.5.2 sqlalchemy : 1.3.20 tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.52.0 ``` This seems too obvious to be an unreported bug and I apologise if the problem comes from my side.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39898/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39898/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39899
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39899/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39899/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39899/events
https://github.com/pandas-dev/pandas/issues/39899
811,591,723
MDU6SXNzdWU4MTE1OTE3MjM=
39,899
BUG: pandas.DataFrame.compare causes loss of accuracy for big ints
{ "avatar_url": "https://avatars.githubusercontent.com/u/4433420?v=4", "events_url": "https://api.github.com/users/yuhan-wang/events{/privacy}", "followers_url": "https://api.github.com/users/yuhan-wang/followers", "following_url": "https://api.github.com/users/yuhan-wang/following{/other_user}", "gists_url": "https://api.github.com/users/yuhan-wang/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yuhan-wang", "id": 4433420, "login": "yuhan-wang", "node_id": "MDQ6VXNlcjQ0MzM0MjA=", "organizations_url": "https://api.github.com/users/yuhan-wang/orgs", "received_events_url": "https://api.github.com/users/yuhan-wang/received_events", "repos_url": "https://api.github.com/users/yuhan-wang/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yuhan-wang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yuhan-wang/subscriptions", "type": "User", "url": "https://api.github.com/users/yuhan-wang" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
open
false
null
[]
null
4
2021-02-19T00:53:20Z
2021-03-31T04:39:59Z
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 # Your code here import pandas as pd left = pd.DataFrame({'a':[1567808378753000000], 'b':[0]}) right = pd.DataFrame({'a':[1567808378753274000], 'b':[0]}) print(left.compare(right)) ``` #### Problem description The current output is ``` a self other 0 1567808378752999936 1567808378753274112 ``` which differs from the values in the original dataframe. [this should explain **why** the current behaviour is a problem and why the expected output is a better solution] #### Expected Output a self other 0 1567808378753000000 1567808378753274000 #### 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 : 7d32926db8f7541c356066dcadabf854487738de python : 3.8.7.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-1036-gcp Version : #39-Ubuntu SMP Thu Jan 14 18:41:17 UTC 2021 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.2.2 numpy : 1.20.1 pytz : 2021.1 dateutil : 2.8.1 pip : 19.3.1 setuptools : 49.2.1 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.22 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/39899/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39899/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39900
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39900/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39900/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39900/events
https://github.com/pandas-dev/pandas/pull/39900
811,669,550
MDExOlB1bGxSZXF1ZXN0NTc2MTYwMjc1
39,900
REF: consolidate paths for astype
{ "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2021-02-19T04:15:49Z
2021-02-19T18:35:41Z
2021-02-19T18:32:12Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] 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/39900/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39900/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39900.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39900", "merged_at": "2021-02-19T18:32:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39900.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39900" }
https://api.github.com/repos/pandas-dev/pandas/issues/39901
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39901/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39901/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39901/events
https://github.com/pandas-dev/pandas/pull/39901
811,670,178
MDExOlB1bGxSZXF1ZXN0NTc2MTYwODA2
39,901
TST: unnecessary check_stacklevel=False
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "0052cc", "default": false, "description": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2021-02-19T04:17:04Z
2021-02-19T15:45:38Z
2021-02-19T14:22:19Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] 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/39901/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39901/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39901.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39901", "merged_at": "2021-02-19T14:22:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39901.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39901" }
https://api.github.com/repos/pandas-dev/pandas/issues/39902
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39902/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39902/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39902/events
https://github.com/pandas-dev/pandas/pull/39902
811,832,014
MDExOlB1bGxSZXF1ZXN0NTc2Mjk4OTQw
39,902
STYLE keep local imports relative
{ "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
2021-02-19T08:54:25Z
2021-02-19T12:33:16Z
2021-02-19T12:33:16Z
MEMBER
null
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them xref [this comment](https://github.com/pandas-dev/pandas/pull/39561#discussion_r575644482): > > more generally, i like relative imports for same-directory as it clarified dependency structure > > +1, I also find this helpful. I think it should certainly be doable to have a check that relative imports are never outside the local directory @jorisvandenbossche @jbrockmendel is this what you had in mind? Like this, imports in the same folder are relative, and those outside are absolute. So, for example, in `pandas/_testing/_io.py`: - `from pandas.io.common import urlopen` stays absolute - `from pandas._testing.contexts import ensure_clean` becomes `from .contexts import ensure_clean`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39902/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39902/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39902.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39902", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/39902.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39902" }
https://api.github.com/repos/pandas-dev/pandas/issues/39903
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39903/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39903/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39903/events
https://github.com/pandas-dev/pandas/issues/39903
811,872,951
MDU6SXNzdWU4MTE4NzI5NTE=
39,903
BUG: Inconsistency in df.sum when strings are present in column values
{ "avatar_url": "https://avatars.githubusercontent.com/u/47276342?v=4", "events_url": "https://api.github.com/users/gurukiran07/events{/privacy}", "followers_url": "https://api.github.com/users/gurukiran07/followers", "following_url": "https://api.github.com/users/gurukiran07/following{/other_user}", "gists_url": "https://api.github.com/users/gurukiran07/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gurukiran07", "id": 47276342, "login": "gurukiran07", "node_id": "MDQ6VXNlcjQ3Mjc2MzQy", "organizations_url": "https://api.github.com/users/gurukiran07/orgs", "received_events_url": "https://api.github.com/users/gurukiran07/received_events", "repos_url": "https://api.github.com/users/gurukiran07/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gurukiran07/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gurukiran07/subscriptions", "type": "User", "url": "https://api.github.com/users/gurukiran07" }
[ { "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": "547c03", "default": false, "description": "sum, mean, min, max, etc.", "id": 2365504383, "name": "Reduction Operations", "node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations" }, { "color": "120491", "default": false, "description": "Identifying/Dropping nuisance columns in reductions, groupby.add, DataFrame.apply", "id": 2365523662, "name": "Nuisance Columns", "node_id": "MDU6TGFiZWwyMzY1NTIzNjYy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nuisance%20Columns" } ]
open
false
null
[]
null
1
2021-02-19T09:50:26Z
2021-08-15T18:34:57Z
null
CONTRIBUTOR
null
- [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example From [StackOverflow question posted by Usal](https://stackoverflow.com/q/66274713/12416453) ```python df=pd.DataFrame({'Col1':[1, '-','-'], 'Col2':['-','-',2]}) df.sum(axis=1) # 0 0.0 # 1 0.0 # 2 0.0 # dtype: float64 df.sum(axis=0) # Series([], dtype: float64) ``` #### Problem description Inconsistent output when same operation i.e. `df.sum` is applied over axis 0 and 1. #### Expected Output ``` df.sum(axis=0) # Col1 0.0 # Col2 0.0 # dtype: float64 df.sum(axis=1) # 0 0.0 # 1 0.0 # 2 0.0 # dtype: float64 ``` #### Output of ``pd.show_versions()`` <details> <pre><code> INSTALLED VERSIONS ------------------ commit : 7d32926db8f7541c356066dcadabf854487738de python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.8.0-43-generic Version : #49~20.04.1-Ubuntu SMP Fri Feb 5 09:57:56 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_IN LOCALE : en_IN.ISO8859-1 pandas : 1.2.2 numpy : 1.19.5 pytz : 2019.3 dateutil : 2.7.3 pip : 20.0.2 setuptools : 45.2.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.10.1 IPython : 7.13.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.1.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </code></pre> </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/39903/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39903/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39904
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39904/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39904/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39904/events
https://github.com/pandas-dev/pandas/issues/39904
811,894,956
MDU6SXNzdWU4MTE4OTQ5NTY=
39,904
BUG: DataFrame construction with columns argument set to a MultiIndex creates an empty DataFrame.
{ "avatar_url": "https://avatars.githubusercontent.com/u/5946712?v=4", "events_url": "https://api.github.com/users/DriesSchaumont/events{/privacy}", "followers_url": "https://api.github.com/users/DriesSchaumont/followers", "following_url": "https://api.github.com/users/DriesSchaumont/following{/other_user}", "gists_url": "https://api.github.com/users/DriesSchaumont/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DriesSchaumont", "id": 5946712, "login": "DriesSchaumont", "node_id": "MDQ6VXNlcjU5NDY3MTI=", "organizations_url": "https://api.github.com/users/DriesSchaumont/orgs", "received_events_url": "https://api.github.com/users/DriesSchaumont/received_events", "repos_url": "https://api.github.com/users/DriesSchaumont/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DriesSchaumont/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DriesSchaumont/subscriptions", "type": "User", "url": "https://api.github.com/users/DriesSchaumont" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/5946712?v=4", "events_url": "https://api.github.com/users/DriesSchaumont/events{/privacy}", "followers_url": "https://api.github.com/users/DriesSchaumont/followers", "following_url": "https://api.github.com/users/DriesSchaumont/following{/other_user}", "gists_url": "https://api.github.com/users/DriesSchaumont/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DriesSchaumont", "id": 5946712, "login": "DriesSchaumont", "node_id": "MDQ6VXNlcjU5NDY3MTI=", "organizations_url": "https://api.github.com/users/DriesSchaumont/orgs", "received_events_url": "https://api.github.com/users/DriesSchaumont/received_events", "repos_url": "https://api.github.com/users/DriesSchaumont/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DriesSchaumont/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DriesSchaumont/subscriptions", "type": "User", "url": "https://api.github.com/users/DriesSchaumont" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/5946712?v=4", "events_url": "https://api.github.com/users/DriesSchaumont/events{/privacy}", "followers_url": "https://api.github.com/users/DriesSchaumont/followers", "following_url": "https://api.github.com/users/DriesSchaumont/following{/other_user}", "gists_url": "https://api.github.com/users/DriesSchaumont/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DriesSchaumont", "id": 5946712, "login": "DriesSchaumont", "node_id": "MDQ6VXNlcjU5NDY3MTI=", "organizations_url": "https://api.github.com/users/DriesSchaumont/orgs", "received_events_url": "https://api.github.com/users/DriesSchaumont/received_events", "repos_url": "https://api.github.com/users/DriesSchaumont/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DriesSchaumont/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DriesSchaumont/subscriptions", "type": "User", "url": "https://api.github.com/users/DriesSchaumont" } ]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
9
2021-02-19T10:19:36Z
2021-04-01T07:15:40Z
2021-04-01T07:15:11Z
MEMBER
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python >>> import pandas as pd >>> from numpy import nan >>> >>> >>> column_index = pd.MultiIndex.from_product([["sample1", "sample2"], [True], [True]], ... names=["Name", "Sample_column", "Write"]) >>> table = pd.DataFrame(data={"sample1": [100.0, nan, 100.0, 10.0], ... "sample2": [80.0, 20.0, 100.0, 100.0]}) >>> table.columns = column_index >>> >>> table2 = pd.DataFrame(data={"sample1": [100.0, nan, 100.0, 10.0], ... "sample2": [80.0, 20.0, 100.0, 100.0]}, ... columns=column_index) >>> table Name sample1 sample2 Sample_column True True Write True True 0 100.0 80.0 1 NaN 20.0 2 100.0 100.0 3 10.0 100.0 >>> table2 Empty DataFrame Columns: [(sample1, True, True), (sample2, True, True)] Index: ``` #### Problem description If a MultiIndex is used to set the columns using the columns argument from the constructor, the MultiIndex is set correctly but the whole dataframe becomes empty. If the columns index is applied manually after construction by using df.columns, the dataframe does not lose its data. I think this is either a bug, or a clear warning or error message should be given why the dataframe becomes empty. #### Expected Output I expect the constructor to return a non-empty dataframe with the MultiIndex applied to the columns. The API reference mentions that is can be an 'Index or array-like', but I don't know if a MultiIndex is allowed. #### Output of ``pd.show_versions()`` <details> >>> pd.show_versions() INSTALLED VERSIONS ------------------ commit : 7d32926db8f7541c356066dcadabf854487738de python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-58-generic Version : #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.2 numpy : 1.20.1 pytz : 2021.1 dateutil : 2.8.1 pip : 20.0.2 setuptools : 44.0.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : None 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/39904/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39904/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39905
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39905/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39905/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39905/events
https://github.com/pandas-dev/pandas/issues/39905
811,921,798
MDU6SXNzdWU4MTE5MjE3OTg=
39,905
DOC: Google Chrome flags documentation pages as dangeorus
{ "avatar_url": "https://avatars.githubusercontent.com/u/113313?v=4", "events_url": "https://api.github.com/users/shaoran/events{/privacy}", "followers_url": "https://api.github.com/users/shaoran/followers", "following_url": "https://api.github.com/users/shaoran/following{/other_user}", "gists_url": "https://api.github.com/users/shaoran/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/shaoran", "id": 113313, "login": "shaoran", "node_id": "MDQ6VXNlcjExMzMxMw==", "organizations_url": "https://api.github.com/users/shaoran/orgs", "received_events_url": "https://api.github.com/users/shaoran/received_events", "repos_url": "https://api.github.com/users/shaoran/repos", "site_admin": false, "starred_url": "https://api.github.com/users/shaoran/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shaoran/subscriptions", "type": "User", "url": "https://api.github.com/users/shaoran" }
[ { "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": "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
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
3
2021-02-19T10:55:25Z
2021-02-20T11:48:24Z
2021-02-19T11:11:51Z
NONE
null
#### Location of the documentation If you go to https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.drop.html with a current Google Chrome (Version 88.0.4324.150 (Official Build) (64-bit), Linux), you get this red page ![dangerous](https://user-images.githubusercontent.com/113313/108495010-88cadb00-72a8-11eb-9eae-90b0dfd2cf3e.png) that says that the site is dangerous. Upon further inspection, you come across [this entry of the transparency report](https://transparencyreport.google.com/safe-browsing/search?url=https:%2F%2Fpandas.pydata.org%2Fpandas-docs%2Fstable%2Freference%2Fapi%2Fpandas.DataFrame.drop.html&hl=en-US) which says: > The site https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.drop.html contains harmful content, including pages that: > > * Install unwanted or malicious software on visitors’ computers > * Contain unwanted or malicious software If you tell Chrome that you understand the risks, then it displays the page but a dangerous icon is still being displayed at the URL box. A similar thing happens with Firefox (`78.7.1esr`).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39905/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39905/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39906
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39906/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39906/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39906/events
https://github.com/pandas-dev/pandas/issues/39906
811,932,640
MDU6SXNzdWU4MTE5MzI2NDA=
39,906
BUG: pd.read_csv ignores columns with only zeros
{ "avatar_url": "https://avatars.githubusercontent.com/u/9588843?v=4", "events_url": "https://api.github.com/users/JustinGuese/events{/privacy}", "followers_url": "https://api.github.com/users/JustinGuese/followers", "following_url": "https://api.github.com/users/JustinGuese/following{/other_user}", "gists_url": "https://api.github.com/users/JustinGuese/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/JustinGuese", "id": 9588843, "login": "JustinGuese", "node_id": "MDQ6VXNlcjk1ODg4NDM=", "organizations_url": "https://api.github.com/users/JustinGuese/orgs", "received_events_url": "https://api.github.com/users/JustinGuese/received_events", "repos_url": "https://api.github.com/users/JustinGuese/repos", "site_admin": false, "starred_url": "https://api.github.com/users/JustinGuese/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JustinGuese/subscriptions", "type": "User", "url": "https://api.github.com/users/JustinGuese" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
null
2
2021-02-19T11:11:08Z
2021-02-28T12:57:11Z
2021-02-28T12:57:11Z
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 columns = ["type", "symbol", "Date", "Time", "TSNumber", "Price", "Quantity", "SettlementDate", "Yield", "AccruedInterest", "ConditionCodes", "QuotationBasis", "ExchangeRate", "TradeAttributes"] df = pd.read_csv("20200803.csv",dtype = str,names=columns) ``` #### Problem description Reading in a csv file with the following line T,FMG,20200803,000000,10071068,,,20200804,,,XT,,,, results in pandas ignoring the 4th column, and matches the current column to the next value (10071068) in that case. Previous reports suggested setting the dtype to string (see https://stackoverflow.com/questions/13250046/how-to-keep-leading-zeros-in-a-column-when-reading-csv-with-pandas), which should be fine if the column is read in as "0000000", but apparently it is not. Am I missing something? Current output: -- | -- | -- | -- | -- 71068 | FMG | 20200803 | 10071068 | 20200803.0 ... #### Expected Output -- | -- | -- | -- | -- 71068 | FMG | 20200803 | 000000 | 10071068 | 20200803.0 ... #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3 python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.8.0-7642-generic Version : #47~1612288990~20.04~b8113e7-Ubuntu SMP Wed Feb 3 02:25:36 UTC 2 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.4 numpy : 1.19.4 pytz : 2020.4 dateutil : 2.8.1 pip : 20.3.3 setuptools : 51.3.3.post20210118 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.2 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : 0.5.0 gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : 3.0.6 pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : None sqlalchemy : 1.3.22 tables : None tabulate : None xarray : None xlrd : 2.0.1 xlwt : None numba : 0.52.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39906/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39906/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39907
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39907/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39907/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39907/events
https://github.com/pandas-dev/pandas/issues/39907
812,032,157
MDU6SXNzdWU4MTIwMzIxNTc=
39,907
BUG: wrong type hint for pandas.Series.droplevel
{ "avatar_url": "https://avatars.githubusercontent.com/u/11620414?v=4", "events_url": "https://api.github.com/users/sz-cgt/events{/privacy}", "followers_url": "https://api.github.com/users/sz-cgt/followers", "following_url": "https://api.github.com/users/sz-cgt/following{/other_user}", "gists_url": "https://api.github.com/users/sz-cgt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sz-cgt", "id": 11620414, "login": "sz-cgt", "node_id": "MDQ6VXNlcjExNjIwNDE0", "organizations_url": "https://api.github.com/users/sz-cgt/orgs", "received_events_url": "https://api.github.com/users/sz-cgt/received_events", "repos_url": "https://api.github.com/users/sz-cgt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sz-cgt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sz-cgt/subscriptions", "type": "User", "url": "https://api.github.com/users/sz-cgt" }
[ { "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": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
4
2021-02-19T13:39:51Z
2021-02-20T18:16:14Z
2021-02-20T18:16:14Z
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 type(pandas.Series({("a", 1): 1, ("a", 2): 2, ("b", 1): 3, ("b", 4): 4}).droplevel(level=1)) ``` #### Problem description Both the type hint for pandas.Series.droplevel() and the documentation say the function returns a DataFrame. However, it clearly returns a Series. While not a Bug per se, this does violate the Law of Least Suprise #### Output of ``pd.show_versions()`` <details> >>> pandas.show_versions() INSTALLED VERSIONS ------------------ commit : 7d32926db8f7541c356066dcadabf854487738de python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 4.19.104-microsoft-standard Version : #1 SMP Wed Feb 19 06:37:35 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : C.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.2 numpy : 1.20.1 pytz : 2021.1 dateutil : 2.8.1 pip : 20.0.2 setuptools : 44.0.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : 3.0.6 pandas_gbq : None pyarrow : 0.17.1 pyxlsb : None s3fs : None scipy : None 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/39907/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39907/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39908
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39908/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39908/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39908/events
https://github.com/pandas-dev/pandas/pull/39908
812,049,413
MDExOlB1bGxSZXF1ZXN0NTc2NDc5NzEy
39,908
[ArrowStringArray] API: StringDtype parameterized by storage (python or pyarrow)
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
39
2021-02-19T14:03:54Z
2021-06-08T14:25:20Z
2021-06-08T13:36:42Z
MEMBER
null
continuation of #36142 todo: - [x] during the merge I removed the import gymnastics from `pandas/core/arrays/string_arrow.py`. We added since `ArrowStringDtype` should always be available. I think this is no longer the case and we want to move the import checks to `StringDtype`. I expect envs without pyarrow to fail for now. - [x] `test_arrow_roundtrip` is failing. `StringDtype.__from_arrow__` needs updating. - [x] address @jorisvandenbossche comments https://github.com/pandas-dev/pandas/pull/36142#discussion_r484213504 and https://github.com/pandas-dev/pandas/pull/36142#discussion_r484213103 - [x] some other test failures `AssertionError: assert 'unknown-array' == 'string'`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39908/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39908/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39908.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39908", "merged_at": "2021-06-08T13:36:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39908.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39908" }
https://api.github.com/repos/pandas-dev/pandas/issues/39909
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39909/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39909/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39909/events
https://github.com/pandas-dev/pandas/issues/39909
812,054,322
MDU6SXNzdWU4MTIwNTQzMjI=
39,909
Pandas site marked as dangerous by Chrome
{ "avatar_url": "https://avatars.githubusercontent.com/u/42127323?v=4", "events_url": "https://api.github.com/users/ubalklen/events{/privacy}", "followers_url": "https://api.github.com/users/ubalklen/followers", "following_url": "https://api.github.com/users/ubalklen/following{/other_user}", "gists_url": "https://api.github.com/users/ubalklen/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ubalklen", "id": 42127323, "login": "ubalklen", "node_id": "MDQ6VXNlcjQyMTI3MzIz", "organizations_url": "https://api.github.com/users/ubalklen/orgs", "received_events_url": "https://api.github.com/users/ubalklen/received_events", "repos_url": "https://api.github.com/users/ubalklen/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ubalklen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ubalklen/subscriptions", "type": "User", "url": "https://api.github.com/users/ubalklen" }
[ { "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
2021-02-19T14:10:30Z
2021-02-19T14:12:33Z
2021-02-19T14:12:22Z
NONE
null
Not sure if this is the right repo to report this, but Chrome browser is now displaying a scary red warning when I try to visit Pandas docs on https://pandas.pydata.org/. ![image](https://user-images.githubusercontent.com/42127323/108514983-536fbe80-72a3-11eb-8a8a-49d075e4c49d.png) Chrome version is 88.0.4324.182.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39909/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39909/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39910
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39910/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39910/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39910/events
https://github.com/pandas-dev/pandas/issues/39910
812,059,430
MDU6SXNzdWU4MTIwNTk0MzA=
39,910
The site ahead may contain harmful programs on doc website DOC:
{ "avatar_url": "https://avatars.githubusercontent.com/u/232564?v=4", "events_url": "https://api.github.com/users/vincentdavis/events{/privacy}", "followers_url": "https://api.github.com/users/vincentdavis/followers", "following_url": "https://api.github.com/users/vincentdavis/following{/other_user}", "gists_url": "https://api.github.com/users/vincentdavis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vincentdavis", "id": 232564, "login": "vincentdavis", "node_id": "MDQ6VXNlcjIzMjU2NA==", "organizations_url": "https://api.github.com/users/vincentdavis/orgs", "received_events_url": "https://api.github.com/users/vincentdavis/received_events", "repos_url": "https://api.github.com/users/vincentdavis/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vincentdavis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vincentdavis/subscriptions", "type": "User", "url": "https://api.github.com/users/vincentdavis" }
[ { "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": "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
2021-02-19T14:17:16Z
2021-02-19T14:19:38Z
2021-02-19T14:19:38Z
CONTRIBUTOR
null
#### The site ahead may contain harmful programs https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.concat.html <img width="1439" alt="Screen Shot 2021-02-19 at 7 08 58 AM" src="https://user-images.githubusercontent.com/232564/108515589-7b025f00-7282-11eb-93e3-ad844d272c5a.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/39910/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39910/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39911
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39911/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39911/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39911/events
https://github.com/pandas-dev/pandas/issues/39911
812,083,542
MDU6SXNzdWU4MTIwODM1NDI=
39,911
BUG: DataFrame does not display as LaTeX in Jupyter when it should
{ "avatar_url": "https://avatars.githubusercontent.com/u/1882093?v=4", "events_url": "https://api.github.com/users/AllenDowney/events{/privacy}", "followers_url": "https://api.github.com/users/AllenDowney/followers", "following_url": "https://api.github.com/users/AllenDowney/following{/other_user}", "gists_url": "https://api.github.com/users/AllenDowney/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AllenDowney", "id": 1882093, "login": "AllenDowney", "node_id": "MDQ6VXNlcjE4ODIwOTM=", "organizations_url": "https://api.github.com/users/AllenDowney/orgs", "received_events_url": "https://api.github.com/users/AllenDowney/received_events", "repos_url": "https://api.github.com/users/AllenDowney/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AllenDowney/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AllenDowney/subscriptions", "type": "User", "url": "https://api.github.com/users/AllenDowney" }
[ { "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" }, { "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" }, { "color": "be21f2", "default": false, "description": "May be closeable, needs more eyeballs", "id": 2365504893, "name": "Closing Candidate", "node_id": "MDU6TGFiZWwyMzY1NTA0ODkz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate" } ]
open
false
null
[]
null
5
2021-02-19T14:49:11Z
2021-10-26T18:39:05Z
null
CONTRIBUTOR
null
- [ X] I have checked that this issue has not already been reported. - [ X] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- If you run the following in a Jupyter cell: ```python import pandas as pd pd.options.display.latex.repr = True d = {'one' : [1., 2., 3., 4.], 'two' : [4., 3., 2., 1.]} df = pd.DataFrame(d) df ``` The result is the HTML repr, as usual. But if you select a column, the Series shows the LaTeX repr, as it should. ``` df['one'] ``` But `DataFrame` has `_repr_latex_`, because this works: ``` df._repr_latex_() ``` So it seems like DataFrame is ignoring the `display.latex.repr` option. #### Problem description When `display.latex.repr` is True, DataFrames should get represented in LaTeX, not HTML. #### Expected Output ``` '\\begin{tabular}{lrr}\n\\toprule\n{} & one & two \\\\\n\\midrule\n0 & 1.0 & 4.0 \\\\\n1 & 2.0 & 3.0 \\\\\n2 & 3.0 & 2.0 \\\\\n3 & 4.0 & 1.0 \\\\\n\\bottomrule\n\\end{tabular}\n' ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 7d32926db8f7541c356066dcadabf854487738de python : 3.7.9.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-72-generic Version : #81~16.04.1-Ubuntu SMP Tue Nov 26 16:34:21 UTC 2019 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.2 numpy : 1.19.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 52.0.0.post20210125 Cython : None pytest : 6.2.2 hypothesis : None sphinx : 3.4.3 blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.2 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.3 IPython : 7.20.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.4 numexpr : 2.7.2 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.0 sqlalchemy : 1.3.23 tables : 3.6.1 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/39911/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39911/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39912
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39912/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39912/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39912/events
https://github.com/pandas-dev/pandas/issues/39912
812,099,501
MDU6SXNzdWU4MTIwOTk1MDE=
39,912
BUG: pd.io.sql.get_schema function converts/Shows boolean Data types as a int Datatype
{ "avatar_url": "https://avatars.githubusercontent.com/u/38623309?v=4", "events_url": "https://api.github.com/users/Govindskatyura/events{/privacy}", "followers_url": "https://api.github.com/users/Govindskatyura/followers", "following_url": "https://api.github.com/users/Govindskatyura/following{/other_user}", "gists_url": "https://api.github.com/users/Govindskatyura/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Govindskatyura", "id": 38623309, "login": "Govindskatyura", "node_id": "MDQ6VXNlcjM4NjIzMzA5", "organizations_url": "https://api.github.com/users/Govindskatyura/orgs", "received_events_url": "https://api.github.com/users/Govindskatyura/received_events", "repos_url": "https://api.github.com/users/Govindskatyura/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Govindskatyura/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Govindskatyura/subscriptions", "type": "User", "url": "https://api.github.com/users/Govindskatyura" }
[ { "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
2021-02-19T15:08:58Z
2021-02-20T04:18:47Z
2021-02-20T04:16:09Z
NONE
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. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3 python : 3.6.9.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-1037-aws Version : #39~18.04.1-Ubuntu SMP Fri Jan 15 02:48:42 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : C.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.4 numpy : 1.19.4 pytz : 2020.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 39.0.1 Cython : 0.29.21 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 1.3.7 lxml.etree : 4.6.2 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.16.1 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.3 numexpr : None odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : 0.17.1 pytables : None pyxlsb : None s3fs : None scipy : 1.5.4 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None 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/39912/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39912/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39913
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39913/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39913/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39913/events
https://github.com/pandas-dev/pandas/issues/39913
812,202,688
MDU6SXNzdWU4MTIyMDI2ODg=
39,913
ENH: new orient setting for read_json to support common API format
{ "avatar_url": "https://avatars.githubusercontent.com/u/63560854?v=4", "events_url": "https://api.github.com/users/ryancasburn-KAI/events{/privacy}", "followers_url": "https://api.github.com/users/ryancasburn-KAI/followers", "following_url": "https://api.github.com/users/ryancasburn-KAI/following{/other_user}", "gists_url": "https://api.github.com/users/ryancasburn-KAI/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ryancasburn-KAI", "id": 63560854, "login": "ryancasburn-KAI", "node_id": "MDQ6VXNlcjYzNTYwODU0", "organizations_url": "https://api.github.com/users/ryancasburn-KAI/orgs", "received_events_url": "https://api.github.com/users/ryancasburn-KAI/received_events", "repos_url": "https://api.github.com/users/ryancasburn-KAI/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ryancasburn-KAI/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ryancasburn-KAI/subscriptions", "type": "User", "url": "https://api.github.com/users/ryancasburn-KAI" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "207de5", "default": false, "description": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" } ]
open
false
null
[]
null
2
2021-02-19T17:28:42Z
2021-07-11T18:05:34Z
null
NONE
null
#### Is your feature request related to a problem? I see many APIs return results in the form: ```json { "results": [ {"a" :1, "b":2 }, { "a" :3, "b":4 } ] } ``` This format isn't directly supported by pandas. The data is in the "records" orient, but there is an extra layer. Currently to load this file I am using the requests module to load from https, then using the json module to strip out the outer layer, then feeding this data to pd.read_json as text. This feels like overkill, since pandas can read from https, but for this format (which is common for APIs) I need multiple other packages and lines of code. This will change a three import, multi-line issue into a single import, single line solution. #### Describe the solution you'd like While I initially describe this as a new orient, I don't think that is the best way to implement this. I believe the `read_json` function should have a new parameter (such as "strip_layer") which will be the value of that outer layer. In the example above that would be "results". I make this suggestion as what is inside the outer layer could be several different orients, so we need to leave that as a possibility. This is something that happens first, then the data is processed. #### API breaking implications Need to consider what this means for chunking. #### Additional context My current code: ```python import pandas as pd import requests import json data = requests.get(url).json() data = data["results"] data = json.dumps(data) data = pd.read_json(data) ``` versus my desired code with this improvement: ```python import pandas as pd data = pd.read_json(url, strip_layer="results") ``` Might I suggest this gets added to the IO Method Robustness/Input Types Project?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39913/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39913/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39914
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39914/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39914/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39914/events
https://github.com/pandas-dev/pandas/issues/39914
812,209,750
MDU6SXNzdWU4MTIyMDk3NTA=
39,914
ENH: Multi-layered Vector Functions
{ "avatar_url": "https://avatars.githubusercontent.com/u/19756528?v=4", "events_url": "https://api.github.com/users/itmmckernan/events{/privacy}", "followers_url": "https://api.github.com/users/itmmckernan/followers", "following_url": "https://api.github.com/users/itmmckernan/following{/other_user}", "gists_url": "https://api.github.com/users/itmmckernan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/itmmckernan", "id": 19756528, "login": "itmmckernan", "node_id": "MDQ6VXNlcjE5NzU2NTI4", "organizations_url": "https://api.github.com/users/itmmckernan/orgs", "received_events_url": "https://api.github.com/users/itmmckernan/received_events", "repos_url": "https://api.github.com/users/itmmckernan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/itmmckernan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/itmmckernan/subscriptions", "type": "User", "url": "https://api.github.com/users/itmmckernan" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
null
11
2021-02-19T17:39:36Z
2021-08-15T18:42:15Z
2021-08-15T18:42:14Z
NONE
null
#### Add multi-layered vector support When working on a large panadas dataframe, I tried to use the iloc method on the dataframe with a list of lists index query. I thought that the behavior of iloc with a 1d array would be extended to 2d arrays, and it would return a 2d array of the query results. This would allow for lists of lists to be operated on inside the dataframe. #### Extending the behavior of iloc to multidimensional indexes I think that the way that iloc handles 1d arrays should be extended to 2d and possibly even higher dimensions to allow for efficient loopless code to be written. For example, passing iloc a 2d array of indices should have it return 2d array of the results. #### API breaking implications This shouldn't break any existing code, or add any new arguments to iloc, just make the backend handle multidimensional arrays and return a multidimensional array as necessary. #### Alternatives A loop can just be made in python to achieve the same effect but will be significantly slower. While my dataset could probably be operated on with just python and some basic patience, the most ideal solution, as far as I can tell, would be this. #### Example This is what could be an implementation of this could look like. ``` indexArray = [[0, 3, 5, 7, 9], [1, 4, 6, 8]] 2d_result = df.iloc[indexArray] ``` 2d_result would be an array with the shape of the indexArray populated by results from df.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39914/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39914/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39915
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39915/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39915/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39915/events
https://github.com/pandas-dev/pandas/issues/39915
812,225,525
MDU6SXNzdWU4MTIyMjU1MjU=
39,915
ENH: `df.explode` should turn empty lists into *no* rows rather than a NaN row
{ "avatar_url": "https://avatars.githubusercontent.com/u/766670?v=4", "events_url": "https://api.github.com/users/rben01/events{/privacy}", "followers_url": "https://api.github.com/users/rben01/followers", "following_url": "https://api.github.com/users/rben01/following{/other_user}", "gists_url": "https://api.github.com/users/rben01/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rben01", "id": 766670, "login": "rben01", "node_id": "MDQ6VXNlcjc2NjY3MA==", "organizations_url": "https://api.github.com/users/rben01/orgs", "received_events_url": "https://api.github.com/users/rben01/received_events", "repos_url": "https://api.github.com/users/rben01/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rben01/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rben01/subscriptions", "type": "User", "url": "https://api.github.com/users/rben01" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "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": "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
7
2021-02-19T18:04:54Z
2021-08-15T18:42:58Z
null
NONE
null
#### Is your feature request related to a problem? When using `df.explode`, I'd expect that a list-like `L` gets transformed into `len(L)` rows and a scalar into 1 row. While documented, the current behavior of turning empty list-likes into 1 row containing NaN instead of 0 rows is counterintuitive. #### Describe the solution you'd like Ideally `df.explode` would transform empty list-likes into 0 rows, or, to maintain backwards compatibility, introduce an argument `collapse_empty=False` (or similar -- maybe `implode_empty` in keeping with the theme) that I could set to `True`. #### API breaking implications If `collapse_empty=False` by default then there would be no API breaking changes. #### Describe alternatives you've considered Carefully using `df.dropna` after `df.explode` to remove any null values I don't want while preserving null values that had belonged to lists prior to the explode. #### Additional context Using the example in the docs here: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.explode.html ```python >>> df = pd.DataFrame({'A': [[1, 2, 3], 'foo', [], [3, 4]], 'B': 1}) >>> df A B 0 [1, 2, 3] 1 1 foo 1 2 [] 1 3 [3, 4] 1 >>> df.explode('A', collapse_empty=True) A B 0 1 1 0 2 1 0 3 1 1 foo 1 3 3 1 3 4 1 ``` I believe that the change would require adding a corresponding argument to [`reshape.explode`](https://github.com/pandas-dev/pandas/blob/75609da1dfcf136f9a6e2f37eff5809cacde2925/pandas/_libs/reshape.pyx#L103) and then using that argument in the length checks in lines [129](https://github.com/pandas-dev/pandas/blob/75609da1dfcf136f9a6e2f37eff5809cacde2925/pandas/_libs/reshape.pyx#L129) and [143](https://github.com/pandas-dev/pandas/blob/75609da1dfcf136f9a6e2f37eff5809cacde2925/pandas/_libs/reshape.pyx#L143). Something like this: ```python if len(v): ... elif not collapse_empty: # empty list-like, use a nan marker ... ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39915/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39915/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/39916
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39916/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39916/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39916/events
https://github.com/pandas-dev/pandas/pull/39916
812,298,537
MDExOlB1bGxSZXF1ZXN0NTc2Njg2MDcy
39,916
ENH: Implement unary operators for FloatingArray class
{ "avatar_url": "https://avatars.githubusercontent.com/u/18115607?v=4", "events_url": "https://api.github.com/users/zitorelova/events{/privacy}", "followers_url": "https://api.github.com/users/zitorelova/followers", "following_url": "https://api.github.com/users/zitorelova/following{/other_user}", "gists_url": "https://api.github.com/users/zitorelova/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zitorelova", "id": 18115607, "login": "zitorelova", "node_id": "MDQ6VXNlcjE4MTE1NjA3", "organizations_url": "https://api.github.com/users/zitorelova/orgs", "received_events_url": "https://api.github.com/users/zitorelova/received_events", "repos_url": "https://api.github.com/users/zitorelova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zitorelova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zitorelova/subscriptions", "type": "User", "url": "https://api.github.com/users/zitorelova" }
[ { "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": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
7
2021-02-19T20:02:42Z
2021-02-28T15:59:21Z
2021-02-28T08:38:16Z
CONTRIBUTOR
null
- [ ] closes #38749 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] 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/39916/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39916/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39916.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39916", "merged_at": "2021-02-28T08:38:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39916.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39916" }
https://api.github.com/repos/pandas-dev/pandas/issues/39917
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39917/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39917/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39917/events
https://github.com/pandas-dev/pandas/pull/39917
812,306,370
MDExOlB1bGxSZXF1ZXN0NTc2NjkyOTI0
39,917
BENCH: collect low-dependency asvs
{ "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": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2021-02-19T20:12:35Z
2021-03-01T15:46:49Z
2021-03-01T13:56:08Z
MEMBER
null
The idea here is to collect benchmarks in such a way that we can say "This PR doesn't change code in files [...] -> We can skip running asvs in files [...]". (putting together a POC script to automate a bit of this) There is a cost to refactoring benchmarks, since we have to re-run the new benchmarks on older commits (and im not sure if that happens automatically or if some human intervention is needed cc @TomAugspurger ?). On the flip side, this is the kind of problem that we can throw hardware at, so I don't worry about it that much. Still, the bar for merging is higher than it would be for non-benchmark refactors. With that in mind, the other refactors I'm looking at: 1) We have benchmarks for e.g. `isin` scattered around, benchmarking `[algos.isin(x, y), pd.array(x).isin(y), Index(s).isin(y), Series(x).isin(y)]`. I'd like to collect these in one place and parametrize them. 2) Similar for Index methods, we have a lot of similar benchmarks for different index subclasses that id like to collect+parametrize.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/39917/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39917/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/39917.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/39917", "merged_at": "2021-03-01T13:56:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/39917.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39917" }
https://api.github.com/repos/pandas-dev/pandas/issues/39918
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/39918/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/39918/comments
https://api.github.com/repos/pandas-dev/pandas/issues/39918/events
https://github.com/pandas-dev/pandas/issues/39918
812,328,615
MDU6SXNzdWU4MTIzMjg2MTU=
39,918
QST: The site ahead contains harmful programs
{ "avatar_url": "https://avatars.githubusercontent.com/u/3391614?v=4", "events_url": "https://api.github.com/users/sorenwacker/events{/privacy}", "followers_url": "https://api.github.com/users/sorenwacker/followers", "following_url": "https://api.github.com/users/sorenwacker/following{/other_user}", "gists_url": "https://api.github.com/users/sorenwacker/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sorenwacker", "id": 3391614, "login": "sorenwacker", "node_id": "MDQ6VXNlcjMzOTE2MTQ=", "organizations_url": "https://api.github.com/users/sorenwacker/orgs", "received_events_url": "https://api.github.com/users/sorenwacker/received_events", "repos_url": "https://api.github.com/users/sorenwacker/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sorenwacker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sorenwacker/subscriptions", "type": "User", "url": "https://api.github.com/users/sorenwacker" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "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
[]
{ "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
2021-02-19T20:35:32Z
2021-02-19T21:59:02Z
2021-02-19T21:58:44Z
CONTRIBUTOR
null
I am getting "site contains harmful programs' error here: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.apply.html https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.apply.html > The site ahead contains harmful programs > Attackers on pandas.pydata.org might attempt to trick you into installing programs that harm your browsing experience (for example, by changing your homepage or showing extra ads on sites you visit). Learn more
{ "+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/39918/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/39918/timeline
null
null
null