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/34817
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34817/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34817/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34817/events
https://github.com/pandas-dev/pandas/pull/34817
639,436,226
MDExOlB1bGxSZXF1ZXN0NDM1MDI2MjI3
34,817
DOC: move 'Other API changes' under correct section
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-06-16T07:27:09Z
2020-06-16T13:00:35Z
2020-06-16T12:53:05Z
MEMBER
null
The "Other API changes" bullet points were split in two (one part under "Other API changes", and one part directly under "Backwards incompatible API changes"), and in previous whatsnew files, the "Other API changes" is also a subsection of "Backwards incompatible API changes". So moved a few things around to make this consistent.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34817/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34817/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34817.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34817", "merged_at": "2020-06-16T12:53:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34817.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34817" }
https://api.github.com/repos/pandas-dev/pandas/issues/34818
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34818/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34818/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34818/events
https://github.com/pandas-dev/pandas/pull/34818
639,449,199
MDExOlB1bGxSZXF1ZXN0NDM1MDM2NTg5
34,818
CLN: remove unused args/kwargs in BlockManager.reduce
{ "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": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-06-16T07:48:52Z
2020-06-16T15:33:28Z
2020-06-16T12:44:28Z
MEMBER
null
Small clean-up broken off from https://github.com/pandas-dev/pandas/pull/32867 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/34818/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34818/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34818.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34818", "merged_at": "2020-06-16T12:44:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34818.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34818" }
https://api.github.com/repos/pandas-dev/pandas/issues/34819
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34819/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34819/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34819/events
https://github.com/pandas-dev/pandas/pull/34819
639,526,587
MDExOlB1bGxSZXF1ZXN0NDM1MDk5MDU3
34,819
Backport PR #34733 on branch 1.0.x (BUG: Fixed Series.replace for EA with casting)
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[]
closed
false
null
[]
{ "closed_at": "2020-06-18T13:09:32Z", "closed_issues": 28, "created_at": "2020-05-30T13:59:46Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-06-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/74", "id": 5480671, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels", "node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==", "number": 74, "open_issues": 0, "state": "closed", "title": "1.0.5", "updated_at": "2020-06-18T13:09:32Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74" }
0
2020-06-16T09:46:06Z
2020-06-16T11:24:42Z
2020-06-16T11:24:26Z
MEMBER
null
xref #34733
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34819/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34819/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34819.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34819", "merged_at": "2020-06-16T11:24:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34819.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34819" }
https://api.github.com/repos/pandas-dev/pandas/issues/34820
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34820/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34820/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34820/events
https://github.com/pandas-dev/pandas/issues/34820
639,526,615
MDU6SXNzdWU2Mzk1MjY2MTU=
34,820
BUG: Slicing on non-monotonic DatetimeIndex inconsistencies
{ "avatar_url": "https://avatars.githubusercontent.com/u/4324329?v=4", "events_url": "https://api.github.com/users/erezinman/events{/privacy}", "followers_url": "https://api.github.com/users/erezinman/followers", "following_url": "https://api.github.com/users/erezinman/following{/other_user}", "gists_url": "https://api.github.com/users/erezinman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/erezinman", "id": 4324329, "login": "erezinman", "node_id": "MDQ6VXNlcjQzMjQzMjk=", "organizations_url": "https://api.github.com/users/erezinman/orgs", "received_events_url": "https://api.github.com/users/erezinman/received_events", "repos_url": "https://api.github.com/users/erezinman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/erezinman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erezinman/subscriptions", "type": "User", "url": "https://api.github.com/users/erezinman" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
null
3
2020-06-16T09:46:09Z
2020-07-02T14:39:50Z
2020-07-02T14:25:50Z
NONE
null
Looked for this bug in the opened issues, but couldn't find it. I work with v.0.25.3, but checked that this also occurs in v.1.0.4. ```python ser = pd.Series([1, 2, 3], pd.to_datetime(['2010-01-01', '2009-01-01', '2011-01-01'])) # Case 1: ser['2009-01-01':] # Out: # 2009-01-01 2 # 2011-01-01 3 # dtype: int64 # Case 2: ser['2008-01-01':] # Out: # 2010-01-01 1 # 2009-01-01 2 # 2011-01-01 3 # dtype: int64 # Case 3: ser[pd.Timestamp('2008-01-01'):] # Out: # KeyError: Timestamp('2008-01-01 00:00:00') ``` #### Problem description As you can see in the above examples, there are multiple inconsistencies and errors here: 1. The inconsistency in output between cases 2 & 3 (that's perhaps the worst). 2. The irrelevant (and so-very frustrating) error-message in case 3 3. The strange behavior in case 1 (it should've also included the first item). #### Expected Output For all three cases: ```python # 2010-01-01 1 # 2009-01-01 2 # 2011-01-01 3 # dtype: int64 ``` If not, at the very least you should do the following: 1. Treat string-timestamps and `pd.Timestamp`s in the same way (perhaps by overriding the slicing in the `DatetimeIndex` to cast strings to `pd.Timestamp`s right away). 2. Give an indicative error message. Could be something like ``"KeyError: Can not perform inexact slicing on an unordered `DatetimeIndex`"``. 3. Show a warning upon slicing that results may be inconsistent due to lack of monotonicity I also want to add that you could implement an unordered `DatetimeIndex` that will return the expected output I wrote above by holding and ordered index in the background that holds the relative indices (e.g. in the above example ``OrderedDict({'2009-01-01': 1, '2010-01-01': 0, '2011-01-01': 2})``), and all timestamp-related-slicing will be performed on it. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.6.9.final.0 python-bits : 64 OS : Linux OS-release : 5.3.0-53-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.3 numpy : 1.18.2 pytz : 2018.3 dateutil : 2.6.1 pip : 20.1.1 setuptools : 45.2.0 Cython : None pytest : 5.3.5 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.0 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.1 IPython : 7.8.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.1.1 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : 3.6.1 xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : 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/34820/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34820/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34821
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34821/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34821/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34821/events
https://github.com/pandas-dev/pandas/issues/34821
639,549,497
MDU6SXNzdWU2Mzk1NDk0OTc=
34,821
BUG: read_excel(engine='openpyxl') with "unsized" XLSX issue
{ "avatar_url": "https://avatars.githubusercontent.com/u/1063219?v=4", "events_url": "https://api.github.com/users/kuraga/events{/privacy}", "followers_url": "https://api.github.com/users/kuraga/followers", "following_url": "https://api.github.com/users/kuraga/following{/other_user}", "gists_url": "https://api.github.com/users/kuraga/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kuraga", "id": 1063219, "login": "kuraga", "node_id": "MDQ6VXNlcjEwNjMyMTk=", "organizations_url": "https://api.github.com/users/kuraga/orgs", "received_events_url": "https://api.github.com/users/kuraga/received_events", "repos_url": "https://api.github.com/users/kuraga/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kuraga/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kuraga/subscriptions", "type": "User", "url": "https://api.github.com/users/kuraga" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" }, { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" }, { "color": "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
6
2020-06-16T10:21:39Z
2021-02-02T23:16:02Z
2021-02-02T23:16:02Z
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. --- #### Problem description Consider code: ```python import pandas as pd pd.read_excel('test.xlsx', index_col=[0, 1], engine='openpyxl') ``` with some special `test.xlsx` (see below). According to [openpyxl issue #1483](https://bitbucket.org/openpyxl/openpyxl/issues/1483) and [openpyxl documentation](https://openpyxl.readthedocs.io/en/stable/optimized.html#worksheet-dimensions), **user (i.e. Pandas) [have to](https://bitbucket.org/openpyxl/openpyxl/issues/1483#comment-57780692) call [`sheet.calculate_dimension(force=True)`](https://bitbucket.org/openpyxl/openpyxl/src/3.0.3/openpyxl/worksheet/_read_only.py#lines-133) if any workbook's worksheet is "unsized"**. (What is "worksheet is unsized"? It means: the worksheet doesn't have `DIMENSION_TAG`, see [WorkSheetParser.parse_dimensions()](https://bitbucket.org/openpyxl/openpyxl/src/3.0.3/openpyxl/worksheet/_reader.py#lines-158). When it checked? On `ReadOnlyWorksheet` object construction.) **But Pandas doesn't do it.** So, if the worksheet is "unsized", on reading it by `read_excel(engine='openpyxl')` we try to [get sheet data](https://github.com/pandas-dev/pandas/blob/v1.0.3/pandas/io/excel/_base.py#L443). We [iterate rows](https://github.com/pandas-dev/pandas/blob/v1.0.3/pandas/io/excel/_openpyxl.py#L539) falling down into openpyxl: [1](https://bitbucket.org/openpyxl/openpyxl/src/3.0.3/openpyxl/worksheet/_read_only.py#lines-29) -> [2](https://bitbucket.org/openpyxl/openpyxl/src/3.0.3/openpyxl/worksheet/worksheet.py#lines-454) -> [3](https://bitbucket.org/openpyxl/openpyxl/src/3.0.3/openpyxl/worksheet/_read_only.py#lines-27) -> [4](https://bitbucket.org/openpyxl/openpyxl/src/3.0.3/openpyxl/worksheet/worksheet.py#lines-401) (with `max_col == None`) -> [5](https://bitbucket.org/openpyxl/openpyxl/src/3.0.3/openpyxl/worksheet/worksheet.py#lines-433) -> [6](https://bitbucket.org/openpyxl/openpyxl/src/3.0.3/openpyxl/worksheet/_read_only.py#lines-185) (it returns `self._max_column == None`) -> [7](https://bitbucket.org/openpyxl/openpyxl/src/3.0.3/openpyxl/worksheet/worksheet.py#lines-436) -> [8](https://bitbucket.org/openpyxl/openpyxl/src/3.0.3/openpyxl/worksheet/_read_only.py#lines-57) (with `max_col == None`) -> [9](https://bitbucket.org/openpyxl/openpyxl/src/3.0.3/openpyxl/worksheet/_read_only.py#lines-89) -> [10](https://bitbucket.org/openpyxl/openpyxl/src/3.0.3/openpyxl/worksheet/_read_only.py#lines-10) (with `max_col == None`). And in [these lines](https://bitbucket.org/openpyxl/openpyxl/src/ca7b1baf75f2fc6b270320ea91d82404f5039e1e/openpyxl/worksheet/_read_only.py#lines-107:108): ```python max_col = max_col or row[-1]['column'] row_width = max_col + 1 - min_col ``` we have: **row's cells number (`row_width`) is individual for each row (`row`)**. Now consider an _unsized_ Excel table (I have a real file but it's private; after saving in LibreOffice it's become sized): ![image](https://user-images.githubusercontent.com/1063219/84760507-ce742d00-afd0-11ea-8caf-45031ba57a3b.png) We get [sheet data](https://github.com/pandas-dev/pandas/blob/v1.0.3/pandas/io/excel/_base.py#L443): ```python [ [`A1`], [ 'B1', 'B2' ] ] ``` But `index_col=[0, 1]` **suppose to have >=2 cols in each row**: ``` Traceback (most recent call last): File "test.py", line 6, in <module> pd.read_excel('test.xlsx', index_col=[0, 1], engine='openpyxl') File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 334, in read_excel **kwds, File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 888, in parse **kwds, File "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 480, in parse last = data[offset][col] IndexError: list index out of range ``` **IMHO, patch could be:** ```diff diff --git a/pandas/io/excel/_openpyxl.py b/pandas/io/excel/_openpyxl.py index c4327316d..3efbf4abc 100644 --- a/pandas/io/excel/_openpyxl.py +++ b/pandas/io/excel/_openpyxl.py @@ -536,6 +536,9 @@ class _OpenpyxlReader(_BaseExcelReader): def get_sheet_data(self, sheet, convert_float: bool) -> List[List[Scalar]]: data: List[List[Scalar]] = [] + + sheet.calculate_dimension(force=True) + for row in sheet.rows: data.append([self._convert_cell(cell, convert_float) for cell in row]) ``` (But it may provide [some drawbacks](https://bitbucket.org/openpyxl/openpyxl/issues/1483#comment-57780692)). With this patch, sheet data would be: ```python [ [`A1`, ''], [ 'B1', 'B2' ] ] ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.7.final.0 python-bits : 64 OS : Linux OS-release : 5.4.42-calculate machine : x86_64 processor : Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz byteorder : little LC_ALL : None LANG : ru_RU.utf8 LOCALE : ru_RU.UTF-8 pandas : 1.0.3 numpy : 1.18.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.0.2 setuptools : 46.4.0.post20200518 Cython : 0.29.17 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 1.2.8 lxml.etree : 4.5.0 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.13.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.1.3 numexpr : None odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pytables : None pytest : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : 1.2.8 numba : None </details> 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/34821/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34821/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34822
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34822/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34822/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34822/events
https://github.com/pandas-dev/pandas/issues/34822
639,621,918
MDU6SXNzdWU2Mzk2MjE5MTg=
34,822
BUG: setting raw=True in the Dataframe.apply function causes a ValueError
{ "avatar_url": "https://avatars.githubusercontent.com/u/3618917?v=4", "events_url": "https://api.github.com/users/lfdversluis/events{/privacy}", "followers_url": "https://api.github.com/users/lfdversluis/followers", "following_url": "https://api.github.com/users/lfdversluis/following{/other_user}", "gists_url": "https://api.github.com/users/lfdversluis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lfdversluis", "id": 3618917, "login": "lfdversluis", "node_id": "MDQ6VXNlcjM2MTg5MTc=", "organizations_url": "https://api.github.com/users/lfdversluis/orgs", "received_events_url": "https://api.github.com/users/lfdversluis/received_events", "repos_url": "https://api.github.com/users/lfdversluis/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lfdversluis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lfdversluis/subscriptions", "type": "User", "url": "https://api.github.com/users/lfdversluis" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
open
false
null
[]
null
7
2020-06-16T12:23:50Z
2021-02-05T17:10:13Z
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 ```python import numpy as np import pandas as pd df = pd.DataFrame({"a": [100, 300], "b": [200, 400]}) def parse_node_row(row, index): def unpack_bitmask(val): return [np.bitwise_and(np.right_shift(val, i * 16), 0xFFFF) for i in range(4)] arr = np.concatenate(np.apply_along_axis(unpack_bitmask, 0, row)).ravel() return pd.Series(arr, index=index) iterables = [df.columns, ["gpu{}".format(i) for i in range(4)]] midx = pd.MultiIndex.from_product(iterables, names=['node', 'gpu']) ndf = df.apply(parse_node_row, axis="columns", result_type="expand", args=(midx,)) ``` #### Problem description I am working on a dataset where values are bitmaskes, each 64bit integer is actually 4x16 (one per GPU per node). The format of the dataset is out of my control. So, I wrote the code above to create a new dataframe that created a multi index with the data split. It works fine and all, but as I am solely using numpy functions in `parse_node_row`, I added `parse=True` in the `apply` call. However, this causes my script to crash! The minimal reproducible example above shows ``` ValueError: Shape of passed values is (2, 8), indices imply (2, 2) ``` But runs just fine when `raw=False`. What gives? There is no mention in [the docs](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.apply.html) of any side-effects of using raw=True besides you getting a numpy array in your apply function, which is completely fine for me. #### Expected Output More performance! #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.4.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.0.4 numpy : 1.18.5 pytz : 2020.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 47.1.1 Cython : 0.29.20 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.1 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.9.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.5.1 matplotlib : 3.2.0 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.17.1 pytables : None pytest : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None xlsxwriter : None numba : None </details>
{ "+1": 3, "-1": 0, "confused": 0, "eyes": 1, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 4, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34822/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34822/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34823
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34823/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34823/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34823/events
https://github.com/pandas-dev/pandas/issues/34823
639,650,529
MDU6SXNzdWU2Mzk2NTA1Mjk=
34,823
ENH: Pass arguments to `to_pandas` in `read_csv(engine="pyarrow")
{ "avatar_url": "https://avatars.githubusercontent.com/u/70274?v=4", "events_url": "https://api.github.com/users/xhochy/events{/privacy}", "followers_url": "https://api.github.com/users/xhochy/followers", "following_url": "https://api.github.com/users/xhochy/following{/other_user}", "gists_url": "https://api.github.com/users/xhochy/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/xhochy", "id": 70274, "login": "xhochy", "node_id": "MDQ6VXNlcjcwMjc0", "organizations_url": "https://api.github.com/users/xhochy/orgs", "received_events_url": "https://api.github.com/users/xhochy/received_events", "repos_url": "https://api.github.com/users/xhochy/repos", "site_admin": false, "starred_url": "https://api.github.com/users/xhochy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xhochy/subscriptions", "type": "User", "url": "https://api.github.com/users/xhochy" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "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
2020-06-16T13:07:52Z
2020-09-04T14:04:25Z
null
CONTRIBUTOR
null
As a follow-up for #31817, we should enable the user to pass arguments to the `to_pandas` call when converting the result from `pyarrow.Table` to `pandas.DataFrame`. This would enable e.g. the user to directly construct `ExtensionArray` instances using the `types_mapper` argument.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34823/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34823/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34824
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34824/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34824/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34824/events
https://github.com/pandas-dev/pandas/issues/34824
639,666,569
MDU6SXNzdWU2Mzk2NjY1Njk=
34,824
DOC: to_sql accepting Engine vs. Connectable
{ "avatar_url": "https://avatars.githubusercontent.com/u/15894006?v=4", "events_url": "https://api.github.com/users/gordthompson/events{/privacy}", "followers_url": "https://api.github.com/users/gordthompson/followers", "following_url": "https://api.github.com/users/gordthompson/following{/other_user}", "gists_url": "https://api.github.com/users/gordthompson/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gordthompson", "id": 15894006, "login": "gordthompson", "node_id": "MDQ6VXNlcjE1ODk0MDA2", "organizations_url": "https://api.github.com/users/gordthompson/orgs", "received_events_url": "https://api.github.com/users/gordthompson/received_events", "repos_url": "https://api.github.com/users/gordthompson/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gordthompson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gordthompson/subscriptions", "type": "User", "url": "https://api.github.com/users/gordthompson" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
null
2
2020-06-16T13:30:06Z
2020-08-21T17:05:16Z
2020-06-25T05:10:27Z
NONE
null
#### Location of the documentation https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_sql.html #### Documentation problem [Documentation](https://github.com/pandas-dev/pandas/blob/1ce1c3c1ef9894bf1ba79805f37514291f52a9da/pandas/core/generic.py#L2530) says that `con` is to be a "sqlalchemy.engine.Engine or ..." while [source](https://github.com/pandas-dev/pandas/blob/f34fd588cd9facfa82a792fb570fb8a56f11f6c7/pandas/io/sql.py#L539) says that `con` can be a "SQLAlchemy connectable(engine/connection) or ..." #### Suggested fix for documentation Documentation should mention that a SQLAlchemy `Connection` is acceptable because some operations like [an upsert via a temporary table in SQL Server](https://stackoverflow.com/q/62388767/2144390) need to ensure that the same DBAPI connection is used for the entire operation. (SQL Server local temp tables are only visible to the connection/session that created them).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34824/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34824/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34825
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34825/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34825/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34825/events
https://github.com/pandas-dev/pandas/issues/34825
639,734,508
MDU6SXNzdWU2Mzk3MzQ1MDg=
34,825
BUG: pd.concat(..., copy=False) still causes copy on block consolidation.
{ "avatar_url": "https://avatars.githubusercontent.com/u/65635505?v=4", "events_url": "https://api.github.com/users/DamianBarabonkovQC/events{/privacy}", "followers_url": "https://api.github.com/users/DamianBarabonkovQC/followers", "following_url": "https://api.github.com/users/DamianBarabonkovQC/following{/other_user}", "gists_url": "https://api.github.com/users/DamianBarabonkovQC/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DamianBarabonkovQC", "id": 65635505, "login": "DamianBarabonkovQC", "node_id": "MDQ6VXNlcjY1NjM1NTA1", "organizations_url": "https://api.github.com/users/DamianBarabonkovQC/orgs", "received_events_url": "https://api.github.com/users/DamianBarabonkovQC/received_events", "repos_url": "https://api.github.com/users/DamianBarabonkovQC/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DamianBarabonkovQC/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DamianBarabonkovQC/subscriptions", "type": "User", "url": "https://api.github.com/users/DamianBarabonkovQC" }
[ { "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" } ]
open
false
null
[]
null
1
2020-06-16T14:54:27Z
2020-06-16T21:36:23Z
null
NONE
null
#### Problem description When concatenating columns of the same dtype, even with `copy=False` option, the columns are consolidated together which involves a copy and a costly `vstack`. The performance is actually worse for `copy=False` than the default `copy=True` which is misleading. There are use cases where consolidated data is not required for an application, so this unneeded performance penalty is undesired. #### Sample Program ```python import time import pandas as pd template_series = pd.Series(list(range(10000))) series_ls = [] for i in range(1000): series_ls.append(template_series.copy()) start_time = time.time() df_no_copy = pd.concat(series_ls, copy=False) print("No copy elapsed", time.time() - start_time) start_time = time.time() df_copy = pd.concat(series_ls, copy=True) # The default setting print("Copy elapsed", time.time() - start_time) ``` #### Execution Time ``` No copy elapsed 0.07740044593811035 Copy elapsed 0.05434751510620117 ``` Execution time is in seconds. #### Problem Trace The consolidation occurs as a result of: ```python if not self.copy: new_data._consolidate_inplace() ``` located near "pandas/core/reshape/concat.py:499".
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34825/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34825/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34826
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34826/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34826/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34826/events
https://github.com/pandas-dev/pandas/issues/34826
639,822,183
MDU6SXNzdWU2Mzk4MjIxODM=
34,826
BUG: pandas.read_parquet no longer accepting a file-like object
{ "avatar_url": "https://avatars.githubusercontent.com/u/1004626?v=4", "events_url": "https://api.github.com/users/DavidFarago/events{/privacy}", "followers_url": "https://api.github.com/users/DavidFarago/followers", "following_url": "https://api.github.com/users/DavidFarago/following{/other_user}", "gists_url": "https://api.github.com/users/DavidFarago/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DavidFarago", "id": 1004626, "login": "DavidFarago", "node_id": "MDQ6VXNlcjEwMDQ2MjY=", "organizations_url": "https://api.github.com/users/DavidFarago/orgs", "received_events_url": "https://api.github.com/users/DavidFarago/received_events", "repos_url": "https://api.github.com/users/DavidFarago/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DavidFarago/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DavidFarago/subscriptions", "type": "User", "url": "https://api.github.com/users/DavidFarago" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
closed
false
null
[]
null
1
2020-06-16T16:47:12Z
2020-08-21T17:05:17Z
2020-06-16T18:34:27Z
NONE
null
#### Code Sample, a copy-pastable example ```python from io import BytesIO import numpy as np import pandas as pd import pytest def test_read_parquet_on_stream(): stream = BytesIO() df = pd.DataFrame({'col1': [1, 2], 'col2': [3, 4]}) df.to_parquet(stream) result = pd.read_parquet(stream) assert np.array_equal(result.values, df.values) ``` #### Problem description The documentation of `pandas.read_parquet()` (see [1]) says > Parameters: path: str, path object or file-like object It is quite handy to be able to use a stream as parameter. It used to work with pandas version 1.0.3, but causes the error below for pandas version 1.0.4. #### Expected Output I expect the test to pass silently, which it does when using `pandas == 1.0.3`. #### Output But for `pandas == 1.0.4`, the test case fails due to `stream` not being a path-like object: > > tests/util/test_parquet_util.py:388 (test_read_parquet_on_stream) > def test_read_parquet_on_stream(): > stream = BytesIO() > df = pd.DataFrame({'col1': [1, 2], 'col2': [3, 4]}) > df.to_parquet(stream) > > result = pd.read_parquet(stream) > > tests/util/test_parquet_util.py:393: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > /usr/local/lib/python3.7/dist-packages/pandas/io/parquet.py:315: in read_parquet > return impl.read(path, columns=columns, **kwargs) > /usr/local/lib/python3.7/dist-packages/pandas/io/parquet.py:131: in read > path, filesystem=get_fs_for_path(path), **kwargs > /usr/local/lib/python3.7/dist-packages/pyarrow/parquet.py:1019: in __init__ > self.paths = _parse_uri(path_or_paths) > /usr/local/lib/python3.7/dist-packages/pyarrow/parquet.py:49: in _parse_uri > path = _stringify_path(path) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > path = <_io.BytesIO object at 0x7f07d0e77530> > > def _stringify_path(path): > """ > Convert *path* to a string or unicode path if possible. > """ > if isinstance(path, six.string_types): > return path > > # checking whether path implements the filesystem protocol > try: > return path.__fspath__() # new in python 3.6 > except AttributeError: > # fallback pathlib ckeck for earlier python versions than 3.6 > if _has_pathlib and isinstance(path, pathlib.Path): > return str(path) > > > raise TypeError("not a path-like object") > E TypeError: not a path-like object > > /usr/local/lib/python3.7/dist-packages/pyarrow/util.py:84: TypeError > #### Details Besides pandas, my `requirements.txt` contains the following relevant dependencies: ``` pyarrow ~= 0.15.1 pytest ~= 5.3.5 pyyaml ~= 5.1.2 ``` My Python versions are 3.6.10 and 3.7.7. [1]: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_parquet.html
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34826/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34826/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34827
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34827/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34827/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34827/events
https://github.com/pandas-dev/pandas/pull/34827
639,825,126
MDExOlB1bGxSZXF1ZXN0NDM1MzQ1ODk5
34,827
BUG fix _Unstacker int32 limit in dataframe sizes (pandas-dev#26314)
{ "avatar_url": "https://avatars.githubusercontent.com/u/13824399?v=4", "events_url": "https://api.github.com/users/KaonToPion/events{/privacy}", "followers_url": "https://api.github.com/users/KaonToPion/followers", "following_url": "https://api.github.com/users/KaonToPion/following{/other_user}", "gists_url": "https://api.github.com/users/KaonToPion/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/KaonToPion", "id": 13824399, "login": "KaonToPion", "node_id": "MDQ6VXNlcjEzODI0Mzk5", "organizations_url": "https://api.github.com/users/KaonToPion/orgs", "received_events_url": "https://api.github.com/users/KaonToPion/received_events", "repos_url": "https://api.github.com/users/KaonToPion/repos", "site_admin": false, "starred_url": "https://api.github.com/users/KaonToPion/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/KaonToPion/subscriptions", "type": "User", "url": "https://api.github.com/users/KaonToPion" }
[ { "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
[]
null
5
2020-06-16T16:52:04Z
2020-10-12T16:07:34Z
2020-09-15T08:41:35Z
NONE
null
- [x] closes #26314 - [ ] tests added / passed - [x] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry I have tested it with : `df = pd.DataFrame(np.random.randint(low=0, high=1500000, size=(90000, 2)), columns=['a', 'b'])` `df.set_index(['a', 'b']).unstack()` I am not sure if I should add it as a test, it requires quite some memory. I am also hesitant about where the test should be located in case it's added.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34827/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34827/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34827.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34827", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34827.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34827" }
https://api.github.com/repos/pandas-dev/pandas/issues/34828
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34828/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34828/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34828/events
https://github.com/pandas-dev/pandas/pull/34828
639,847,242
MDExOlB1bGxSZXF1ZXN0NDM1MzY0MTY3
34,828
REF: remove libfrequencies
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-06-16T17:30:02Z
2020-06-16T20:51:28Z
2020-06-16T20:47:02Z
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/34828/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34828/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34828.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34828", "merged_at": "2020-06-16T20:47:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34828.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34828" }
https://api.github.com/repos/pandas-dev/pandas/issues/34829
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34829/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34829/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34829/events
https://github.com/pandas-dev/pandas/pull/34829
639,894,163
MDExOlB1bGxSZXF1ZXN0NDM1NDAyMjEy
34,829
Add support for gitpod
{ "avatar_url": "https://avatars.githubusercontent.com/u/307739?v=4", "events_url": "https://api.github.com/users/jrderuiter/events{/privacy}", "followers_url": "https://api.github.com/users/jrderuiter/followers", "following_url": "https://api.github.com/users/jrderuiter/following{/other_user}", "gists_url": "https://api.github.com/users/jrderuiter/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jrderuiter", "id": 307739, "login": "jrderuiter", "node_id": "MDQ6VXNlcjMwNzczOQ==", "organizations_url": "https://api.github.com/users/jrderuiter/orgs", "received_events_url": "https://api.github.com/users/jrderuiter/received_events", "repos_url": "https://api.github.com/users/jrderuiter/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jrderuiter/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jrderuiter/subscriptions", "type": "User", "url": "https://api.github.com/users/jrderuiter" }
[ { "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": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" } ]
closed
false
null
[]
null
3
2020-06-16T18:43:09Z
2020-07-19T19:41:20Z
2020-07-19T19:41:20Z
NONE
null
This PR proposes to add support for Gitpod, which can provide (new) contributors with one-click environment to use for working on the pandas code base. The PR includes two main additions: - .gitpod.yml - Config file for gitpod that specifies which image/Dockerfile to use for gitpod and which init command(s) to run when booting the pod. - .gitpod.Dockerfile - Dockerfile used to build a base image for the pod. Partially adapted from the existing Dockerfile in the repo. Some things maybe still to consider: - Gitpod has some options for providing pre-built workspaces (https://www.gitpod.io/docs/prebuilds/). This may be interesting to enable. - There is some duplication between the two dockerfiles, but unfortunately the VS Code Dockerfile is not entirely compatible with the gitpod one. As such, the duplication may not be a bad thing. - [x] closes #xxxx (N/A) - [x] tests added / passed (N/A) - [x] passes `black pandas` (N/A) - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` (N/A) - [x] whatsnew entry (N/A)
{ "+1": 2, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 2, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34829/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34829/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34829.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34829", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34829.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34829" }
https://api.github.com/repos/pandas-dev/pandas/issues/34830
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34830/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34830/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34830/events
https://github.com/pandas-dev/pandas/pull/34830
639,972,902
MDExOlB1bGxSZXF1ZXN0NDM1NDY3MzYw
34,830
REF: move registry, Registry to dtypes.base
{ "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": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
8
2020-06-16T21:07:39Z
2020-07-11T00:27:07Z
2020-07-10T23:54:35Z
MEMBER
null
These are more closely related to ExtensionDtype than to our internal EADtypes. More concretely, they are low-dependency, while dtypes.dtypes has some unfortunate circular dependencies. I'd also like to move pandas_dtype and is_dtype_equal from dtypes.common so that those can be stricty "above" dtypes.dtypes in the dependency structure. Saving that for another pass.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34830/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34830/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34830.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34830", "merged_at": "2020-07-10T23:54:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34830.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34830" }
https://api.github.com/repos/pandas-dev/pandas/issues/34831
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34831/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34831/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34831/events
https://github.com/pandas-dev/pandas/pull/34831
639,974,012
MDExOlB1bGxSZXF1ZXN0NDM1NDY4MzA4
34,831
CLN: GH29547 change string formatting with f-strings (6 files changed)
{ "avatar_url": "https://avatars.githubusercontent.com/u/9342729?v=4", "events_url": "https://api.github.com/users/MatteoFelici/events{/privacy}", "followers_url": "https://api.github.com/users/MatteoFelici/followers", "following_url": "https://api.github.com/users/MatteoFelici/following{/other_user}", "gists_url": "https://api.github.com/users/MatteoFelici/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MatteoFelici", "id": 9342729, "login": "MatteoFelici", "node_id": "MDQ6VXNlcjkzNDI3Mjk=", "organizations_url": "https://api.github.com/users/MatteoFelici/orgs", "received_events_url": "https://api.github.com/users/MatteoFelici/received_events", "repos_url": "https://api.github.com/users/MatteoFelici/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MatteoFelici/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MatteoFelici/subscriptions", "type": "User", "url": "https://api.github.com/users/MatteoFelici" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-06-16T21:09:49Z
2020-06-20T09:01:29Z
2020-06-18T13:59:00Z
CONTRIBUTOR
null
Replace old string formatting syntax with f-strings #29547 - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Changed 6 files: - pandas/tests/io/parser/test_header.py - pandas/tests/io/test_sql.py - pandas/tests/io/test_html.py - pandas/tests/reductions/test_reductions.py - pandas/tests/reshape/test_melt.py - pandas/tests/scalar/timedelta/test_timedelta.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/34831/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34831/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34831.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34831", "merged_at": "2020-06-18T13:59:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34831.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34831" }
https://api.github.com/repos/pandas-dev/pandas/issues/34832
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34832/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34832/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34832/events
https://github.com/pandas-dev/pandas/issues/34832
639,976,579
MDU6SXNzdWU2Mzk5NzY1Nzk=
34,832
BUG: DataFrame.__setitem__ creates object-dtype array for extension type scalars
{ "avatar_url": "https://avatars.githubusercontent.com/u/24326925?v=4", "events_url": "https://api.github.com/users/justinessert/events{/privacy}", "followers_url": "https://api.github.com/users/justinessert/followers", "following_url": "https://api.github.com/users/justinessert/following{/other_user}", "gists_url": "https://api.github.com/users/justinessert/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/justinessert", "id": 24326925, "login": "justinessert", "node_id": "MDQ6VXNlcjI0MzI2OTI1", "organizations_url": "https://api.github.com/users/justinessert/orgs", "received_events_url": "https://api.github.com/users/justinessert/received_events", "repos_url": "https://api.github.com/users/justinessert/repos", "site_admin": false, "starred_url": "https://api.github.com/users/justinessert/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/justinessert/subscriptions", "type": "User", "url": "https://api.github.com/users/justinessert" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "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": 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
2020-06-16T21:14:35Z
2020-09-10T13:34:43Z
2020-09-10T13:34:42Z
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas as pd df = pd.DataFrame({ 'a': [1, 2] }) df['b'] = pd.Period('2020-01') df['c'] = df['b'] + 0 df['d'] = df['a'] + df['b'] df.dtypes ``` #### Problem description Not sure if this is best classified as a bug, but wasn't sure how to classify it since it certainly defies my expectations of how the Pandas package would work and would like to understand what's happening. Essentially the issue is that, in the code snippet above, `df['b']`'s is considered an object rather than a `period[M]`. Stranger to me still is that both `df['c'] and df['d']` are correctly set to `period[M]` columns. This seems very odd to me, that when you combine an `object` column with a `int`, you get a `period[M]` column. Can you help me understand what the logic is here? Is it possible to update Pandas so that when someone does `df['b'] = pd.Period('2020-01')` the resulting column is a `period[M]` type? #### Expected Output #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.3.final.0 python-bits : 64 OS : Darwin OS-release : 19.4.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.0.4 numpy : 1.18.5 pytz : 2019.1 dateutil : 2.8.0 pip : 19.1.1 setuptools : 41.0.1 Cython : None pytest : 4.4.1 hypothesis : None sphinx : 2.4.2 blosc : None feather : None xlsxwriter : 1.2.8 lxml.etree : 4.4.0 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.1 IPython : 7.5.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.4.0 matplotlib : 3.2.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : 4.4.1 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : 1.2.8 numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34832/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34832/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34833
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34833/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34833/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34833/events
https://github.com/pandas-dev/pandas/issues/34833
640,019,943
MDU6SXNzdWU2NDAwMTk5NDM=
34,833
BUG: resample seems to convert hours to 00:00
{ "avatar_url": "https://avatars.githubusercontent.com/u/29122286?v=4", "events_url": "https://api.github.com/users/liverpool1026/events{/privacy}", "followers_url": "https://api.github.com/users/liverpool1026/followers", "following_url": "https://api.github.com/users/liverpool1026/following{/other_user}", "gists_url": "https://api.github.com/users/liverpool1026/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/liverpool1026", "id": 29122286, "login": "liverpool1026", "node_id": "MDQ6VXNlcjI5MTIyMjg2", "organizations_url": "https://api.github.com/users/liverpool1026/orgs", "received_events_url": "https://api.github.com/users/liverpool1026/received_events", "repos_url": "https://api.github.com/users/liverpool1026/repos", "site_admin": false, "starred_url": "https://api.github.com/users/liverpool1026/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/liverpool1026/subscriptions", "type": "User", "url": "https://api.github.com/users/liverpool1026" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" } ]
closed
false
null
[]
null
8
2020-06-16T22:47:30Z
2020-06-22T14:35:51Z
2020-06-18T00:49:58Z
NONE
null
- [x] I have checked that this issue has not already been reported. (As far as I can see by using the search) - [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 # Your code here import datetime as dt import pandas as pd start_time = dt.datetime(year=2018, month=6, day=7, hour=18) end_time = dt.datetime(year=2018, month=6, day=27, hour=18) time_index_df = pd.date_range( start_time, end_time, freq="12H", name="datetime", ).to_frame(index=False) time_index_df["test"] = 1 time_index_df["name"] = "Name" time_index_df = time_index_df.resample("2d", convention="end", on="datetime").mean().reset_index() print(time_index_df["datetime"].values) time_index_df.to_csv(f"test_resample_{pd.__version__}") ``` #### Problem description On pandas 0.23 the behaviour of resample will keep the correct datetime (18:00 in this case) after resample. But starting from 0.24, after resample, the datetime is now converted to (00:00). [this should explain **why** the current behaviour is a problem and why the expected output is a better solution] #### Expected Output On. 0.23 ['2018-06-07T18:00:00.000000000' '2018-06-09T18:00:00.000000000' '2018-06-11T18:00:00.000000000' '2018-06-13T18:00:00.000000000' '2018-06-15T18:00:00.000000000' '2018-06-17T18:00:00.000000000' '2018-06-19T18:00:00.000000000' '2018-06-21T18:00:00.000000000' '2018-06-23T18:00:00.000000000' '2018-06-25T18:00:00.000000000' '2018-06-27T18:00:00.000000000'] But Starting from 0.24 it is giving me ['2018-06-07T00:00:00.000000000' '2018-06-09T00:00:00.000000000' '2018-06-11T00:00:00.000000000' '2018-06-13T00:00:00.000000000' '2018-06-15T00:00:00.000000000' '2018-06-17T00:00:00.000000000' '2018-06-19T00:00:00.000000000' '2018-06-21T00:00:00.000000000' '2018-06-23T00:00:00.000000000' '2018-06-25T00:00:00.000000000' '2018-06-27T00:00:00.000000000'] #### Output of ``pd.show_versions()`` <details> 0.23 INSTALLED VERSIONS ------------------ commit: None python: 3.6.9.final.0 python-bits: 64 OS: Linux OS-release: 5.3.0-59-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_AU.UTF-8 LOCALE: en_AU.UTF-8 pandas: 0.23.0 pytest: None pip: 20.0.2 setuptools: 46.0.0 Cython: None numpy: 1.18.5 scipy: None pyarrow: None xarray: None IPython: None sphinx: None patsy: None dateutil: 2.8.1 pytz: 2020.1 blosc: None bottleneck: None tables: None numexpr: None feather: None matplotlib: None openpyxl: 2.5.8 xlrd: 0.9.4 xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None sqlalchemy: 1.2.19 pymysql: None psycopg2: 2.8.5 (dt dec pq3 ext lo64) jinja2: 2.11.2 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None None 0.24 INSTALLED VERSIONS ------------------ commit: None python: 3.6.9.final.0 python-bits: 64 OS: Linux OS-release: 5.3.0-59-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_AU.UTF-8 LOCALE: en_AU.UTF-8 pandas: 0.24.2 pytest: None pip: 20.0.2 setuptools: 46.0.0 Cython: None numpy: 1.18.5 scipy: None pyarrow: None xarray: None IPython: None sphinx: None patsy: None dateutil: 2.8.1 pytz: 2020.1 blosc: None bottleneck: None tables: None numexpr: None feather: None matplotlib: None openpyxl: 2.5.8 xlrd: 1.1.0 xlwt: None xlsxwriter: None lxml.etree: None bs4: None html5lib: None sqlalchemy: 1.2.19 pymysql: None psycopg2: 2.8.5 (dt dec pq3 ext lo64) jinja2: 2.11.2 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: None None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34833/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34833/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34834
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34834/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34834/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34834/events
https://github.com/pandas-dev/pandas/issues/34834
640,031,195
MDU6SXNzdWU2NDAwMzExOTU=
34,834
ENH: remove restrictions to numexpr to allow `where` etc.
{ "avatar_url": "https://avatars.githubusercontent.com/u/17454848?v=4", "events_url": "https://api.github.com/users/jonas-eschle/events{/privacy}", "followers_url": "https://api.github.com/users/jonas-eschle/followers", "following_url": "https://api.github.com/users/jonas-eschle/following{/other_user}", "gists_url": "https://api.github.com/users/jonas-eschle/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jonas-eschle", "id": 17454848, "login": "jonas-eschle", "node_id": "MDQ6VXNlcjE3NDU0ODQ4", "organizations_url": "https://api.github.com/users/jonas-eschle/orgs", "received_events_url": "https://api.github.com/users/jonas-eschle/received_events", "repos_url": "https://api.github.com/users/jonas-eschle/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jonas-eschle/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jonas-eschle/subscriptions", "type": "User", "url": "https://api.github.com/users/jonas-eschle" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" }, { "color": "f3afff", "default": false, "description": "pd.eval, query", "id": 1631985267, "name": "expressions", "node_id": "MDU6TGFiZWwxNjMxOTg1MjY3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/expressions" } ]
open
false
null
[]
null
6
2020-06-16T23:18:33Z
2021-03-21T13:06:20Z
null
NONE
null
#### Is your feature request related to a problem? the evaluation of a query is currently limited to the list `_mathops` while numexpr would support more, most notably a where (that would also solve [other issues simple](https://github.com/pandas-dev/pandas/issues/12945)). I do not see any reason for this restriction. In fact, simply adding the `where` runs (at least for my use case). Why is this restriction in place? Why can't we enlarge it/directly pass it through to numexpr? #### Describe the solution you'd like Allow the full operator set that numexpr supports in the `pd.eval` #### API breaking implications Nothing #### Alternatives Using `.where` is an option _if you can access the dataframe directly_ (although suboptimal). However, if your selection of data is based on passing a selection string around instead of the df (several reasons for this), the latter is not feasible. The following doesn't work: ```python import pandas as pd data = {'a': [1, 2, 3]} df = pd.DataFrame({'a': [1, 2, 3]}) df.eval('where(a>2, 42, 0)') ``` whereas in `numexpr` it does ``` numexpr.evaluate('where(a>2, 42, 0)', local_dict=data) ``` we expect this to return `[0, 0, 42]`
{ "+1": 2, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 2, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34834/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34834/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34835
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34835/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34835/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34835/events
https://github.com/pandas-dev/pandas/pull/34835
640,041,071
MDExOlB1bGxSZXF1ZXN0NDM1NTIzNTU2
34,835
Replaced np.bool refs; fix CI failure
{ "avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4", "events_url": "https://api.github.com/users/WillAyd/events{/privacy}", "followers_url": "https://api.github.com/users/WillAyd/followers", "following_url": "https://api.github.com/users/WillAyd/following{/other_user}", "gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/WillAyd", "id": 609873, "login": "WillAyd", "node_id": "MDQ6VXNlcjYwOTg3Mw==", "organizations_url": "https://api.github.com/users/WillAyd/orgs", "received_events_url": "https://api.github.com/users/WillAyd/received_events", "repos_url": "https://api.github.com/users/WillAyd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions", "type": "User", "url": "https://api.github.com/users/WillAyd" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
12
2020-06-16T23:48:06Z
2020-06-30T16:05:52Z
2020-06-17T17:26:57Z
MEMBER
null
I mostly just replace `np.bool` with `np.bool_` though there are some other cases where I just used bool. I don't know if it matters...so happy to conform one way or another For now just seeing if this fixes CI Closes https://github.com/pandas-dev/pandas/issues/34848.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34835/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34835/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34835.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34835", "merged_at": "2020-06-17T17:26:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34835.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34835" }
https://api.github.com/repos/pandas-dev/pandas/issues/34836
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34836/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34836/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34836/events
https://github.com/pandas-dev/pandas/issues/34836
640,061,196
MDU6SXNzdWU2NDAwNjExOTY=
34,836
ENH: Splitting datetime events in a df based on a datetime interval
{ "avatar_url": "https://avatars.githubusercontent.com/u/21087408?v=4", "events_url": "https://api.github.com/users/JackNelson/events{/privacy}", "followers_url": "https://api.github.com/users/JackNelson/followers", "following_url": "https://api.github.com/users/JackNelson/following{/other_user}", "gists_url": "https://api.github.com/users/JackNelson/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/JackNelson", "id": 21087408, "login": "JackNelson", "node_id": "MDQ6VXNlcjIxMDg3NDA4", "organizations_url": "https://api.github.com/users/JackNelson/orgs", "received_events_url": "https://api.github.com/users/JackNelson/received_events", "repos_url": "https://api.github.com/users/JackNelson/repos", "site_admin": false, "starred_url": "https://api.github.com/users/JackNelson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JackNelson/subscriptions", "type": "User", "url": "https://api.github.com/users/JackNelson" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
open
false
null
[]
null
2
2020-06-17T00:53:04Z
2021-08-08T00:55:10Z
null
NONE
null
#### Is your feature request related to a problem? I have transaction data, where events start at a given point in time and then end at a given point in time. In order to see what events are ongoing over the course of time as well as allocate time to a specified time interval, multiple rows need to be made indicating that an event is still ongoing if it spans greater than the time interval specified. (i.e. if a row starts on Monday and ends on Wednesday and my time interval is 1 day, there needs to be 3 rows, 1 for when the event began on Monday then ending at just before midnight, 1 for Tuesday at midnight ending just before the following midnight, and 1 for Wednesday at midnight to the event end time. It would be nice if given a dataframe and indicating start column, end column, and time interval, a method returned a dataframe that made those necessary cuts and filled in the gaps with extra rows. #### Describe the solution you'd like ``` def split_events(self, start, end, freq, show_event_id=False): """ Takes properly formatted pandas.DataFrame of events and adds rows for events that cross into multiple intervals so each row falls under one interval Args: start (str): name of start datetime.datetime formatted column stop (str): name of end datetime.datetime formatted column freq (str): frequency string show_event_id (bool): adding id column for reverse mapping Returns: pandas.DataFrame: formatted where events that cross over into multiple intervals are separated into separate events """ >>> df = pd.DataFrame([['2020-06-01 08:06:00', '2020-06-01 09:14:00', 'bar'], ... columns=['start', 'end', 'foo']) >>> df start stop foo 0 '2020-06-01 08:06:00' '2020-06-01 09:14:00' bar >>> df.split_events(start='start', end='end', freq='30m') start stop foo 0 '2020-06-01 08:06:00' '2020-06-01 08:30:00' bar 1 '2020-06-01 08:30:00' '2020-06-01 09:00:00' bar 2 '2020-06-01 09:00:00' '2020-06-01 09:14:00' bar >>> df.split_events(start='start', end='end', freq='30m', show_event_id=True) id start stop foo 0 0 '2020-06-01 08:06:00' '2020-06-01 08:30:00' bar 1 0 '2020-06-01 08:30:00' '2020-06-01 09:00:00' bar 2 0 '2020-06-01 09:00:00' '2020-06-01 09:14:00' bar ``` #### API breaking implications I see this as a standalone method so I don't believe it would affect the API #### Describe alternatives you've considered Searched exhaustively for similar methods that will accomplish this task and have been unable to find an existing solution. Interpolate comes close but depends on a reference column, in this instance our reference is a specified time interval. The following link also seems to have functionality that can be leveraged to accomplish the problem but I haven't been able to find anything straightforward ([link](https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#timeseries-offset-aliases)) #### Additional context Probably more computational intensive than it needs to be but this is a function I have been using to split events by day. One of the reasons it is done in this fashion is to make sure any additional columns passed in the df are also replicated for each row. ```python import pandas as pd import numpy as np from datetime import datetime, timedelta def split_events_by_day(df, start='DateTimeStart', stop='DateTimeEnd'): """ Takes properly formatted pandas.DataFrame of events and adds rows for events that cross into multiple days so each row falls under same day Args: df (pandas.DataFrame): formatted with start and stop columns formatted as datetime.datetime start (str): name of start datetime.datetime formatted column stop (str): name of stop datetime.datetime formatted column Returns: pandas.DataFrame: formatted where events that cross over into multiple days are separated into separate events, an 'event_id' is added for reverse mapping """   df['event_id'] = np.arange(len(df)) # add indexing col for events   for index, row in df.iterrows(): row = row.copy() # making copy of row for editing # testing if event that starts and stops in the same day if (row[start].date()) == (row[stop].date()): pass # leave row as is   # testing if event that stops on a different day than it started else: # number of calendar days in timespan days = ( row[stop].replace(hour=0,minute=0,second=0 - row[start].replace(hour=0,minute=0,second=0) ).days next_day = ( row[start].replace(hour=0,minute=0,second=0) + timedelta(days=1) ) stop_time = row[stop] # assigning start calendar day cut to current row being evaluated df.at[index, stop] = next_day # adding rows for each calendar day in timespan not on start/stop # calendar day while days > 1: row = row.copy() row[start] = next_day next_day += timedelta(days=1) row[stop] = next_day df = df.append(row) days -= 1 row[start] = next_day row[stop] = stop_time # adding row for stop calendar day cut to current row being # evaluated df = df.append(row) return 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/34836/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34836/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34837
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34837/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34837/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34837/events
https://github.com/pandas-dev/pandas/pull/34837
640,089,205
MDExOlB1bGxSZXF1ZXN0NDM1NTYxODg3
34,837
REF: implement _shared_docs to de-circularize dependencies
{ "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
8
2020-06-17T02:20:16Z
2020-06-24T23:51:38Z
2020-06-24T23:36:11Z
MEMBER
null
A side effect of this is that a bunch of pd.concat imports can be done at import-time instead of at runtime, will do this in a separate pass.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34837/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34837/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34837.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34837", "merged_at": "2020-06-24T23:36:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34837.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34837" }
https://api.github.com/repos/pandas-dev/pandas/issues/34838
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34838/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34838/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34838/events
https://github.com/pandas-dev/pandas/issues/34838
640,095,325
MDU6SXNzdWU2NDAwOTUzMjU=
34,838
BUG: cut() ignores labels, include_lowest and other parameters when bins are given by IntervalIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/60200371?v=4", "events_url": "https://api.github.com/users/lkrylov2006/events{/privacy}", "followers_url": "https://api.github.com/users/lkrylov2006/followers", "following_url": "https://api.github.com/users/lkrylov2006/following{/other_user}", "gists_url": "https://api.github.com/users/lkrylov2006/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lkrylov2006", "id": 60200371, "login": "lkrylov2006", "node_id": "MDQ6VXNlcjYwMjAwMzcx", "organizations_url": "https://api.github.com/users/lkrylov2006/orgs", "received_events_url": "https://api.github.com/users/lkrylov2006/received_events", "repos_url": "https://api.github.com/users/lkrylov2006/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lkrylov2006/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lkrylov2006/subscriptions", "type": "User", "url": "https://api.github.com/users/lkrylov2006" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
closed
false
null
[]
null
0
2020-06-17T02:38:54Z
2020-08-21T17:05:17Z
2020-06-17T03:38:43Z
NONE
null
#### Code Sample, a copy-pastable example ```python import pandas as pd df = pd.DataFrame({'A': range(1, 10, 1)}) bins_s = [1, 5, 8] bins_i = pd.IntervalIndex.from_tuples([(1, 5), (5, 8)]) labels = ['low', 'high'] df['A_s'] = pd.cut(df['A'], bins_s, labels=labels, include_lowest=True, right=False) df['A_i'] = pd.cut(df['A'], bins_i, labels=labels, include_lowest=True, right=False) print(df) ``` actual output ``` A A_s A_i 0 1 low NaN 1 2 low (1.0, 5.0] 2 3 low (1.0, 5.0] 3 4 low (1.0, 5.0] 4 5 high (1.0, 5.0] 5 6 high (5.0, 8.0] 6 7 high (5.0, 8.0] 7 8 NaN (5.0, 8.0] 8 9 NaN NaN ``` #### Problem description The cut() implementation redirects to `Categorical.from_codes` when the bins are given by an IntervalIndex ignoring labels and producing results inconsistent with an equivalent call to cut with bins given by a sequence. #### Expected Output One would expect `A_s` anb `A_i` to be identical given the equivalent bin specifications. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.8.3.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_United States.1252 pandas : 1.0.3 numpy : 1.18.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.0.2 setuptools : 47.1.1.post20200604 Cython : None </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/34838/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34838/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34839
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34839/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34839/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34839/events
https://github.com/pandas-dev/pandas/pull/34839
640,150,072
MDExOlB1bGxSZXF1ZXN0NDM1NjA5ODMz
34,839
ENH: Add support for calculating EWMA with a time component
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-06-17T05:21:43Z
2020-07-07T00:31:46Z
2020-07-06T22:37:57Z
MEMBER
null
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry This enhancement allows EWMA to be calculated relative to the timestamp in which an observation occurs instead of assuming each observation is equally spaced.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34839/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34839/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34839.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34839", "merged_at": "2020-07-06T22:37:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34839.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34839" }
https://api.github.com/repos/pandas-dev/pandas/issues/34840
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34840/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34840/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34840/events
https://github.com/pandas-dev/pandas/issues/34840
640,157,637
MDU6SXNzdWU2NDAxNTc2Mzc=
34,840
ENH: Use of NamedTuple instead of Tuple for MultiIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/13206058?v=4", "events_url": "https://api.github.com/users/yohplala/events{/privacy}", "followers_url": "https://api.github.com/users/yohplala/followers", "following_url": "https://api.github.com/users/yohplala/following{/other_user}", "gists_url": "https://api.github.com/users/yohplala/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yohplala", "id": 13206058, "login": "yohplala", "node_id": "MDQ6VXNlcjEzMjA2MDU4", "organizations_url": "https://api.github.com/users/yohplala/orgs", "received_events_url": "https://api.github.com/users/yohplala/received_events", "repos_url": "https://api.github.com/users/yohplala/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yohplala/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yohplala/subscriptions", "type": "User", "url": "https://api.github.com/users/yohplala" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" } ]
closed
false
null
[]
null
6
2020-06-17T05:41:22Z
2020-08-21T17:05:18Z
2020-06-18T19:14:04Z
NONE
null
#### Is your feature request related to a problem? Simply from an ergonomic point of view, when using MultiIndex, it would be worth using a list of NamedTuple instead of Tuple, so that level name can be directly used to call index values. #### Describe the solution you'd like Currently, ```python import pandas as pd midx = pd.MultiIndex.from_product([['value1','value2'],[1]], names=['level1','level2']) df = pd.DataFrame(0,index=[1,2],columns=midx) df.columns[0]['level1'] ``` returns: ```python TypeError: tuple indices must be integers or slices, not str ``` Would this be a NamedTuple, this would return the correct result: 'value1' Bests, PS: and thanks for your awesome work!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34840/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34840/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34841
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34841/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34841/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34841/events
https://github.com/pandas-dev/pandas/issues/34841
640,186,990
MDU6SXNzdWU2NDAxODY5OTA=
34,841
BUG: to_parquet write partitioned DataFrame to local filesystem for other filesystems (e.g. S3)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1683885?v=4", "events_url": "https://api.github.com/users/kylase/events{/privacy}", "followers_url": "https://api.github.com/users/kylase/followers", "following_url": "https://api.github.com/users/kylase/following{/other_user}", "gists_url": "https://api.github.com/users/kylase/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kylase", "id": 1683885, "login": "kylase", "node_id": "MDQ6VXNlcjE2ODM4ODU=", "organizations_url": "https://api.github.com/users/kylase/orgs", "received_events_url": "https://api.github.com/users/kylase/received_events", "repos_url": "https://api.github.com/users/kylase/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kylase/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kylase/subscriptions", "type": "User", "url": "https://api.github.com/users/kylase" }
[ { "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" } ]
closed
false
null
[]
null
3
2020-06-17T06:49:42Z
2020-08-21T15:59:13Z
2020-08-21T15:59:13Z
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. --- **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 remote = "s3://some-pandas-test-bucket/table" pd.DataFrame([[1, 'a'], [1, 'b']], columns=['col_one', 'col_two']).to_parquet(remote, partition_cols=['col_two']) ``` #### Problem description When a DataFrame is to be saved in object file system such as S3 as partitioned Parquet files, it saves the files in local file system instead, only a 0 byte object of is created, whereas the files are stored in the working directory as `s3:` ``` (pandas-dev) ➜ pandas git:(fix/parquet-write-dataset-s3) ✗ ls -R s3: some-pandas-test-bucket s3:/some-pandas-test-bucket: table s3:/some-pandas-test-bucket/table: col_two=a col_two=b s3:/some-pandas-test-bucket/table/col_two=a: 2a386111fd44400b8de1901254a7c485.parquet s3:/some-pandas-test-bucket/table/col_two=b: aefb0d5b907a415d943b6bcf59f2521d.parquet ``` On S3 ``` (pandas-dev) ➜ pandas git:(fix/parquet-write-dataset-s3) ✗ aws s3 ls s3://some-pandas-test-bucket 2020-06-17 14:44:00 0 table ``` #### Expected Output ``` (pandas-dev) ➜ pandas git:(fix/parquet-write-dataset-s3) ✗ aws s3 ls s3://some-pandas-test-bucket --recursive --human-readable --summarize 2020-06-17 14:46:30 0 Bytes table 2020-06-17 14:46:30 1.3 KiB table/col_two=a/291b3f0d1d1f4eab9d6358e39ac47631.parquet 2020-06-17 14:46:30 1.3 KiB table/col_two=b/834e872441224885a5089554524d3b12.parquet ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 5fdd6f50ac5ac2de939ef5b849e4c41e27e623a3 python : 3.8.3.final.0 python-bits : 64 OS : Darwin OS-release : 19.5.0 Version : Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : None.UTF-8 pandas : 1.1.0.dev0+1887.g5fdd6f50a.dirty numpy : 1.18.5 pytz : 2020.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 47.3.1.post20200616 Cython : 0.29.20 pytest : 5.4.3 hypothesis : 5.16.1 sphinx : 3.1.1 blosc : None feather : None xlsxwriter : 1.2.9 lxml.etree : 4.5.1 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.15.0 pandas_datareader: None bs4 : 4.9.1 bottleneck : 1.3.2 fastparquet : 0.4.0 gcsfs : None matplotlib : 3.2.1 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : 0.17.1 pytables : None pyxlsb : None s3fs : 0.4.2 scipy : 1.4.1 sqlalchemy : 1.3.17 tables : 3.6.1 tabulate : 0.8.7 xarray : 0.15.1 xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.48.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34841/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34841/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34842
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34842/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34842/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34842/events
https://github.com/pandas-dev/pandas/pull/34842
640,205,930
MDExOlB1bGxSZXF1ZXN0NDM1NjU1MDU1
34,842
Infer filesystem from path when writing a partitioned DataFrame to remote file systems using pyarrow
{ "avatar_url": "https://avatars.githubusercontent.com/u/1683885?v=4", "events_url": "https://api.github.com/users/kylase/events{/privacy}", "followers_url": "https://api.github.com/users/kylase/followers", "following_url": "https://api.github.com/users/kylase/following{/other_user}", "gists_url": "https://api.github.com/users/kylase/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kylase", "id": 1683885, "login": "kylase", "node_id": "MDQ6VXNlcjE2ODM4ODU=", "organizations_url": "https://api.github.com/users/kylase/orgs", "received_events_url": "https://api.github.com/users/kylase/received_events", "repos_url": "https://api.github.com/users/kylase/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kylase/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kylase/subscriptions", "type": "User", "url": "https://api.github.com/users/kylase" }
[ { "color": "5319e7", "default": false, "description": "parquet, feather", "id": 685114413, "name": "IO Parquet", "node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet" } ]
closed
false
null
[]
null
5
2020-06-17T07:25:11Z
2020-08-21T15:58:14Z
2020-08-21T15:57:37Z
NONE
null
Infer the file system to be passed to pyarrow based on the path provided. - [x] closes #34841 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34842/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34842/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34842.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34842", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34842.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34842" }
https://api.github.com/repos/pandas-dev/pandas/issues/34843
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34843/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34843/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34843/events
https://github.com/pandas-dev/pandas/issues/34843
640,237,336
MDU6SXNzdWU2NDAyMzczMzY=
34,843
BUG: Series(..) coerces datetime64[non-ns] array differently depending on writable flag
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "b60205", "default": false, "description": "Internal Consistency of API/Behavior", "id": 1741841389, "name": "API - Consistency", "node_id": "MDU6TGFiZWwxNzQxODQxMzg5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-06-17T08:13:37Z
2020-06-18T06:48:00Z
2020-06-18T06:47:45Z
MEMBER
null
Normally, if we create a Series or DataFrame from a numpy array of non-ns datetime64, and the values are within the ns-range, we convert to datetime64[ns] (in `sanitize_array`). However, this does not seem to happen if the array is not writeable: ``` In [9]: arr = np.array(['2020-01-01T00:00:00.000000'], dtype="datetime64[us]") In [10]: pd.Series(arr) Out[10]: 0 2020-01-01 dtype: datetime64[ns] In [11]: arr.flags.writeable = False In [12]: pd.Series(arr) Out[12]: 0 2020-01-01 00:00:00 dtype: object ``` I *suppose* this is a bug? (@jbrockmendel ?) It seems this is due to `tslibs.conversion.ensure_datetime64ns` failing on a read-only buffer, and it started "failing" since pands 0.25
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34843/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34843/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34844
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34844/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34844/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34844/events
https://github.com/pandas-dev/pandas/pull/34844
640,271,950
MDExOlB1bGxSZXF1ZXN0NDM1NzA5Mzc3
34,844
BUG: fix construction from read-only non-ns datetime64 numpy array
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-06-17T09:03:34Z
2020-06-18T10:26:49Z
2020-06-18T06:47:45Z
MEMBER
null
Closes #34843
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34844/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34844/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34844.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34844", "merged_at": "2020-06-18T06:47:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34844.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34844" }
https://api.github.com/repos/pandas-dev/pandas/issues/34845
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34845/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34845/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34845/events
https://github.com/pandas-dev/pandas/pull/34845
640,279,833
MDExOlB1bGxSZXF1ZXN0NDM1NzE1ODU5
34,845
DOC: 1.0.5 release date
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-06-18T13:09:32Z", "closed_issues": 28, "created_at": "2020-05-30T13:59:46Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-06-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/74", "id": 5480671, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels", "node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==", "number": 74, "open_issues": 0, "state": "closed", "title": "1.0.5", "updated_at": "2020-06-18T13:09:32Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74" }
2
2020-06-17T09:15:02Z
2020-06-17T11:00:19Z
2020-06-17T10:57:00Z
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/34845/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34845/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34845.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34845", "merged_at": "2020-06-17T10:57:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34845.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34845" }
https://api.github.com/repos/pandas-dev/pandas/issues/34846
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34846/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34846/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34846/events
https://github.com/pandas-dev/pandas/pull/34846
640,348,317
MDExOlB1bGxSZXF1ZXN0NDM1NzcyOTE1
34,846
Backport PR #34845 on branch 1.0.x (DOC: 1.0.5 release date)
{ "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" }
[]
closed
false
null
[]
{ "closed_at": "2020-06-18T13:09:32Z", "closed_issues": 28, "created_at": "2020-05-30T13:59:46Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-06-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/74", "id": 5480671, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels", "node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==", "number": 74, "open_issues": 0, "state": "closed", "title": "1.0.5", "updated_at": "2020-06-18T13:09:32Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74" }
0
2020-06-17T10:57:34Z
2020-06-17T11:45:01Z
2020-06-17T11:45:01Z
NONE
null
Backport PR #34845: DOC: 1.0.5 release date
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34846/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34846/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34846.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34846", "merged_at": "2020-06-17T11:45:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34846.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34846" }
https://api.github.com/repos/pandas-dev/pandas/issues/34847
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34847/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34847/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34847/events
https://github.com/pandas-dev/pandas/pull/34847
640,349,074
MDExOlB1bGxSZXF1ZXN0NDM1NzczNTU2
34,847
Remove redundant lists in array.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/56778?v=4", "events_url": "https://api.github.com/users/cool-RR/events{/privacy}", "followers_url": "https://api.github.com/users/cool-RR/followers", "following_url": "https://api.github.com/users/cool-RR/following{/other_user}", "gists_url": "https://api.github.com/users/cool-RR/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cool-RR", "id": 56778, "login": "cool-RR", "node_id": "MDQ6VXNlcjU2Nzc4", "organizations_url": "https://api.github.com/users/cool-RR/orgs", "received_events_url": "https://api.github.com/users/cool-RR/received_events", "repos_url": "https://api.github.com/users/cool-RR/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cool-RR/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cool-RR/subscriptions", "type": "User", "url": "https://api.github.com/users/cool-RR" }
[ { "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": "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": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-06-17T10:58:46Z
2020-06-20T14:47:24Z
2020-06-20T14:47:21Z
CONTRIBUTOR
null
As far as I know these lists do nothing but taking up memory.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34847/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34847/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34847.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34847", "merged_at": "2020-06-20T14:47:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34847.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34847" }
https://api.github.com/repos/pandas-dev/pandas/issues/34848
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34848/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34848/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34848/events
https://github.com/pandas-dev/pandas/issues/34848
640,371,916
MDU6SXNzdWU2NDAzNzE5MTY=
34,848
CI: Failing np.bool on numpy master
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-06-17T11:36:44Z
2020-06-17T17:26:57Z
2020-06-17T17:26:57Z
CONTRIBUTOR
null
``` =================================== FAILURES =================================== _________________________ test_dataframe_div_silenced __________________________ [gw0] linux -- Python 3.9.0 /home/travis/virtualenv/python3.9-dev/bin/python def test_dataframe_div_silenced(): # GH#26793 pdf1 = pd.DataFrame( { "A": np.arange(10), "B": [np.nan, 1, 2, 3, 4] * 2, "C": [np.nan] * 10, "D": np.arange(10), }, index=list("abcdefghij"), columns=list("ABCD"), ) pdf2 = pd.DataFrame( np.random.randn(10, 4), index=list("abcdefghjk"), columns=list("ABCX") ) with tm.assert_produces_warning(None): > pdf1.div(pdf2, fill_value=0) pandas/tests/arithmetic/test_numeric.py:1311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <contextlib._GeneratorContextManager object at 0x7f00d965da90> type = None, value = None, traceback = None def __exit__(self, type, value, traceback): if type is None: try: > next(self.gen) E AssertionError: Caused unexpected warning(s): [('DeprecationWarning', DeprecationWarning('`np.bool` is a deprecated alias for the builtin `bool`. Use `bool` by itself, which is identical in behavior, to silence this warning. If you specifically wanted the numpy scalar type, use `np.bool_` here.'), '/home/travis/build/pandas-dev/pandas/pandas/core/indexes/base.py', 377), ('DeprecationWarning', DeprecationWarning('`np.bool` is a deprecated alias for the builtin `bool`. Use `bool` by itself, which is identical in behavior, to silence this warning. If you specifically wanted the numpy scalar type, use `np.bool_` here.'), '/home/travis/build/pandas-dev/pandas/pandas/core/indexes/base.py', 377), ('DeprecationWarning', DeprecationWarning('`np.bool` is a deprecated alias for the builtin `bool`. Use `bool` by itself, which is identical in behavior, to silence this warning. If you specifically wanted the numpy scalar type, use `np.bool_` here.'), '/home/travis/build/pandas-dev/pandas/pandas/core/indexes/base.py', 377), ('DeprecationWarning', DeprecationWarning('`np.bool` is a deprecated alias for the builtin `bool`. Use `bool` by itself, which is identical in behavior, to silence this warning. If you specifically wanted the numpy scalar type, use `np.bool_` here.'), '/home/travis/build/pandas-dev/pandas/pandas/core/indexes/base.py', 377)] ``` https://travis-ci.org/github/pandas-dev/pandas/jobs/699262221
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34848/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34848/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34849
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34849/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34849/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34849/events
https://github.com/pandas-dev/pandas/pull/34849
640,405,665
MDExOlB1bGxSZXF1ZXN0NDM1ODIxMDY5
34,849
WIP: TST: split up tests/plotting/test_frame.py into subdir & modules #34769
{ "avatar_url": "https://avatars.githubusercontent.com/u/4172290?v=4", "events_url": "https://api.github.com/users/iahsanujunda/events{/privacy}", "followers_url": "https://api.github.com/users/iahsanujunda/followers", "following_url": "https://api.github.com/users/iahsanujunda/following{/other_user}", "gists_url": "https://api.github.com/users/iahsanujunda/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/iahsanujunda", "id": 4172290, "login": "iahsanujunda", "node_id": "MDQ6VXNlcjQxNzIyOTA=", "organizations_url": "https://api.github.com/users/iahsanujunda/orgs", "received_events_url": "https://api.github.com/users/iahsanujunda/received_events", "repos_url": "https://api.github.com/users/iahsanujunda/repos", "site_admin": false, "starred_url": "https://api.github.com/users/iahsanujunda/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/iahsanujunda/subscriptions", "type": "User", "url": "https://api.github.com/users/iahsanujunda" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
10
2020-06-17T12:33:32Z
2020-10-31T19:17:09Z
2020-10-31T19:17:08Z
NONE
null
Moved `tests/plotting/test_frame.py` to `tests/plotting/frame/test_frame.py`. Worked towards #34769 but not closing it as this has not split the test suite. - [ ] xref #34769 - [x] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34849/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34849/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34849.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34849", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34849.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34849" }
https://api.github.com/repos/pandas-dev/pandas/issues/34850
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34850/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34850/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34850/events
https://github.com/pandas-dev/pandas/issues/34850
640,415,178
MDU6SXNzdWU2NDA0MTUxNzg=
34,850
BUG: epoch2num matplotlib deprecation warning
{ "avatar_url": "https://avatars.githubusercontent.com/u/6197628?v=4", "events_url": "https://api.github.com/users/dstansby/events{/privacy}", "followers_url": "https://api.github.com/users/dstansby/followers", "following_url": "https://api.github.com/users/dstansby/following{/other_user}", "gists_url": "https://api.github.com/users/dstansby/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dstansby", "id": 6197628, "login": "dstansby", "node_id": "MDQ6VXNlcjYxOTc2Mjg=", "organizations_url": "https://api.github.com/users/dstansby/orgs", "received_events_url": "https://api.github.com/users/dstansby/received_events", "repos_url": "https://api.github.com/users/dstansby/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dstansby/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dstansby/subscriptions", "type": "User", "url": "https://api.github.com/users/dstansby" }
[ { "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": "e11d21", "default": false, "description": "Blocking issue or pull request for an upcoming release", "id": 77550281, "name": "Blocker", "node_id": "MDU6TGFiZWw3NzU1MDI4MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Blocker" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
14
2020-06-17T12:47:58Z
2020-07-23T22:06:03Z
2020-07-23T22:06:03Z
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. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Problem description Using the current matplotlib master branch, pandas raises the following deprecation warning: ``` /Users/dstansby/miniconda3/envs/dev/lib/python3.8/site-packages/pandas/plotting/_matplotlib/converter.py:256: MatplotlibDeprecationWarning: The epoch2num function was deprecated in Matplotlib 3.3 and will be removed two minor releases later. ``` It looks like this line is present on pandas master, so should probably be changed (I'm not sure how) to avoid raising this deprecation warning. #### Expected Output #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.8.3.final.0 python-bits : 64 OS : Darwin OS-release : 19.4.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.0.4 numpy : 1.18.5 pytz : 2020.1 dateutil : 2.8.1 pip : 20.0.2 setuptools : 47.1.1.post20200604 Cython : None pytest : 5.4.3 hypothesis : None sphinx : 3.0.4 blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.1 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.15.0 pandas_datareader: None bs4 : 4.9.1 bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.5.1 matplotlib : 3.2.1.post2858+gc3bfeb9c3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : 5.4.3 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None xlsxwriter : None numba : None </details>
{ "+1": 3, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 3, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34850/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34850/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34851
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34851/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34851/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34851/events
https://github.com/pandas-dev/pandas/pull/34851
640,442,219
MDExOlB1bGxSZXF1ZXN0NDM1ODUxNDc1
34,851
base/test_unique.py: regression test for bad unicode string
{ "avatar_url": "https://avatars.githubusercontent.com/u/229540?v=4", "events_url": "https://api.github.com/users/suvayu/events{/privacy}", "followers_url": "https://api.github.com/users/suvayu/followers", "following_url": "https://api.github.com/users/suvayu/following{/other_user}", "gists_url": "https://api.github.com/users/suvayu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/suvayu", "id": 229540, "login": "suvayu", "node_id": "MDQ6VXNlcjIyOTU0MA==", "organizations_url": "https://api.github.com/users/suvayu/orgs", "received_events_url": "https://api.github.com/users/suvayu/received_events", "repos_url": "https://api.github.com/users/suvayu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/suvayu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/suvayu/subscriptions", "type": "User", "url": "https://api.github.com/users/suvayu" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-06-17T13:27:02Z
2020-06-18T23:08:46Z
2020-06-18T23:08:41Z
CONTRIBUTOR
null
- [x] closes #34550 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry I ran the tests with pandas 1.0.4, where it segfaults as expected (shown below), and `master` passes the test. tests/test_mytest.py::test_unique2[idx_or_series_w_bad_unicode0] Fatal Python error: Segmentation fault Current thread 0x00007f09d2dc4740 (most recent call first): File "/opt/conda/envs/py38/lib/python3.8/site-packages/pandas/core/algorithms.py", line 382 in unique File "/opt/conda/envs/py38/lib/python3.8/site-packages/pandas/core/base.py", line 1246 in unique File "/opt/conda/envs/py38/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 1974 in unique File "/home/suvali/tmp/pandas-tests/tests/test_mytest.py", line 16 in test_unique2 File "/opt/conda/envs/py38/lib/python3.8/site-packages/_pytest/python.py", line 182 in pytest_pyfunc_call File "/opt/conda/envs/py38/lib/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall File "/opt/conda/envs/py38/lib/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda> File "/opt/conda/envs/py38/lib/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec File "/opt/conda/envs/py38/lib/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__ File "/opt/conda/envs/py38/lib/python3.8/site-packages/_pytest/python.py", line 1477 in runtest File "/opt/conda/envs/py38/lib/python3.8/site-packages/_pytest/runner.py", line 135 in pytest_runtest_call File "/opt/conda/envs/py38/lib/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall File "/opt/conda/envs/py38/lib/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda> File "/opt/conda/envs/py38/lib/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec File "/opt/conda/envs/py38/lib/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__ File "/opt/conda/envs/py38/lib/python3.8/site-packages/_pytest/runner.py", line 217 in <lambda> File "/opt/conda/envs/py38/lib/python3.8/site-packages/_pytest/runner.py", line 244 in from_call File "/opt/conda/envs/py38/lib/python3.8/site-packages/_pytest/runner.py", line 216 in call_runtest_hook File "/opt/conda/envs/py38/lib/python3.8/site-packages/_pytest/runner.py", line 186 in call_and_report File "/opt/conda/envs/py38/lib/python3.8/site-packages/_pytest/runner.py", line 100 in runtestprotocol File "/opt/conda/envs/py38/lib/python3.8/site-packages/_pytest/runner.py", line 85 in pytest_runtest_protocol File "/opt/conda/envs/py38/lib/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall File "/opt/conda/envs/py38/lib/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda> File "/opt/conda/envs/py38/lib/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec File "/opt/conda/envs/py38/lib/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__ File "/opt/conda/envs/py38/lib/python3.8/site-packages/_pytest/main.py", line 272 in pytest_runtestloop File "/opt/conda/envs/py38/lib/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall File "/opt/conda/envs/py38/lib/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda> File "/opt/conda/envs/py38/lib/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec File "/opt/conda/envs/py38/lib/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__ File "/opt/conda/envs/py38/lib/python3.8/site-packages/_pytest/main.py", line 247 in _main File "/opt/conda/envs/py38/lib/python3.8/site-packages/_pytest/main.py", line 191 in wrap_session File "/opt/conda/envs/py38/lib/python3.8/site-packages/_pytest/main.py", line 240 in pytest_cmdline_main File "/opt/conda/envs/py38/lib/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall File "/opt/conda/envs/py38/lib/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda> File "/opt/conda/envs/py38/lib/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec File "/opt/conda/envs/py38/lib/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__ File "/opt/conda/envs/py38/lib/python3.8/site-packages/_pytest/config/__init__.py", line 124 in main File "/opt/conda/envs/py38/bin/pytest", line 11 in <module> Segmentation fault (core dumped)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34851/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34851/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34851.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34851", "merged_at": "2020-06-18T23:08:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34851.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34851" }
https://api.github.com/repos/pandas-dev/pandas/issues/34852
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34852/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34852/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34852/events
https://github.com/pandas-dev/pandas/pull/34852
640,480,144
MDExOlB1bGxSZXF1ZXN0NDM1ODgyOTEz
34,852
CI: Fail on warning for 3.9
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-06-17T14:17:14Z
2020-07-06T15:32:05Z
2020-07-06T15:32:04Z
CONTRIBUTOR
null
This should fail till https://github.com/pandas-dev/pandas/pull/34835 is in.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34852/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34852/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34852.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34852", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34852.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34852" }
https://api.github.com/repos/pandas-dev/pandas/issues/34853
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34853/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34853/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34853/events
https://github.com/pandas-dev/pandas/pull/34853
640,529,388
MDExOlB1bGxSZXF1ZXN0NDM1OTIzMjE5
34,853
DEPR: to_perioddelta
{ "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": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-06-17T15:19:24Z
2020-06-18T16:47:15Z
2020-06-18T16:33:53Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry The only usage was in liboffsets and that has now been 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/34853/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34853/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34853.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34853", "merged_at": "2020-06-18T16:33:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34853.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34853" }
https://api.github.com/repos/pandas-dev/pandas/issues/34854
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34854/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34854/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34854/events
https://github.com/pandas-dev/pandas/issues/34854
640,760,623
MDU6SXNzdWU2NDA3NjA2MjM=
34,854
QST: Events generated when dataframes are changed
{ "avatar_url": "https://avatars.githubusercontent.com/u/312062?v=4", "events_url": "https://api.github.com/users/sgt101/events{/privacy}", "followers_url": "https://api.github.com/users/sgt101/followers", "following_url": "https://api.github.com/users/sgt101/following{/other_user}", "gists_url": "https://api.github.com/users/sgt101/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sgt101", "id": 312062, "login": "sgt101", "node_id": "MDQ6VXNlcjMxMjA2Mg==", "organizations_url": "https://api.github.com/users/sgt101/orgs", "received_events_url": "https://api.github.com/users/sgt101/received_events", "repos_url": "https://api.github.com/users/sgt101/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sgt101/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sgt101/subscriptions", "type": "User", "url": "https://api.github.com/users/sgt101" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "207de5", "default": false, "description": "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
4
2020-06-17T21:42:36Z
2020-06-18T14:39:33Z
2020-06-18T14:39:33Z
NONE
null
- [x ] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions. - [x ] I have asked my usage related question on [StackOverflow](https://stackoverflow.com). here is a link to this question (similar) https://stackoverflow.com/questions/48209811/how-to-notify-pandas-dataframe-modification --- #### Question about pandas What events are generated when a dataframe is updated in pandas? for example if a column is dropped or a value is changed in a cell? I am not interested in accesses, but I'd like to know if a dataframe in my environment goes away or if it is altered.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34854/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34854/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34855
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34855/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34855/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34855/events
https://github.com/pandas-dev/pandas/issues/34855
640,894,004
MDU6SXNzdWU2NDA4OTQwMDQ=
34,855
DOC: Page Invalid 404 for Pandas 1.0.5 whatsnew
{ "avatar_url": "https://avatars.githubusercontent.com/u/15884785?v=4", "events_url": "https://api.github.com/users/JiaxiangBU/events{/privacy}", "followers_url": "https://api.github.com/users/JiaxiangBU/followers", "following_url": "https://api.github.com/users/JiaxiangBU/following{/other_user}", "gists_url": "https://api.github.com/users/JiaxiangBU/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/JiaxiangBU", "id": 15884785, "login": "JiaxiangBU", "node_id": "MDQ6VXNlcjE1ODg0Nzg1", "organizations_url": "https://api.github.com/users/JiaxiangBU/orgs", "received_events_url": "https://api.github.com/users/JiaxiangBU/received_events", "repos_url": "https://api.github.com/users/JiaxiangBU/repos", "site_admin": false, "starred_url": "https://api.github.com/users/JiaxiangBU/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JiaxiangBU/subscriptions", "type": "User", "url": "https://api.github.com/users/JiaxiangBU" }
[ { "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": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
6
2020-06-18T04:18:17Z
2020-06-18T10:40:15Z
2020-06-18T07:18:48Z
NONE
null
#### Location of the documentation [this should provide the location of the documentation, e.g. "pandas.read_csv" or the URL of the documentation, e.g. "https://dev.pandas.io/docs/reference/api/pandas.read_csv.html"] Here is the page location https://github.com/pandas-dev/pandas/releases/tag/v1.0.5 ``` 404 Not Found nginx/1.10.3 (Ubuntu) ``` **Note**: You can check the latest versions of the docs on `master` [here](https://pandas.pydata.org/docs/dev/). #### Documentation problem [this should provide a description of what documentation you believe needs to be fixed/improved] #### Suggested fix for documentation [this should explain the suggested fix and **why** it's better than the existing documentation]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 1, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34855/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34855/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34856
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34856/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34856/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34856/events
https://github.com/pandas-dev/pandas/pull/34856
640,922,575
MDExOlB1bGxSZXF1ZXN0NDM2MjQwMDA3
34,856
DOC: Fix syntax in 1.1.0 whatsnew
{ "avatar_url": "https://avatars.githubusercontent.com/u/30631476?v=4", "events_url": "https://api.github.com/users/quangngd/events{/privacy}", "followers_url": "https://api.github.com/users/quangngd/followers", "following_url": "https://api.github.com/users/quangngd/following{/other_user}", "gists_url": "https://api.github.com/users/quangngd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/quangngd", "id": 30631476, "login": "quangngd", "node_id": "MDQ6VXNlcjMwNjMxNDc2", "organizations_url": "https://api.github.com/users/quangngd/orgs", "received_events_url": "https://api.github.com/users/quangngd/received_events", "repos_url": "https://api.github.com/users/quangngd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/quangngd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/quangngd/subscriptions", "type": "User", "url": "https://api.github.com/users/quangngd" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-06-18T05:37:34Z
2020-06-20T11:08:40Z
2020-06-18T07:22:44Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34856/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34856/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34856.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34856", "merged_at": "2020-06-18T07:22:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34856.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34856" }
https://api.github.com/repos/pandas-dev/pandas/issues/34857
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34857/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34857/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34857/events
https://github.com/pandas-dev/pandas/issues/34857
640,954,927
MDU6SXNzdWU2NDA5NTQ5Mjc=
34,857
BUG: read-only buffer failures in datetime parsing
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-06-18T06:49:43Z
2020-11-04T13:43:46Z
2020-11-04T13:43:46Z
MEMBER
null
PR https://github.com/pandas-dev/pandas/pull/22147 caused several "read-only buffer" errors (latest: https://github.com/pandas-dev/pandas/issues/34843). I quickly skimmed that PR, and most changes there have been fixed in the mean-time (either converted back to use ndarray or added `const`), a few are remaining, like: `array_strptime` (and also `array_to_timedelta64` -> `to_timedelta`) ``` In [4]: arr = np.array(['15/10/2020'], dtype=object) In [5]: arr.flags.writeable = False In [6]: pd.to_datetime(arr, format="%d/%m/%Y") ... ValueError: buffer source array is read-only ``` and then a few in parsing.pyx, but I suppose those are generally not a problem, if the arrays are coming from out parsing code, they will never be read-only. _Originally posted by @jorisvandenbossche in https://github.com/pandas-dev/pandas/issues/34843#issuecomment-645259205_
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34857/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34857/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34858
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34858/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34858/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34858/events
https://github.com/pandas-dev/pandas/issues/34858
640,991,515
MDU6SXNzdWU2NDA5OTE1MTU=
34,858
1.0 as boolean dtype cause ValueError in pd.read_csv()
{ "avatar_url": "https://avatars.githubusercontent.com/u/27057875?v=4", "events_url": "https://api.github.com/users/aauss/events{/privacy}", "followers_url": "https://api.github.com/users/aauss/followers", "following_url": "https://api.github.com/users/aauss/following{/other_user}", "gists_url": "https://api.github.com/users/aauss/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aauss", "id": 27057875, "login": "aauss", "node_id": "MDQ6VXNlcjI3MDU3ODc1", "organizations_url": "https://api.github.com/users/aauss/orgs", "received_events_url": "https://api.github.com/users/aauss/received_events", "repos_url": "https://api.github.com/users/aauss/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aauss/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aauss/subscriptions", "type": "User", "url": "https://api.github.com/users/aauss" }
[]
closed
false
null
[]
null
1
2020-06-18T07:43:32Z
2020-06-18T08:35:24Z
2020-06-18T08:35:24Z
NONE
null
When I read the following "example_csv" using pd.read_csv() without assigning dtypes, no error is raised: ```python import io import pandas as pd example_csv = """ boolean_column, string_column 1.0, a 0.0, b ,c""" csv = io.StringIO(example_csv) df = pd.read_csv(csv) df.info() >>> <class 'pandas.core.frame.DataFrame'> RangeIndex: 3 entries, 0 to 2 Data columns (total 2 columns): # Column Non-Null Count Dtype --- ------ -------------- ----- 0 boolean_column 2 non-null float64 1 string_column 3 non-null object dtypes: float64(1), object(1) memory usage: 176.0+ bytes ``` However, I want "boolean_column" to have a nullable boolean dtype instead of float64. Therefore, I assign a dtype when reading the data which casues an error. ```python csv = io.StringIO(example_csv) df = pd.read_csv(csv, dtype={"boolean_column": "boolean"}) >>> ValueError: 1.0 cannot be cast to bool ``` Is this intended? I am using Windows 10, Python 3.7.6 and pandas 1.0.4
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34858/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34858/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34859
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34859/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34859/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34859/events
https://github.com/pandas-dev/pandas/issues/34859
640,997,601
MDU6SXNzdWU2NDA5OTc2MDE=
34,859
BUG: ValueError: 1.0 and 0.0 cannot be cast to bool when using pd.read_csv()
{ "avatar_url": "https://avatars.githubusercontent.com/u/27057875?v=4", "events_url": "https://api.github.com/users/aauss/events{/privacy}", "followers_url": "https://api.github.com/users/aauss/followers", "following_url": "https://api.github.com/users/aauss/following{/other_user}", "gists_url": "https://api.github.com/users/aauss/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aauss", "id": 27057875, "login": "aauss", "node_id": "MDQ6VXNlcjI3MDU3ODc1", "organizations_url": "https://api.github.com/users/aauss/orgs", "received_events_url": "https://api.github.com/users/aauss/received_events", "repos_url": "https://api.github.com/users/aauss/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aauss/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aauss/subscriptions", "type": "User", "url": "https://api.github.com/users/aauss" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
5
2020-06-18T08:03:35Z
2020-07-02T15:01:40Z
2020-07-02T15:01:40Z
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 import io import pandas as pd example_csv = """ boolean_column, string_column 1.0, a 0.0, b ,c""" csv = io.StringIO(example_csv) df = pd.read_csv(csv, dtype={"boolean_column": "boolean"}) ``` ```python-traceback --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-2-c698a4bcbc2d> in <module> 1 csv = io.StringIO(example_csv) ----> 2 df = pd.read_csv(csv, dtype={"boolean_column": "boolean"}) c:\users\abbooda\appdata\local\continuum\miniconda3\envs\divi\lib\site-packages\pandas\io\parsers.py in parser_f(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, doublequote, escapechar, comment, encoding, dialect, error_bad_lines, warn_bad_lines, delim_whitespace, low_memory, memory_map, float_precision) 674 ) 675 --> 676 return _read(filepath_or_buffer, kwds) 677 678 parser_f.__name__ = name c:\users\abbooda\appdata\local\continuum\miniconda3\envs\divi\lib\site-packages\pandas\io\parsers.py in _read(filepath_or_buffer, kwds) 452 453 try: --> 454 data = parser.read(nrows) 455 finally: 456 parser.close() c:\users\abbooda\appdata\local\continuum\miniconda3\envs\divi\lib\site-packages\pandas\io\parsers.py in read(self, nrows) 1131 def read(self, nrows=None): 1132 nrows = _validate_integer("nrows", nrows) -> 1133 ret = self._engine.read(nrows) 1134 1135 # May alter columns / col_dict c:\users\abbooda\appdata\local\continuum\miniconda3\envs\divi\lib\site-packages\pandas\io\parsers.py in read(self, nrows) 2035 def read(self, nrows=None): 2036 try: -> 2037 data = self._reader.read(nrows) 2038 except StopIteration: 2039 if self._first_chunk: pandas\_libs\parsers.pyx in pandas._libs.parsers.TextReader.read() pandas\_libs\parsers.pyx in pandas._libs.parsers.TextReader._read_low_memory() pandas\_libs\parsers.pyx in pandas._libs.parsers.TextReader._read_rows() pandas\_libs\parsers.pyx in pandas._libs.parsers.TextReader._convert_column_data() pandas\_libs\parsers.pyx in pandas._libs.parsers.TextReader._convert_tokens() pandas\_libs\parsers.pyx in pandas._libs.parsers.TextReader._convert_with_dtype() c:\users\abbooda\appdata\local\continuum\miniconda3\envs\divi\lib\site-packages\pandas\core\arrays\boolean.py in _from_sequence_of_strings(cls, strings, dtype, copy) 302 raise ValueError(f"{s} cannot be cast to bool") 303 --> 304 scalars = [map_string(x) for x in strings] 305 return cls._from_sequence(scalars, dtype, copy) 306 c:\users\abbooda\appdata\local\continuum\miniconda3\envs\divi\lib\site-packages\pandas\core\arrays\boolean.py in <listcomp>(.0) 302 raise ValueError(f"{s} cannot be cast to bool") 303 --> 304 scalars = [map_string(x) for x in strings] 305 return cls._from_sequence(scalars, dtype, copy) 306 c:\users\abbooda\appdata\local\continuum\miniconda3\envs\divi\lib\site-packages\pandas\core\arrays\boolean.py in map_string(s) 300 return False 301 else: --> 302 raise ValueError(f"{s} cannot be cast to bool") 303 304 scalars = [map_string(x) for x in strings] ValueError: 1.0 cannot be cast to bool ``` #### Problem description I would expect that 1.0, 0.0 and None can be cast to a nullable boolean. Using ``pd.read_csv()`` without dtype assignment assigns float64 dtype. Why does "boolean" not work? #### Expected Output ```python print(df) >>> boolean_column string_column 0 True a 1 False b 2 <NA> c ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.6.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : None.None pandas : 1.0.4 numpy : 1.18.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 47.3.0.post20200616 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.15.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.2.1 numexpr : None odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pytables : None pytest : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None xlsxwriter : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34859/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34859/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34860
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34860/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34860/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34860/events
https://github.com/pandas-dev/pandas/issues/34860
641,107,897
MDU6SXNzdWU2NDExMDc4OTc=
34,860
BUG: indexing regression with datetime index
{ "avatar_url": "https://avatars.githubusercontent.com/u/3621629?v=4", "events_url": "https://api.github.com/users/0x0L/events{/privacy}", "followers_url": "https://api.github.com/users/0x0L/followers", "following_url": "https://api.github.com/users/0x0L/following{/other_user}", "gists_url": "https://api.github.com/users/0x0L/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/0x0L", "id": 3621629, "login": "0x0L", "node_id": "MDQ6VXNlcjM2MjE2Mjk=", "organizations_url": "https://api.github.com/users/0x0L/orgs", "received_events_url": "https://api.github.com/users/0x0L/received_events", "repos_url": "https://api.github.com/users/0x0L/repos", "site_admin": false, "starred_url": "https://api.github.com/users/0x0L/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/0x0L/subscriptions", "type": "User", "url": "https://api.github.com/users/0x0L" }
[ { "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" }, { "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-06-18T10:50:14Z
2020-06-24T16:00:50Z
2020-06-24T16:00:50Z
CONTRIBUTOR
null
Sample code: ```python import pandas as pd idx = pd.date_range('2008', '2009') idx.to_series()['2008'] ``` in 0.25.3 we get ```` 2008-01-01 2008-01-01 2008-01-02 2008-01-02 2008-01-03 2008-01-03 2008-01-04 2008-01-04 2008-01-05 2008-01-05 ... 2008-12-27 2008-12-27 2008-12-28 2008-12-28 2008-12-29 2008-12-29 2008-12-30 2008-12-30 2008-12-31 2008-12-31 Freq: D, Length: 366, dtype: datetime64[ns] ```` in >= 1.0.0 (up to 1.0.4 at least) we get ``` 2008 2008-01-01 2008 2008-01-02 2008 2008-01-03 2008 2008-01-04 2008 2008-01-05 ... 2008 2008-12-27 2008 2008-12-28 2008 2008-12-29 2008 2008-12-30 2008 2008-12-31 Length: 366, dtype: datetime64[ns] ``` The index has dtype obj Variantations like ``` idx.to_series().astype(str)['2008'] idx.to_series().loc['2008'] ``` look unaffected
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34860/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34860/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34861
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34861/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34861/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34861/events
https://github.com/pandas-dev/pandas/issues/34861
641,108,314
MDU6SXNzdWU2NDExMDgzMTQ=
34,861
BUG: read_parquet doesn't accept anymore a file route starting with 'file://'
{ "avatar_url": "https://avatars.githubusercontent.com/u/12827365?v=4", "events_url": "https://api.github.com/users/jorloplaz/events{/privacy}", "followers_url": "https://api.github.com/users/jorloplaz/followers", "following_url": "https://api.github.com/users/jorloplaz/following{/other_user}", "gists_url": "https://api.github.com/users/jorloplaz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorloplaz", "id": 12827365, "login": "jorloplaz", "node_id": "MDQ6VXNlcjEyODI3MzY1", "organizations_url": "https://api.github.com/users/jorloplaz/orgs", "received_events_url": "https://api.github.com/users/jorloplaz/received_events", "repos_url": "https://api.github.com/users/jorloplaz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorloplaz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorloplaz/subscriptions", "type": "User", "url": "https://api.github.com/users/jorloplaz" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
closed
false
null
[]
null
2
2020-06-18T10:50:58Z
2020-08-21T17:05:18Z
2020-06-18T11:35:40Z
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. --- ```python # Your code here import pandas as pd pd.read_parquet('file://<route_to_parquet_file>') ``` #### Problem description When passed a path with the file protocol (e.g., `file:///home/Desktop/my_parquet.pq`) it throws the following error: OSError: Passed non-file path: file:///home/Desktop/my_parquet.pq #### Expected Output Should read things fine. With Pandas 1.0.3 it does work perfectly, so there's something wrong when moving from 1.0.3 to 1.0.4. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.7.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-101-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : es_ES.UTF-8 LOCALE : es_ES.UTF-8 pandas : 1.0.4 numpy : 1.18.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 47.3.0.post20200616 Cython : 0.29.20 pytest : 5.4.2 hypothesis : None sphinx : None blosc : 1.7.0 feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.13.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : 0.3.2 gcsfs : None lxml.etree : None matplotlib : 3.1.1 numexpr : 2.7.1 odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.15.1 pytables : None pytest : 5.4.2 pyxlsb : None s3fs : 0.4.2 scipy : 1.4.1 sqlalchemy : None tables : 3.6.1 tabulate : None xarray : 0.15.1 xlrd : 1.2.0 xlwt : None xlsxwriter : None numba : 0.49.1 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34861/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34861/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34862
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34862/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34862/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34862/events
https://github.com/pandas-dev/pandas/issues/34862
641,163,235
MDU6SXNzdWU2NDExNjMyMzU=
34,862
DEPR: Merging on different number of levels
{ "avatar_url": "https://avatars.githubusercontent.com/u/2182222?v=4", "events_url": "https://api.github.com/users/dinya/events{/privacy}", "followers_url": "https://api.github.com/users/dinya/followers", "following_url": "https://api.github.com/users/dinya/following{/other_user}", "gists_url": "https://api.github.com/users/dinya/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dinya", "id": 2182222, "login": "dinya", "node_id": "MDQ6VXNlcjIxODIyMjI=", "organizations_url": "https://api.github.com/users/dinya/orgs", "received_events_url": "https://api.github.com/users/dinya/received_events", "repos_url": "https://api.github.com/users/dinya/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dinya/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dinya/subscriptions", "type": "User", "url": "https://api.github.com/users/dinya" }
[ { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "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
2020-06-18T12:21:55Z
2021-04-20T22:47:54Z
2021-04-20T22:47:54Z
NONE
null
Two dataframes with MultiIndex in columns (shapes are different). ```python df1_columns = pd.MultiIndex.from_tuples([("A0", "B0", "C0"), ("A1", "B1", "C1")]) df1 = pd.DataFrame([[1, 2], [10, 20]], columns=df1_columns) df2_columns = pd.MultiIndex.from_tuples([("X0", "Y0"), ("X1", "Y1")]) df2 = pd.DataFrame([[1, 200], [10, 200]], columns=df2_columns) ``` **Case 1** ```python pd.merge(df1, df2, left_on=[("A0", "B0","C0")], right_on=[("X0", "Y0")]) ``` returns ``` (A0, B0, C0) (A1, B1, C1) (X0, Y0) (X1, Y1) 0 1 2 1 200 1 10 20 10 200 ``` It's ok. Columns saved its structure from the both dataframes. They are tuples, but it can be fixed (for example with something like [this](https://gist.github.com/dinya/06e374721993fd387db19ee7f83065a5)). **Case 2** ```python pd.merge(df2, df1, left_on=[("X0", "Y0")], right_on=[("A0", "B0","C0")]) ``` returns ``` X0 X1 A0 A1 Y0 Y1 B0 B1 0 1 200 1 2 1 10 200 10 20 ``` When the left DataFrame is a DataFrame with fewer column levels the merge result is questionable: lower levels are dropped. Is this a bug or a feature (result levels shape must be the same as for the left DataFrame)? Notes: 1. In both cases the warning is the same ``UserWarning: merging between different levels can give an unintended result ...``. 2. Checked with pandas 0.25.1 and 1.0.4. 3. See [notebook](https://gist.github.com/dinya/7e97a66ba00694fa752e7074baa39861). --- - [x] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions. - [x] I have asked my usage related question on [StackOverflow](https://stackoverflow.com) (see [62490244](https://stackoverflow.com/questions/62490244/merge-drops-lower-levels-in-result-columns-when-the-left-df-has-fewer-multiindex)).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34862/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34862/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34863
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34863/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34863/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34863/events
https://github.com/pandas-dev/pandas/pull/34863
641,479,743
MDExOlB1bGxSZXF1ZXN0NDM2NzA1MjMw
34,863
PERF: to speed up rendering of styler
{ "avatar_url": "https://avatars.githubusercontent.com/u/7252054?v=4", "events_url": "https://api.github.com/users/jihwans/events{/privacy}", "followers_url": "https://api.github.com/users/jihwans/followers", "following_url": "https://api.github.com/users/jihwans/following{/other_user}", "gists_url": "https://api.github.com/users/jihwans/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jihwans", "id": 7252054, "login": "jihwans", "node_id": "MDQ6VXNlcjcyNTIwNTQ=", "organizations_url": "https://api.github.com/users/jihwans/orgs", "received_events_url": "https://api.github.com/users/jihwans/received_events", "repos_url": "https://api.github.com/users/jihwans/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jihwans/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jihwans/subscriptions", "type": "User", "url": "https://api.github.com/users/jihwans" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "006b75", "default": false, "description": "read_html, to_html, Styler.apply, Styler.applymap", "id": 57395487, "name": "IO HTML", "node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML" }, { "color": "006b75", "default": false, "description": "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
29
2020-06-18T18:59:20Z
2020-07-09T23:36:05Z
2020-07-09T23:35:58Z
CONTRIBUTOR
null
see https://github.com/pandas-dev/pandas/issues/19917#issuecomment-646209895 - [x] closes #19917 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34863/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34863/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34863.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34863", "merged_at": "2020-07-09T23:35:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34863.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34863" }
https://api.github.com/repos/pandas-dev/pandas/issues/34864
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34864/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34864/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34864/events
https://github.com/pandas-dev/pandas/issues/34864
641,524,575
MDU6SXNzdWU2NDE1MjQ1NzU=
34,864
Series and Index have inconsistent repr
{ "avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4", "events_url": "https://api.github.com/users/dsaxton/events{/privacy}", "followers_url": "https://api.github.com/users/dsaxton/followers", "following_url": "https://api.github.com/users/dsaxton/following{/other_user}", "gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dsaxton", "id": 2658661, "login": "dsaxton", "node_id": "MDQ6VXNlcjI2NTg2NjE=", "organizations_url": "https://api.github.com/users/dsaxton/orgs", "received_events_url": "https://api.github.com/users/dsaxton/received_events", "repos_url": "https://api.github.com/users/dsaxton/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions", "type": "User", "url": "https://api.github.com/users/dsaxton" }
[ { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
null
3
2020-06-18T20:20:19Z
2020-06-19T08:27:46Z
2020-06-19T08:25:00Z
MEMBER
null
Series and Index format differently when printed to the console (e.g., `dtype: object` vs. `dtype='object'`), but likely they should look the same (Index seems better IMO since it matches the constructor and agrees with numpy). ```python In [11]: pd.Series([], dtype=object, name="abc") Out[11]: Series([], Name: abc, dtype: object) In [12]: pd.Index([], dtype=object, name="abc") Out[12]: Index([], dtype='object', name='abc') ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34864/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34864/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34865
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34865/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34865/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34865/events
https://github.com/pandas-dev/pandas/pull/34865
641,542,046
MDExOlB1bGxSZXF1ZXN0NDM2NzU2OTIz
34,865
DOC: Move API breaking to appropriate sections
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-06-18T20:52:33Z
2020-07-07T11:50:51Z
2020-07-07T11:50:51Z
CONTRIBUTOR
null
As discussed in https://github.com/pandas-dev/pandas/issues/34801, this moves some items from our "API breaking changes" section to either bug fixes or enhancements. I've only moved the ones we can hopefully get consensus on as bug fix / enhancement. But let me know if any of these need further discussion on whether they're an API breaking change.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34865/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34865/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34865.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34865", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34865.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34865" }
https://api.github.com/repos/pandas-dev/pandas/issues/34866
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34866/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34866/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34866/events
https://github.com/pandas-dev/pandas/pull/34866
641,552,924
MDExOlB1bGxSZXF1ZXN0NDM2NzY2MDMz
34,866
[WIP]REGR: Fixed reading from public S3 buckets with credentials
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
8
2020-06-18T21:13:41Z
2020-06-23T14:01:32Z
2020-06-23T14:01:26Z
CONTRIBUTOR
null
Closes https://github.com/pandas-dev/pandas/issues/34626 This works in 1.0.4 I think, so no whatsnew. I'd like to wait for https://github.com/pandas-dev/pandas/pull/34266 to get in first. I'll need to update things. And in the future, I'd like to deprecate this behavior in favor of something like ```python pd.read_csv("s3://path/to/key", storage_options={"anon": True}) ``` It should be easy to detect the cases when we need to do that. We just don't have the `storage_options` kwarg yet.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34866/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34866/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34866.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34866", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34866.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34866" }
https://api.github.com/repos/pandas-dev/pandas/issues/34867
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34867/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34867/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34867/events
https://github.com/pandas-dev/pandas/issues/34867
641,568,717
MDU6SXNzdWU2NDE1Njg3MTc=
34,867
DOC: pandas/pandas/core/window/ewm.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/25312291?v=4", "events_url": "https://api.github.com/users/db-baron/events{/privacy}", "followers_url": "https://api.github.com/users/db-baron/followers", "following_url": "https://api.github.com/users/db-baron/following{/other_user}", "gists_url": "https://api.github.com/users/db-baron/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/db-baron", "id": 25312291, "login": "db-baron", "node_id": "MDQ6VXNlcjI1MzEyMjkx", "organizations_url": "https://api.github.com/users/db-baron/orgs", "received_events_url": "https://api.github.com/users/db-baron/received_events", "repos_url": "https://api.github.com/users/db-baron/repos", "site_admin": false, "starred_url": "https://api.github.com/users/db-baron/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/db-baron/subscriptions", "type": "User", "url": "https://api.github.com/users/db-baron" }
[ { "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" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/63070026?v=4", "events_url": "https://api.github.com/users/KrishnaSai2020/events{/privacy}", "followers_url": "https://api.github.com/users/KrishnaSai2020/followers", "following_url": "https://api.github.com/users/KrishnaSai2020/following{/other_user}", "gists_url": "https://api.github.com/users/KrishnaSai2020/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/KrishnaSai2020", "id": 63070026, "login": "KrishnaSai2020", "node_id": "MDQ6VXNlcjYzMDcwMDI2", "organizations_url": "https://api.github.com/users/KrishnaSai2020/orgs", "received_events_url": "https://api.github.com/users/KrishnaSai2020/received_events", "repos_url": "https://api.github.com/users/KrishnaSai2020/repos", "site_admin": false, "starred_url": "https://api.github.com/users/KrishnaSai2020/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/KrishnaSai2020/subscriptions", "type": "User", "url": "https://api.github.com/users/KrishnaSai2020" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/63070026?v=4", "events_url": "https://api.github.com/users/KrishnaSai2020/events{/privacy}", "followers_url": "https://api.github.com/users/KrishnaSai2020/followers", "following_url": "https://api.github.com/users/KrishnaSai2020/following{/other_user}", "gists_url": "https://api.github.com/users/KrishnaSai2020/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/KrishnaSai2020", "id": 63070026, "login": "KrishnaSai2020", "node_id": "MDQ6VXNlcjYzMDcwMDI2", "organizations_url": "https://api.github.com/users/KrishnaSai2020/orgs", "received_events_url": "https://api.github.com/users/KrishnaSai2020/received_events", "repos_url": "https://api.github.com/users/KrishnaSai2020/repos", "site_admin": false, "starred_url": "https://api.github.com/users/KrishnaSai2020/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/KrishnaSai2020/subscriptions", "type": "User", "url": "https://api.github.com/users/KrishnaSai2020" } ]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
5
2020-06-18T21:46:47Z
2020-06-20T22:20:59Z
2020-06-20T22:20:59Z
NONE
null
#### Location of the documentation Docstring for `class EWM(_Rolling)` in ewm.py. #### Documentation problem The purposes of the `EWM` class is unclear because there's no documentation on what 'ewm' is abbreviating. One reason this is confusing is that `ewm` can easily be interpreted as either "exponentially weighted mean" or "exponentially weighted moving". The `EWM` class docstring actually muddies the water further by stating that the class provides "exponential weighted **(EW)** functions". #### Suggested fix for documentation If it's absolutely necessary to use an abbreviation like `ewm` then the docstring needs to clearly state what it's abbreviating.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34867/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34867/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34868
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34868/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34868/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34868/events
https://github.com/pandas-dev/pandas/pull/34868
641,633,412
MDExOlB1bGxSZXF1ZXN0NDM2ODMyMzMx
34,868
PERF: Timestamp dont create ndarray
{ "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
2020-06-19T00:59:41Z
2021-11-20T23:23:09Z
2020-06-19T18:12:51Z
MEMBER
null
``` In [1]: import pandas as pd In [2]: ts = pd.Timestamp.now() In [3]: %timeit ts.day_name() 6.46 µs ± 158 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) # <-- PR 8.39 µs ± 107 ns per loop (mean ± std. dev. of 7 runs, 100000 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/34868/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34868/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34868.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34868", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34868.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34868" }
https://api.github.com/repos/pandas-dev/pandas/issues/34869
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34869/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34869/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34869/events
https://github.com/pandas-dev/pandas/issues/34869
641,647,080
MDU6SXNzdWU2NDE2NDcwODA=
34,869
ENH: Vendor typing_extensions
{ "avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4", "events_url": "https://api.github.com/users/WillAyd/events{/privacy}", "followers_url": "https://api.github.com/users/WillAyd/followers", "following_url": "https://api.github.com/users/WillAyd/following{/other_user}", "gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/WillAyd", "id": 609873, "login": "WillAyd", "node_id": "MDQ6VXNlcjYwOTg3Mw==", "organizations_url": "https://api.github.com/users/WillAyd/orgs", "received_events_url": "https://api.github.com/users/WillAyd/received_events", "repos_url": "https://api.github.com/users/WillAyd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions", "type": "User", "url": "https://api.github.com/users/WillAyd" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
8
2020-06-19T01:48:57Z
2020-09-01T23:37:09Z
2020-09-01T23:37:09Z
MEMBER
null
I’ve discussed this with @simonjayhawkins here and there but never had a formal issue opened, hence this :-) I think we need to vendor typing_extensions to realistically be able to unpin mypy from where it is now. The main thing I think we need is to unlock Protocols; these aren’t added until Python 3.8 but as of mypy 0.75 seem to be the documented solution to a lot of the Mixin problems that we face: https://mypy-lang.blogspot.com/2019/11/mypy-0.html There are some other useful things like Literal, Final and TypedDict that this would unlock as well, to at least hold us over until 3.8 is the minimum supported version
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34869/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34869/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34870
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34870/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34870/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34870/events
https://github.com/pandas-dev/pandas/issues/34870
641,860,976
MDU6SXNzdWU2NDE4NjA5NzY=
34,870
BUG: AssertionError when slicing MultiIndex and setting value of pandas.Series
{ "avatar_url": "https://avatars.githubusercontent.com/u/62080595?v=4", "events_url": "https://api.github.com/users/epizzigoni/events{/privacy}", "followers_url": "https://api.github.com/users/epizzigoni/followers", "following_url": "https://api.github.com/users/epizzigoni/following{/other_user}", "gists_url": "https://api.github.com/users/epizzigoni/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/epizzigoni", "id": 62080595, "login": "epizzigoni", "node_id": "MDQ6VXNlcjYyMDgwNTk1", "organizations_url": "https://api.github.com/users/epizzigoni/orgs", "received_events_url": "https://api.github.com/users/epizzigoni/received_events", "repos_url": "https://api.github.com/users/epizzigoni/repos", "site_admin": false, "starred_url": "https://api.github.com/users/epizzigoni/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/epizzigoni/subscriptions", "type": "User", "url": "https://api.github.com/users/epizzigoni" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-06-19T10:12:56Z
2020-10-31T17:19:06Z
2020-10-31T17:19:06Z
CONTRIBUTOR
null
#### Code Sample ```python >>> import numpy as np ... import pandas as pd ... ... arrays = [['bar', 'bar', 'baz', 'baz', 'foo', 'foo', 'qux', 'qux'], ... ['one', 'two', 'one', 'two', 'one', 'two', 'one', 'two']] ... tuples = list(zip(*arrays)) ... index = pd.MultiIndex.from_tuples(tuples, names=['first', 'second']) ... ... s = pd.Series(np.random.randn(8), index=index) >>>s first second bar one -0.592576 two -0.054856 baz one -0.169856 two -0.712601 foo one 2.180688 two -0.032646 qux one -0.729950 two 0.883029 dtype: float64 >>> s[('baz', 'one'):('foo', 'two')] = 4 # This works! >>> s first second bar one -0.592576 two -0.054856 baz one 4.000000 two 4.000000 foo one 4.000000 two 4.000000 qux one -0.729950 two 0.883029 dtype: float64 >>> s.loc[('baz', 'one'):('foo', 'two')] = 4 # This gives the error! Traceback (most recent call last): File "/Users/edoardo/miniconda3/envs/my37/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 2646, in get_loc return self._engine.get_loc(key) File "pandas/_libs/index.pyx", line 111, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/index.pyx", line 138, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 1619, in pandas._libs.hashtable.PyObjectHashTable.get_item File "pandas/_libs/hashtable_class_helper.pxi", line 1627, in pandas._libs.hashtable.PyObjectHashTable.get_item KeyError: ('baz', 'one') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/edoardo/miniconda3/envs/my37/lib/python3.7/site-packages/pandas/core/indexes/multi.py", line 2890, in _get_level_indexer start = level_index.get_loc(key.start) File "/Users/edoardo/miniconda3/envs/my37/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 2648, in get_loc return self._engine.get_loc(self._maybe_cast_indexer(key)) File "pandas/_libs/index.pyx", line 111, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/index.pyx", line 138, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 1619, in pandas._libs.hashtable.PyObjectHashTable.get_item File "pandas/_libs/hashtable_class_helper.pxi", line 1627, in pandas._libs.hashtable.PyObjectHashTable.get_item KeyError: ('baz', 'one') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<input>", line 1, in <module> File "/Users/edoardo/miniconda3/envs/my37/lib/python3.7/site-packages/pandas/core/indexing.py", line 670, in __setitem__ indexer = self._get_setitem_indexer(key) File "/Users/edoardo/miniconda3/envs/my37/lib/python3.7/site-packages/pandas/core/indexing.py", line 641, in _get_setitem_indexer return ax.get_loc(key) File "/Users/edoardo/miniconda3/envs/my37/lib/python3.7/site-packages/pandas/core/indexes/multi.py", line 2662, in get_loc loc = self._get_level_indexer(key, level=0) File "/Users/edoardo/miniconda3/envs/my37/lib/python3.7/site-packages/pandas/core/indexes/multi.py", line 2903, in _get_level_indexer key.start, key.stop, key.step, kind="loc" File "/Users/edoardo/miniconda3/envs/my37/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 4717, in slice_indexer raise AssertionError("Start slice bound is non-scalar") AssertionError: Start slice bound is non-scalar ``` #### Problem description I'm trying to slice and set values of a pandas Series but using the loc function does not work. I can do it by simply using [] and using loc if the Series is first converted into a DataFrame. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.7.final.0 python-bits : 64 OS : Darwin OS-release : 19.5.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : None.UTF-8 pandas : 1.0.4 numpy : 1.18.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 47.3.0.post20200616 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.0 html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : 4.9.0 bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.1.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None xlsxwriter : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34870/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34870/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34871
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34871/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34871/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34871/events
https://github.com/pandas-dev/pandas/issues/34871
641,973,038
MDU6SXNzdWU2NDE5NzMwMzg=
34,871
BUG: Inconsistent behavior for df.replace over pd.Period columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/24326925?v=4", "events_url": "https://api.github.com/users/justinessert/events{/privacy}", "followers_url": "https://api.github.com/users/justinessert/followers", "following_url": "https://api.github.com/users/justinessert/following{/other_user}", "gists_url": "https://api.github.com/users/justinessert/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/justinessert", "id": 24326925, "login": "justinessert", "node_id": "MDQ6VXNlcjI0MzI2OTI1", "organizations_url": "https://api.github.com/users/justinessert/orgs", "received_events_url": "https://api.github.com/users/justinessert/received_events", "repos_url": "https://api.github.com/users/justinessert/repos", "site_admin": false, "starred_url": "https://api.github.com/users/justinessert/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/justinessert/subscriptions", "type": "User", "url": "https://api.github.com/users/justinessert" }
[ { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "cdea3c", "default": false, "description": "Unit test(s) needed to prevent regressions", "id": 986278782, "name": "Needs Tests", "node_id": "MDU6TGFiZWw5ODYyNzg3ODI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests" }, { "color": "01a886", "default": false, "description": "replace method", "id": 1652721180, "name": "replace", "node_id": "MDU6TGFiZWwxNjUyNzIxMTgw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/replace" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/8929782?v=4", "events_url": "https://api.github.com/users/nwweber/events{/privacy}", "followers_url": "https://api.github.com/users/nwweber/followers", "following_url": "https://api.github.com/users/nwweber/following{/other_user}", "gists_url": "https://api.github.com/users/nwweber/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nwweber", "id": 8929782, "login": "nwweber", "node_id": "MDQ6VXNlcjg5Mjk3ODI=", "organizations_url": "https://api.github.com/users/nwweber/orgs", "received_events_url": "https://api.github.com/users/nwweber/received_events", "repos_url": "https://api.github.com/users/nwweber/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nwweber/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nwweber/subscriptions", "type": "User", "url": "https://api.github.com/users/nwweber" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/8929782?v=4", "events_url": "https://api.github.com/users/nwweber/events{/privacy}", "followers_url": "https://api.github.com/users/nwweber/followers", "following_url": "https://api.github.com/users/nwweber/following{/other_user}", "gists_url": "https://api.github.com/users/nwweber/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nwweber", "id": 8929782, "login": "nwweber", "node_id": "MDQ6VXNlcjg5Mjk3ODI=", "organizations_url": "https://api.github.com/users/nwweber/orgs", "received_events_url": "https://api.github.com/users/nwweber/received_events", "repos_url": "https://api.github.com/users/nwweber/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nwweber/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nwweber/subscriptions", "type": "User", "url": "https://api.github.com/users/nwweber" } ]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
6
2020-06-19T13:33:41Z
2020-11-17T01:17:29Z
2020-11-17T01:17:29Z
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas as pd df = pd.DataFrame({ 'Int': [1, 2, 3], 'Flo': [1.0, 6.0, 1.0], 'Per': [pd.Period('2020-01')]*3, 'Tim': [pd.Timestamp('2020-01')]*3 }) # TypeError: 'value' should be a 'Period', 'NaT', or array of those. Got 'float' instead. df.replace(1.0, 0.0) # Works df[['Int', 'Flo', 'Tim']].replace(1.0, 0.0) # Works df['Per'].replace(1.0, pd.Period('2020-02')) ``` #### Problem description `df.replace(1.0, 0.0)` fails if any columns of `df` are Period types. The error is saying that 0.0 is an invalid value to put in a Pandas Period column. This should never be an issue though, 1.0 will never exist in a Pandas Period column, so nothing will ever be replaced for 0.0. #### Expected Output The expected behavior would be consistent with the `df[['Int', 'Flo', 'Tim']].replace(1.0, 0.0)` in the example above. This does work, the 'Flo' column has all of it's 1.0s replaced with 0.0s and the 'Int' and 'Tim' columns (which are not Float types) remain unaffected. I would expect that a Pandas Period column would also be skipped in the same way. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.7.final.0 python-bits : 64 OS : Darwin OS-release : 19.5.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.0.4 numpy : 1.18.5 pytz : 2020.1 dateutil : 2.8.0 pip : 20.1.1 setuptools : 47.3.0.post20200616 Cython : None pytest : 4.4.1 hypothesis : None sphinx : 3.1.1 blosc : None feather : None xlsxwriter : 1.2.9 lxml.etree : 4.5.1 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.15.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.5.1 matplotlib : 3.2.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : 4.4.1 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : 1.2.9 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/34871/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34871/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34872
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34872/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34872/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34872/events
https://github.com/pandas-dev/pandas/pull/34872
642,058,136
MDExOlB1bGxSZXF1ZXN0NDM3MTY4NDg2
34,872
API: Honor copy for dict-input in DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "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": "370f77", "default": false, "description": "DataFrame data structure", "id": 1049312478, "name": "DataFrame", "node_id": "MDU6TGFiZWwxMDQ5MzEyNDc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/DataFrame" }, { "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": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
19
2020-06-19T15:39:16Z
2021-01-03T22:36:54Z
2020-11-19T12:57:52Z
CONTRIBUTOR
null
Closes https://github.com/pandas-dev/pandas/issues/32960. ~Still need a whatsnew. The tl/dr is~ 1. We can't honor no-copy for a dict with multiple values of the same dtype: `DataFrame({"A": np.array([1, 2]), "B": np.array([1, 2])})` as long as we have consolidation. ~2. Currently, this is an API breaking change for something like `pd.DataFrame({"A": np.array([1, 2])})`. To resolve that, I think we'll need something like a default of `copy=None`, and then require `copy=False` to enable no-copy for dict inputs (but keep no copy by default for 2d ndarrays and data frames).~ Unsure how we're going to reconcile that with the behavior of EAs. EDIT: I've changed the default `copy` to `None`, which means 1. no copy for ndarray / dataframe input (`copy=True` to copy) 2. copy for dict input (`copy=False` to not copy).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34872/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34872/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34872.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34872", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34872.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34872" }
https://api.github.com/repos/pandas-dev/pandas/issues/34873
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34873/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34873/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34873/events
https://github.com/pandas-dev/pandas/issues/34873
642,143,881
MDU6SXNzdWU2NDIxNDM4ODE=
34,873
Should IntegerArray provide data / mask through an API?
{ "avatar_url": "https://avatars.githubusercontent.com/u/70274?v=4", "events_url": "https://api.github.com/users/xhochy/events{/privacy}", "followers_url": "https://api.github.com/users/xhochy/followers", "following_url": "https://api.github.com/users/xhochy/following{/other_user}", "gists_url": "https://api.github.com/users/xhochy/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/xhochy", "id": 70274, "login": "xhochy", "node_id": "MDQ6VXNlcjcwMjc0", "organizations_url": "https://api.github.com/users/xhochy/orgs", "received_events_url": "https://api.github.com/users/xhochy/received_events", "repos_url": "https://api.github.com/users/xhochy/repos", "site_admin": false, "starred_url": "https://api.github.com/users/xhochy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xhochy/subscriptions", "type": "User", "url": "https://api.github.com/users/xhochy" }
[ { "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": "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" } ]
open
false
null
[]
null
9
2020-06-19T18:08:51Z
2021-08-08T00:55:38Z
null
CONTRIBUTOR
null
I'm currently implementing some algorithms on top of the `IntegerArray` class with `numba`. Therefore I would need to pass in the two separate backing NumPy arrays instead of the `pandas` class. Using `series.to_numpy()` isn't helpful in this case as this returns a `object`-typed array. For now, I'll keep using `series.values._data` and `series.values._mask` but I'm aware that using private variables is not a long-term solution. Given that `series.values._data` may be undefined where the mask is `True`, I know that returning the raw `data` may be a bit controversial but still need. Thus naming the accessor for it should be done carefully.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34873/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34873/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34874
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34874/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34874/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34874/events
https://github.com/pandas-dev/pandas/pull/34874
642,158,229
MDExOlB1bGxSZXF1ZXN0NDM3MjQ3MTI3
34,874
Doc: Dates being plotted wrong_x-compact parameter #20688
{ "avatar_url": "https://avatars.githubusercontent.com/u/15619920?v=4", "events_url": "https://api.github.com/users/gauravchandok/events{/privacy}", "followers_url": "https://api.github.com/users/gauravchandok/followers", "following_url": "https://api.github.com/users/gauravchandok/following{/other_user}", "gists_url": "https://api.github.com/users/gauravchandok/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gauravchandok", "id": 15619920, "login": "gauravchandok", "node_id": "MDQ6VXNlcjE1NjE5OTIw", "organizations_url": "https://api.github.com/users/gauravchandok/orgs", "received_events_url": "https://api.github.com/users/gauravchandok/received_events", "repos_url": "https://api.github.com/users/gauravchandok/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gauravchandok/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gauravchandok/subscriptions", "type": "User", "url": "https://api.github.com/users/gauravchandok" }
[ { "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": "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
9
2020-06-19T18:42:08Z
2020-11-04T08:40:55Z
2020-11-04T08:40:54Z
NONE
null
- [x] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34874/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34874/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34874.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34874", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34874.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34874" }
https://api.github.com/repos/pandas-dev/pandas/issues/34875
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34875/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34875/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34875/events
https://github.com/pandas-dev/pandas/pull/34875
642,163,793
MDExOlB1bGxSZXF1ZXN0NDM3MjUxNjI5
34,875
DF.__setitem__ creates extension column when given extension scalar
{ "avatar_url": "https://avatars.githubusercontent.com/u/24326925?v=4", "events_url": "https://api.github.com/users/justinessert/events{/privacy}", "followers_url": "https://api.github.com/users/justinessert/followers", "following_url": "https://api.github.com/users/justinessert/following{/other_user}", "gists_url": "https://api.github.com/users/justinessert/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/justinessert", "id": 24326925, "login": "justinessert", "node_id": "MDQ6VXNlcjI0MzI2OTI1", "organizations_url": "https://api.github.com/users/justinessert/orgs", "received_events_url": "https://api.github.com/users/justinessert/received_events", "repos_url": "https://api.github.com/users/justinessert/repos", "site_admin": false, "starred_url": "https://api.github.com/users/justinessert/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/justinessert/subscriptions", "type": "User", "url": "https://api.github.com/users/justinessert" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
12
2020-06-19T18:54:51Z
2020-07-13T13:01:58Z
2020-07-11T02:02:55Z
CONTRIBUTOR
null
This PR is in response to [Issue 34832]( https://github.com/pandas-dev/pandas/issues/34832). These changes follow the suggestions from reviewers on the PR to fix an issue where `df['a']=pd.Period('2020-01')` would create an object column instead of a `period[M]` column. One potential issue that I see with these changes is that this code requires the `shape` parameter passed into `cast_scalar_to_array` to be an int, even though the functions docstring claims that it accepts a tuple. I'm happy to work on resolving that issue, but first wanted to clarify that it is necessary. Based on my perspective, there would be no reason to call this function to create a multi-dimensional array, but I surely don't understand the full interconnectivity of this package. - [x] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34875/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34875/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34875.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34875", "merged_at": "2020-07-11T02:02:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34875.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34875" }
https://api.github.com/repos/pandas-dev/pandas/issues/34876
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34876/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34876/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34876/events
https://github.com/pandas-dev/pandas/pull/34876
642,231,537
MDExOlB1bGxSZXF1ZXN0NDM3MzA2Njc1
34,876
Cln 31942/replace appender with doc 6
{ "avatar_url": "https://avatars.githubusercontent.com/u/61093810?v=4", "events_url": "https://api.github.com/users/smartvinnetou/events{/privacy}", "followers_url": "https://api.github.com/users/smartvinnetou/followers", "following_url": "https://api.github.com/users/smartvinnetou/following{/other_user}", "gists_url": "https://api.github.com/users/smartvinnetou/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/smartvinnetou", "id": 61093810, "login": "smartvinnetou", "node_id": "MDQ6VXNlcjYxMDkzODEw", "organizations_url": "https://api.github.com/users/smartvinnetou/orgs", "received_events_url": "https://api.github.com/users/smartvinnetou/received_events", "repos_url": "https://api.github.com/users/smartvinnetou/repos", "site_admin": false, "starred_url": "https://api.github.com/users/smartvinnetou/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/smartvinnetou/subscriptions", "type": "User", "url": "https://api.github.com/users/smartvinnetou" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
null
3
2020-06-19T21:42:56Z
2020-09-01T21:41:39Z
2020-09-01T21:41:38Z
CONTRIBUTOR
null
- [x] ref #31942 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - fixes issues with the introduction of the doc decorator
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34876/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34876/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34876.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34876", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34876.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34876" }
https://api.github.com/repos/pandas-dev/pandas/issues/34877
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34877/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34877/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34877/events
https://github.com/pandas-dev/pandas/pull/34877
642,256,112
MDExOlB1bGxSZXF1ZXN0NDM3MzI2MzEy
34,877
BUG/TST: Read from Public s3 Bucket Without Creds
{ "avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4", "events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}", "followers_url": "https://api.github.com/users/alimcmaster1/followers", "following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}", "gists_url": "https://api.github.com/users/alimcmaster1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alimcmaster1", "id": 16733618, "login": "alimcmaster1", "node_id": "MDQ6VXNlcjE2NzMzNjE4", "organizations_url": "https://api.github.com/users/alimcmaster1/orgs", "received_events_url": "https://api.github.com/users/alimcmaster1/received_events", "repos_url": "https://api.github.com/users/alimcmaster1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alimcmaster1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alimcmaster1/subscriptions", "type": "User", "url": "https://api.github.com/users/alimcmaster1" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
8
2020-06-19T23:07:29Z
2020-07-15T19:07:56Z
2020-07-15T19:07:53Z
CONTRIBUTOR
null
- [x] Closes #34626 We should potentially merge this before https://github.com/pandas-dev/pandas/pull/34266 to confirm reading from s3 without credentials works. Ref discussion here: https://github.com/pandas-dev/pandas/pull/34793#issuecomment-645023794 cc. @jorisvandenbossche
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34877/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34877/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34877.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34877", "merged_at": "2020-07-15T19:07:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34877.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34877" }
https://api.github.com/repos/pandas-dev/pandas/issues/34878
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34878/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34878/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34878/events
https://github.com/pandas-dev/pandas/pull/34878
642,295,219
MDExOlB1bGxSZXF1ZXN0NDM3MzU1Nzk1
34,878
BUG: Fix replace for different dtype equal value
{ "avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4", "events_url": "https://api.github.com/users/dsaxton/events{/privacy}", "followers_url": "https://api.github.com/users/dsaxton/followers", "following_url": "https://api.github.com/users/dsaxton/following{/other_user}", "gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dsaxton", "id": 2658661, "login": "dsaxton", "node_id": "MDQ6VXNlcjI2NTg2NjE=", "organizations_url": "https://api.github.com/users/dsaxton/orgs", "received_events_url": "https://api.github.com/users/dsaxton/received_events", "repos_url": "https://api.github.com/users/dsaxton/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions", "type": "User", "url": "https://api.github.com/users/dsaxton" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "370f77", "default": false, "description": "DataFrame data structure", "id": 1049312478, "name": "DataFrame", "node_id": "MDU6TGFiZWwxMDQ5MzEyNDc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/DataFrame" }, { "color": "8dd5fc", "default": false, "description": "Series data structure", "id": 1357732944, "name": "Series", "node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
4
2020-06-20T03:03:15Z
2020-09-19T14:04:25Z
2020-09-19T14:04:20Z
MEMBER
null
Bug noticed when looking at a different issue https://github.com/pandas-dev/pandas/issues/34871#issuecomment-646664842 - [x] closes https://github.com/pandas-dev/pandas/issues/35376 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34878/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34878/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34878.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34878", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34878.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34878" }
https://api.github.com/repos/pandas-dev/pandas/issues/34879
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34879/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34879/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34879/events
https://github.com/pandas-dev/pandas/pull/34879
642,336,935
MDExOlB1bGxSZXF1ZXN0NDM3Mzg1MjIx
34,879
TST: Add test to verify 'dropna' behaviour on SparseArray
{ "avatar_url": "https://avatars.githubusercontent.com/u/3510863?v=4", "events_url": "https://api.github.com/users/MBrouns/events{/privacy}", "followers_url": "https://api.github.com/users/MBrouns/followers", "following_url": "https://api.github.com/users/MBrouns/following{/other_user}", "gists_url": "https://api.github.com/users/MBrouns/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MBrouns", "id": 3510863, "login": "MBrouns", "node_id": "MDQ6VXNlcjM1MTA4NjM=", "organizations_url": "https://api.github.com/users/MBrouns/orgs", "received_events_url": "https://api.github.com/users/MBrouns/received_events", "repos_url": "https://api.github.com/users/MBrouns/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MBrouns/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MBrouns/subscriptions", "type": "User", "url": "https://api.github.com/users/MBrouns" }
[ { "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": "009800", "default": false, "description": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
5
2020-06-20T08:38:43Z
2020-06-20T15:08:10Z
2020-06-20T13:35:18Z
CONTRIBUTOR
null
verify that calling `dropna` on a pd.SparseArray does not inadvertently drop non-na records on both DataFrames and the SparseArray itself. - [x] closes #28287 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry (not applicable?)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34879/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34879/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34879.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34879", "merged_at": "2020-06-20T13:35:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34879.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34879" }
https://api.github.com/repos/pandas-dev/pandas/issues/34880
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34880/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34880/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34880/events
https://github.com/pandas-dev/pandas/pull/34880
642,338,852
MDExOlB1bGxSZXF1ZXN0NDM3Mzg2NTgx
34,880
TST: Add test to verify align behaviour on CategoricalIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/3510863?v=4", "events_url": "https://api.github.com/users/MBrouns/events{/privacy}", "followers_url": "https://api.github.com/users/MBrouns/followers", "following_url": "https://api.github.com/users/MBrouns/following{/other_user}", "gists_url": "https://api.github.com/users/MBrouns/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MBrouns", "id": 3510863, "login": "MBrouns", "node_id": "MDQ6VXNlcjM1MTA4NjM=", "organizations_url": "https://api.github.com/users/MBrouns/orgs", "received_events_url": "https://api.github.com/users/MBrouns/received_events", "repos_url": "https://api.github.com/users/MBrouns/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MBrouns/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MBrouns/subscriptions", "type": "User", "url": "https://api.github.com/users/MBrouns" }
[ { "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" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-06-20T08:53:23Z
2020-07-06T23:27:32Z
2020-07-06T23:27:27Z
CONTRIBUTOR
null
verify that aligning two dataframes with a `CategoricalIndex` does not change the type of the index. - [x] closes #28397 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry (not applicable?)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34880/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34880/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34880.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34880", "merged_at": "2020-07-06T23:27:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34880.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34880" }
https://api.github.com/repos/pandas-dev/pandas/issues/34881
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34881/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34881/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34881/events
https://github.com/pandas-dev/pandas/issues/34881
642,339,751
MDU6SXNzdWU2NDIzMzk3NTE=
34,881
CI/COMPAT: PyUnicode_FromUnicode is deprecated failure on 3.9 CI
{ "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": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" }, { "color": "72e24d", "default": false, "description": "", "id": 1971420228, "name": "Python 3.9", "node_id": "MDU6TGFiZWwxOTcxNDIwMjI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Python%203.9" } ]
open
false
null
[]
null
7
2020-06-20T09:00:12Z
2021-10-30T04:44:55Z
null
MEMBER
null
The 3.9-dev build started failing (eg https://travis-ci.org/github/pandas-dev/pandas/jobs/700233890): ``` pandas/_libs/parsers.c: In function ‘__Pyx_decode_c_string’: pandas/_libs/parsers.c:56645:9: error: ‘PyUnicode_FromUnicode’ is deprecated [-Werror=deprecated-declarations] return PyUnicode_FromUnicode(NULL, 0); ^~~~~~ In file included from /opt/python/3.9-dev/include/python3.9/unicodeobject.h:1026:0, from /opt/python/3.9-dev/include/python3.9/Python.h:97, from pandas/_libs/parsers.c:57: /opt/python/3.9-dev/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors ``` See https://docs.python.org/3.9/c-api/unicode.html#c.PyUnicode_FromUnicode
{ "+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/34881/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34881/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34882
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34882/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34882/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34882/events
https://github.com/pandas-dev/pandas/pull/34882
642,342,482
MDExOlB1bGxSZXF1ZXN0NDM3Mzg5MTc5
34,882
DOC: Fix validation issues with Index.is_ docstring
{ "avatar_url": "https://avatars.githubusercontent.com/u/550080?v=4", "events_url": "https://api.github.com/users/cvanweelden/events{/privacy}", "followers_url": "https://api.github.com/users/cvanweelden/followers", "following_url": "https://api.github.com/users/cvanweelden/following{/other_user}", "gists_url": "https://api.github.com/users/cvanweelden/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cvanweelden", "id": 550080, "login": "cvanweelden", "node_id": "MDQ6VXNlcjU1MDA4MA==", "organizations_url": "https://api.github.com/users/cvanweelden/orgs", "received_events_url": "https://api.github.com/users/cvanweelden/received_events", "repos_url": "https://api.github.com/users/cvanweelden/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cvanweelden/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cvanweelden/subscriptions", "type": "User", "url": "https://api.github.com/users/cvanweelden" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-06-20T09:19:57Z
2020-06-20T12:19:17Z
2020-06-20T11:50:50Z
CONTRIBUTOR
null
- [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Fix validation issues with the `Index.is_ docstring` and add `Index.identical` to see also section. Trying to finish what was started in #32357
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34882/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34882/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34882.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34882", "merged_at": "2020-06-20T11:50:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34882.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34882" }
https://api.github.com/repos/pandas-dev/pandas/issues/34883
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34883/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34883/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34883/events
https://github.com/pandas-dev/pandas/pull/34883
642,345,799
MDExOlB1bGxSZXF1ZXN0NDM3MzkxNDYy
34,883
TST: Feather RoundTrip Column Ordering
{ "avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4", "events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}", "followers_url": "https://api.github.com/users/alimcmaster1/followers", "following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}", "gists_url": "https://api.github.com/users/alimcmaster1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alimcmaster1", "id": 16733618, "login": "alimcmaster1", "node_id": "MDQ6VXNlcjE2NzMzNjE4", "organizations_url": "https://api.github.com/users/alimcmaster1/orgs", "received_events_url": "https://api.github.com/users/alimcmaster1/received_events", "repos_url": "https://api.github.com/users/alimcmaster1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alimcmaster1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alimcmaster1/subscriptions", "type": "User", "url": "https://api.github.com/users/alimcmaster1" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "parquet, feather", "id": 685114413, "name": "IO Parquet", "node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-06-20T09:44:58Z
2020-06-20T12:30:47Z
2020-06-20T12:30:43Z
CONTRIBUTOR
null
Looks like this in fixed from pyarrow 0.17.1 -> Added a Test. - [x] closes #https://github.com/pandas-dev/pandas/issues/33878 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34883/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34883/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34883.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34883", "merged_at": "2020-06-20T12:30:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34883.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34883" }
https://api.github.com/repos/pandas-dev/pandas/issues/34884
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34884/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34884/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34884/events
https://github.com/pandas-dev/pandas/pull/34884
642,352,505
MDExOlB1bGxSZXF1ZXN0NDM3Mzk2MTgx
34,884
DOC: fixed labels in "Plotting with error bars"
{ "avatar_url": "https://avatars.githubusercontent.com/u/22156424?v=4", "events_url": "https://api.github.com/users/marydmit/events{/privacy}", "followers_url": "https://api.github.com/users/marydmit/followers", "following_url": "https://api.github.com/users/marydmit/following{/other_user}", "gists_url": "https://api.github.com/users/marydmit/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/marydmit", "id": 22156424, "login": "marydmit", "node_id": "MDQ6VXNlcjIyMTU2NDI0", "organizations_url": "https://api.github.com/users/marydmit/orgs", "received_events_url": "https://api.github.com/users/marydmit/received_events", "repos_url": "https://api.github.com/users/marydmit/repos", "site_admin": false, "starred_url": "https://api.github.com/users/marydmit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/marydmit/subscriptions", "type": "User", "url": "https://api.github.com/users/marydmit" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-06-20T10:35:51Z
2020-06-20T18:26:53Z
2020-06-20T18:26:40Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry x-labels should now be visible in the plot.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34884/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34884/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34884.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34884", "merged_at": "2020-06-20T18:26:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34884.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34884" }
https://api.github.com/repos/pandas-dev/pandas/issues/34885
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34885/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34885/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34885/events
https://github.com/pandas-dev/pandas/pull/34885
642,353,104
MDExOlB1bGxSZXF1ZXN0NDM3Mzk2NTkx
34,885
DOC: Fixed table formatting in box plot section
{ "avatar_url": "https://avatars.githubusercontent.com/u/6213867?v=4", "events_url": "https://api.github.com/users/pvanhauw/events{/privacy}", "followers_url": "https://api.github.com/users/pvanhauw/followers", "following_url": "https://api.github.com/users/pvanhauw/following{/other_user}", "gists_url": "https://api.github.com/users/pvanhauw/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pvanhauw", "id": 6213867, "login": "pvanhauw", "node_id": "MDQ6VXNlcjYyMTM4Njc=", "organizations_url": "https://api.github.com/users/pvanhauw/orgs", "received_events_url": "https://api.github.com/users/pvanhauw/received_events", "repos_url": "https://api.github.com/users/pvanhauw/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pvanhauw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pvanhauw/subscriptions", "type": "User", "url": "https://api.github.com/users/pvanhauw" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-06-20T10:40:06Z
2020-06-20T12:19:13Z
2020-06-20T11:58:14Z
CONTRIBUTOR
null
[DOC]fixed table formatting in the box plot section keeing simple rst table format - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34885/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34885/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34885.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34885", "merged_at": "2020-06-20T11:58:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34885.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34885" }
https://api.github.com/repos/pandas-dev/pandas/issues/34886
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34886/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34886/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34886/events
https://github.com/pandas-dev/pandas/pull/34886
642,354,623
MDExOlB1bGxSZXF1ZXN0NDM3Mzk3NjA1
34,886
TST: Ensure dtypes are set correctly for empty integer columns #24386
{ "avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4", "events_url": "https://api.github.com/users/avinashpancham/events{/privacy}", "followers_url": "https://api.github.com/users/avinashpancham/followers", "following_url": "https://api.github.com/users/avinashpancham/following{/other_user}", "gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/avinashpancham", "id": 44933366, "login": "avinashpancham", "node_id": "MDQ6VXNlcjQ0OTMzMzY2", "organizations_url": "https://api.github.com/users/avinashpancham/orgs", "received_events_url": "https://api.github.com/users/avinashpancham/received_events", "repos_url": "https://api.github.com/users/avinashpancham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions", "type": "User", "url": "https://api.github.com/users/avinashpancham" }
[ { "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": "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": "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" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-06-20T10:51:35Z
2020-06-20T22:26:14Z
2020-06-20T22:26:00Z
CONTRIBUTOR
null
- [x ] closes #24386 - [x ] tests added / passed - [x ] passes `black pandas` - [x ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x ] added tests to verify whether empty integer columns are loaded in as integer columns
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34886/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34886/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34886.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34886", "merged_at": "2020-06-20T22:25:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34886.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34886" }
https://api.github.com/repos/pandas-dev/pandas/issues/34887
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34887/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34887/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34887/events
https://github.com/pandas-dev/pandas/pull/34887
642,354,700
MDExOlB1bGxSZXF1ZXN0NDM3Mzk3NjYx
34,887
Deprecate `center` on `df.expanding`
{ "avatar_url": "https://avatars.githubusercontent.com/u/3510863?v=4", "events_url": "https://api.github.com/users/MBrouns/events{/privacy}", "followers_url": "https://api.github.com/users/MBrouns/followers", "following_url": "https://api.github.com/users/MBrouns/following{/other_user}", "gists_url": "https://api.github.com/users/MBrouns/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MBrouns", "id": 3510863, "login": "MBrouns", "node_id": "MDQ6VXNlcjM1MTA4NjM=", "organizations_url": "https://api.github.com/users/MBrouns/orgs", "received_events_url": "https://api.github.com/users/MBrouns/received_events", "repos_url": "https://api.github.com/users/MBrouns/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MBrouns/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MBrouns/subscriptions", "type": "User", "url": "https://api.github.com/users/MBrouns" }
[ { "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": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
9
2020-06-20T10:52:14Z
2020-07-14T17:08:50Z
2020-07-14T17:08:45Z
CONTRIBUTOR
null
`df.expanding(center=True)` currently returns non-sensical results and it is unclear what results would be expected. It was previously removed in #7934 for that same reason,but was reintroduced for unclear reasons in a later refactoring - [x] closes #20647 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34887/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34887/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34887.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34887", "merged_at": "2020-07-14T17:08:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34887.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34887" }
https://api.github.com/repos/pandas-dev/pandas/issues/34888
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34888/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34888/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34888/events
https://github.com/pandas-dev/pandas/pull/34888
642,354,740
MDExOlB1bGxSZXF1ZXN0NDM3Mzk3Njky
34,888
DOC: document support for in-memory HDFStore GH33166
{ "avatar_url": "https://avatars.githubusercontent.com/u/24434212?v=4", "events_url": "https://api.github.com/users/dennisbakhuis/events{/privacy}", "followers_url": "https://api.github.com/users/dennisbakhuis/followers", "following_url": "https://api.github.com/users/dennisbakhuis/following{/other_user}", "gists_url": "https://api.github.com/users/dennisbakhuis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dennisbakhuis", "id": 24434212, "login": "dennisbakhuis", "node_id": "MDQ6VXNlcjI0NDM0MjEy", "organizations_url": "https://api.github.com/users/dennisbakhuis/orgs", "received_events_url": "https://api.github.com/users/dennisbakhuis/received_events", "repos_url": "https://api.github.com/users/dennisbakhuis/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dennisbakhuis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dennisbakhuis/subscriptions", "type": "User", "url": "https://api.github.com/users/dennisbakhuis" }
[ { "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": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-06-20T10:52:30Z
2020-06-20T20:08:44Z
2020-06-20T20:08:40Z
CONTRIBUTOR
null
I currently have added to the docstring that **kwargs passes its parameters to PyTables. Maybe this is too much but I also added an example using **kwargs, passing the driver paramter to create an in-memory HDFStore. Furthermore, I have added HDFStore class to the reference api, as it was not autogenerated and also made **kwargs more clear that it passes its parameters to PyTables. Added in the cookbook the method of creating in-memory HDFStores, including an example. - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry closes #33166
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34888/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34888/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34888.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34888", "merged_at": "2020-06-20T20:08:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34888.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34888" }
https://api.github.com/repos/pandas-dev/pandas/issues/34889
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34889/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34889/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34889/events
https://github.com/pandas-dev/pandas/pull/34889
642,360,579
MDExOlB1bGxSZXF1ZXN0NDM3NDAxNTY5
34,889
TST: IntegerNA Support for DataFrame.diff()
{ "avatar_url": "https://avatars.githubusercontent.com/u/5628462?v=4", "events_url": "https://api.github.com/users/Marvzinc/events{/privacy}", "followers_url": "https://api.github.com/users/Marvzinc/followers", "following_url": "https://api.github.com/users/Marvzinc/following{/other_user}", "gists_url": "https://api.github.com/users/Marvzinc/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Marvzinc", "id": 5628462, "login": "Marvzinc", "node_id": "MDQ6VXNlcjU2Mjg0NjI=", "organizations_url": "https://api.github.com/users/Marvzinc/orgs", "received_events_url": "https://api.github.com/users/Marvzinc/received_events", "repos_url": "https://api.github.com/users/Marvzinc/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Marvzinc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Marvzinc/subscriptions", "type": "User", "url": "https://api.github.com/users/Marvzinc" }
[ { "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": "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": "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": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-06-20T11:36:49Z
2020-06-20T16:50:37Z
2020-06-20T16:50:34Z
CONTRIBUTOR
null
- [x] closes #24171 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Test for IntegerNA support DataFrame.diff(). ``` bash pytest tests/frame/methods/test_diff.py::TestDataFrameDiff::test_diff_integer_na ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34889/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34889/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34889.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34889", "merged_at": "2020-06-20T16:50:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34889.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34889" }
https://api.github.com/repos/pandas-dev/pandas/issues/34890
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34890/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34890/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34890/events
https://github.com/pandas-dev/pandas/pull/34890
642,363,503
MDExOlB1bGxSZXF1ZXN0NDM3NDAzNjcz
34,890
DOC: add mention of recommended dependencies in users guide
{ "avatar_url": "https://avatars.githubusercontent.com/u/47719225?v=4", "events_url": "https://api.github.com/users/aidanmontare-edu/events{/privacy}", "followers_url": "https://api.github.com/users/aidanmontare-edu/followers", "following_url": "https://api.github.com/users/aidanmontare-edu/following{/other_user}", "gists_url": "https://api.github.com/users/aidanmontare-edu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aidanmontare-edu", "id": 47719225, "login": "aidanmontare-edu", "node_id": "MDQ6VXNlcjQ3NzE5MjI1", "organizations_url": "https://api.github.com/users/aidanmontare-edu/orgs", "received_events_url": "https://api.github.com/users/aidanmontare-edu/received_events", "repos_url": "https://api.github.com/users/aidanmontare-edu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aidanmontare-edu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aidanmontare-edu/subscriptions", "type": "User", "url": "https://api.github.com/users/aidanmontare-edu" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-06-20T11:59:46Z
2020-06-20T17:14:05Z
2020-06-20T13:45:11Z
CONTRIBUTOR
null
First-time contributor here! Ian Ozsvald mentioned installing the optional dependencies for pandas in his talk at PyData Amsterdam 2020. Although these are mentioned in the Getting Started section, I though they should be mentioned in the Users Guide, which is where I typically go for pandas information. It seems like many users aren't aware that these dependencies are available to increase performance. - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+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/34890/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34890/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34890.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34890", "merged_at": "2020-06-20T13:45:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34890.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34890" }
https://api.github.com/repos/pandas-dev/pandas/issues/34891
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34891/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34891/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34891/events
https://github.com/pandas-dev/pandas/pull/34891
642,364,237
MDExOlB1bGxSZXF1ZXN0NDM3NDA0MTkz
34,891
Plotting Tables x-axis labels display
{ "avatar_url": "https://avatars.githubusercontent.com/u/22156424?v=4", "events_url": "https://api.github.com/users/marydmit/events{/privacy}", "followers_url": "https://api.github.com/users/marydmit/followers", "following_url": "https://api.github.com/users/marydmit/following{/other_user}", "gists_url": "https://api.github.com/users/marydmit/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/marydmit", "id": 22156424, "login": "marydmit", "node_id": "MDQ6VXNlcjIyMTU2NDI0", "organizations_url": "https://api.github.com/users/marydmit/orgs", "received_events_url": "https://api.github.com/users/marydmit/received_events", "repos_url": "https://api.github.com/users/marydmit/repos", "site_admin": false, "starred_url": "https://api.github.com/users/marydmit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/marydmit/subscriptions", "type": "User", "url": "https://api.github.com/users/marydmit" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
null
4
2020-06-20T12:05:13Z
2020-06-20T12:49:08Z
2020-06-20T12:49:08Z
CONTRIBUTOR
null
Added x-axis labels on top. Adjusted figure sizes in order to have the complete table visible in the user guide.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34891/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34891/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34891.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34891", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34891.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34891" }
https://api.github.com/repos/pandas-dev/pandas/issues/34892
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34892/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34892/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34892/events
https://github.com/pandas-dev/pandas/pull/34892
642,366,081
MDExOlB1bGxSZXF1ZXN0NDM3NDA1NTI1
34,892
DOC: Contributing guide docker expansion
{ "avatar_url": "https://avatars.githubusercontent.com/u/26003675?v=4", "events_url": "https://api.github.com/users/fdanieluk/events{/privacy}", "followers_url": "https://api.github.com/users/fdanieluk/followers", "following_url": "https://api.github.com/users/fdanieluk/following{/other_user}", "gists_url": "https://api.github.com/users/fdanieluk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fdanieluk", "id": 26003675, "login": "fdanieluk", "node_id": "MDQ6VXNlcjI2MDAzNjc1", "organizations_url": "https://api.github.com/users/fdanieluk/orgs", "received_events_url": "https://api.github.com/users/fdanieluk/received_events", "repos_url": "https://api.github.com/users/fdanieluk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fdanieluk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fdanieluk/subscriptions", "type": "User", "url": "https://api.github.com/users/fdanieluk" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" }, { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
null
7
2020-06-20T12:18:45Z
2020-07-19T19:35:32Z
2020-07-19T19:35:32Z
NONE
null
Added instructions for creating development environment with docker on windows, mac os and unix. - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34892/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34892/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34892.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34892", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34892.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34892" }
https://api.github.com/repos/pandas-dev/pandas/issues/34893
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34893/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34893/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34893/events
https://github.com/pandas-dev/pandas/issues/34893
642,366,675
MDU6SXNzdWU2NDIzNjY2NzU=
34,893
CI/TST: html tests are failing with 404 for fdic.gov url
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-06-20T12:22:58Z
2020-06-20T13:49:37Z
2020-06-20T13:49:37Z
MEMBER
null
See eg https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=37674&view=logs&jobId=a67b4c4c-cd2e-5e3c-a361-de73ac9c05f9&j=a67b4c4c-cd2e-5e3c-a361-de73ac9c05f9&t=33d2fdd0-c376-5f94-e6d3-957bdd23a3b8
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34893/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34893/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34894
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34894/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34894/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34894/events
https://github.com/pandas-dev/pandas/pull/34894
642,369,977
MDExOlB1bGxSZXF1ZXN0NDM3NDA4MzQz
34,894
move 3.9 travis build to allowed failures
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "72e24d", "default": false, "description": "", "id": 1971420228, "name": "Python 3.9", "node_id": "MDU6TGFiZWwxOTcxNDIwMjI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Python%203.9" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-06-20T12:47:03Z
2020-06-20T13:07:53Z
2020-06-20T13:07:52Z
CONTRIBUTOR
null
xref #34881
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34894/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34894/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34894.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34894", "merged_at": "2020-06-20T13:07:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34894.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34894" }
https://api.github.com/repos/pandas-dev/pandas/issues/34895
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34895/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34895/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34895/events
https://github.com/pandas-dev/pandas/pull/34895
642,371,383
MDExOlB1bGxSZXF1ZXN0NDM3NDA5MjU1
34,895
TST: skip gbq integration tests, xref #34779
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "0052cc", "default": false, "description": "pandas-gbq compatability", "id": 57351315, "name": "IO Google", "node_id": "MDU6TGFiZWw1NzM1MTMxNQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-06-20T12:56:48Z
2020-06-20T14:43:35Z
2020-06-20T14:43:34Z
CONTRIBUTOR
null
xref #34779
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34895/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34895/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34895.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34895", "merged_at": "2020-06-20T14:43:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34895.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34895" }
https://api.github.com/repos/pandas-dev/pandas/issues/34896
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34896/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34896/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34896/events
https://github.com/pandas-dev/pandas/pull/34896
642,372,790
MDExOlB1bGxSZXF1ZXN0NDM3NDEwMjI4
34,896
BUG: Fixes plotting with nullable integers (#32073)
{ "avatar_url": "https://avatars.githubusercontent.com/u/550080?v=4", "events_url": "https://api.github.com/users/cvanweelden/events{/privacy}", "followers_url": "https://api.github.com/users/cvanweelden/followers", "following_url": "https://api.github.com/users/cvanweelden/following{/other_user}", "gists_url": "https://api.github.com/users/cvanweelden/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cvanweelden", "id": 550080, "login": "cvanweelden", "node_id": "MDQ6VXNlcjU1MDA4MA==", "organizations_url": "https://api.github.com/users/cvanweelden/orgs", "received_events_url": "https://api.github.com/users/cvanweelden/received_events", "repos_url": "https://api.github.com/users/cvanweelden/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cvanweelden/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cvanweelden/subscriptions", "type": "User", "url": "https://api.github.com/users/cvanweelden" }
[ { "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": "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
[]
null
7
2020-06-20T13:06:32Z
2020-07-07T09:32:47Z
2020-07-07T09:32:47Z
CONTRIBUTOR
null
- [x] closes #32073 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Similar to #32410 this tries to fix plotting with nullable integer extension data types by casting them to float before passing on to matplotlib.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34896/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34896/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34896.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34896", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34896.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34896" }
https://api.github.com/repos/pandas-dev/pandas/issues/34897
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34897/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34897/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34897/events
https://github.com/pandas-dev/pandas/pull/34897
642,373,803
MDExOlB1bGxSZXF1ZXN0NDM3NDEwOTU0
34,897
TST: groupby apply called multiple times
{ "avatar_url": "https://avatars.githubusercontent.com/u/57575037?v=4", "events_url": "https://api.github.com/users/Rohith295/events{/privacy}", "followers_url": "https://api.github.com/users/Rohith295/followers", "following_url": "https://api.github.com/users/Rohith295/following{/other_user}", "gists_url": "https://api.github.com/users/Rohith295/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Rohith295", "id": 57575037, "login": "Rohith295", "node_id": "MDQ6VXNlcjU3NTc1MDM3", "organizations_url": "https://api.github.com/users/Rohith295/orgs", "received_events_url": "https://api.github.com/users/Rohith295/received_events", "repos_url": "https://api.github.com/users/Rohith295/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Rohith295/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Rohith295/subscriptions", "type": "User", "url": "https://api.github.com/users/Rohith295" }
[ { "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": "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": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-06-20T13:14:04Z
2020-06-21T06:06:14Z
2020-06-20T22:24:25Z
CONTRIBUTOR
null
closes #31111 xref https://github.com/pandas-dev/pandas/pull/24748 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ Added test for testing func should be called len(set(groupby_column)) times when passed to groupby.apply(func) ] 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/34897/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34897/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34897.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34897", "merged_at": "2020-06-20T22:24:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34897.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34897" }
https://api.github.com/repos/pandas-dev/pandas/issues/34898
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34898/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34898/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34898/events
https://github.com/pandas-dev/pandas/issues/34898
642,373,916
MDU6SXNzdWU2NDIzNzM5MTY=
34,898
Refactor pandas.core.generic.NDFrame.to_replace() to appease static type analysis
{ "avatar_url": "https://avatars.githubusercontent.com/u/7797029?v=4", "events_url": "https://api.github.com/users/oguzhanogreden/events{/privacy}", "followers_url": "https://api.github.com/users/oguzhanogreden/followers", "following_url": "https://api.github.com/users/oguzhanogreden/following{/other_user}", "gists_url": "https://api.github.com/users/oguzhanogreden/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/oguzhanogreden", "id": 7797029, "login": "oguzhanogreden", "node_id": "MDQ6VXNlcjc3OTcwMjk=", "organizations_url": "https://api.github.com/users/oguzhanogreden/orgs", "received_events_url": "https://api.github.com/users/oguzhanogreden/received_events", "repos_url": "https://api.github.com/users/oguzhanogreden/repos", "site_admin": false, "starred_url": "https://api.github.com/users/oguzhanogreden/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/oguzhanogreden/subscriptions", "type": "User", "url": "https://api.github.com/users/oguzhanogreden" }
[ { "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": "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" }, { "color": "01a886", "default": false, "description": "replace method", "id": 1652721180, "name": "replace", "node_id": "MDU6TGFiZWwxNjUyNzIxMTgw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/replace" } ]
open
false
null
[]
null
2
2020-06-20T13:14:52Z
2020-06-26T14:30:44Z
null
CONTRIBUTOR
null
Current implementation of `pandas.core.to_replace()` method won't allow type hints, as noted in #32542 . Contributor guidelines [suggest](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#style-guidelines) a refactor in this case.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34898/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34898/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34899
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34899/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34899/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34899/events
https://github.com/pandas-dev/pandas/pull/34899
642,374,823
MDExOlB1bGxSZXF1ZXN0NDM3NDExNjg1
34,899
DOC: add note about the values of unit for pd.to_datetime
{ "avatar_url": "https://avatars.githubusercontent.com/u/47719225?v=4", "events_url": "https://api.github.com/users/aidanmontare-edu/events{/privacy}", "followers_url": "https://api.github.com/users/aidanmontare-edu/followers", "following_url": "https://api.github.com/users/aidanmontare-edu/following{/other_user}", "gists_url": "https://api.github.com/users/aidanmontare-edu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aidanmontare-edu", "id": 47719225, "login": "aidanmontare-edu", "node_id": "MDQ6VXNlcjQ3NzE5MjI1", "organizations_url": "https://api.github.com/users/aidanmontare-edu/orgs", "received_events_url": "https://api.github.com/users/aidanmontare-edu/received_events", "repos_url": "https://api.github.com/users/aidanmontare-edu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aidanmontare-edu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aidanmontare-edu/subscriptions", "type": "User", "url": "https://api.github.com/users/aidanmontare-edu" }
[ { "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": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-06-20T13:21:13Z
2020-06-20T23:53:59Z
2020-06-20T20:11:53Z
CONTRIBUTOR
null
The `unit` option for `pandas.to_datetime` takes different format strings than the `format` option, which makes sense, but caught me off-guard as a new user. It would be helpful if the documentation mentioned this. - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34899/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34899/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34899.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34899", "merged_at": "2020-06-20T20:11:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34899.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34899" }
https://api.github.com/repos/pandas-dev/pandas/issues/34900
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34900/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34900/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34900/events
https://github.com/pandas-dev/pandas/pull/34900
642,374,895
MDExOlB1bGxSZXF1ZXN0NDM3NDExNzMw
34,900
TST: xref 34893, html bank url tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "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": "006b75", "default": false, "description": "read_html, to_html, Styler.apply, Styler.applymap", "id": 57395487, "name": "IO HTML", "node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-06-20T13:21:40Z
2020-06-20T13:49:28Z
2020-06-20T13:49:28Z
CONTRIBUTOR
null
xref #34893
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34900/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34900/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34900.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34900", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34900.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34900" }
https://api.github.com/repos/pandas-dev/pandas/issues/34901
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34901/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34901/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34901/events
https://github.com/pandas-dev/pandas/pull/34901
642,375,114
MDExOlB1bGxSZXF1ZXN0NDM3NDExODkw
34,901
DOC: explain EWM
{ "avatar_url": "https://avatars.githubusercontent.com/u/63070026?v=4", "events_url": "https://api.github.com/users/KrishnaSai2020/events{/privacy}", "followers_url": "https://api.github.com/users/KrishnaSai2020/followers", "following_url": "https://api.github.com/users/KrishnaSai2020/following{/other_user}", "gists_url": "https://api.github.com/users/KrishnaSai2020/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/KrishnaSai2020", "id": 63070026, "login": "KrishnaSai2020", "node_id": "MDQ6VXNlcjYzMDcwMDI2", "organizations_url": "https://api.github.com/users/KrishnaSai2020/orgs", "received_events_url": "https://api.github.com/users/KrishnaSai2020/received_events", "repos_url": "https://api.github.com/users/KrishnaSai2020/repos", "site_admin": false, "starred_url": "https://api.github.com/users/KrishnaSai2020/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/KrishnaSai2020/subscriptions", "type": "User", "url": "https://api.github.com/users/KrishnaSai2020" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
null
9
2020-06-20T13:23:25Z
2020-06-20T17:25:41Z
2020-06-20T17:05:13Z
CONTRIBUTOR
null
- [ ] closes #34867 - [ ] tests passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew - Made docs more clear and renamed files
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34901/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34901/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34901.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34901", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34901.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34901" }
https://api.github.com/repos/pandas-dev/pandas/issues/34902
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34902/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34902/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34902/events
https://github.com/pandas-dev/pandas/issues/34902
642,377,200
MDU6SXNzdWU2NDIzNzcyMDA=
34,902
DOC: Contributor guideline should guide contributors for expected local mypy failures
{ "avatar_url": "https://avatars.githubusercontent.com/u/7797029?v=4", "events_url": "https://api.github.com/users/oguzhanogreden/events{/privacy}", "followers_url": "https://api.github.com/users/oguzhanogreden/followers", "following_url": "https://api.github.com/users/oguzhanogreden/following{/other_user}", "gists_url": "https://api.github.com/users/oguzhanogreden/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/oguzhanogreden", "id": 7797029, "login": "oguzhanogreden", "node_id": "MDQ6VXNlcjc3OTcwMjk=", "organizations_url": "https://api.github.com/users/oguzhanogreden/orgs", "received_events_url": "https://api.github.com/users/oguzhanogreden/received_events", "repos_url": "https://api.github.com/users/oguzhanogreden/repos", "site_admin": false, "starred_url": "https://api.github.com/users/oguzhanogreden/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/oguzhanogreden/subscriptions", "type": "User", "url": "https://api.github.com/users/oguzhanogreden" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" }, { "color": "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": "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4", "events_url": "https://api.github.com/users/erfannariman/events{/privacy}", "followers_url": "https://api.github.com/users/erfannariman/followers", "following_url": "https://api.github.com/users/erfannariman/following{/other_user}", "gists_url": "https://api.github.com/users/erfannariman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/erfannariman", "id": 34067903, "login": "erfannariman", "node_id": "MDQ6VXNlcjM0MDY3OTAz", "organizations_url": "https://api.github.com/users/erfannariman/orgs", "received_events_url": "https://api.github.com/users/erfannariman/received_events", "repos_url": "https://api.github.com/users/erfannariman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/erfannariman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erfannariman/subscriptions", "type": "User", "url": "https://api.github.com/users/erfannariman" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4", "events_url": "https://api.github.com/users/erfannariman/events{/privacy}", "followers_url": "https://api.github.com/users/erfannariman/followers", "following_url": "https://api.github.com/users/erfannariman/following{/other_user}", "gists_url": "https://api.github.com/users/erfannariman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/erfannariman", "id": 34067903, "login": "erfannariman", "node_id": "MDQ6VXNlcjM0MDY3OTAz", "organizations_url": "https://api.github.com/users/erfannariman/orgs", "received_events_url": "https://api.github.com/users/erfannariman/received_events", "repos_url": "https://api.github.com/users/erfannariman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/erfannariman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erfannariman/subscriptions", "type": "User", "url": "https://api.github.com/users/erfannariman" } ]
null
9
2020-06-20T13:36:54Z
2020-09-01T11:42:04Z
2020-09-01T11:42:04Z
CONTRIBUTOR
null
#### Location of the documentation [Location](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#style-guidelines). #### Documentation problem See conversation [here](https://gitter.im/pydata/pandas?at=5eee0e2ba813c72dcffccbb5). #### Suggested fix for documentation This 'failing' of mypy should be noted so that inexperienced contributors don't have to Google around and experienced ones don't have to explain repeatedly. I came across this in [this context](https://github.com/pandas-dev/pandas/pull/32542#discussion_r442959117).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34902/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34902/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34903
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34903/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34903/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34903/events
https://github.com/pandas-dev/pandas/pull/34903
642,385,496
MDExOlB1bGxSZXF1ZXN0NDM3NDE3OTAx
34,903
Replace old string formatting syntax with f-strings #29547
{ "avatar_url": "https://avatars.githubusercontent.com/u/23074548?v=4", "events_url": "https://api.github.com/users/ynorouzz/events{/privacy}", "followers_url": "https://api.github.com/users/ynorouzz/followers", "following_url": "https://api.github.com/users/ynorouzz/following{/other_user}", "gists_url": "https://api.github.com/users/ynorouzz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ynorouzz", "id": 23074548, "login": "ynorouzz", "node_id": "MDQ6VXNlcjIzMDc0NTQ4", "organizations_url": "https://api.github.com/users/ynorouzz/orgs", "received_events_url": "https://api.github.com/users/ynorouzz/received_events", "repos_url": "https://api.github.com/users/ynorouzz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ynorouzz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ynorouzz/subscriptions", "type": "User", "url": "https://api.github.com/users/ynorouzz" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
null
5
2020-06-20T14:20:47Z
2020-07-11T14:33:36Z
2020-07-11T14:33:36Z
NONE
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34903/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34903/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34903.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34903", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34903.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34903" }
https://api.github.com/repos/pandas-dev/pandas/issues/34904
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34904/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34904/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34904/events
https://github.com/pandas-dev/pandas/pull/34904
642,390,798
MDExOlB1bGxSZXF1ZXN0NDM3NDIxNTY1
34,904
TST:add test for df replace GH34871
{ "avatar_url": "https://avatars.githubusercontent.com/u/8929782?v=4", "events_url": "https://api.github.com/users/nwweber/events{/privacy}", "followers_url": "https://api.github.com/users/nwweber/followers", "following_url": "https://api.github.com/users/nwweber/following{/other_user}", "gists_url": "https://api.github.com/users/nwweber/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nwweber", "id": 8929782, "login": "nwweber", "node_id": "MDQ6VXNlcjg5Mjk3ODI=", "organizations_url": "https://api.github.com/users/nwweber/orgs", "received_events_url": "https://api.github.com/users/nwweber/received_events", "repos_url": "https://api.github.com/users/nwweber/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nwweber/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nwweber/subscriptions", "type": "User", "url": "https://api.github.com/users/nwweber" }
[ { "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": "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": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-06-20T14:53:44Z
2020-06-26T06:06:33Z
2020-06-24T15:59:24Z
CONTRIBUTOR
null
- [x] improves upon #34871 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry <---- is that helpful for this specific regression test? happy to write this if you think this helps! :) add tiny regression test for not failing on calling df.replace() with Period column working on this revealed other quirks of df.replace(): it now does not raise an exception anymore, and the dataframe returned by replace() has the right values. However, the dtype of a Period column changes to Object, which is surprising. I've added the observations to GH34871
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34904/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34904/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34904.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34904", "merged_at": "2020-06-24T15:59:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34904.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34904" }
https://api.github.com/repos/pandas-dev/pandas/issues/34905
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34905/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34905/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34905/events
https://github.com/pandas-dev/pandas/pull/34905
642,397,100
MDExOlB1bGxSZXF1ZXN0NDM3NDI1OTEz
34,905
BUG: plotting layout patch
{ "avatar_url": "https://avatars.githubusercontent.com/u/15750539?v=4", "events_url": "https://api.github.com/users/lyashevska/events{/privacy}", "followers_url": "https://api.github.com/users/lyashevska/followers", "following_url": "https://api.github.com/users/lyashevska/following{/other_user}", "gists_url": "https://api.github.com/users/lyashevska/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lyashevska", "id": 15750539, "login": "lyashevska", "node_id": "MDQ6VXNlcjE1NzUwNTM5", "organizations_url": "https://api.github.com/users/lyashevska/orgs", "received_events_url": "https://api.github.com/users/lyashevska/received_events", "repos_url": "https://api.github.com/users/lyashevska/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lyashevska/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lyashevska/subscriptions", "type": "User", "url": "https://api.github.com/users/lyashevska" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-06-20T15:32:42Z
2020-06-23T22:36:25Z
2020-06-23T22:36:21Z
CONTRIBUTOR
null
This fixes a layout problem.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34905/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34905/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34905.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34905", "merged_at": "2020-06-23T22:36:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34905.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34905" }
https://api.github.com/repos/pandas-dev/pandas/issues/34906
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34906/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34906/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34906/events
https://github.com/pandas-dev/pandas/pull/34906
642,398,339
MDExOlB1bGxSZXF1ZXN0NDM3NDI2NzYx
34,906
BUG: Groupby with as_index=True causes incorrect summarization
{ "avatar_url": "https://avatars.githubusercontent.com/u/31180320?v=4", "events_url": "https://api.github.com/users/vivikelapoutre/events{/privacy}", "followers_url": "https://api.github.com/users/vivikelapoutre/followers", "following_url": "https://api.github.com/users/vivikelapoutre/following{/other_user}", "gists_url": "https://api.github.com/users/vivikelapoutre/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vivikelapoutre", "id": 31180320, "login": "vivikelapoutre", "node_id": "MDQ6VXNlcjMxMTgwMzIw", "organizations_url": "https://api.github.com/users/vivikelapoutre/orgs", "received_events_url": "https://api.github.com/users/vivikelapoutre/received_events", "repos_url": "https://api.github.com/users/vivikelapoutre/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vivikelapoutre/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vivikelapoutre/subscriptions", "type": "User", "url": "https://api.github.com/users/vivikelapoutre" }
[ { "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
6
2020-06-20T15:40:14Z
2020-07-16T18:02:54Z
2020-07-16T16:08:55Z
CONTRIBUTOR
null
- [x] closes #26321 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34906/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34906/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34906.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34906", "merged_at": "2020-07-16T16:08:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34906.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34906" }
https://api.github.com/repos/pandas-dev/pandas/issues/34907
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34907/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34907/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34907/events
https://github.com/pandas-dev/pandas/pull/34907
642,398,883
MDExOlB1bGxSZXF1ZXN0NDM3NDI3MTYz
34,907
TST: pandas/test/window/ changes for #30999
{ "avatar_url": "https://avatars.githubusercontent.com/u/6381995?v=4", "events_url": "https://api.github.com/users/boweyism/events{/privacy}", "followers_url": "https://api.github.com/users/boweyism/followers", "following_url": "https://api.github.com/users/boweyism/following{/other_user}", "gists_url": "https://api.github.com/users/boweyism/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/boweyism", "id": 6381995, "login": "boweyism", "node_id": "MDQ6VXNlcjYzODE5OTU=", "organizations_url": "https://api.github.com/users/boweyism/orgs", "received_events_url": "https://api.github.com/users/boweyism/received_events", "repos_url": "https://api.github.com/users/boweyism/repos", "site_admin": false, "starred_url": "https://api.github.com/users/boweyism/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/boweyism/subscriptions", "type": "User", "url": "https://api.github.com/users/boweyism" }
[ { "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": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-06-20T15:43:54Z
2020-06-23T19:29:03Z
2020-06-23T19:28:53Z
CONTRIBUTOR
null
- [ ] xref #30999 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry I've made changes for: - tests/window/moments/test_moments_rolling.py - tests/window/test_dtypes.py - tests/window/test_ewm.py - tests/window/test_expanding.py - tests/window/test_timeseries_windows.py In a couple of places there were comments stating the raised error's output. The `msg` variable contains the same information. Should I remove these coments? Belongs to issue: https://github.com/pandas-dev/pandas/issues/30999
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34907/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34907/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34907.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34907", "merged_at": "2020-06-23T19:28:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34907.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34907" }
https://api.github.com/repos/pandas-dev/pandas/issues/34908
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34908/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34908/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34908/events
https://github.com/pandas-dev/pandas/pull/34908
642,401,911
MDExOlB1bGxSZXF1ZXN0NDM3NDI5MzMz
34,908
BUG: incorrect type when indexing sparse dataframe with iterable
{ "avatar_url": "https://avatars.githubusercontent.com/u/229540?v=4", "events_url": "https://api.github.com/users/suvayu/events{/privacy}", "followers_url": "https://api.github.com/users/suvayu/followers", "following_url": "https://api.github.com/users/suvayu/following{/other_user}", "gists_url": "https://api.github.com/users/suvayu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/suvayu", "id": 229540, "login": "suvayu", "node_id": "MDQ6VXNlcjIyOTU0MA==", "organizations_url": "https://api.github.com/users/suvayu/orgs", "received_events_url": "https://api.github.com/users/suvayu/received_events", "repos_url": "https://api.github.com/users/suvayu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/suvayu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/suvayu/subscriptions", "type": "User", "url": "https://api.github.com/users/suvayu" }
[ { "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" }, { "color": "009800", "default": false, "description": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
6
2020-06-20T16:04:08Z
2020-07-08T11:47:20Z
2020-07-08T11:47:10Z
CONTRIBUTOR
null
closes #34526 closes #34540 - [x] 2 tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry The problem arose when indexing with an iterable. If the result consisted of columns which originally only had sparse values, the `dtype` was solely inferred from the `fill_value`, which defaults to `0`. Hence, the resulting columns have the dtype ` Sparse[int64, 0]`. This commit changes the type inference logic to use the numpy type promotion rules between the underlying subtype of the `SparseArray.dtype` and the type of the fill value.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34908/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34908/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34908.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34908", "merged_at": "2020-07-08T11:47:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34908.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34908" }
https://api.github.com/repos/pandas-dev/pandas/issues/34909
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34909/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34909/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34909/events
https://github.com/pandas-dev/pandas/pull/34909
642,405,318
MDExOlB1bGxSZXF1ZXN0NDM3NDMxNzgz
34,909
PERF: avoid creating many Series in apply_standard
{ "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" }, { "color": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
6
2020-06-20T16:25:52Z
2020-07-08T15:42:54Z
2020-06-25T23:06:11Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This avoids going through perennial-problem-causing libreduction code (xref #34014, #34080) and instead does the same trick in python-space by re-assigning block.values instead of creating new Series objects. If we avoid libreduction but _dont_ do this optimization, the most-affected asv is `time_apply_ref_by_name` that clocks in at 6.92x slower. This achieves parity on that asv. <s>ATM I'm still getting 4 test failures locally, need to troubleshoot.</s> Update: passing
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34909/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34909/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34909.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34909", "merged_at": "2020-06-25T23:06:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34909.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34909" }
https://api.github.com/repos/pandas-dev/pandas/issues/34910
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34910/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34910/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34910/events
https://github.com/pandas-dev/pandas/pull/34910
642,413,656
MDExOlB1bGxSZXF1ZXN0NDM3NDM3ODEy
34,910
DOC: explain EWM
{ "avatar_url": "https://avatars.githubusercontent.com/u/63070026?v=4", "events_url": "https://api.github.com/users/KrishnaSai2020/events{/privacy}", "followers_url": "https://api.github.com/users/KrishnaSai2020/followers", "following_url": "https://api.github.com/users/KrishnaSai2020/following{/other_user}", "gists_url": "https://api.github.com/users/KrishnaSai2020/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/KrishnaSai2020", "id": 63070026, "login": "KrishnaSai2020", "node_id": "MDQ6VXNlcjYzMDcwMDI2", "organizations_url": "https://api.github.com/users/KrishnaSai2020/orgs", "received_events_url": "https://api.github.com/users/KrishnaSai2020/received_events", "repos_url": "https://api.github.com/users/KrishnaSai2020/repos", "site_admin": false, "starred_url": "https://api.github.com/users/KrishnaSai2020/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/KrishnaSai2020/subscriptions", "type": "User", "url": "https://api.github.com/users/KrishnaSai2020" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-06-20T17:20:06Z
2020-06-21T08:14:13Z
2020-06-20T22:20:59Z
CONTRIBUTOR
null
- [ ] closes #34867 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34910/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34910/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34910.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34910", "merged_at": "2020-06-20T22:20:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34910.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34910" }
https://api.github.com/repos/pandas-dev/pandas/issues/34911
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34911/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34911/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34911/events
https://github.com/pandas-dev/pandas/pull/34911
642,414,087
MDExOlB1bGxSZXF1ZXN0NDM3NDM4MTMx
34,911
TST: Verify whether Datetime subclasses are also of dtype datetime
{ "avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4", "events_url": "https://api.github.com/users/avinashpancham/events{/privacy}", "followers_url": "https://api.github.com/users/avinashpancham/followers", "following_url": "https://api.github.com/users/avinashpancham/following{/other_user}", "gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/avinashpancham", "id": 44933366, "login": "avinashpancham", "node_id": "MDQ6VXNlcjQ0OTMzMzY2", "organizations_url": "https://api.github.com/users/avinashpancham/orgs", "received_events_url": "https://api.github.com/users/avinashpancham/received_events", "repos_url": "https://api.github.com/users/avinashpancham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions", "type": "User", "url": "https://api.github.com/users/avinashpancham" }
[ { "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": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" }, { "color": "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" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-06-20T17:23:13Z
2020-06-20T22:17:52Z
2020-06-20T22:17:52Z
CONTRIBUTOR
null
- [x] closes #21142 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34911/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34911/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34911.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34911", "merged_at": "2020-06-20T22:17:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34911.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34911" }
https://api.github.com/repos/pandas-dev/pandas/issues/34912
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34912/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34912/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34912/events
https://github.com/pandas-dev/pandas/pull/34912
642,426,646
MDExOlB1bGxSZXF1ZXN0NDM3NDQ3MTQy
34,912
ENH: specificy missing labels in loc calls GH34272
{ "avatar_url": "https://avatars.githubusercontent.com/u/43515959?v=4", "events_url": "https://api.github.com/users/timhunderwood/events{/privacy}", "followers_url": "https://api.github.com/users/timhunderwood/followers", "following_url": "https://api.github.com/users/timhunderwood/following{/other_user}", "gists_url": "https://api.github.com/users/timhunderwood/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/timhunderwood", "id": 43515959, "login": "timhunderwood", "node_id": "MDQ6VXNlcjQzNTE1OTU5", "organizations_url": "https://api.github.com/users/timhunderwood/orgs", "received_events_url": "https://api.github.com/users/timhunderwood/received_events", "repos_url": "https://api.github.com/users/timhunderwood/repos", "site_admin": false, "starred_url": "https://api.github.com/users/timhunderwood/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/timhunderwood/subscriptions", "type": "User", "url": "https://api.github.com/users/timhunderwood" }
[ { "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": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-06-20T18:48:43Z
2020-06-26T20:23:40Z
2020-06-26T20:21:17Z
CONTRIBUTOR
null
- [ ] closes #34272 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34912/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34912/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34912.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34912", "merged_at": "2020-06-26T20:21:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34912.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34912" }
https://api.github.com/repos/pandas-dev/pandas/issues/34913
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34913/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34913/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34913/events
https://github.com/pandas-dev/pandas/pull/34913
642,436,127
MDExOlB1bGxSZXF1ZXN0NDM3NDUzNzYx
34,913
REF: dont use compute_reduction
{ "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": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-06-20T19:55:20Z
2020-06-22T16:37:30Z
2020-06-20T23:16:13Z
MEMBER
null
Full asv run shows no change. This gets rid of one usage of libreduction.compute_reduction; #34909 gets rid of the other.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34913/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34913/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34913.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34913", "merged_at": "2020-06-20T23:16:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34913.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34913" }
https://api.github.com/repos/pandas-dev/pandas/issues/34914
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34914/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34914/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34914/events
https://github.com/pandas-dev/pandas/pull/34914
642,439,193
MDExOlB1bGxSZXF1ZXN0NDM3NDU1OTE1
34,914
CLN: GH29547 format with f-strings
{ "avatar_url": "https://avatars.githubusercontent.com/u/46203939?v=4", "events_url": "https://api.github.com/users/DanBasson/events{/privacy}", "followers_url": "https://api.github.com/users/DanBasson/followers", "following_url": "https://api.github.com/users/DanBasson/following{/other_user}", "gists_url": "https://api.github.com/users/DanBasson/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DanBasson", "id": 46203939, "login": "DanBasson", "node_id": "MDQ6VXNlcjQ2MjAzOTM5", "organizations_url": "https://api.github.com/users/DanBasson/orgs", "received_events_url": "https://api.github.com/users/DanBasson/received_events", "repos_url": "https://api.github.com/users/DanBasson/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DanBasson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DanBasson/subscriptions", "type": "User", "url": "https://api.github.com/users/DanBasson" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
null
2
2020-06-20T20:17:18Z
2020-06-24T17:28:36Z
2020-06-24T17:28:36Z
CONTRIBUTOR
null
xref #29547 replace .format() for f-strings in the following: - pandas/tests/series/indexing/test_numeric.py
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34914/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34914/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34914.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34914", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34914.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34914" }
https://api.github.com/repos/pandas-dev/pandas/issues/34915
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34915/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34915/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34915/events
https://github.com/pandas-dev/pandas/issues/34915
642,455,631
MDU6SXNzdWU2NDI0NTU2MzE=
34,915
BUG: Cannot create empty dataframe having columns with dtype string
{ "avatar_url": "https://avatars.githubusercontent.com/u/566650?v=4", "events_url": "https://api.github.com/users/impredicative/events{/privacy}", "followers_url": "https://api.github.com/users/impredicative/followers", "following_url": "https://api.github.com/users/impredicative/following{/other_user}", "gists_url": "https://api.github.com/users/impredicative/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/impredicative", "id": 566650, "login": "impredicative", "node_id": "MDQ6VXNlcjU2NjY1MA==", "organizations_url": "https://api.github.com/users/impredicative/orgs", "received_events_url": "https://api.github.com/users/impredicative/received_events", "repos_url": "https://api.github.com/users/impredicative/repos", "site_admin": false, "starred_url": "https://api.github.com/users/impredicative/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/impredicative/subscriptions", "type": "User", "url": "https://api.github.com/users/impredicative" }
[ { "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" }, { "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
[]
null
2
2020-06-20T22:24:33Z
2020-06-23T17:45:33Z
2020-06-23T17:45:33Z
NONE
null
- [x] I have checked that this issue has not already been reported. I have checked, but this requirement is grossly unreasonable since there are currently 3,426 other open issues. It's impossible for anyone to be sure. This requirement should be reworded. - [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-traceback >>> import pandas as pd >>> pd.DataFrame(columns=['c1'], dtype='string') Traceback (most recent call last): File "<input>", line 1, in <module> File "/home/homeuser/PycharmProjects/.venv/myenv/lib/python3.8/site-packages/pandas/core/frame.py", line 435, in __init__ mgr = init_dict(data, index, columns, dtype=dtype) File "/home/homeuser/PycharmProjects/.venv/myenv/lib/python3.8/site-packages/pandas/core/internals/construction.py", line 234, in init_dict if dtype is None or np.issubdtype(dtype, np.flexible): File "/home/homeuser/PycharmProjects/.venv/myenv/lib/python3.8/site-packages/numpy/core/numerictypes.py", line 388, in issubdtype arg1 = dtype(arg1).type TypeError: Cannot interpret 'StringDtype' as a data type ``` #### Problem description These three alternatives work, so there is no reason for this bug to continue to not be fixed: ```python-traceback >>> pd.DataFrame(columns=['c1'], dtype='str') Empty DataFrame Columns: [c1] Index: [] >>> pd.DataFrame([{}], columns=['c1'], dtype='string') c1 0 <NA> >>> pd.DataFrame([{}], columns=['c1'], dtype='string').drop(labels=0) Empty DataFrame Columns: [c1] Index: [] ``` #### Expected Output ```python-traceback Empty DataFrame Columns: [c1] Index: [] ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.8.3.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-1087-oem machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.0.5 numpy : 1.19.0 pytz : 2020.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 40.8.0 Cython : None pytest : 5.4.3 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.1 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : 4.9.1 bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.5.1 matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : 5.4.3 pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None xlsxwriter : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34915/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34915/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34916
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34916/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34916/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34916/events
https://github.com/pandas-dev/pandas/issues/34916
642,471,954
MDU6SXNzdWU2NDI0NzE5NTQ=
34,916
API: Default to stdlib timezone objects instead of pytz
{ "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": "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": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
open
false
null
[]
null
4
2020-06-21T00:54:26Z
2020-06-22T16:31:43Z
null
MEMBER
null
i.e. when we get `pd.Timestamp.now("UTC")` we should return a Timestamp with `datetime.timezone.utc` rather than `pytz.UTC`. Similarly when we parse an ISO8601 datetime we should use tzinfo of `timezone(timedelta(seconds=val*60))` instead of `pytz.FixedOffset(val)` This isn't _that_ hard to implement, but doing it breaks a couple dozen tests where we are currently checking for pytz objects. This would technically be an API change, so putting it up for discussion before implementing it.
{ "+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/34916/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34916/timeline
null
null
null